Skip to content

Commit

Permalink
fix dark styling
Browse files Browse the repository at this point in the history
  • Loading branch information
Ariana Barzinpour committed Apr 17, 2024
1 parent ecbab26 commit e8f0c8d
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions docs/_static/custom.css
Expand Up @@ -105,6 +105,10 @@
padding: 40px;
}

.bd-container {
padding-top: var(--pst-header-height);
}

.section p {
line-height: 1.8rem;
}
Expand Down Expand Up @@ -185,3 +189,24 @@ dt:target, span.highlighted {
max-width: 100%;
font-size: 0.9rem;
}

html[data-theme="dark"] {
--pst-color-text-base: var(--pst-color-text-muted);
--pst-color-sidebar-link-active: var(--pst-color-link);
}

html[data-theme="dark"] .container-xl {
background-color: #3B3B3B;
}

html[data-theme="dark"] .editthispage a {
color: var(--pst-color-link);
}

html[data-theme="dark"] .bd-sidebar {
border-right: 3px solid #ffffff1a;
}

html[data-theme="dark"] .navbar-light>.container-xl {
background-color: var(--pst-color-surface);
}

0 comments on commit e8f0c8d

Please sign in to comment.