forked from deepStateMirrors/tabi
💄 style: adjust font styles for <details> and <summary>
Serif in text body, sans serif in tables.
This commit is contained in:
parent
497566e696
commit
275950f97d
2 changed files with 10 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue