diff options
| author | soryu <soryu@soryu.co> | 2025-11-17 01:57:20 +0000 |
|---|---|---|
| committer | soryu <soryu@soryu.co> | 2025-11-17 01:57:20 +0000 |
| commit | 5889d9d5a371067de8209c02c8ae2b818f71612b (patch) | |
| tree | 1d611d331d5a84124428d34afce2e3484f2e81b1 /frontend/src | |
| parent | 909bf052149f4cf9b522238a2a2ea327f73c85d4 (diff) | |
| download | soryu-5889d9d5a371067de8209c02c8ae2b818f71612b.tar.gz soryu-5889d9d5a371067de8209c02c8ae2b818f71612b.zip | |
Increase mobile breakpoint to 768px for bottom CTA and compact masthead/issue
Diffstat (limited to 'frontend/src')
| -rw-r--r-- | frontend/src/styles/mobile.css | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/frontend/src/styles/mobile.css b/frontend/src/styles/mobile.css new file mode 100644 index 0000000..be76818 --- /dev/null +++ b/frontend/src/styles/mobile.css @@ -0,0 +1,47 @@ +/* Mobile overrides: relocate CTA to bottom and compact masthead/issue */ +@media (max-width: 768px) { + /* Bottom-fixed CTA bar */ + .cta-area { + position: fixed; + left: 0; + right: 0; + bottom: 0; + padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px)); + background: rgba(0, 0, 0, 0.75); + backdrop-filter: blur(10px); + border-top: 1px solid rgba(255, 255, 255, 0.15); + z-index: 200; + display: flex; + flex-direction: column; + justify-content: center; + align-items: stretch; + gap: 8px; + } + .cta-left { display: flex; flex-direction: column; gap: 8px; } + .cta-right { display: flex; } + .taisho-cta { width: 100%; justify-content: center; transform: none; } + + /* Lift stats above CTA */ + .bottom-stats { bottom: 96px; } + + /* Compact masthead and issue badge */ + .modern-landing-page.manga-style .masthead-vertical { + padding: 8px 6px; + border-width: 2px; + } + .modern-landing-page.manga-style .masthead-vertical .jp { font-size: 22px; } + .modern-landing-page.manga-style .masthead-vertical .en { font-size: 9px; letter-spacing: 0.5px; } + .modern-landing-page.manga-style .issue-badge { padding: 4px 8px; font-size: 11px; gap: 6px; } + .modern-landing-page.manga-style .issue-badge .led-heart { + width: 6px; + height: 6px; + margin-right: 6px; + } + .modern-landing-page.manga-style .issue-badge .led-heart::before, + .modern-landing-page.manga-style .issue-badge .led-heart::after { + width: 6px; + height: 6px; + } + .modern-landing-page.manga-style .issue-badge .led-heart::before { top: -3px; } + .modern-landing-page.manga-style .issue-badge .led-heart::after { left: 3px; } +} |
