-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
- Loading branch information
There are no files selected for viewing
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,143 @@ | ||
|
||
/* 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; | ||
} | ||
|
||
/* Parameter headings must be inline, not blocks. */ | ||
.doc-heading-parameter { | ||
display: inline; | ||
} | ||
|
||
/* Prefer space on the right, not the left of parameter permalinks. */ | ||
.doc-heading-parameter .headerlink { | ||
margin-left: 0 !important; | ||
margin-right: 0.2rem; | ||
} | ||
|
||
/* Backward-compatibility: docstring section titles in bold. */ | ||
.doc-section-title { | ||
font-weight: bold; | ||
} | ||
|
||
/* Symbols in Navigation and ToC. */ | ||
:root, :host, | ||
[data-md-color-scheme="default"] { | ||
--doc-symbol-parameter-fg-color: #df50af; | ||
--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-parameter-bg-color: #df50af1a; | ||
--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-parameter-fg-color: #ffa8cc; | ||
--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-parameter-bg-color: #ffa8cc1a; | ||
--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-parameter { | ||
color: var(--doc-symbol-parameter-fg-color); | ||
background-color: var(--doc-symbol-parameter-bg-color); | ||
} | ||
|
||
code.doc-symbol-parameter::after { | ||
content: "param"; | ||
} | ||
|
||
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; | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,95 @@ | ||
/* Light Theme */ | ||
[data-md-color-scheme="light"] { | ||
--md-primary-fg-color: #76b900; | ||
--md-primary-fg-color--light: #8ed100; | ||
--md-primary-fg-color--dark: #5f9300; | ||
--md-primary-bg-color: #ffffff; | ||
--md-accent-fg-color: #76b900; /* Changed to green */ | ||
|
||
--md-default-fg-color: #333333; | ||
--md-default-fg-color--light: #666666; | ||
--md-default-fg-color--lighter: #999999; | ||
--md-default-fg-color--lightest: #cccccc; | ||
--md-default-bg-color: #ffffff; | ||
|
||
--md-code-fg-color: #24292e; | ||
--md-code-bg-color: #f6f8fa; | ||
|
||
--md-typeset-color: var(--md-default-fg-color); | ||
--md-typeset-a-color: var(--md-accent-fg-color); | ||
|
||
--md-admonition-bg-color: var(--md-default-bg-color); | ||
--md-admonition-fg-color: var(--md-default-fg-color); | ||
/* footer */ | ||
--md-footer-bg-color: white; | ||
--md-footer-fg-color: var(--md-default-fg-color); | ||
--md-footer-bg-color--dark: white; | ||
--md-footer-fg-color--light: var(--md-default-fg-color); | ||
--md-footer-border-bottom: 1px solid #c9d1d9; | ||
--md-header-border: 1px solid #c9d1d9; | ||
--svg-color: black; | ||
--md-header-bg-color: white; | ||
--md-header-color: black; | ||
--md-search-hover-color: #999999; | ||
} | ||
|
||
/* Dark Theme */ | ||
[data-md-color-scheme="dark"] { | ||
--md-primary-fg-color: #76b900; | ||
--md-primary-fg-color--light: #8ed100; | ||
--md-primary-fg-color--dark: #5f9300; | ||
--md-primary-bg-color: #1a1a1a; | ||
/* Lighter green for better visibility in dark mode */ | ||
--md-accent-fg-color: #8ed100; | ||
/* text color */ | ||
--md-default-fg-color: #ffffff; | ||
/* title text */ | ||
--md-default-fg-color--light: white; | ||
/* scroll bar */ | ||
--md-default-fg-color--lighter: #999999; | ||
/* code copy */ | ||
--md-default-fg-color--lightest: #666666; | ||
--md-default-bg-color: #1a1a1a; | ||
/* code color */ | ||
--md-code-fg-color: #c9d1d9; | ||
--md-code-bg-color: #2a2a2a; | ||
|
||
--md-typeset-color: var(--md-default-fg-color); | ||
--md-typeset-a-color: var(--md-accent-fg-color); | ||
|
||
--md-admonition-bg-color: #2a2a2a; | ||
--md-admonition-fg-color: var(--md-default-fg-color); | ||
--md-footer-bg-color: #2a2a2a; | ||
--md-footer-fg-color: #cccccc; | ||
/* footer */ | ||
--md-footer-bg-color: #1a1a1a; | ||
--md-footer-fg-color: #ffffff; | ||
--md-footer-bg-color--dark: #1a1a1a; | ||
--md-footer-fg-color--light: #ffffff; | ||
|
||
--md-footer-border: 0px solid #c9d1d9; | ||
--md-footer-border-bottom: 1px solid #2a2a2a; | ||
--md-header-border: 0px solid #c9d1d9; | ||
--svg-color: white; | ||
--md-header-bg-color: #1a1a1a; | ||
--md-header-color: white; | ||
--md-search-hover-color: #2a2a2a; | ||
--md-shadow-z2: 0.5px 1px 2px rgba(255, 255, 255, 0.25); | ||
|
||
/* code */ | ||
--md-code-fg-color: #d4d4d4; | ||
--md-code-bg-color: #1e1e1e; | ||
--md-code-hl-color: rgba(255, 255, 255, 0.1); | ||
--md-code-hl-number-color: #b5cea8; | ||
--md-code-hl-special-color: #d7ba7d; | ||
--md-code-hl-function-color: #dcdcaa; | ||
--md-code-hl-constant-color: #4ec9b0; | ||
--md-code-hl-keyword-color: #c586c0; | ||
--md-code-hl-string-color: #ce9178; | ||
--md-code-hl-name-color: #9cdcfe; | ||
--md-code-hl-operator-color: #d4d4d4; | ||
--md-code-hl-punctuation-color: #d4d4d4; | ||
--md-code-hl-comment-color: #6a9955; | ||
--md-code-hl-generic-color: #d4d4d4; | ||
--md-code-hl-variable-color: #9cdcfe; | ||
} |