fix code blocks

This commit is contained in:
Mylloon 2024-11-06 18:24:49 +01:00
parent a3161d822d
commit e54cd44714
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -180,37 +180,37 @@ pre:has(code.language-mermaid) {
}
/* Tables */
table {
table:not(.hljs-ln) {
border-collapse: collapse;
margin-inline: auto;
}
th,
td {
table:not(.hljs-ln) th,
table:not(.hljs-ln) td {
padding: 5px;
border: 1px solid var(--separator-color);
}
th {
table:not(.hljs-ln)th {
border-bottom: 2px solid var(--separator-color);
}
/* No borders on the outer edges of the table */
table tr:last-child td {
table:not(.hljs-ln) tr:last-child td {
border-bottom: 0;
}
table tr:first-child th {
table:not(.hljs-ln) tr:first-child th {
border-top: 0;
}
table tr td:first-child,
table tr th:first-child {
table:not(.hljs-ln) tr td:first-child,
table:not(.hljs-ln) tr th:first-child {
border-left: 0;
}
table tr td:last-child,
table tr th:last-child {
table:not(.hljs-ln) tr td:last-child,
table:not(.hljs-ln) tr th:last-child {
border-right: 0;
}