ref: c38d694f563ac2047824bb43befa2876879756d7
parent: ec4b1526780d79b3f94dc4df83e45a1008fea55c
author: Nathan LeClaire <[email protected]>
date: Mon Apr 28 16:23:34 EDT 2014
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.
--- a/docs/static/static/css/HPstyles.css
+++ b/docs/static/static/css/HPstyles.css
@@ -8,12 +8,12 @@
}
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;
}
--- a/docs/static/static/css/styles.css
+++ b/docs/static/static/css/styles.css
@@ -2,7 +2,7 @@
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, 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 @@
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;