diff --git a/simple.css b/simple.css index e001e40..8364d59 100644 --- a/simple.css +++ b/simple.css @@ -1,6 +1,5 @@ /* Global variables. */ -:root, -::backdrop { +:root { /* Set sans-serif & mono fonts */ --sans-font: -apple-system, BlinkMacSystemFont, "Avenir Next", Avenir, "Nimbus Sans L", Roboto, "Noto Sans", "Segoe UI", Arial, Helvetica, @@ -25,8 +24,7 @@ /* Dark theme */ @media (prefers-color-scheme: dark) { - :root, - ::backdrop { + :root { color-scheme: dark; --bg: #212121; --accent-bg: #2b2b2b; @@ -671,6 +669,7 @@ progress:indeterminate::-moz-progress-bar { } dialog { + background-color: var(--bg); max-width: 40rem; margin: auto; }