Quellcode durchsuchen

CSS for Katex (thank you antoniogarro)

zwbetz vor 6 Jahren
Ursprung
Commit
3b8b373eec
1 geänderte Dateien mit 6 neuen und 0 gelöschten Zeilen
  1. 6 0
      assets/css/template-styles.css

+ 6 - 0
assets/css/template-styles.css

@@ -78,6 +78,12 @@ a {
   outline-offset: 2px;
 }
 
+/* Katex math typesetting */
+.katex * {
+    margin-top: 0;
+    background-color: transparent;
+}
+
 /* Fix for IE :( */
 [tabindex="-1"]:focus,
 div:not([tabindex]):focus {