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 */
|
/* Tables */
|
||||||
table {
|
table:not(.hljs-ln) {
|
||||||
border-collapse: collapse;
|
border-collapse: collapse;
|
||||||
margin-inline: auto;
|
margin-inline: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
th,
|
table:not(.hljs-ln) th,
|
||||||
td {
|
table:not(.hljs-ln) td {
|
||||||
padding: 5px;
|
padding: 5px;
|
||||||
border: 1px solid var(--separator-color);
|
border: 1px solid var(--separator-color);
|
||||||
}
|
}
|
||||||
|
|
||||||
th {
|
table:not(.hljs-ln)th {
|
||||||
border-bottom: 2px solid var(--separator-color);
|
border-bottom: 2px solid var(--separator-color);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* No borders on the outer edges of the table */
|
/* 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;
|
border-bottom: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
table tr:first-child th {
|
table:not(.hljs-ln) tr:first-child th {
|
||||||
border-top: 0;
|
border-top: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
table tr td:first-child,
|
table:not(.hljs-ln) tr td:first-child,
|
||||||
table tr th:first-child {
|
table:not(.hljs-ln) tr th:first-child {
|
||||||
border-left: 0;
|
border-left: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
table tr td:last-child,
|
table:not(.hljs-ln) tr td:last-child,
|
||||||
table tr th:last-child {
|
table:not(.hljs-ln) tr th:last-child {
|
||||||
border-right: 0;
|
border-right: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue