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 f0b2ecb
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,18 @@ html[data-theme="dark"] div.graphviz > object.inheritance {
color: var(--sst-accent-color-bright);
}

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

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

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

.search-button:hover {
color: var(--sst-accent-color-bright);
}
Expand Down

0 comments on commit f0b2ecb

Please sign in to comment.