diff options
| author | Pamphile Roy <roy.pamphile@gmail.com> | 2022-06-29 11:35:53 +0200 |
|---|---|---|
| committer | Pamphile Roy <roy.pamphile@gmail.com> | 2022-06-29 11:35:53 +0200 |
| commit | 214d3711d35d33801099088320e94b301f222b9b (patch) | |
| tree | eb27434e398bc97f408bae6fb7aebf5d3a23ce4d /doc/source/_static/numpy.css | |
| parent | a2caa35dd9f2dae9f492a1af9faa1619e4fcce02 (diff) | |
| download | numpy-214d3711d35d33801099088320e94b301f222b9b.tar.gz | |
DOC: dark theme css rules
Diffstat (limited to 'doc/source/_static/numpy.css')
| -rw-r--r-- | doc/source/_static/numpy.css | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/doc/source/_static/numpy.css b/doc/source/_static/numpy.css index b68bb3780..47a078454 100644 --- a/doc/source/_static/numpy.css +++ b/doc/source/_static/numpy.css @@ -101,3 +101,32 @@ Nat Methods 8, 441 (2011). https://doi.org/10.1038/nmeth.1618 margin-left: auto; margin-right: auto; } + + + +/* Dark theme tweaking */ +html[data-theme=dark] .intro-card img[src*='.svg'] { + filter: invert(0.82) brightness(0.8) contrast(1.2); +} + +/* Main index page overview cards */ +html[data-theme=dark] .shadow { + box-shadow: 0 .5rem 1rem rgba(250, 250, 250, .6) !important +} + +html[data-theme=dark] .intro-card .card-header { + background-color:var(--pst-color-background); + color: #150458 !important; +} + +html[data-theme=dark] .intro-card .card-footer { + background-color:var(--pst-color-background); +} + +html[data-theme=dark] h1 { + color: var(--pst-color-primary); +} + +html[data-theme=dark] h3 { + color: #0a6774; +} |
