mirror of
https://github.com/mikaela/mikaela.github.io/
synced 2025-08-19 03:17:23 +02:00
Compare commits
No commits in common. "fe93b3a0e739c21e6533d5d33ce4bc72587453d8" and "9f145004fb524a376a74d779b1f9c58cf4eb569a" have entirely different histories.
fe93b3a0e7
...
9f145004fb
37
css/main.scss
vendored
37
css/main.scss
vendored
@ -56,36 +56,13 @@ $on-laptop: 800px;
|
|||||||
color-scheme: dark light;
|
color-scheme: dark light;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Overrides for dark themes
|
// This is the missing content blocker detection
|
||||||
@media (prefers-color-scheme: dark) {
|
.ftf-dma-note {
|
||||||
// Adblocker detection)
|
// It doesn't want to turn dark and still uses text colors more suitable
|
||||||
.ftf-dma-note {
|
// for dark.
|
||||||
color-scheme: only dark !important;
|
color-scheme: only light;
|
||||||
color: #ffffff !important;
|
//display: block !important;
|
||||||
background-color: #1c1b22 !important;
|
//pointer-events: all !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;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Import partials from `sass_dir` (defaults to `_sass`)
|
// Import partials from `sass_dir` (defaults to `_sass`)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user