-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Deployed 67034bd to dev with MkDocs 1.5.3 and mike 1.1.2
- Loading branch information
1 parent
47d92e5
commit 2f989a2
Showing
49 changed files
with
5,379 additions
and
2,875 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,119 @@ | ||
|
||
/* Avoid breaking parameter names, etc. in table cells. */ | ||
.doc-contents td code { | ||
word-break: normal !important; | ||
} | ||
|
||
/* No line break before first paragraph of descriptions. */ | ||
.doc-md-description, | ||
.doc-md-description>p:first-child { | ||
display: inline; | ||
} | ||
|
||
/* Max width for docstring sections tables. */ | ||
.doc .md-typeset__table, | ||
.doc .md-typeset__table table { | ||
display: table !important; | ||
width: 100%; | ||
} | ||
|
||
.doc .md-typeset__table tr { | ||
display: table-row; | ||
} | ||
|
||
/* Defaults in Spacy table style. */ | ||
.doc-param-default { | ||
float: right; | ||
} | ||
|
||
/* Backward-compatibility: docstring section titles in bold. */ | ||
.doc-section-title { | ||
font-weight: bold; | ||
} | ||
|
||
/* Symbols in Navigation and ToC. */ | ||
:root, | ||
[data-md-color-scheme="default"] { | ||
--doc-symbol-attribute-fg-color: #953800; | ||
--doc-symbol-function-fg-color: #8250df; | ||
--doc-symbol-method-fg-color: #8250df; | ||
--doc-symbol-class-fg-color: #0550ae; | ||
--doc-symbol-module-fg-color: #5cad0f; | ||
|
||
--doc-symbol-attribute-bg-color: #9538001a; | ||
--doc-symbol-function-bg-color: #8250df1a; | ||
--doc-symbol-method-bg-color: #8250df1a; | ||
--doc-symbol-class-bg-color: #0550ae1a; | ||
--doc-symbol-module-bg-color: #5cad0f1a; | ||
} | ||
|
||
[data-md-color-scheme="slate"] { | ||
--doc-symbol-attribute-fg-color: #ffa657; | ||
--doc-symbol-function-fg-color: #d2a8ff; | ||
--doc-symbol-method-fg-color: #d2a8ff; | ||
--doc-symbol-class-fg-color: #79c0ff; | ||
--doc-symbol-module-fg-color: #baff79; | ||
|
||
--doc-symbol-attribute-bg-color: #ffa6571a; | ||
--doc-symbol-function-bg-color: #d2a8ff1a; | ||
--doc-symbol-method-bg-color: #d2a8ff1a; | ||
--doc-symbol-class-bg-color: #79c0ff1a; | ||
--doc-symbol-module-bg-color: #baff791a; | ||
} | ||
|
||
code.doc-symbol { | ||
border-radius: .1rem; | ||
font-size: .85em; | ||
padding: 0 .3em; | ||
font-weight: bold; | ||
} | ||
|
||
code.doc-symbol-attribute { | ||
color: var(--doc-symbol-attribute-fg-color); | ||
background-color: var(--doc-symbol-attribute-bg-color); | ||
} | ||
|
||
code.doc-symbol-attribute::after { | ||
content: "attr"; | ||
} | ||
|
||
code.doc-symbol-function { | ||
color: var(--doc-symbol-function-fg-color); | ||
background-color: var(--doc-symbol-function-bg-color); | ||
} | ||
|
||
code.doc-symbol-function::after { | ||
content: "func"; | ||
} | ||
|
||
code.doc-symbol-method { | ||
color: var(--doc-symbol-method-fg-color); | ||
background-color: var(--doc-symbol-method-bg-color); | ||
} | ||
|
||
code.doc-symbol-method::after { | ||
content: "meth"; | ||
} | ||
|
||
code.doc-symbol-class { | ||
color: var(--doc-symbol-class-fg-color); | ||
background-color: var(--doc-symbol-class-bg-color); | ||
} | ||
|
||
code.doc-symbol-class::after { | ||
content: "class"; | ||
} | ||
|
||
code.doc-symbol-module { | ||
color: var(--doc-symbol-module-fg-color); | ||
background-color: var(--doc-symbol-module-bg-color); | ||
} | ||
|
||
code.doc-symbol-module::after { | ||
content: "mod"; | ||
} | ||
|
||
.doc-signature .autorefs { | ||
color: inherit; | ||
border-bottom: 1px dotted currentcolor; | ||
} |
Oops, something went wrong.