mirror of
https://github.com/shadoll/dev.shadoll.git
synced 2026-08-28 11:33:15 +00:00
feat: update mobile theme color for status bar and apply gradient to root element
This commit is contained in:
+1
-1
@@ -7,7 +7,7 @@
|
||||
<title>devpage</title>
|
||||
<!-- mobile browser UI theming -->
|
||||
<meta name="theme-color" id="themeColorMeta" content="#4d22b3">
|
||||
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
|
||||
<meta name="apple-mobile-web-app-status-bar-style" content="#4d22b3">
|
||||
|
||||
<!-- Fonts -->
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com" />
|
||||
|
||||
@@ -29,7 +29,10 @@
|
||||
}
|
||||
|
||||
/* ── Background application ──────────────────────────────── */
|
||||
body {
|
||||
html, body {
|
||||
/* apply the gradient to the root element as well so the
|
||||
translucent iOS bars always show a matching colour even
|
||||
when the page hasn't been scrolled */
|
||||
background: linear-gradient(
|
||||
var(--gradient-angle),
|
||||
var(--color-1) 0%,
|
||||
|
||||
Reference in New Issue
Block a user