variant: avoid neon to leak into IE11 fallback #392

This commit is contained in:
Sören Weber 2022-11-18 08:55:35 +01:00
parent 09a9db43a5
commit fc7211bcc3
No known key found for this signature in database
GPG key ID: BEC6D55545451B6D

View file

@ -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; /* here in this showcase we use our own modified chroma syntax highlightning style;
if you want to use a predefined style instead: if you want to use a predefined style instead:
- remove `markup.highlight.noClasses` from your config.toml - 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; box-shadow: none;
text-shadow: none; text-shadow: none;
} }
}