瀏覽代碼

Add CSS style for permanent link anchors

Talha Mansoor 11 年之前
父節點
當前提交
58f129a4b8
共有 1 個文件被更改,包括 16 次插入0 次删除
  1. 16 0
      static/css/style.css

+ 16 - 0
static/css/style.css

@@ -378,3 +378,19 @@ img {
      border-bottom: medium none;
      color: rgb(0, 85, 128);
 }
+
+a.headerlink {
+    visibility:hidden;
+    padding-left:0.5em;
+    color:grey;
+}
+
+h1:hover > a.headerlink,
+h2:hover > a.headerlink,
+h3:hover > a.headerlink,
+h4:hover > a.headerlink,
+h5:hover > a.headerlink,
+h6:hover > a.headerlink,
+dt:hover > a.headerlink {
+    visibility: visible;
+}