瀏覽代碼

allow nosup links to be black

master
Sean Dockray 3 年之前
父節點
當前提交
b03fd8379b
共有 5 個檔案被更改,包括 8 行新增4 行删除
  1. +1
    -1
      content/curriculum/index.md
  2. +1
    -1
      data/books/catalog.json
  3. +4
    -0
      themes/sandpoints/assets/css/site.css
  4. +1
    -1
      themes/sandpoints/assets/css/site.min.css
  5. +1
    -1
      themes/sandpoints/layouts/shortcodes/nosup.html

+ 1
- 1
content/curriculum/index.md
文件差異過大導致無法顯示
查看文件


+ 1
- 1
data/books/catalog.json
文件差異過大導致無法顯示
查看文件


+ 4
- 0
themes/sandpoints/assets/css/site.css 查看文件

@@ -607,6 +607,10 @@ img {
color: red;
}

.nosup.black a {
color: #000;
}

.nosup a span.sup {
display: none;
}


+ 1
- 1
themes/sandpoints/assets/css/site.min.css
文件差異過大導致無法顯示
查看文件


+ 1
- 1
themes/sandpoints/layouts/shortcodes/nosup.html 查看文件

@@ -1 +1 @@
<span class="nosup">{{ with .Inner }} {{ $.Page.RenderString . }} {{ end }}</span>
<span class="nosup{{ with .Get 0}} {{.}}{{ end }}">{{ with .Inner }} {{ $.Page.RenderString . }} {{ end }}</span>

Loading…
取消
儲存