From d25b32abd249ec136072f91ce3cda14ce413c0a7 Mon Sep 17 00:00:00 2001 From: "Zack M. Davis" Date: Mon, 22 Jan 2024 22:53:36 -0800 Subject: [PATCH] superscript line spacing fix --- theme/static/css/main.css | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/theme/static/css/main.css b/theme/static/css/main.css index 3e69077..a043294 100644 --- a/theme/static/css/main.css +++ b/theme/static/css/main.css @@ -423,3 +423,18 @@ p.flower-break { border: none; } +/* And thanks again to Said Achmiz for making superscripts not mess up line spacing. */ +sup, sub { + position: relative; + vertical-align: baseline; + font-size: 0.8em; +} +sup { + bottom: 0.4em; +} +sup a { + padding: 0 0.1em; +} +sub { + top: 0.25em; +} -- 2.17.1