浏览代码

Add rules for header links (permalinks)

Talha Mansoor 10 年之前
父节点
当前提交
b7ed460ab9
共有 1 个文件被更改,包括 11 次插入0 次删除
  1. 11 0
      static/css/elegant.less

+ 11 - 0
static/css/elegant.less

@@ -22,6 +22,17 @@ h1, h2, h3, h4, h5, h6 {
             .mixin-no-color-no-decoration;
         }
     }
+    a.headerlink {
+        color: @gray-light;
+        padding-left: .5em;
+        visibility: hidden;
+        &:hover {
+            color: inherit;
+        }
+    }
+    &:hover > a.headerlink {
+        visibility: visible;
+    }
 }
 
 .form-control {