Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
transformers
Commits
b3cfd979
Unverified
Commit
b3cfd979
authored
Oct 03, 2019
by
Thomas Wolf
Committed by
GitHub
Oct 03, 2019
Browse files
Merge pull request #1373 from TimYagan/fix-css
Fixed critical css font-family issues
parents
81a1e124
0a4ed719
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
11 deletions
+8
-11
docs/source/_static/css/huggingface.css
docs/source/_static/css/huggingface.css
+8
-11
No files found.
docs/source/_static/css/huggingface.css
View file @
b3cfd979
huggingface
.css
/* The literal code blocks */
.rst-content
tt
.literal
,
.rst-content
tt
.literal
,
.rst-content
code
.literal
{
color
:
#6670FF
;
...
...
@@ -44,11 +42,11 @@ huggingface.css
/* The text items on the toc tree */
.wy-menu-vertical
a
{
color
:
#FFFFDD
;
font-family
:
Calibre-Light
;
font-family
:
Calibre-Light
,
sans-serif
;
}
.wy-menu-vertical
header
,
.wy-menu-vertical
p
.caption
{
color
:
white
;
font-family
:
Calibre-Light
;
font-family
:
Calibre-Light
,
sans-serif
;
}
/* The color inside the selected toc tree block */
...
...
@@ -85,7 +83,7 @@ a {
border-right
:
solid
2px
#FB8D68
;
border-left
:
solid
2px
#FB8D68
;
color
:
#FB8D68
;
font-family
:
Calibre-Light
;
font-family
:
Calibre-Light
,
sans-serif
;
border-top
:
none
;
font-style
:
normal
!important
;
}
...
...
@@ -136,14 +134,14 @@ a {
/* class and method names in doc */
.rst-content
dl
:not
(
.docutils
)
tt
.descname
,
.rst-content
dl
:not
(
.docutils
)
tt
.descclassname
,
.rst-content
dl
:not
(
.docutils
)
tt
.descname
,
.rst-content
dl
:not
(
.docutils
)
code
.descname
,
.rst-content
dl
:not
(
.docutils
)
tt
.descclassname
,
.rst-content
dl
:not
(
.docutils
)
code
.descclassname
{
font-family
:
Calibre
;
font-family
:
Calibre
,
sans-serif
;
font-size
:
20px
!important
;
}
/* class name in doc*/
.rst-content
dl
:not
(
.docutils
)
tt
.descname
,
.rst-content
dl
:not
(
.docutils
)
tt
.descname
,
.rst-content
dl
:not
(
.docutils
)
code
.descname
{
margin-right
:
10px
;
font-family
:
Calibre-Medium
;
font-family
:
Calibre-Medium
,
sans-serif
;
}
/* Method and class parameters */
...
...
@@ -160,17 +158,17 @@ a {
/* FONTS */
body
{
font-family
:
Calibre
;
font-family
:
Calibre
,
sans-serif
;
font-size
:
16px
;
}
h1
{
font-family
:
Calibre-Thin
;
font-family
:
Calibre-Thin
,
sans-serif
;
font-size
:
70px
;
}
h2
,
.rst-content
.toctree-wrapper
p
.caption
,
h3
,
h4
,
h5
,
h6
,
legend
{
font-family
:
Calibre-Medium
;
font-family
:
Calibre-Medium
,
sans-serif
;
}
@font-face
{
...
...
@@ -196,4 +194,3 @@ h2, .rst-content .toctree-wrapper p.caption, h3, h4, h5, h6, legend{
src
:
url(./Calibre-Thin.otf)
;
font-weight
:
400
;
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment