From 81926a2a93b390312c88435b27ab32c2f7a8be15 Mon Sep 17 00:00:00 2001 From: ctaoist Date: Wed, 19 Jan 2022 14:06:19 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=20Katex=20=E5=85=AC=E5=BC=8F?= =?UTF-8?q?=E7=BC=96=E5=8F=B7=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- block-container.css | 19 +++++++++++++++++++ header.html | 3 +-- post.html | 1 - prism-dark.css | 4 ---- 4 files changed, 20 insertions(+), 7 deletions(-) diff --git a/block-container.css b/block-container.css index 6afdae4..ee13b4b 100755 --- a/block-container.css +++ b/block-container.css @@ -34,6 +34,25 @@ code[class*="language-"], pre[class*="language-"] { /* Override BS Inline-code style */ } +.katex-display .tag { + margin-right: inherit; + padding: inherit; + line-height: inherit; + border: none !important; + box-shadow: none; + +} + +.katex-display .tag:hover { + background: none; +} + +.katex-display .tag span { + margin-left: 0; + font-size: inherit; + font-family: inherit; +} + .mermaid { max-width: 960px; margin:0 auto; diff --git a/header.html b/header.html index 2bf6406..61c519d 100755 --- a/header.html +++ b/header.html @@ -54,9 +54,8 @@ -{{if not $.curIsPost}} -{{end}} +