Add KaTeX support

This commit is contained in:
alxshelepenok
2019-02-15 01:41:24 +03:00
parent 300db5438c
commit 05e6f44761
6 changed files with 49 additions and 135 deletions

View File

@@ -1,5 +1,6 @@
@charset "UTF-8";
@import "normalize-scss";
@import "~katex/dist/katex.min.css";
@import "~prismjs/themes/prism-solarizedlight.css";
@import "base/generic";

View File

@@ -44,13 +44,16 @@
text-decoration: underline
}
& *:not(div) {
width: 100%;
& * {
max-width: $layout-post-width;
margin-left: auto;
margin-right: auto
}
& img {
max-width: 100%;
}
}
}