Summary Files Commits Branches @commit @diff @stats
path: root / src / typography.less
diff options
context:
space:
mode:
Commit135ea0010024826b090789f4dcab8af8e85ecfc6 (patch)
Author
 Yan Zhu <picturepan2@hotmail.com>
2017-01-24 19:01:19 +0800
Committer
 Yan Zhu <picturepan2@hotmail.com>
2017-01-24 19:01:19 +0800
Files820e71e55afba5948249cec4ea13ad4115f1eeac /src/typography.less
Spectre-Dark-Gruvbox-135ea0010024826b090789f4dcab8af8e85ecfc6.tar
Spectre-Dark-Gruvbox-135ea0010024826b090789f4dcab8af8e85ecfc6.tar.gz
Spectre-Dark-Gruvbox-135ea0010024826b090789f4dcab8af8e85ecfc6.zip
Parentbdc68333d66fca64db3f65a790a11de2d15db958 (diff)
CHG: Improve media, docs, Asian typography and examples
1 files changed, 17 insertions, 6 deletions
-rw-r--r--src/typography.less23
diff --git a/src/typography.less b/src/typography.less
index 47ef8ab..921d2f6 100644
--- a/src/typography.less
+++ b/src/typography.less
@@ -81,19 +81,29 @@ dl {
margin: .5rem 0 1.5rem 0;
}
}
-.lead {
- font-size: 120%;
-}
-mark,
-.highlight {
+mark {
background: lighten(@control-color-warning, 32%);
.label-base();
}
+kbd {
+ background: @core-dark-color;
+ color: @core-light-color;
+ .label-base();
+}
+abbr[title] {
+ border-bottom: .1rem dotted;
+ cursor: help;
+ text-decoration: none;
+}
+ins,
+u {
+ border-bottom: .1rem solid;
+ text-decoration: none;
+}
// Code
pre {
background: lighten(@core-border-color, 4%);
- border-left: .2rem solid darken(@core-border-color, 5%);
line-height: 1.8rem;
margin-bottom: 1em;
margin-top: 1em;
@@ -102,6 +112,7 @@ pre {
}
code {
background: @core-border-color;
+ color: lighten(@body-font-color, 20%);
.label-base();
white-space: nowrap;