Skip to content

Commit

Permalink
dark theme updates
Browse files Browse the repository at this point in the history
Signed-off-by: cosmicBboy <[email protected]>
  • Loading branch information
cosmicBboy committed Mar 31, 2021
1 parent 470e43a commit d846650
Show file tree
Hide file tree
Showing 2 changed files with 81 additions and 1 deletion.
80 changes: 80 additions & 0 deletions rsts/_static/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,86 @@ h1, h2, h3, h4, h5, h6 {
max-width: 30%;
}


.sidebar-tree .reference.external:after {
content: none;
}

.sphx-glr-thumbcontainer {
background-color: transparent;
border: transparent;
}

.sphx-glr-thumbcontainer:hover {
border: transparent;
}

div.sphx-glr-download a {
color:white;
background-color: #9d68e4cf;
background-image: none;
border: 1px solid #9d68e4cf;
}

div.sphx-glr-download a:hover {
background-color: #8b48e2cf;
box-shadow: none;
}

div.sphx-glr-thumbcontainer a.headerlink {
display: none;
}

div.sphx-glr-thumbcontainer:hover {
border-color: white;
box-shadow: none;
}

.sphx-glr-script-out .highlight pre {
background-color: #f8f8f8;
}

p.sphx-glr-script-out {
padding-top: 0em;
}

.search__outer::-webkit-scrollbar-track {
border-radius: 0px;
}

@media (prefers-color-scheme: dark) {
.search__outer {
background-color: #131416 !important;
border: 1px solid #131416 !important;
}
.search__outer__input {
background-color: #1a1c1e !important;
}
.search__result__single {
border-bottom: #303335 !important;
}
.outer_div_page_results:hover {
background-color: black;
}
.search__result__title, .rtd_ui_search_subtitle {
color: #9D68E4 !important;
border-bottom: 1px solid #9D68E4 !important;
}
.search__outer .search__result__title span, .search__outer .search__result__content span {
background-color: #9d68e454;
}
.search__result__subheading, .search__result__content {
color: #ffffffd9 !important;
}
.search__outer::-webkit-scrollbar-track {
background-color: #131416 !important;
}
.rtd__search__credits {
background-color: #1a1c1e !important;
border: 1px solid #1a1c1e !important;
color: #81868d !important;
}
.rtd__search__credits a, .search__error__box {
color: #9ca0a5 !important;
}
}
2 changes: 1 addition & 1 deletion rsts/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@
templates_path = ["_templates"]

pygments_style = "tango"
pygments_dark_style = "paraiso-dark"
pygments_dark_style = "native"

html_css_files = [
"custom.css",
Expand Down

0 comments on commit d846650

Please sign in to comment.