fix code blocks
This commit is contained in:
parent
a3161d822d
commit
e54cd44714
1 changed files with 10 additions and 10 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue