NOW MANAGED ON CODEBERG
Added use of the prefers-contrast media query
Dan Brown096ed722dd4c
diff --git a/resources/sass/_blocks.scss b/resources/sass/_blocks.scssindex ae3e7a441..b7aea7452 100644--- a/resources/sass/_blocks.scss+++ b/resources/sass/_blocks.scss@@ -229,6 +229,9 @@&:hover, &:focus-within {opacity: 1;}+ @media (prefers-contrast: more) {+ opacity: 1;+ }}/**diff --git a/resources/sass/_header.scss b/resources/sass/_header.scssindex 1a7015078..f070f5a18 100644--- a/resources/sass/_header.scss+++ b/resources/sass/_header.scss@@ -262,6 +262,9 @@ header .search-box {&:hover, &:focus-within {opacity: 1;}+ @media (prefers-contrast: more) {+ opacity: 1;+ }}@include smaller-than($l) {diff --git a/resources/sass/_layout.scss b/resources/sass/_layout.scssindex 362bab7d3..783ccc8f9 100644--- a/resources/sass/_layout.scss+++ b/resources/sass/_layout.scss@@ -369,6 +369,9 @@ body.flexbox {&:focus-within {opacity: 1;}+ @media (prefers-contrast: more) {+ opacity: 1;+ }}}diff --git a/resources/sass/_pages.scss b/resources/sass/_pages.scssindex 4f249244b..14c253679 100755--- a/resources/sass/_pages.scss+++ b/resources/sass/_pages.scss@@ -412,4 +412,7 @@ body.mce-fullscreen, body.markdown-fullscreen {text-decoration: none;opacity: 1;}+ @media (prefers-contrast: more) {+ opacity: 1;+ }}\ No newline at end of file