Summary Files Commits Branches @commit @diff @stats
path: root / src / typography.less
diff options
context:
space:
mode:
Commit5f0809b54067d533304ac2db9ef8b61b299b8930 (patch)
Author
 Yan Zhu <picturepan2@hotmail.com>
2016-04-05 15:35:12 +0800
Committer
 Yan Zhu <picturepan2@hotmail.com>
2016-04-05 15:35:12 +0800
Files67d839979bfa5202f13d47e327cd058765042e78 /src/typography.less
Spectre-Dark-Gruvbox-5f0809b54067d533304ac2db9ef8b61b299b8930.tar
Spectre-Dark-Gruvbox-5f0809b54067d533304ac2db9ef8b61b299b8930.tar.gz
Spectre-Dark-Gruvbox-5f0809b54067d533304ac2db9ef8b61b299b8930.zip
Parent3c10fb6428aa6e9cde24e78fdab322077929cd18 (diff)
Parent781ed13b83edc7af208b75815cfffb657a766cc5 (diff)
Merge branch 'master' into gh-pages
1 files changed, 14 insertions, 1 deletions
-rw-r--r--src/typography.less15
diff --git a/src/typography.less b/src/typography.less
index dc7da3d..94a596f 100644
--- a/src/typography.less
+++ b/src/typography.less
@@ -7,6 +7,8 @@ h5,
h6 {
font-weight: 300;
line-height: 1.1;
+ margin-top: 2.5rem;
+ margin-bottom: 1rem;
color: inherit;
}
h1 {
@@ -37,12 +39,16 @@ p {
}
blockquote {
padding: 1rem 2rem;
- border-left: 2px solid #ddd;
+ border-left: .2rem solid #ddd;
margin-left: 0;
p:last-child {
margin-bottom: 0;
}
+
+ small {
+ color: lighten(@body-font-color, 50%);
+ }
}
ul,
ol {
@@ -72,6 +78,13 @@ ol {
}
}
+.highlight {
+ padding: .2rem;
+ line-height: 1.6rem;
+ border-radius: .2rem;
+ background-color: #fff5b7;
+}
+
.text-left {
text-align: left;
}