Merge pull request #2849 from stuartbreckenridge/mac-candidate

tweaks to pre/code css styles
This commit is contained in:
Maurice Parker 2021-03-06 15:25:14 -06:00 committed by GitHub
commit 0fa4c02d63
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 2 deletions

View File

@ -137,7 +137,6 @@ pre {
margin: 0; margin: 0;
overflow: auto; overflow: auto;
overflow-y: hidden; overflow-y: hidden;
word-wrap: normal; word-wrap: normal;
word-break: normal; word-break: normal;
} }
@ -145,12 +144,18 @@ pre {
pre { pre {
line-height: 1.4286em; line-height: 1.4286em;
} }
code, pre { code, pre {
font-family: "SF Mono", Menlo, "Courier New", Courier, monospace; font-family: "SF Mono", Menlo, "Courier New", Courier, monospace;
font-size: .8235em; font-size: 1em;
-webkit-hyphens: none; -webkit-hyphens: none;
} }
pre code {
letter-spacing: -.027em;
font-size: 0.9375em;
}
.nnw-overflow { .nnw-overflow {
overflow-x: auto; overflow-x: auto;
} }