💄 style: adjust font styles for <details> and <summary>

Serif in text body, sans serif in tables.
main
welpo 2 years ago
parent 497566e696
commit 275950f97d
No known key found for this signature in database
GPG Key ID: A2F978CF4EC1F5A6

@ -131,7 +131,9 @@ article {
margin: 0 auto;
p,
li {
li,
details,
summary {
font-family: var(--serif-font);
}

@ -8,7 +8,8 @@ table {
margin: 1rem auto;
border-radius: 5px;
th, td {
th,
td {
padding: 6px 13px;
border: 1px solid var(--bg-1);
font-size: large;
@ -24,4 +25,9 @@ table {
background-color: var(--bg-0);
}
}
details,
summary {
font-family: inherit !important;
}
}

Loading…
Cancel
Save