Merge more styles and fix styling of tables with explicit thead/tbody/tfoot
Also use :matches() to simplify some rules. # Conflicts: # Mac/MainWindow/Detail/styleSheet.css # iOS/Resources/styleSheet.css
This commit is contained in:
parent
a7ca5bfa79
commit
37ae46ea4c
|
@ -32,13 +32,9 @@ body .header a:link, body .header a:visited {
|
|||
}
|
||||
|
||||
pre {
|
||||
line-height: 20px;
|
||||
border: 1px solid var(--accent-color);
|
||||
padding: 10px;
|
||||
}
|
||||
code, pre {
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.nnw-overflow table {
|
||||
border: 1px solid var(--accent-color);
|
||||
|
|
|
@ -121,9 +121,12 @@ pre {
|
|||
word-break: normal;
|
||||
}
|
||||
|
||||
pre {
|
||||
line-height: 1.4286em;
|
||||
}
|
||||
code, pre {
|
||||
font-family: "SF Mono", Menlo, "Courier New", Courier, monospace;
|
||||
font-size: .8235rem;
|
||||
font-size: .8235em;
|
||||
-webkit-hyphens: none;
|
||||
}
|
||||
|
||||
|
@ -153,10 +156,12 @@ code, pre {
|
|||
border-left: none;
|
||||
padding: 5px;
|
||||
}
|
||||
.nnw-overflow tr td:last-child, .nnw-overflow tr th:last-child {
|
||||
|
||||
.nnw-overflow tr :matches(td, th):last-child {
|
||||
border-right: none;
|
||||
}
|
||||
.nnw-overflow tr:last-child td, .nnw-overflow tr:last-child th {
|
||||
|
||||
.nnw-overflow :matches(thead, tbody, tfoot):last-child > tr:last-child :matches(td, th) {
|
||||
border-bottom: none;
|
||||
}
|
||||
.nnw-overflow td pre {
|
||||
|
|
|
@ -43,13 +43,9 @@ body .header a:link, body .header a:visited {
|
|||
}
|
||||
|
||||
pre {
|
||||
line-height: 1.4286em;
|
||||
border: 1px solid var(--secondary-accent-color);
|
||||
padding: 5px;
|
||||
}
|
||||
code, pre {
|
||||
font-size: .8235rem;
|
||||
}
|
||||
|
||||
.nnw-overflow table {
|
||||
border: 1px solid var(--secondary-accent-color);
|
||||
|
|
Loading…
Reference in New Issue