Skip to content

Commit

Permalink
style: add small blue border to highlight the current title on the ta…
Browse files Browse the repository at this point in the history
…ble of content
  • Loading branch information
SebConejo committed May 21, 2024
1 parent 0cb2b63 commit 5d7b94e
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions docs/src/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -87,3 +87,26 @@ h6 {
.alert {
border-radius: 2px;
}

.table-of-contents__link {
position: relative;
}



.menu__link--active:not(.menu__link--sublist):before,
.table-of-contents__link--active:before {
display: inline-block;
background-color: var(--ifm-color-primary);
border-radius: 0 2px 2px 0;
bottom: 0;
content: " ";
top: 0;
position: absolute;
left: -16px;
width: 3px;
}

.table-of-contents__link + ul .table-of-contents__link--active:before {
left: -32px;
}

0 comments on commit 5d7b94e

Please sign in to comment.