Skip to content

Commit

Permalink
chore: modify ToC style
Browse files Browse the repository at this point in the history
  • Loading branch information
hugo-sid committed May 2, 2023
1 parent c0824e3 commit 872b187
Showing 1 changed file with 4 additions and 10 deletions.
14 changes: 4 additions & 10 deletions assets/sass/_post.scss
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,15 @@
}

// Table of contents
details {
cursor: pointer;
}

.toc {
margin: 1.1rem 0 1rem 0;
padding: .5rem 1rem .5rem 1rem;
border-radius: .3rem;
background-color: $toc-bg;
cursor: pointer;

ul {
padding-top: 1rem;
Expand All @@ -58,15 +61,6 @@
li {
margin-bottom: 0.5em;
line-height: 1.4;

a {
color: $black;
text-decoration: none;

&:hover {
color: $text-link-blue;
}
}
}
}
}
Expand Down

0 comments on commit 872b187

Please sign in to comment.