Compare commits

..

No commits in common. "fe93b3a0e739c21e6533d5d33ce4bc72587453d8" and "9f145004fb524a376a74d779b1f9c58cf4eb569a" have entirely different histories.

37
css/main.scss vendored
View File

@ -56,36 +56,13 @@ $on-laptop: 800px;
color-scheme: dark light;
}
// Overrides for dark themes
@media (prefers-color-scheme: dark) {
// Adblocker detection)
.ftf-dma-note {
color-scheme: only dark !important;
color: #ffffff !important;
background-color: #1c1b22 !important;
}
.site-nav {
color-scheme: only dark !important;
color: #ffffff !important;
background-color: #1c1b22 !important;
border: 1px solid #ffffff !important;
}
}
// Overrides for light themes
@media (prefers-color-scheme: light) {
// Adblocker detection
.ftf-dma-note {
color-scheme: only light !important;
color: #000000 !important;
background-color: #ffffff !important;
}
.site-nav {
color-scheme: only light !important;
color: #000000 !important;
background-color: #ffffff !important;
border: 1px solid #000000 !important;
}
// This is the missing content blocker detection
.ftf-dma-note {
// It doesn't want to turn dark and still uses text colors more suitable
// for dark.
color-scheme: only light;
//display: block !important;
//pointer-events: all !important;
}
// Import partials from `sass_dir` (defaults to `_sass`)