Skip to content

Commit

Permalink
Fix sidebar link colours to avoid :visited colours there
Browse files Browse the repository at this point in the history
  • Loading branch information
pradyunsg committed Jan 30, 2024
1 parent 57dc5f1 commit bd2af94
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions src/furo/assets/styles/components/_sidebar.sass
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@
padding: var(--sidebar-item-spacing-vertical) var(--sidebar-item-spacing-horizontal)

&:hover
color: var(--color-sidebar-link-text)
background: var(--color-sidebar-item-background--hover)

// Add a nice little "external-link" arrow here.
Expand Down
4 changes: 2 additions & 2 deletions src/furo/assets/styles/components/_table_of_contents.sass
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,11 @@
li
padding-top: var(--toc-item-spacing-vertical)

&.scroll-current >.reference
&.scroll-current > .reference
color: var(--color-toc-item-text--active)
font-weight: bold

.reference
a.reference
color: var(--color-toc-item-text)
text-decoration: none
overflow-wrap: anywhere
Expand Down

0 comments on commit bd2af94

Please sign in to comment.