* [fix] #477 bad appearence with no prefers-color-scheme * [fix] safari status bar
This commit is contained in:
parent
c5aafde03c
commit
ee2ee25753
|
@ -102,8 +102,8 @@ function custom_inject() {
|
|||
<meta name="HandheldFriendly" content="True" >
|
||||
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
|
||||
<meta name="theme-color" media="(prefers-color-scheme: light)" content="#f9fafb">
|
||||
<meta name="theme-color" media="(prefers-color-scheme: dark)" content="#000">
|
||||
<meta name="theme-color" content="#f9fafb">
|
||||
|
||||
<title><%- generate_title() %></title>
|
||||
|
||||
|
|
|
@ -118,7 +118,6 @@ hoverable-card()
|
|||
:root[data-theme="dark"] &
|
||||
ondark()
|
||||
:root:not([data-theme]) &
|
||||
@media (prefers-color-scheme: light)
|
||||
onlight()
|
||||
onlight()
|
||||
@media (prefers-color-scheme: dark)
|
||||
ondark()
|
||||
|
|
|
@ -79,7 +79,6 @@ _common_root()
|
|||
:root[data-theme="dark"]
|
||||
_dark_root()
|
||||
:root:not([data-theme])
|
||||
@media (prefers-color-scheme: light)
|
||||
_light_root()
|
||||
_light_root()
|
||||
@media (prefers-color-scheme: dark)
|
||||
_dark_root()
|
||||
|
|
Loading…
Reference in New Issue