Update table style

This commit is contained in:
Francesco 2025-04-17 22:53:19 +02:00
parent 4f4cf82bc9
commit fda5cc7355
2 changed files with 11 additions and 3 deletions

View file

@ -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 {

View file

@ -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) {