-
-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Deployed 9b36b6d to 4.0.0 with MkDocs 1.6.0 and mike 2.1.1
- Loading branch information
github-actions
committed
Jun 22, 2024
1 parent
4e97a7a
commit 71b6d01
Showing
79 changed files
with
11,441 additions
and
3 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
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,161 @@ | ||
[data-md-color-scheme="slate"] { | ||
--admonition-border-color: transparent; | ||
--admonition-expanded-border-color: rgba(255, 255, 255, 0.1); | ||
--note-bg-color: rgba(43, 110, 98, 0.2); | ||
--terminal-bg-color: #0c0c0c; | ||
--terminal-title-bg-color: #000; | ||
--deep-dive-bg-color: rgba(43, 52, 145, 0.2); | ||
--you-will-learn-bg-color: #353a45; | ||
--pitfall-bg-color: rgba(182, 87, 0, 0.2); | ||
} | ||
[data-md-color-scheme="default"] { | ||
--admonition-border-color: rgba(0, 0, 0, 0.08); | ||
--admonition-expanded-border-color: var(--admonition-border-color); | ||
--note-bg-color: rgb(244, 251, 249); | ||
--terminal-bg-color: rgb(64, 71, 86); | ||
--terminal-title-bg-color: rgb(35, 39, 47); | ||
--deep-dive-bg-color: rgb(243, 244, 253); | ||
--you-will-learn-bg-color: rgb(246, 247, 249); | ||
--pitfall-bg-color: rgb(254, 245, 231); | ||
} | ||
|
||
.md-typeset details, | ||
.md-typeset .admonition { | ||
border-color: var(--admonition-border-color) !important; | ||
box-shadow: none; | ||
} | ||
|
||
.md-typeset :is(.admonition, details) { | ||
margin: 0 0; | ||
} | ||
|
||
.md-typeset .admonition { | ||
font-size: 0.7rem; | ||
} | ||
|
||
.md-typeset .admonition:focus-within, | ||
.md-typeset details:focus-within { | ||
box-shadow: none !important; | ||
} | ||
|
||
.md-typeset details[open] { | ||
border-color: var(--admonition-expanded-border-color) !important; | ||
} | ||
|
||
/* | ||
Admonition: "summary" | ||
React Name: "You will learn" | ||
*/ | ||
.md-typeset .admonition.summary { | ||
background: var(--you-will-learn-bg-color); | ||
padding: 0.8rem 1.4rem; | ||
border-radius: 0.8rem; | ||
} | ||
|
||
.md-typeset .summary .admonition-title { | ||
font-size: 1rem; | ||
background: transparent; | ||
padding-left: 0.6rem; | ||
padding-bottom: 0; | ||
} | ||
|
||
.md-typeset .summary .admonition-title:before { | ||
display: none; | ||
} | ||
|
||
.md-typeset .admonition.summary { | ||
border-color: #ffffff17 !important; | ||
} | ||
|
||
/* | ||
Admonition: "abstract" | ||
React Name: "Note" | ||
*/ | ||
.md-typeset .admonition.abstract { | ||
background: var(--note-bg-color); | ||
padding: 0.8rem 1.4rem; | ||
border-radius: 0.8rem; | ||
} | ||
|
||
.md-typeset .abstract .admonition-title { | ||
font-size: 1rem; | ||
background: transparent; | ||
padding-bottom: 0; | ||
color: rgb(68, 172, 153); | ||
} | ||
|
||
.md-typeset .abstract .admonition-title:before { | ||
font-size: 1.1rem; | ||
background: rgb(68, 172, 153); | ||
} | ||
|
||
/* | ||
Admonition: "warning" | ||
React Name: "Pitfall" | ||
*/ | ||
.md-typeset .admonition.warning { | ||
background: var(--pitfall-bg-color); | ||
padding: 0.8rem 1.4rem; | ||
border-radius: 0.8rem; | ||
} | ||
|
||
.md-typeset .warning .admonition-title { | ||
font-size: 1rem; | ||
background: transparent; | ||
padding-bottom: 0; | ||
color: rgb(219, 125, 39); | ||
} | ||
|
||
.md-typeset .warning .admonition-title:before { | ||
font-size: 1.1rem; | ||
background: rgb(219, 125, 39); | ||
} | ||
|
||
/* | ||
Admonition: "info" | ||
React Name: "Deep Dive" | ||
*/ | ||
.md-typeset .admonition.info { | ||
background: var(--deep-dive-bg-color); | ||
padding: 0.8rem 1.4rem; | ||
border-radius: 0.8rem; | ||
} | ||
|
||
.md-typeset .info .admonition-title { | ||
font-size: 1rem; | ||
background: transparent; | ||
padding-bottom: 0; | ||
color: rgb(136, 145, 236); | ||
} | ||
|
||
.md-typeset .info .admonition-title:before { | ||
font-size: 1.1rem; | ||
background: rgb(136, 145, 236); | ||
} | ||
|
||
/* | ||
Admonition: "example" | ||
React Name: "Terminal" | ||
*/ | ||
.md-typeset .admonition.example { | ||
background: var(--terminal-bg-color); | ||
border-radius: 0.4rem; | ||
overflow: hidden; | ||
border: none; | ||
margin: 0.5rem 0; | ||
} | ||
|
||
.md-typeset .example .admonition-title { | ||
background: var(--terminal-title-bg-color); | ||
color: rgb(246, 247, 249); | ||
} | ||
|
||
.md-typeset .example .admonition-title:before { | ||
background: rgb(246, 247, 249); | ||
} | ||
|
||
.md-typeset .admonition.example code { | ||
background: transparent; | ||
color: #fff; | ||
box-shadow: none; | ||
} |
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,15 @@ | ||
body[data-md-color-scheme="slate"] { | ||
--md-banner-bg-color: rgb(55, 81, 78); | ||
--md-banner-font-color: #fff; | ||
} | ||
|
||
body[data-md-color-scheme="default"] { | ||
--md-banner-bg-color: #ff9; | ||
--md-banner-font-color: #000; | ||
} | ||
|
||
.md-banner--warning { | ||
background-color: var(--md-banner-bg-color); | ||
color: var(--md-banner-font-color); | ||
text-align: center; | ||
} |
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,41 @@ | ||
[data-md-color-scheme="slate"] { | ||
--md-button-font-color: #fff; | ||
--md-button-border-color: #404756; | ||
} | ||
|
||
[data-md-color-scheme="default"] { | ||
--md-button-font-color: #000; | ||
--md-button-border-color: #8d8d8d; | ||
} | ||
|
||
.md-typeset .md-button { | ||
border-width: 1px; | ||
border-color: var(--md-button-border-color); | ||
border-radius: 9999px; | ||
color: var(--md-button-font-color); | ||
transition: color 125ms, background 125ms, border-color 125ms, | ||
transform 125ms; | ||
} | ||
|
||
.md-typeset .md-button:focus, | ||
.md-typeset .md-button:hover { | ||
border-color: var(--md-button-border-color); | ||
color: var(--md-button-font-color); | ||
background: rgba(78, 87, 105, 0.05); | ||
} | ||
|
||
.md-typeset .md-button.md-button--primary { | ||
color: #fff; | ||
border-color: transparent; | ||
background: var(--reactpy-color-dark); | ||
} | ||
|
||
.md-typeset .md-button.md-button--primary:focus, | ||
.md-typeset .md-button.md-button--primary:hover { | ||
border-color: transparent; | ||
background: var(--reactpy-color-darker); | ||
} | ||
|
||
.md-typeset .md-button:focus { | ||
transform: scale(0.98); | ||
} |
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,111 @@ | ||
:root { | ||
--code-max-height: 17.25rem; | ||
--md-code-backdrop: rgba(0, 0, 0, 0) 0px 0px 0px 0px, | ||
rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0.03) 0px 0.8px 2px 0px, | ||
rgba(0, 0, 0, 0.047) 0px 2.7px 6.7px 0px, | ||
rgba(0, 0, 0, 0.08) 0px 12px 30px 0px; | ||
} | ||
[data-md-color-scheme="slate"] { | ||
--md-code-hl-color: #ffffcf1c; | ||
--md-code-bg-color: #16181d; | ||
--md-code-hl-comment-color: hsla(var(--md-hue), 75%, 90%, 0.43); | ||
--code-tab-color: rgb(52, 58, 70); | ||
--md-code-hl-name-color: #aadafc; | ||
--md-code-hl-string-color: hsl(21 49% 63% / 1); | ||
--md-code-hl-keyword-color: hsl(289.67deg 35% 60%); | ||
--md-code-hl-constant-color: hsl(213.91deg 68% 61%); | ||
--md-code-hl-number-color: #bfd9ab; | ||
--func-and-decorator-color: #dcdcae; | ||
--module-import-color: #60c4ac; | ||
} | ||
[data-md-color-scheme="default"] { | ||
--md-code-hl-color: #ffffcf1c; | ||
--md-code-bg-color: rgba(208, 211, 220, 0.4); | ||
--md-code-fg-color: rgb(64, 71, 86); | ||
--code-tab-color: #fff; | ||
--func-and-decorator-color: var(--md-code-hl-function-color); | ||
--module-import-color: #e153e5; | ||
} | ||
[data-md-color-scheme="default"] .md-typeset .highlight > pre > code, | ||
[data-md-color-scheme="default"] .md-typeset .highlight > table.highlighttable { | ||
--md-code-bg-color: #fff; | ||
} | ||
|
||
/* All code blocks */ | ||
.md-typeset pre > code { | ||
max-height: var(--code-max-height); | ||
} | ||
|
||
/* Code blocks with no line number */ | ||
.md-typeset .highlight > pre > code { | ||
border-radius: 16px; | ||
max-height: var(--code-max-height); | ||
box-shadow: var(--md-code-backdrop); | ||
} | ||
|
||
/* Code blocks with line numbers */ | ||
.md-typeset .highlighttable .linenos { | ||
max-height: var(--code-max-height); | ||
overflow: hidden; | ||
} | ||
.md-typeset .highlighttable { | ||
box-shadow: var(--md-code-backdrop); | ||
border-radius: 8px; | ||
overflow: hidden; | ||
} | ||
|
||
/* Tabbed code blocks */ | ||
.md-typeset .tabbed-set { | ||
box-shadow: var(--md-code-backdrop); | ||
border-radius: 8px; | ||
overflow: hidden; | ||
border: 1px solid var(--md-default-fg-color--lightest); | ||
} | ||
.md-typeset .tabbed-set .tabbed-block { | ||
overflow: hidden; | ||
} | ||
.js .md-typeset .tabbed-set .tabbed-labels { | ||
background: var(--code-tab-color); | ||
margin: 0; | ||
padding-left: 0.8rem; | ||
} | ||
.md-typeset .tabbed-set .tabbed-labels > label { | ||
font-weight: 400; | ||
font-size: 0.7rem; | ||
padding-top: 0.55em; | ||
padding-bottom: 0.35em; | ||
} | ||
.md-typeset .tabbed-set .highlighttable { | ||
border-radius: 0; | ||
} | ||
|
||
/* Code hightlighting colors */ | ||
|
||
/* Module imports */ | ||
.highlight .nc, | ||
.highlight .ne, | ||
.highlight .nn, | ||
.highlight .nv { | ||
color: var(--module-import-color); | ||
} | ||
|
||
/* Function def name and decorator */ | ||
.highlight .nd, | ||
.highlight .nf { | ||
color: var(--func-and-decorator-color); | ||
} | ||
|
||
/* None type */ | ||
.highlight .kc { | ||
color: var(--md-code-hl-constant-color); | ||
} | ||
|
||
/* Keywords such as def and return */ | ||
.highlight .k { | ||
color: var(--md-code-hl-constant-color); | ||
} | ||
|
||
/* HTML tags */ | ||
.highlight .nt { | ||
color: var(--md-code-hl-constant-color); | ||
} |
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,33 @@ | ||
[data-md-color-scheme="slate"] { | ||
--md-footer-bg-color: var(--md-default-bg-color); | ||
--md-footer-bg-color--dark: var(--md-default-bg-color); | ||
--md-footer-border-color: var(--md-header-border-color); | ||
} | ||
|
||
[data-md-color-scheme="default"] { | ||
--md-footer-fg-color: var(--md-typeset-color); | ||
--md-footer-fg-color--light: var(--md-typeset-color); | ||
--md-footer-bg-color: var(--md-default-bg-color); | ||
--md-footer-bg-color--dark: var(--md-default-bg-color); | ||
--md-footer-border-color: var(--md-header-border-color); | ||
} | ||
|
||
.md-footer { | ||
border-top: 1px solid var(--md-footer-border-color); | ||
} | ||
|
||
.md-copyright { | ||
width: 100%; | ||
} | ||
|
||
.md-copyright__highlight { | ||
width: 100%; | ||
} | ||
|
||
.legal-footer-right { | ||
float: right; | ||
} | ||
|
||
.md-copyright__highlight div { | ||
display: inline; | ||
} |
Oops, something went wrong.