style: update H5 global background, add noise overlay, and adjust login layout

This commit is contained in:
2026-06-02 18:03:27 +08:00
parent 31737286b9
commit 451cc3984a
3 changed files with 18 additions and 8 deletions

View File

@@ -99,13 +99,15 @@ function setLocale(code: string) {
height: 100%;
min-height: 100dvh;
overflow: hidden;
background: var(--bg-body);
background: transparent;
}
.header {
flex-shrink: 0;
display: flex; justify-content: space-between; align-items: center;
padding: 8px 12px;
background: linear-gradient(180deg, #222 0%, #1A1A1A 100%);
background: rgba(26, 26, 26, 0.65);
backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(10px);
border-bottom: 1px solid var(--border);
z-index: 110;
}
@@ -149,7 +151,9 @@ function setLocale(code: string) {
}
.bottom-nav {
display: flex;
background: linear-gradient(0deg, #111 0%, #1A1A1A 100%);
background: rgba(17, 17, 17, 0.75);
backdrop-filter: blur(12px);
-webkit-backdrop-filter: blur(12px);
border-top: 1px solid var(--border);
box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.35);
z-index: 100;

View File

@@ -8,9 +8,9 @@
--tertiary: #000000;
--neutral: #8E8E93;
--bg-body: #000000;
--bg-card: #141414;
--bg-hover: #222222;
--bg-elevated: #2A2A2A;
--bg-card: rgba(20, 20, 20, 0.65);
--bg-hover: rgba(34, 34, 34, 0.65);
--bg-elevated: rgba(42, 42, 42, 0.65);
--text: #FFFFFF;
--text-muted: #8E8E93;
--border: #333333;
@@ -188,8 +188,12 @@ body,
body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
background:
url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.15'/%3E%3C/svg%3E"),
linear-gradient(rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.95)),
radial-gradient(ellipse 120% 60% at 50% -10%, rgba(212, 175, 55, 0.14), transparent 55%),
var(--bg-body);
url('./assets/images/bg.png') no-repeat center center fixed;
background-size: 150px, cover, cover, cover;
background-color: var(--tertiary);
color: var(--text);
overflow: hidden;
-webkit-font-smoothing: antialiased;
@@ -285,6 +289,8 @@ input:-webkit-autofill:active {
padding: 16px;
margin-bottom: 12px;
box-shadow: var(--shadow);
backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(10px);
}
.section-title {

View File

@@ -59,7 +59,7 @@ async function submit() {
flex-direction: column;
align-items: center;
justify-content: flex-end;
padding: 34vh 20px max(28px, env(safe-area-inset-bottom));
padding: 34vh 20px calc(15vh + max(28px, env(safe-area-inset-bottom)));
background-color: var(--tertiary);
background-size: cover;
background-position: center top;