Change some typography in the docs. - hugo - [fork] hugo port for 9front
HTML git clone git@git.drkhsh.at/hugo.git
DIR Log
DIR Files
DIR Refs
DIR Submodules
DIR README
DIR LICENSE
---
DIR commit c38d694f563ac2047824bb43befa2876879756d7
DIR parent ec4b1526780d79b3f94dc4df83e45a1008fea55c
HTML Author: Nathan LeClaire <nathan.leclaire@gmail.com>
Date: Mon, 28 Apr 2014 20:23:34 -0700
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.
Diffstat:
M docs/static/static/css/HPstyles.css | 4 ++--
M docs/static/static/css/styles.css | 6 +++---
2 files changed, 5 insertions(+), 5 deletions(-)
---
DIR diff --git a/docs/static/static/css/HPstyles.css b/docs/static/static/css/HPstyles.css
@@ -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;
}
DIR diff --git a/docs/static/static/css/styles.css b/docs/static/static/css/styles.css
@@ -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;