Slightly decrease font size of inline code
`line-height: 1.9824;` is the result of `calc(1em * 1.4 + 2 * 0.1em + 2 * 1px / 16px / 0.85 + 2 * 0.1em / 0.85)` (`1em * 1.4` equals the line height for code (= `1.4` times), plus `0.1em` vertical padding on top and bottom, plus `1px` border width on top and bottom (`1rem` equals `16px` and considering the smaller font size (= `0.85rem`)), plus `0.1em` vertical margin on top and bottom (also considering the smaller font size).
This commit is contained in:
parent
ac5e65b7a4
commit
0a9321047d
@ -269,8 +269,8 @@ code {
|
|||||||
border-radius: 0.3em;
|
border-radius: 0.3em;
|
||||||
background: #f5f5f5;
|
background: #f5f5f5;
|
||||||
font-family: 'Droid Sans Mono', 'Courier New', 'Courier', monospace;
|
font-family: 'Droid Sans Mono', 'Courier New', 'Courier', monospace;
|
||||||
font-size: 0.9rem;
|
font-size: 0.85rem;
|
||||||
line-height: 1.9778;
|
line-height: 1.9824;
|
||||||
}
|
}
|
||||||
|
|
||||||
pre {
|
pre {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user