From 075a632555f1ff2ff4895da25ca1511952a2a443 Mon Sep 17 00:00:00 2001 From: Adrian Kummerlaender Date: Sun, 21 Oct 2018 13:50:50 +0200 Subject: Fix super- and subscript line height Only seems to be a problem on some browsers such as Edge. Nevertheless this patch fixes it for all of them. --- source/99_result/main.css | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/99_result/main.css b/source/99_result/main.css index 18ea625..26a206f 100644 --- a/source/99_result/main.css +++ b/source/99_result/main.css @@ -12,6 +12,8 @@ ul{margin:0;overflow:hidden} ul li{list-style-type:circle;line-height:1.5em} code{margin:0 .1em;padding:0 .5em;border:.1em solid #e3e8e8;background-color:#f8f8f8;border-radius:.3em} pre{padding:1em;border-radius:.75em;color:#f8f8f2;background:#272822;white-space:pre-wrap} +sup{vertical-align:baseline;position:relative;top:-0.4em} +sub{vertical-align:baseline;position:relative;top:0.4em} #content{max-width:45em;margin:auto} #introduction{margin-top:1.5em;overflow:hidden} #introduction img{border-radius:0.5em;margin-right:1.5em;float:left;width:12em;height:12em} -- cgit v1.2.3