-
Notifications
You must be signed in to change notification settings - Fork 96
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update installation docs 1.4.1 (#1810)
* [wip] Updated installation docs * Add tabs for different OS installations * Move installation methods to tabs * Use tabs.css * FIx styling error (line under last tab in terminal hint) * Add installation instructions before TOC * Replace mamba with conda * Lint * Find good light colors not switching when change dark/light themes * Get color scheme switching with dark/light toggle button * Upgrade website build dependencies * Remove seemingly unneeded dependencies from workflow * Add myst-nb>=0.16.0 lower bound * Trigger dev website build * Fix minor typo in css * Add miniforge and one-liner installs for package managers --------- Co-authored-by: roomrys <lmaree@ucsd.edu> Co-authored-by: Talmo Pereira <talmo@salk.edu>
- Loading branch information
1 parent
7299fd7
commit 91d6c96
Showing
6 changed files
with
322 additions
and
222 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
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,91 @@ | ||
.sphinx-tabs { | ||
margin-bottom: 1rem; | ||
} | ||
|
||
[role="tablist"] { | ||
border-bottom: 1px solid #a0b3bf; | ||
} | ||
|
||
.sphinx-tabs-tab { | ||
position: relative; | ||
font-family: Lato,'Helvetica Neue',Arial,Helvetica,sans-serif; | ||
color: var(--pst-color-link); | ||
line-height: 24px; | ||
margin: 3px; | ||
font-size: 16px; | ||
font-weight: 400; | ||
background-color: rgb(241 244 249); | ||
border-radius: 5px 5px 0 0; | ||
border: 0; | ||
padding: 1rem 1.5rem; | ||
margin-bottom: 0; | ||
} | ||
|
||
.sphinx-tabs-tab[aria-selected="true"] { | ||
font-weight: 700; | ||
border: 1px solid #a0b3bf; | ||
border-bottom: 1px solid rgb(241 244 249); | ||
margin: -1px; | ||
background-color: rgb(242 247 255); | ||
} | ||
|
||
.admonition .sphinx-tabs-tab[aria-selected="true"]:last-child { | ||
margin-bottom: -1px; | ||
} | ||
|
||
.sphinx-tabs-tab:focus { | ||
z-index: 1; | ||
outline-offset: 1px; | ||
} | ||
|
||
.sphinx-tabs-panel { | ||
position: relative; | ||
padding: 1rem; | ||
border: 1px solid #a0b3bf; | ||
margin: 0px -1px -1px -1px; | ||
border-radius: 0 0 5px 5px; | ||
border-top: 0; | ||
background: rgb(242 247 255); | ||
} | ||
|
||
.sphinx-tabs-panel.code-tab { | ||
padding: 0.4rem; | ||
} | ||
|
||
.sphinx-tab img { | ||
margin-bottom: 24px; | ||
} | ||
|
||
/* Dark theme preference styling */ | ||
|
||
html[data-theme="dark"] .sphinx-tabs-panel { | ||
color: white; | ||
background-color: rgb(50, 50, 50); | ||
} | ||
|
||
html[data-theme="dark"] .sphinx-tabs-tab { | ||
color: var(--pst-color-link); | ||
background-color: rgba(255, 255, 255, 0.05); | ||
} | ||
|
||
html[data-theme="dark"] .sphinx-tabs-tab[aria-selected="true"] { | ||
border-bottom: 2px solid rgb(50, 50, 50); | ||
background-color: rgb(50, 50, 50); | ||
} | ||
|
||
/* Light theme preference styling */ | ||
|
||
html[data-theme="light"] .sphinx-tabs-panel { | ||
color: black; | ||
background-color: white; | ||
} | ||
|
||
html[data-theme="light"] .sphinx-tabs-tab { | ||
color: var(--pst-color-link); | ||
background-color: rgba(0, 0, 0, 0.05); | ||
} | ||
|
||
html[data-theme="light"] .sphinx-tabs-tab[aria-selected="true"] { | ||
border-bottom: 2px solid white; | ||
background-color: white; | ||
} |
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
Oops, something went wrong.