From fc7211bcc34a327556801d73efb9b78826f9c445 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6ren=20Weber?= Date: Fri, 18 Nov 2022 08:55:35 +0100 Subject: [PATCH] variant: avoid neon to leak into IE11 fallback #392 --- static/css/theme-neon.css | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/static/css/theme-neon.css b/static/css/theme-neon.css index 2020b67dc7..65904b2402 100644 --- a/static/css/theme-neon.css +++ b/static/css/theme-neon.css @@ -1,3 +1,7 @@ +/* this variant does not work well if we use fallback styles for IE11 so better + ignore this variant in IE completely */ +@supports not (-ms-high-contrast:none) { + /* here in this showcase we use our own modified chroma syntax highlightning style; if you want to use a predefined style instead: - remove `markup.highlight.noClasses` from your config.toml @@ -274,3 +278,5 @@ above will not apply, so we have to repeat it here */ box-shadow: none; text-shadow: none; } + +}