mirror of
https://github.com/mikaela/mikaela.github.io/
synced 2025-08-19 03:17:23 +02:00
Compare commits
2 Commits
9f145004fb
...
fe93b3a0e7
Author | SHA1 | Date | |
---|---|---|---|
fe93b3a0e7 | |||
07a86aa879 |
37
css/main.scss
vendored
37
css/main.scss
vendored
@ -56,13 +56,36 @@ $on-laptop: 800px;
|
|||||||
color-scheme: dark light;
|
color-scheme: dark light;
|
||||||
}
|
}
|
||||||
|
|
||||||
// This is the missing content blocker detection
|
// Overrides for dark themes
|
||||||
.ftf-dma-note {
|
@media (prefers-color-scheme: dark) {
|
||||||
// It doesn't want to turn dark and still uses text colors more suitable
|
// Adblocker detection)
|
||||||
// for dark.
|
.ftf-dma-note {
|
||||||
color-scheme: only light;
|
color-scheme: only dark !important;
|
||||||
//display: block !important;
|
color: #ffffff !important;
|
||||||
//pointer-events: all !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;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// 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