Skip to content

Commit a73b313

Browse files
committed
442: spacing between ToC items
1 parent 3758306 commit a73b313

1 file changed

Lines changed: 13 additions & 7 deletions

File tree

assets/scss/theme/theme.scss

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
2+
/* Increase space between ToC items: #442 */
3+
.toc-item{
4+
margin-bottom: 0.5rem;
5+
}
6+
17
.navbar-nav .nav-link.active {
28
font-weight: 500;
39
}
@@ -8,18 +14,18 @@ a:hover {
814

915
.fade-out-text {
1016
background-image: linear-gradient(to left, rgba(0, 0, 0, 0), rgba(0, 0, 0, 1)); /* Adjust gradient direction and colors as needed */
11-
-webkit-background-clip: text;
12-
-webkit-text-fill-color: transparent;
13-
background-clip: text;
17+
-webkit-background-clip: text;
18+
-webkit-text-fill-color: transparent;
19+
background-clip: text;
1420
}
1521

1622
@if $enable-dark-mode {
1723
@include color-mode(dark) {
1824
.fade-out-text {
1925
background-image: linear-gradient(to left, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1)); /* Adjust gradient direction and colors as needed */
20-
-webkit-background-clip: text;
21-
-webkit-text-fill-color: transparent;
22-
background-clip: text;
26+
-webkit-background-clip: text;
27+
-webkit-text-fill-color: transparent;
28+
background-clip: text;
2329
}
2430
}
25-
}
31+
}

0 commit comments

Comments
 (0)