diff options
author | bnewbold <bnewbold@robocracy.org> | 2014-09-01 20:31:52 -0400 |
---|---|---|
committer | bnewbold <bnewbold@robocracy.org> | 2014-09-01 20:31:52 -0400 |
commit | dea4e11a8ac2e2f798bc7985fd51142e794e61b3 (patch) | |
tree | 8a927ba23a0eb26c8b89455f88dff1099c8db32a /docs | |
parent | 2725f57f0988a7af5514fcc57410e986cc051da3 (diff) | |
download | librambutan-dea4e11a8ac2e2f798bc7985fd51142e794e61b3.tar.gz librambutan-dea4e11a8ac2e2f798bc7985fd51142e794e61b3.zip |
docs: fix webfonts, and default to local fonts
Diffstat (limited to 'docs')
-rw-r--r-- | docs/source/_static/rambutan-docs.css | 26 |
1 files 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; } |