Skip to content

Commit 4f38e07

Browse files
committed
toc styles
1 parent 77055cc commit 4f38e07

File tree

1 file changed

+13
-2
lines changed

1 file changed

+13
-2
lines changed

css/main.scss

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -198,10 +198,21 @@ h3 {
198198
}
199199

200200
// table of contents
201-
.toc {
202-
display: none;
201+
202+
.toc ul {
203+
list-style: none;
204+
padding-left: 0;
203205
}
204206

207+
.toc ul li a {
208+
color: #777;
209+
display: block;
210+
font-size: 90%;
211+
padding: 0.25em 0;
212+
}
213+
214+
// footer
215+
205216
.hyper-footer {
206217
background: #f5f5f5;
207218
margin-top: 4rem;

0 commit comments

Comments
 (0)