about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2015-02-10 08:42:47 -0800
committerAlex Crichton <alex@alexcrichton.com>2015-02-10 08:42:47 -0800
commit5ad52ca6b39b4635fca7f85168e14bff48aed8c4 (patch)
tree3e0b21baeb8211a825378bcba61a5393dec76319 /src
parent7e378edb39df4c5499fc37103feeeddc8e3e6269 (diff)
parent45f667286134c9d48008969c4e3f4b54d9c1dc22 (diff)
downloadrust-5ad52ca6b39b4635fca7f85168e14bff48aed8c4.tar.gz
rust-5ad52ca6b39b4635fca7f85168e14bff48aed8c4.zip
rollup merge of #22097: cllns/fix-fallback-fonts
The fallback font for a serif font should also be serif, not sans serif.
Diffstat (limited to 'src')
-rw-r--r--src/doc/rust.css2
-rw-r--r--src/librustdoc/html/static/main.css2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/doc/rust.css b/src/doc/rust.css
index 3f59f12e74c..c2a25cd7a58 100644
--- a/src/doc/rust.css
+++ b/src/doc/rust.css
@@ -58,7 +58,7 @@
 body {
     margin: 0 auto;
     padding: 0 15px;
-    font-family: "Source Serif Pro", "Helvetica Neue", Helvetica, Arial, sans-serif;
+    font-family: "Source Serif Pro", Georgia, Times, "Times New Roman", serif;
     font-size: 18px;
     color: #333;
     line-height: 1.428571429;
diff --git a/src/librustdoc/html/static/main.css b/src/librustdoc/html/static/main.css
index 46faa3efc34..7267f95b31f 100644
--- a/src/librustdoc/html/static/main.css
+++ b/src/librustdoc/html/static/main.css
@@ -64,7 +64,7 @@
 
 body {
     color: #333;
-    font: 16px/1.4 "Source Serif Pro", "Helvetica Neue", Helvetica, Arial, sans-serif;
+    font: 16px/1.4 "Source Serif Pro", Georgia, Times, "Times New Roman", serif;
     margin: 0;
     position: relative;
     padding: 10px 15px 20px 15px;