소스 검색

Add rules to customize headings' font family and hyper links in it

Talha Mansoor 10 년 전
부모
커밋
00303a1f8b
1개의 변경된 파일26개의 추가작업 그리고 0개의 파일을 삭제
  1. 26 0
      static/css/elegant.less

+ 26 - 0
static/css/elegant.less

@@ -1,3 +1,29 @@
 @import "../bootstrap/less/bootstrap.less";
 @import "../bootstrap/less/utilities.less";
 
+@import url(http://fonts.googleapis.com/css?family=Lora);
+
+@headings-font-family: Lora, Baskerville, Garamond, Georgia, 'DejaVu Serif', 'Times New Roman', Times, Serif;
+
+
+.mixin-no-color-no-decoration() {
+    color: inherit;
+    text-decoration: none;
+}
+
+h1, h2, h3, h4, h5, h6 {
+    .mixin-no-color-no-decoration;
+    small {
+        .mixin-no-color-no-decoration;
+    }
+    a {
+        .mixin-no-color-no-decoration;
+        &:hover {
+            .mixin-no-color-no-decoration;
+        }
+        &:focus {
+            .mixin-no-color-no-decoration;
+        }
+    }
+}
+