mirror of
https://github.com/Ranchero-Software/NetNewsWire.git
synced 2024-12-25 01:01:21 +01:00
tweaks to pre/code css styles
Follows Apple’s example. • `code` within normal text is sized to 1em • `code` within `pre` is sized slightly smaller and the letter-spacing is tightened
This commit is contained in:
parent
5790d4443f
commit
13dd1d1bb5
@ -137,7 +137,6 @@ pre {
|
||||
margin: 0;
|
||||
overflow: auto;
|
||||
overflow-y: hidden;
|
||||
|
||||
word-wrap: normal;
|
||||
word-break: normal;
|
||||
}
|
||||
@ -145,12 +144,18 @@ pre {
|
||||
pre {
|
||||
line-height: 1.4286em;
|
||||
}
|
||||
|
||||
code, pre {
|
||||
font-family: "SF Mono", Menlo, "Courier New", Courier, monospace;
|
||||
font-size: .8235em;
|
||||
font-size: 1em;
|
||||
-webkit-hyphens: none;
|
||||
}
|
||||
|
||||
pre code {
|
||||
letter-spacing: -.027em;
|
||||
font-size: 0.9375em;
|
||||
}
|
||||
|
||||
.nnw-overflow {
|
||||
overflow-x: auto;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user