superscript line spacing fix
authorZack M. Davis <ultimatelyuntruethought@gmail.com>
Tue, 23 Jan 2024 06:53:36 +0000 (22:53 -0800)
committerZack M. Davis <ultimatelyuntruethought@gmail.com>
Tue, 23 Jan 2024 06:53:36 +0000 (22:53 -0800)
theme/static/css/main.css

index 3e69077..a043294 100644 (file)
@@ -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;
+}