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).
master
Daniel Rudolf 6 years ago
parent ac5e65b7a4
commit 0a9321047d
No known key found for this signature in database
GPG Key ID: A061F02CD8DE4538
  1. 4
      css/style.css

@ -269,8 +269,8 @@ code {
border-radius: 0.3em;
background: #f5f5f5;
font-family: 'Droid Sans Mono', 'Courier New', 'Courier', monospace;
font-size: 0.9rem;
line-height: 1.9778;
font-size: 0.85rem;
line-height: 1.9824;
}
pre {

Loading…
Cancel
Save