Skip to content

Commit

Permalink
docs-css
Browse files Browse the repository at this point in the history
  • Loading branch information
frosty00 committed Nov 30, 2021
1 parent dbcbf7a commit 488ad87
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 5 deletions.
14 changes: 10 additions & 4 deletions doc/_static/css/dark.css
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,12 @@ html[data-theme='dark'] .wy-nav-content-wrap {
background-color: var(--dark-outer) !important;
}

html[data-theme='dark'] ul > .toctree-l1.current > a {
background: var(--dark-body)!important;
border-color: var(--dark-hover)!important;
color: var(--dark-text);
}

html[data-theme='dark'] ul > .toctree-l1.current > ul > .toctree-l2 {
background: var(--dark-hover) !important;
}
Expand Down Expand Up @@ -73,13 +79,13 @@ html[data-theme='dark'] .theme-switcher {
border-radius: 50%;
position: relative;
border: none;
background-color: #fcfcfc;
font-size: 15px;
background-color: inherit;
font-size: 20px;
color: #404040;
transition: all 0.3s ease-in-out;
display: inline-block;
width: 20px;
height: 20px;
width: 25px;
height: 25px;
cursor: pointer;
}

Expand Down
5 changes: 5 additions & 0 deletions doc/_static/css/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@ ul.current {
background: #343131;
}

.wy-menu .toctree-l1 > a {
"border: 0!important;
}

ul > .toctree-l1.current > ul > .toctree-l2 {
background: #edf0f2;
}
Expand Down Expand Up @@ -119,6 +123,7 @@ a:visited:not(.icon) {
.wy-side-scroll {
scrollbar-width: none;
-ms-overflow-style: none;
overscroll-behavior: contain;
}

td:first-child {
Expand Down
3 changes: 2 additions & 1 deletion doc/_static/javascript/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@ window.addEventListener ('load', function () {
$faqlinks = $('a.reference.internal[href^="FAQ.html#"]')
}
$faqlinks.each (function () {
this.innerText = this.innerText.split ('?')[0] + '?';
// this.remove ()
this.parentNode.parentNode.remove ()
});
// set the height values for the sticky css property
const $linkGroups = $links.parents ('ul');
Expand Down

0 comments on commit 488ad87

Please sign in to comment.