mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2024-11-27 01:33:04 +00:00
variant: avoid neon code style to leak into IE11 fallback #392
This commit is contained in:
parent
45894e824d
commit
ea6c8ff3e4
2 changed files with 10 additions and 4 deletions
|
@ -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) {
|
||||
|
||||
/* based on rrt
|
||||
/* Background */ .chroma { color: #f8f8f2; background-color: #000000 }
|
||||
/* Other */ .chroma .x { }
|
||||
|
@ -81,3 +85,5 @@
|
|||
/* GenericTraceback */ .chroma .gt { }
|
||||
/* GenericUnderline */ .chroma .gl { }
|
||||
/* TextWhitespace */ .chroma .w { }
|
||||
|
||||
}
|
||||
|
|
|
@ -1,7 +1,3 @@
|
|||
/* 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
|
||||
|
@ -9,6 +5,10 @@
|
|||
- remove the following `@import` of the self-defined chroma stylesheet */
|
||||
@import "chroma-neon.css";
|
||||
|
||||
/* 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) {
|
||||
|
||||
:root {
|
||||
--PRIMARY-color: #f300b2; /* brand primary color */
|
||||
--SECONDARY-color: #1c90f3; /* brand secondary color */
|
||||
|
|
Loading…
Reference in a new issue