Add typography option to toggle card heading

This commit is contained in:
Sodbileg Gansukh
2021-11-25 18:42:19 +08:00
parent 4ea98431b3
commit 8b392ec6dd
6 changed files with 9 additions and 5 deletions

View File

@ -452,7 +452,7 @@ h3 {
h4 {
margin: 1.5em 0 0.5em 0;
font-size: 2.2rem;
font-size: 2rem;
}
@media (max-width: 600px) {
h4 {

View File

@ -1124,6 +1124,10 @@ except for when immediately preceeded by a heading */
margin: auto;
}
.has-serif-title .kg-toggle-card h4 {
font-family: var(--font-serif);
}
.kg-toggle-content > * + * {
margin-top: min(2.4rem, 4vmin);
}