aboutsummaryrefslogtreecommitdiffstats
path: root/docs/source/_static
diff options
context:
space:
mode:
authorbnewbold <bnewbold@robocracy.org>2014-09-01 14:11:19 -0400
committerbnewbold <bnewbold@robocracy.org>2014-09-01 14:11:21 -0400
commit9a1424f02965f6fbae186ae5b7a99cd1eca92413 (patch)
tree3258e73732262d5f275e712e33c307728d26de65 /docs/source/_static
parent4876692bb15a136aaf08b7b46911dbf0030dc8de (diff)
downloadlibrambutan-9a1424f02965f6fbae186ae5b7a99cd1eca92413.tar.gz
librambutan-9a1424f02965f6fbae186ae5b7a99cd1eca92413.zip
docs: start using webfonts
For now just point to google-hosted font files, until webfonts get installed at rambutan.cc in a stable location.
Diffstat (limited to 'docs/source/_static')
-rw-r--r--docs/source/_static/rambutan-docs.css6
-rw-r--r--docs/source/_static/rambutan-fonts.css27
2 files changed, 30 insertions, 3 deletions
diff --git a/docs/source/_static/rambutan-docs.css b/docs/source/_static/rambutan-docs.css
index 84cca81..173bd34 100644
--- a/docs/source/_static/rambutan-docs.css
+++ b/docs/source/_static/rambutan-docs.css
@@ -4,7 +4,7 @@
/* TODO: http://practicaltypography.com/rules-and-borders.html */
body {
- font-family: serif;
+ font-family: "Crimson Text", serif;
font-size: 16px;
}
@@ -31,7 +31,7 @@ body {
h1, h2, h3, h4, h5, h6 {
color: #000;
- font-family: "Helvetica", sans-serif;
+ font-family: "Open Sans", "Helvetica", sans-serif;
}
h1 { font-size: 1.6em; font-weight: bold; }
@@ -74,7 +74,7 @@ footer#pagefooter, footer#pagefooter a {
body > header h1 a, body > header h1 a:visited {
color: #000;
margin-left: 240px;
- font-family: "Helvetica", sans-serif;
+ font-family: "Open Sans", "Helvetica", sans-serif;
font-weight: bold;
text-transform: uppercase;
font-variant: small-caps;
diff --git a/docs/source/_static/rambutan-fonts.css b/docs/source/_static/rambutan-fonts.css
new file mode 100644
index 0000000..717f905
--- /dev/null
+++ b/docs/source/_static/rambutan-fonts.css
@@ -0,0 +1,27 @@
+/* This file is DEPRECATED! Rambutan-local font files should be used instead */
+@font-face {
+ font-family: 'Crimson Text';
+ font-style: normal;
+ font-weight: 400;
+ src: local('Crimson Text'), local('CrimsonText-Roman'), url(http://fonts.gstatic.com/s/crimsontext/v6/3IFMwfRa07i-auYR-B-zNYnF5uFdDttMLvmWuJdhhgs.ttf) format('truetype');
+}
+@font-face {
+ font-family: 'Open Sans';
+ font-style: normal;
+ font-weight: 400;
+ src: local('Open Sans'), local('OpenSans'), url(http://fonts.gstatic.com/s/opensans/v10/u-WUoqrET9fUeobQW7jkRaCWcynf_cDxXwCLxiixG1c.ttf) format('truetype');
+}
+@font-face {
+ font-family: 'Source Code Pro';
+ font-style: normal;
+ font-weight: 400;
+ src: local('Source Code Pro'), local('SourceCodePro-Regular'), url(http://fonts.gstatic.com/s/sourcecodepro/v6/mrl8jkM18OlOQN8JLgasD1zCdIATDt8zXO3QNtzVeJ8.ttf) format('truetype');
+}
+/*
+@font-face {
+ font-family: 'Source Sans Pro';
+ font-style: normal;
+ font-weight: 400;
+ src: local('Source Sans Pro'), local('SourceSansPro-Regular'), url(http://fonts.gstatic.com/s/sourcesanspro/v9/ODelI1aHBYDBqgeIAH2zlFzCdIATDt8zXO3QNtzVeJ8.ttf) format('truetype');
+}
+*/