Merge pull request #2012 from Wevah/css-merge

Merge more styles and fix styling of tables with explicit thead, etc.
This commit is contained in:
Brent Simmons 2020-04-23 23:26:52 -07:00 committed by GitHub
commit 952c2149c8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 11 deletions

View File

@ -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);

View File

@ -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 {

View File

@ -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);