superscript line spacing fix
[Ultimately_Untrue_Thought.git] / 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;
+}