From c38d694f563ac2047824bb43befa2876879756d7 Mon Sep 17 00:00:00 2001 From: Nathan LeClaire Date: Mon, 28 Apr 2014 20:23:34 -0700 Subject: [PATCH] Change some typography in the docs. Two issues are addressed with this commit: 1. Some
 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.
---
 docs/static/static/css/HPstyles.css | 4 ++--
 docs/static/static/css/styles.css   | 6 +++---
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/docs/static/static/css/HPstyles.css b/docs/static/static/css/HPstyles.css
index 1f907042c..f766eda11 100644
--- 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;
 }
 
diff --git a/docs/static/static/css/styles.css b/docs/static/static/css/styles.css
index 239c12c42..347f128b3 100755
--- 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;