mirror of
https://github.com/borgbackup/borg.git
synced 2024-12-28 10:49:16 +00:00
Merge pull request #2698 from enkore/docs/table-borders
docs: neater table borders
This commit is contained in:
commit
0747b3e5f4
1 changed files with 30 additions and 2 deletions
|
@ -94,11 +94,39 @@ h1 {
|
||||||
border-right: 2px solid #4e4a4a;;
|
border-right: 2px solid #4e4a4a;;
|
||||||
}
|
}
|
||||||
|
|
||||||
table.docutils td,
|
table.docutils:not(.footnote) td,
|
||||||
table.docutils th {
|
table.docutils:not(.footnote) th {
|
||||||
padding: .2em;
|
padding: .2em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
table.docutils:not(.footnote) {
|
||||||
|
border-collapse: collapse;
|
||||||
|
border: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
table.docutils:not(.footnote) td,
|
||||||
|
table.docutils:not(.footnote) th {
|
||||||
|
border: 1px solid #ddd;
|
||||||
|
}
|
||||||
|
|
||||||
|
table.docutils:not(.footnote) tr:first-child th {
|
||||||
|
border-top: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
table.docutils:not(.footnote) tr:last-child td {
|
||||||
|
border-bottom: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
table.docutils:not(.footnote) tr td:first-child,
|
||||||
|
table.docutils:not(.footnote) tr th:first-child {
|
||||||
|
border-left: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
table.docutils:not(.footnote) tr td:last-child,
|
||||||
|
table.docutils:not(.footnote) tr th:last-child {
|
||||||
|
border-right: 0;
|
||||||
|
}
|
||||||
|
|
||||||
code,
|
code,
|
||||||
.rst-content tt.literal,
|
.rst-content tt.literal,
|
||||||
.rst-content tt.literal,
|
.rst-content tt.literal,
|
||||||
|
|
Loading…
Reference in a new issue