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:
Nathan LeClaire 2014-04-28 20:23:34 -07:00 committed by spf13
parent ec4b152678
commit c38d694f56
2 changed files with 5 additions and 5 deletions

View file

@ -8,12 +8,12 @@ body {
}
h1, h2, h3, h4, h5, h6 {
font-family: 'Cabin', "Helvetica Neue", "Helvitica", "Serif";
font-family: 'Cabin', "Helvetica Neue", "Helvetica", sans-serif;
}
body {
font-family: 'Arbutus Slab', "Helvetica Neue", "Helvitica", "Serif" !important;
font-family: 'Arbutus Slab', "Helvetica Neue", "Helvetica", sans-serif !important;
line-height: 1.6;
}

View file

@ -2,7 +2,7 @@ body {
background-color: rgb(253, 253, 251);
padding-top: 70px;
letter-spacing: 0.3px;
font-family: "Helvetica Neue", "Helvitica", "Serif";
font-family: "Helvetica Neue", "Helvetica", sans-serif;
font-weight: 300;
}
@ -24,7 +24,7 @@ h1, h2, h3 {
h1, h2, h3, h4, h5, h6 {
color: rgb(25,71,86);
font-family: 'Cabin', "Helvetica Neue", "Helvitica", "Serif";
font-family: 'Cabin', "Helvetica Neue", "Helvetica", sans-serif;
}
h1 {
@ -39,7 +39,7 @@ h1, h2 {
pre {
background-color: #022b34;
color: #e6e6e6;
font-family: 'Source Code Pro', sans-serif;
font-family: 'Source Code Pro', monospace;
font-size: 17px;
line-height: 1.2;
-webkit-border-radius: 12px;