ソースを参照

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 {