mirror of
https://github.com/tomfran/typo.git
synced 2025-04-25 21:19:55 +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);
|
font-size: var(--p-font-size);
|
||||||
line-height: var(--p-line-height);
|
line-height: var(--p-line-height);
|
||||||
color: var(--content-primary);
|
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,
|
th,
|
||||||
td {
|
td {
|
||||||
padding: var(--table-cell-padding);
|
padding: var(--table-cell-padding);
|
||||||
border: 1px solid var(--code-border);
|
|
||||||
text-align: left;
|
text-align: left;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -580,6 +584,10 @@ th {
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
tbody tr {
|
||||||
|
border-top: 1px solid var(--code-border);
|
||||||
|
}
|
||||||
|
|
||||||
/* Quotes */
|
/* Quotes */
|
||||||
|
|
||||||
blockquote {
|
blockquote {
|
||||||
|
|
|
@ -61,8 +61,8 @@
|
||||||
|
|
||||||
/* Tables */
|
/* Tables */
|
||||||
--table-cell-padding: .5rem;
|
--table-cell-padding: .5rem;
|
||||||
--table-margin-top: 1.5rem;
|
--table-margin-top: 2rem;
|
||||||
--table-margin-bottom: 1.5rem;
|
--table-margin-bottom: 2rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (max-width: 1024px) {
|
@media screen and (max-width: 1024px) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue