Skip to content

Commit

Permalink
chore: make styles desktop specific
Browse files Browse the repository at this point in the history
  • Loading branch information
mehulmathur16 committed Oct 7, 2024
1 parent 76a3c38 commit a95a9ca
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -345,20 +345,20 @@ input[type="radio"]:checked::before {
color: var(--ifm-color-gray-900);
}

.table-of-contents {
.theme-doc-toc-desktop > .table-of-contents {
padding-left: 0;
}

.table-of-contents li {
.theme-doc-toc-desktop > .table-of-contents > li {
margin-left: 0;
padding-left: 12px;
}

li:has(a.table-of-contents__link--active) {
.theme-doc-toc-desktop > .table-of-contents > li:has(a.table-of-contents__link--active) {
border-left: 2px solid #fdea2e;
}

li li:has(a.table-of-contents__link--active) {
.theme-doc-toc-desktop > .table-of-contents > li > li:has(a.table-of-contents__link--active) {
border-left: none;
}

Expand Down

0 comments on commit a95a9ca

Please sign in to comment.