Skip to content

Commit a4fb6a9

Browse files
authored
Differentiate sidebar header links, update .gitignore. (#149)
1 parent 0007acf commit a4fb6a9

File tree

3 files changed

+12
-4
lines changed

3 files changed

+12
-4
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ ipython_config.py
9292
# pyenv
9393
# For a library or package, you might want to ignore these files since the code is
9494
# intended to run in multiple environments; otherwise, check them in:
95-
# .python-version
95+
.python-version
9696

9797
# pipenv
9898
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.

.python-version

Lines changed: 0 additions & 1 deletion
This file was deleted.

src/beeware_docs_tools/overrides/assets/stylesheets/beeware_theme.css

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -304,11 +304,20 @@
304304
}
305305

306306
/* Link colors */
307-
.md-typeset a, .md-nav__link {
307+
308+
.md-nav__link[for]:focus,
309+
.md-nav__link[for]:hover {
310+
color: unset;
311+
}
312+
313+
.md-typeset a,
314+
a.md-nav__link,
315+
a.md-nav__link[for]:focus,
316+
a.md-nav__link[for]:hover {
308317
color: light-dark(#084AFF, #526CFE);
309318
}
310319

311-
.md-nav__item .md-nav__link--active {
320+
.md-nav__item a.md-nav__link--active {
312321
color: light-dark(#30314B, #96ACEE)
313322
}
314323

0 commit comments

Comments
 (0)