mirror of
https://github.com/tomfran/typo.git
synced 2025-04-25 13:09:54 +03:00
Update table style
This commit is contained in:
parent
4f4cf82bc9
commit
fda5cc7355
2 changed files with 11 additions and 3 deletions
|
@ -566,12 +566,16 @@ table {
|
|||
font-size: var(--p-font-size);
|
||||
line-height: var(--p-line-height);
|
||||
color: var(--content-primary);
|
||||
width: fit-content;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
border: 1px solid var(--code-border);
|
||||
border-radius: var(--code-border-radius);
|
||||
}
|
||||
|
||||
th,
|
||||
td {
|
||||
padding: var(--table-cell-padding);
|
||||
border: 1px solid var(--code-border);
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
|
@ -580,6 +584,10 @@ th {
|
|||
font-weight: bold;
|
||||
}
|
||||
|
||||
tbody tr {
|
||||
border-top: 1px solid var(--code-border);
|
||||
}
|
||||
|
||||
/* Quotes */
|
||||
|
||||
blockquote {
|
||||
|
|
|
@ -61,8 +61,8 @@
|
|||
|
||||
/* Tables */
|
||||
--table-cell-padding: .5rem;
|
||||
--table-margin-top: 1.5rem;
|
||||
--table-margin-bottom: 1.5rem;
|
||||
--table-margin-top: 2rem;
|
||||
--table-margin-bottom: 2rem;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 1024px) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue