Summary Files Commits Branches @commit @diff @stats
path: root / dist / spectre.css
diff options
context:
space:
mode:
Commit5162755412b2865034b898825ec46611e00963b3 (patch)
Author
 Yan Zhu <picturepan2@hotmail.com>
2016-04-19 18:44:53 +0800
Committer
 Yan Zhu <picturepan2@hotmail.com>
2016-04-19 18:44:53 +0800
Files0ce28ebdbecfe902d3afddb1c2ac1c55de0e6355 /dist/spectre.css
Spectre-Dark-Gruvbox-5162755412b2865034b898825ec46611e00963b3.tar
Spectre-Dark-Gruvbox-5162755412b2865034b898825ec46611e00963b3.tar.gz
Spectre-Dark-Gruvbox-5162755412b2865034b898825ec46611e00963b3.zip
Parentcb30e72847e9687925d31385f35ee5b6c6062230 (diff)
update typography and label code
1 files changed, 10 insertions, 8 deletions
-rw-r--r--dist/spectre.css18
diff --git a/dist/spectre.css b/dist/spectre.css
index 75ff7c3..bd84106 100644
--- a/dist/spectre.css
+++ b/dist/spectre.css
@@ -368,6 +368,7 @@ textarea {
html {
box-sizing: border-box;
font-size: 10px;
+ line-height: 1.428571429;
-webkit-tap-highlight-color: transparent;
}
body {
@@ -429,7 +430,6 @@ h6 {
font-size: 1.6rem;
}
p {
- line-height: 1.428571429;
margin: 0 0 1rem;
}
blockquote {
@@ -473,6 +473,7 @@ ol ol {
.lead {
font-size: 120%;
}
+mark,
.highlight {
background-color: #ffe5a3;
border-radius: .2rem;
@@ -491,11 +492,11 @@ pre {
code {
background-color: #efefef;
border-radius: .2rem;
- font-size: .9em;
- line-height: 1em;
- margin: -.2rem .1em 0 .1em;
- padding: .2rem .4rem;
- vertical-align: baseline;
+ font-size: 1em;
+ line-height: 1.4;
+ margin: -.2em 0;
+ padding: .2em .3em;
+ vertical-align: middle;
white-space: nowrap;
}
pre code {
@@ -1443,8 +1444,9 @@ textarea.form-input {
color: #666;
display: inline-block;
font-size: 1em;
- margin-top: -.15em;
- padding: .15em .25em;
+ line-height: 1;
+ margin: -.2rem 0;
+ padding: .2rem .3rem;
text-align: center;
vertical-align: baseline;
white-space: nowrap;