Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/zwbetz-gh/cupper-hugo-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/assets
diff options
context:
space:
mode:
authorzwbetz <zwbetz@gmail.com>2019-04-21 19:46:15 +0300
committerzwbetz <zwbetz@gmail.com>2019-04-21 19:46:15 +0300
commit3b8b373eec4c43e2bff822a5e32eabb49c84ec62 (patch)
treea8f7af71a2ce5451e434d44788d326c2c17adc02 /assets
parenta5e57ae1336c1d237de3e3631d11be4c86501ea7 (diff)
CSS for Katex (thank you antoniogarro)
Diffstat (limited to 'assets')
-rw-r--r--assets/css/template-styles.css6
1 files changed, 6 insertions, 0 deletions
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 {