Skip to content

Commit 0a93210

Browse files
committed
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).
1 parent ac5e65b commit 0a93210

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

css/style.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -269,8 +269,8 @@ code {
269269
border-radius: 0.3em;
270270
background: #f5f5f5;
271271
font-family: 'Droid Sans Mono', 'Courier New', 'Courier', monospace;
272-
font-size: 0.9rem;
273-
line-height: 1.9778;
272+
font-size: 0.85rem;
273+
line-height: 1.9824;
274274
}
275275

276276
pre {

0 commit comments

Comments
 (0)