Skip to content

Commit

Permalink
more css
Browse files Browse the repository at this point in the history
  • Loading branch information
nabobalis committed Jul 5, 2024
1 parent b93bd80 commit 1256e10
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ ci:
autoupdate_schedule: "quarterly"
repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: "v0.5.0"
rev: "v0.5.1"
hooks:
- id: ruff
args: ["--fix", "--unsafe-fixes"]
Expand Down Expand Up @@ -42,6 +42,6 @@ repos:
args: ["--fix=lf"]
- id: trailing-whitespace
- repo: https://github.com/crate-ci/typos
rev: v1.22.9
rev: v1.23.1
hooks:
- id: typos
22 changes: 22 additions & 0 deletions src/sunpy_sphinx_theme/theme/sunpy/static/sunpy_style.css
Original file line number Diff line number Diff line change
Expand Up @@ -194,9 +194,22 @@ html[data-theme="dark"] div.graphviz > object.inheritance {
padding-left: 0.6rem;
}

.bd-header ul.navbar-nav > li.nav-item.dropdown > .dropdown-toggle {
color: var(--sst-header-text);
}

.bd-header ul.navbar-nav > li.nav-item.dropdown > .dropdown-toggle:hover {
color: var(--sst-accent-color-bright);
}

.bd-header ul.navbar-nav > li.nav-item > .nav-link {
color: var(--sst-header-text);
}

.bd-header .navbar-nav li a.nav-link {
color: var(--sst-header-text);
}

.bd-header .navbar-nav li a.nav-link:focus,
.bd-header .navbar-nav li a.nav-link:hover {
color: var(--sst-accent-color-bright);
Expand All @@ -207,9 +220,14 @@ html[data-theme="dark"] div.graphviz > object.inheritance {
color: var(--sst-accent-color-bright);
}

html .pst-navbar-icon {
color: var(--sst-header-text);
}

.search-button {
color: var(--sst-header-text);
}

.search-button:hover {
color: var(--sst-accent-color-bright);
}
Expand Down Expand Up @@ -237,6 +255,10 @@ html[data-theme="light"] .bd-sidebar-primary .theme-switch-button span {
border-color: var(--sst-accent-color-bright);
}

.bd-header ul.navbar-nav .dropdown .dropdown-menu {
background-color: var(--sst-header-background);
}

/* Required to center the items in the bottom bar */
.bd-header .navbar-header-items__start {
width: auto;
Expand Down

0 comments on commit 1256e10

Please sign in to comment.