From 3b8b373eec4c43e2bff822a5e32eabb49c84ec62 Mon Sep 17 00:00:00 2001 From: zwbetz Date: Sun, 21 Apr 2019 11:46:15 -0500 Subject: [PATCH] CSS for Katex (thank you antoniogarro) --- assets/css/template-styles.css | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/assets/css/template-styles.css b/assets/css/template-styles.css index 9260894..ae58463 100644 --- a/assets/css/template-styles.css +++ b/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 {