Skip to content

Commit

Permalink
Merge pull request #4847 from jeradrutnam/master
Browse files Browse the repository at this point in the history
  • Loading branch information
himeshsiriwardana authored Nov 10, 2024
2 parents 19553a5 + 9cb3c59 commit de1ebd0
Showing 1 changed file with 21 additions and 1 deletion.
22 changes: 21 additions & 1 deletion en/theme/material/assets/css/complete-guide.css
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,15 @@
}

.md-nav__item {
position: relative;
padding-right: .6rem;
display: flex;
flex-direction: row;
vertical-align: top;
margin-bottom: 10px;
}

.guide-page-number {
.md-nav__item > .guide-page-number {
display: inline-block;
margin-top: 1px;
margin-right: 10px;
Expand All @@ -47,3 +48,22 @@
display: inline-block;
margin-top: 0 !important;
}

.md-nav__item.md-nav__item--active > .guide-page-number {
color: var(--colors-white);
background: var(--md-typeset-a-color);
}

.md-nav__item::before {
content: '';
position: absolute;
top: 1rem;
left: 24px;
width: 0;
height: calc(100% - 5px);
border-left: 1px solid var(--md-default-fg-color);
}

.md-nav__item:last-child::before {
border-left: none !important;
}

0 comments on commit de1ebd0

Please sign in to comment.