diff options
| author | Paul Buetow <paul@buetow.org> | 2026-05-09 11:11:49 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-05-09 11:11:49 +0300 |
| commit | 8c32cd117abe79f4ee6cff3a950ffc35c95faeff (patch) | |
| tree | 5b63a4789351da4f2d9c1cd2e7007f67d43b3371 /web/css/login.css | |
| parent | 59c8870061465142306e7a6e5d3fcb344686cfe9 (diff) | |
Refine media browsing and set covers
Diffstat (limited to 'web/css/login.css')
| -rw-r--r-- | web/css/login.css | 56 |
1 files changed, 44 insertions, 12 deletions
diff --git a/web/css/login.css b/web/css/login.css index a69c9a9..a7b3ae0 100644 --- a/web/css/login.css +++ b/web/css/login.css @@ -1,33 +1,65 @@ /* Login / bootstrap page layout */ +*, *::before, *::after { box-sizing: border-box; } +html, body { min-height: 100%; } +body { + margin: 0; + font-family: var(--font-sans); + background: var(--bg-body); + color: var(--text-primary); +} .login-container { min-height: 100vh; - display: grid; - place-items: center; + min-height: 100dvh; + display: flex; + flex-direction: column; + align-items: center; + justify-content: center; + gap: 1rem; padding: 2rem 1rem; background: var(--bg-body); } +.login-brand { + width: min(100%, 24rem); + display: flex; + align-items: center; + justify-content: center; + gap: 0.75rem; +} .login-container h1 { - margin: 0 0 0.25rem; - font-size: 1.5rem; + margin: 0; + color: var(--text-primary); + font-size: 1.55rem; + line-height: 1.1; } .login-container .subtitle { - margin: 0 0 1rem; + margin: 0.3rem 0 0; color: var(--text-secondary); font-size: 0.85rem; } .login-form { width: 100%; - max-width: 22rem; + max-width: 24rem; background: var(--bg-surface); border: 1px solid var(--border); - border-radius: var(--radius-lg); + border-radius: var(--radius-md); box-shadow: var(--shadow-md); - padding: 1.25rem 1.25rem 1rem; + padding: 1.35rem; +} +.login-form label { + margin: 0 0 0.35rem; + color: var(--text-secondary); +} +.login-form input { + margin-bottom: 0.85rem; +} +.login-form .btn { + width: 100%; + margin-top: 0.15rem; } -.login-form .btn { width: 100%; margin-top: 0.5rem; } .login-logo { - width: 10rem; - height: auto; - margin-bottom: 0.5rem; + width: 3rem; + height: 3rem; + display: block; + flex: 0 0 auto; } |
