Created
February 19, 2022 08:49
-
-
Save vietrick/70ebad89ae3cfe43846a422e6f9f51db to your computer and use it in GitHub Desktop.
Trang trí CSS cho Vietrick TOC
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.vietrick-auto-toc{ | |
padding:2rem 2rem 0.5rem 3rem; | |
margin-bottom:2rem; | |
background:#f5f7fa; | |
border-radius: 16px; | |
max-height:440px; | |
overflow:auto; | |
} | |
.vietrick-auto-toc .toc-list { | |
margin-left: 1.1rem; | |
} | |
.vietrick-auto-toc .toc-title{ | |
font-size:24px; | |
font-weight:700; | |
margin: 0 0 1rem; | |
} | |
.toc-list li:not(:last-child) { | |
padding-bottom: 0.5rem; | |
} | |
.entry-content li::marker{color: #f56f46;} | |
.vietrick-auto-toc a{ | |
font-size:16px; | |
font-weight: 500; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment