Skip to content

Commit

Permalink
style: better contrast on links/hover in footer (fix #73)
Browse files Browse the repository at this point in the history
  • Loading branch information
avivace committed Dec 10, 2024
1 parent 33f1ccd commit 6394409
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,11 @@ code, pre {
--ifm-h5-font-size: 1.25rem;
}

/* Since the footer has always a dark background, user the dark-theme colors for links to ensure decent contrast */
[data-theme="light"] .footer__link-item:hover, .footer a:hover, .footer__copyright a{
color: #7cd5f1 !important;
}

[data-theme="dark"] {
--ifm-color-primary: #7cd5f1;
--ifm-color-primary-dark: #5bcaed;
Expand Down

0 comments on commit 6394409

Please sign in to comment.