mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-21 20:46:30 -05:00
Change some typography in the docs.
Two issues are addressed with this commit: 1. Some <pre> tags were inheriting the "Serif" font on Linux, causing "code"-ish stuff to appear with proportional-width font instead of monospaced-width font. 2. Font stack with "Helvetica Neue" ... has been changed to default to sans-serif instead of "Serif", this produces a more consistent and friendlier look on Windows in particular.
This commit is contained in:
parent
ec4b152678
commit
c38d694f56
2 changed files with 5 additions and 5 deletions
4
docs/static/static/css/HPstyles.css
vendored
4
docs/static/static/css/HPstyles.css
vendored
|
@ -8,12 +8,12 @@ body {
|
||||||
}
|
}
|
||||||
|
|
||||||
h1, h2, h3, h4, h5, h6 {
|
h1, h2, h3, h4, h5, h6 {
|
||||||
font-family: 'Cabin', "Helvetica Neue", "Helvitica", "Serif";
|
font-family: 'Cabin', "Helvetica Neue", "Helvetica", sans-serif;
|
||||||
}
|
}
|
||||||
|
|
||||||
body {
|
body {
|
||||||
|
|
||||||
font-family: 'Arbutus Slab', "Helvetica Neue", "Helvitica", "Serif" !important;
|
font-family: 'Arbutus Slab', "Helvetica Neue", "Helvetica", sans-serif !important;
|
||||||
line-height: 1.6;
|
line-height: 1.6;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
6
docs/static/static/css/styles.css
vendored
6
docs/static/static/css/styles.css
vendored
|
@ -2,7 +2,7 @@ body {
|
||||||
background-color: rgb(253, 253, 251);
|
background-color: rgb(253, 253, 251);
|
||||||
padding-top: 70px;
|
padding-top: 70px;
|
||||||
letter-spacing: 0.3px;
|
letter-spacing: 0.3px;
|
||||||
font-family: "Helvetica Neue", "Helvitica", "Serif";
|
font-family: "Helvetica Neue", "Helvetica", sans-serif;
|
||||||
font-weight: 300;
|
font-weight: 300;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -24,7 +24,7 @@ h1, h2, h3 {
|
||||||
|
|
||||||
h1, h2, h3, h4, h5, h6 {
|
h1, h2, h3, h4, h5, h6 {
|
||||||
color: rgb(25,71,86);
|
color: rgb(25,71,86);
|
||||||
font-family: 'Cabin', "Helvetica Neue", "Helvitica", "Serif";
|
font-family: 'Cabin', "Helvetica Neue", "Helvetica", sans-serif;
|
||||||
}
|
}
|
||||||
|
|
||||||
h1 {
|
h1 {
|
||||||
|
@ -39,7 +39,7 @@ h1, h2 {
|
||||||
pre {
|
pre {
|
||||||
background-color: #022b34;
|
background-color: #022b34;
|
||||||
color: #e6e6e6;
|
color: #e6e6e6;
|
||||||
font-family: 'Source Code Pro', sans-serif;
|
font-family: 'Source Code Pro', monospace;
|
||||||
font-size: 17px;
|
font-size: 17px;
|
||||||
line-height: 1.2;
|
line-height: 1.2;
|
||||||
-webkit-border-radius: 12px;
|
-webkit-border-radius: 12px;
|
||||||
|
|
Loading…
Reference in a new issue