From: Zack M. Davis Date: Tue, 23 Jan 2024 06:53:36 +0000 (-0800) Subject: superscript line spacing fix X-Git-Url: http://unremediatedgender.space/source?a=commitdiff_plain;h=d25b32abd249ec136072f91ce3cda14ce413c0a7;p=Ultimately_Untrue_Thought.git superscript line spacing fix --- 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; +}