mirror of
https://github.com/pseXperiments/icicle.git
synced 2026-01-08 23:17:54 -05:00
migrate docs website + improved docs (#389) * Update README.md (#385) * refactor * refactor * refactor * rename task * update codespell * multi gpu docs (#391) * Refactor * refacotr * fix typo * Apply suggestions from code review * refactor * refactor --------- Co-authored-by: ImmanuelSegol <3ditds@gmail.com> Co-authored-by: DmytroTym <dmytrotym1@gmail.com> Co-authored-by: ChickenLover <Romangg81@gmail.com>
60 lines
2.0 KiB
CSS
60 lines
2.0 KiB
CSS
/**
|
|
* Any CSS included here will be global. The classic template
|
|
* bundles Infima by default. Infima is a CSS framework designed to
|
|
* work well for content-centric websites.
|
|
*/
|
|
|
|
/* You can override the default Infima variables here. */
|
|
:root {
|
|
--ifm-color-primary: #FFCB00;
|
|
--ifm-color-primary-dark: #FFCB00;
|
|
--ifm-color-primary-darker: #FFCB00;
|
|
--ifm-color-primary-darkest: #FFCB00;
|
|
--ifm-color-primary-light: #FFCB00;
|
|
--ifm-color-primary-lighter: #FFCB00;
|
|
--ifm-color-primary-lightest: #FFCB00;
|
|
--ifm-code-font-size: 95%;
|
|
}
|
|
|
|
/* For readability concerns, you should choose a lighter palette in dark mode. */
|
|
[data-theme='dark'] {
|
|
--ifm-color-primary: #FFCB00;
|
|
--ifm-color-primary-dark: #FFCB00;
|
|
--ifm-color-primary-darker:#FFCB00;
|
|
--ifm-color-primary-darkest: #FFCB00;
|
|
--ifm-color-primary-light:#FFCB00;
|
|
--ifm-color-primary-lighter: #FFCB00;
|
|
--ifm-color-primary-lightest: #FFCB00;
|
|
}
|
|
|
|
.docusaurus-highlight-code-line {
|
|
background-color: rgba(0, 0, 0, 0.1);
|
|
display: block;
|
|
margin: 0 calc(-1 * var(--ifm-pre-padding));
|
|
padding: 0 var(--ifm-pre-padding);
|
|
}
|
|
|
|
[data-theme='dark'] .docusaurus-highlight-code-line {
|
|
background-color: rgba(0, 0, 0, 0.3);
|
|
}
|
|
|
|
/* Mermaid elements must be changed to be visible in dark mode */
|
|
[data-theme='dark'] .mermaid .messageLine0, .messageLine1 {
|
|
filter: invert(51%) sepia(84%) saturate(405%) hue-rotate(21deg) brightness(94%) contrast(91%) !important;
|
|
}
|
|
/* NOTE Must be a separate specification from the above or it won't toggle off */
|
|
[data-theme='dark'] .mermaid .flowchart-link {
|
|
filter: invert(51%) sepia(84%) saturate(405%) hue-rotate(21deg) brightness(94%) contrast(91%) !important;
|
|
}
|
|
[data-theme='dark'] .mermaid .cluster-label {
|
|
filter: invert(51%) sepia(84%) saturate(405%) hue-rotate(21deg) brightness(94%) contrast(91%) !important;
|
|
}
|
|
[data-theme='dark'] .mermaid .messageText {
|
|
stroke:none !important; fill:white !important;
|
|
}
|
|
|
|
/* Our additions */
|
|
.anchor {
|
|
scroll-margin-top: 50pt;
|
|
}
|