Created
June 15, 2023 15:15
-
-
Save mrkdevelopment/69ab7e2b7b343142eea9f3bf642a330d to your computer and use it in GitHub Desktop.
Yoast table of Contents Styling for Kadence Blocks
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
.yoast-table-of-contents{ | |
--border: 2px solid var(--global-palette1); | |
padding: 1rem; | |
background: var(--global-palette7); | |
border: var(--border); | |
box-shadow: var(--box-shadow); | |
border-radius: 1rem; | |
} | |
.yoast-table-of-contents ul{ | |
padding-inline-start: 0.2em; | |
list-style: none; | |
} | |
.yoast-table-of-contents ul ul{ | |
padding-inline-start: 2em; | |
list-style: disc; | |
font-size: 0.9em; | |
} | |
.yoast-table-of-contents ul ul ul{ | |
font-size: 1em; | |
} | |
.yoast-table-of-contents h2{ | |
--fontSize: 18px; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment