浏览代码

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.
Kellegram 3 年之前
父节点
当前提交
d5c43420c8
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      html.cfg

+ 1 - 1
html.cfg

@@ -23,7 +23,7 @@ color: \#0060DF;
 }}
 
 \Css{p, a {
-font-size: 1.2em;
+font-size: 1.2rem;
 }}
 
 \Css{p + pre {