table support
This commit is contained in:
parent
1097ee5194
commit
3e5ac643a7
1 changed files with 34 additions and 0 deletions
|
@ -179,6 +179,40 @@ pre:has(code.language-mermaid) {
|
|||
text-align: center;
|
||||
}
|
||||
|
||||
/* Tables */
|
||||
table {
|
||||
border-collapse: collapse;
|
||||
}
|
||||
|
||||
th {
|
||||
border-bottom: 2px solid var(--separator-color);
|
||||
}
|
||||
|
||||
th,
|
||||
td {
|
||||
padding: 5px;
|
||||
border: 1px solid var(--separator-color);
|
||||
}
|
||||
|
||||
/* No borders on the outer edges of the table */
|
||||
table tr:last-child td {
|
||||
border-bottom: 0;
|
||||
}
|
||||
|
||||
table tr:first-child th {
|
||||
border-top: 0;
|
||||
}
|
||||
|
||||
table tr td:first-child,
|
||||
table tr th:first-child {
|
||||
border-left: 0;
|
||||
}
|
||||
|
||||
table tr td:last-child,
|
||||
table tr th:last-child {
|
||||
border-right: 0;
|
||||
}
|
||||
|
||||
@media print {
|
||||
/* Better colors for paper */
|
||||
blockquote {
|
||||
|
|
Loading…
Reference in a new issue