aboutsummaryrefslogtreecommitdiffstats
path: root/docs/source/_static
diff options
context:
space:
mode:
Diffstat (limited to 'docs/source/_static')
-rw-r--r--docs/source/_static/rambutan-docs.css40
-rw-r--r--docs/source/_static/rambutan-fonts.css27
2 files changed, 39 insertions, 28 deletions
diff --git a/docs/source/_static/rambutan-docs.css b/docs/source/_static/rambutan-docs.css
index 7f7e0f2..deadbcc 100644
--- a/docs/source/_static/rambutan-docs.css
+++ b/docs/source/_static/rambutan-docs.css
@@ -3,7 +3,30 @@
/* TODO: http://practicaltypography.com/rules-and-borders.html */
-/* General page styling */
+/* Fonts first */
+@font-face {
+ font-family: 'SourceCodePro-Regular';
+ src: url('//rambutan.cc/theme/source-code-pro/SourceCodePro-Regular.eot?#iefix') format('embedded-opentype'), url('//rambutan.cc/theme/source-code-pro/SourceCodePro-Regular.otf') format('opentype'),
+ url('//rambutan.cc/theme/source-code-pro/SourceCodePro-Regular.woff') format('woff'), url('//rambutan.cc/theme/source-code-pro/SourceCodePro-Regular.ttf') format('truetype'), url('//rambutan.cc/theme/source-code-pro/SourceCodePro-Regular.svg#SourceCodePro-Regular') format('svg');
+ font-weight: normal;
+ font-style: normal;
+}
+
+@font-face {
+ font-family: 'CrimsonText-Roman';
+ src: url('//rambutan.cc/theme/crimson/CrimsonText-Roman.eot?#iefix') format('embedded-opentype'), url('//rambutan.cc/theme/crimson/CrimsonText-Roman.woff') format('woff'), url('//rambutan.cc/theme/crimson/CrimsonText-Roman.ttf') format('truetype'), url('//rambutan.cc/theme/crimson/CrimsonText-Roman.svg#CrimsonText-Roman') format('svg');
+ font-weight: normal;
+ font-style: normal;
+}
+
+@font-face {
+ font-family: 'OpenSans';
+ src: url('//rambutan.cc/theme/open-sans/OpenSans.eot?#iefix') format('embedded-opentype'), url('//rambutan.cc/theme/OpenSans.woff') format('woff'), url('//rambutan.cc/theme/open-sans/OpenSans.ttf') format('truetype'), url('//rambutan.cc/theme/open-sans/OpenSans.svg#OpenSans') format('svg');
+ font-weight: normal;
+ font-style: normal;
+}
+/* End of fonts */
+
body {
font-family: "Crimson Text", serif;
font-size: 16px;
@@ -66,6 +89,21 @@ footer#pagefooter, footer#pagefooter a {
.contents .topic-title {
font-weight: normal;
}
+
+body > header h1 a, body > header h1 a:visited {
+ color: #000;
+ margin-left: 240px;
+ font-family: "Open Sans", "Helvetica", sans-serif;
+ font-weight: bold;
+ text-transform: uppercase;
+ font-variant: small-caps;
+ font-weight: normal;
+}
+
+.sphinxsidebar h3 a {
+ color: #222;
+}
+
pre, tt {
font-family: "Source Code Pro", "Monaco", "Consolas", "Lucida Console", monospace;
}
diff --git a/docs/source/_static/rambutan-fonts.css b/docs/source/_static/rambutan-fonts.css
deleted file mode 100644
index 717f905..0000000
--- a/docs/source/_static/rambutan-fonts.css
+++ /dev/null
@@ -1,27 +0,0 @@
-/* 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');
-}
-*/