From dea4e11a8ac2e2f798bc7985fd51142e794e61b3 Mon Sep 17 00:00:00 2001 From: bnewbold Date: Mon, 1 Sep 2014 20:31:52 -0400 Subject: docs: fix webfonts, and default to local fonts --- docs/source/_static/rambutan-docs.css | 26 +++++++++++++++++++------- 1 file changed, 19 insertions(+), 7 deletions(-) diff --git a/docs/source/_static/rambutan-docs.css b/docs/source/_static/rambutan-docs.css index af9c286..a20883d 100644 --- a/docs/source/_static/rambutan-docs.css +++ b/docs/source/_static/rambutan-docs.css @@ -5,23 +5,35 @@ /* 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-family: 'Source Code Pro'; + src: local('Source Code Pro'), local('SourceCodePro-Regular'), + url('http://rambutan.cc/theme/source-code-pro/SourceCodePro-Regular.eot?#iefix') format('embedded-opentype'), + url('http://rambutan.cc/theme/source-code-pro/SourceCodePro-Regular.otf') format('opentype'), + url('http://rambutan.cc/theme/source-code-pro/SourceCodePro-Regular.woff') format('woff'), + url('http://rambutan.cc/theme/source-code-pro/SourceCodePro-Regular.ttf') format('truetype'), + url('http://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-family: 'Crimson Text'; + src: local('Crimson Text'), local('CrimsonText-Roman'), + url('http://rambutan.cc/theme/crimson/CrimsonText-Roman.eot?#iefix') format('embedded-opentype'), + url('http://rambutan.cc/theme/crimson/CrimsonText-Roman.woff') format('woff'), + url('http://rambutan.cc/theme/crimson/CrimsonText-Roman.ttf') format('truetype'), + url('http://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-family: 'Open Sans'; + src: local('Open Sans'), local('OpenSans'), + url('http://rambutan.cc/theme/open-sans/OpenSans.eot?#iefix') format('embedded-opentype'), + url('http://rambutan.cc/theme/open-sans/OpenSans.woff') format('woff'), + url('http://rambutan.cc/theme/open-sans/OpenSans.ttf') format('truetype'), + url('http://rambutan.cc/theme/open-sans/OpenSans.svg#OpenSans') format('svg'); font-weight: normal; font-style: normal; } -- cgit v1.2.3