Skip to content

Commit d5c4342

Browse files
authored
Workaround inconsistent text scaling (#100)
p + pre remains at em as we want to use the parent element here (however rem could be used too, just requires a bigger value). I am setting it to 110% size, otherwise some code blocks have relatively small text. The smaller code blocks do appear bigger.
1 parent 3b9a3bd commit d5c4342

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

html.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ color: \#0060DF;
2323
}}
2424

2525
\Css{p, a {
26-
font-size: 1.2em;
26+
font-size: 1.2rem;
2727
}}
2828

2929
\Css{p + pre {

0 commit comments

Comments
 (0)