mirror of
https://github.com/readthedocs/sphinx_rtd_theme.git
synced 2025-02-25 18:55:21 -06:00
Switch to a native code font stack
This commit is contained in:
parent
7cd846b4fd
commit
a233c9fb7d
@ -46,14 +46,6 @@ module.exports = function(grunt) {
|
|||||||
'bower_components/robotoslab-googlefont/RobotoSlab-Regular.ttf'],
|
'bower_components/robotoslab-googlefont/RobotoSlab-Regular.ttf'],
|
||||||
dest: 'sphinx_rtd_theme/static/fonts/',
|
dest: 'sphinx_rtd_theme/static/fonts/',
|
||||||
filter: 'isFile'
|
filter: 'isFile'
|
||||||
},
|
|
||||||
{
|
|
||||||
expand: true,
|
|
||||||
flatten: true,
|
|
||||||
src: ['bower_components/inconsolata-googlefont/Inconsolata-Bold.ttf',
|
|
||||||
'bower_components/inconsolata-googlefont/Inconsolata-Regular.ttf'],
|
|
||||||
dest: 'sphinx_rtd_theme/static/fonts/',
|
|
||||||
filter: 'isFile'
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -1,6 +1,4 @@
|
|||||||
sphinx_rtd_theme/static/fonts/Inconsolata-Bold.ttf
|
|
||||||
sphinx_rtd_theme/static/fonts/Lato-Bold.ttf
|
sphinx_rtd_theme/static/fonts/Lato-Bold.ttf
|
||||||
sphinx_rtd_theme/static/fonts/Inconsolata.ttf
|
|
||||||
sphinx_rtd_theme/static/fonts/Lato-Regular.ttf
|
sphinx_rtd_theme/static/fonts/Lato-Regular.ttf
|
||||||
|
|
||||||
|
|
||||||
|
@ -31,7 +31,6 @@
|
|||||||
"dependencies": {
|
"dependencies": {
|
||||||
"lato-googlefont": "*",
|
"lato-googlefont": "*",
|
||||||
"robotoslab-googlefont": "*",
|
"robotoslab-googlefont": "*",
|
||||||
"inconsolata-googlefont": "*",
|
|
||||||
"font-awesome": "~4.7"
|
"font-awesome": "~4.7"
|
||||||
},
|
},
|
||||||
"resolutions": {
|
"resolutions": {
|
||||||
|
@ -1,15 +1,3 @@
|
|||||||
@font-face
|
|
||||||
font-family: 'Inconsolata'
|
|
||||||
font-style: normal
|
|
||||||
font-weight: 400
|
|
||||||
src: local('Inconsolata'), local('Inconsolata-Regular'), url(../fonts/Inconsolata-Regular.ttf) format('truetype')
|
|
||||||
|
|
||||||
@font-face
|
|
||||||
font-family: 'Inconsolata'
|
|
||||||
font-style: normal
|
|
||||||
font-weight: 700
|
|
||||||
src: local('Inconsolata Bold'), local('Inconsolata-Bold'), url(../fonts/Inconsolata-Bold.ttf) format('truetype')
|
|
||||||
|
|
||||||
@font-face
|
@font-face
|
||||||
font-family: 'Lato'
|
font-family: 'Lato'
|
||||||
font-style: normal
|
font-style: normal
|
||||||
|
@ -63,4 +63,4 @@ $highlight-color: $yellow
|
|||||||
$base-font-family: "Lato", "proxima-nova", "Helvetica Neue", Arial, sans-serif
|
$base-font-family: "Lato", "proxima-nova", "Helvetica Neue", Arial, sans-serif
|
||||||
$custom-font-family: "Roboto Slab", "ff-tisa-web-pro", "Georgia", Arial, sans-serif
|
$custom-font-family: "Roboto Slab", "ff-tisa-web-pro", "Georgia", Arial, sans-serif
|
||||||
$custom-font-family2: Georgia, serif
|
$custom-font-family2: Georgia, serif
|
||||||
$code-font-family: Consolas, "Andale Mono WT", "Andale Mono", "Lucida Console", "Lucida Sans Typewriter", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Liberation Mono", "Nimbus Mono L", Monaco, "Courier New", Courier, monospace
|
$code-font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", Courier, monospace
|
||||||
|
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue
Block a user