diff options
Diffstat (limited to 'frontend')
| -rw-r--r-- | frontend/src/styles/heisei.css | 28 |
1 files changed, 22 insertions, 6 deletions
diff --git a/frontend/src/styles/heisei.css b/frontend/src/styles/heisei.css index 0245034..e12481d 100644 --- a/frontend/src/styles/heisei.css +++ b/frontend/src/styles/heisei.css @@ -413,6 +413,7 @@ body { background: var(--hz-night); color: var(--hz-ink); } border: 0 !important; outline: 0; padding: 8px 16px; + margin: 0 !important; /* nuke pc98.css mobile-block margin-top */ font-family: 'Inter', system-ui, sans-serif; font-weight: 500; font-size: 11px; @@ -538,14 +539,29 @@ body { background: var(--hz-night); color: var(--hz-ink); } .cta-area { top: 56px; height: 48px; - padding: 6px 14px !important; + padding: 0 14px !important; /* center via flex, not via padding */ gap: 8px; + align-items: center !important; } - .cta-left { gap: 0; } - .taisho-cta { padding: 6px 10px; font-size: 10px; letter-spacing: 0.18em; } - .cta-right .taisho-cta { padding: 6px 14px; font-size: 10px; } - .cta-text { font-size: 10px; } - .cta-icon { font-size: 9px; } + .cta-left, + .cta-right { + height: auto !important; /* don't inherit any column-layout height */ + align-self: center !important; + align-items: center !important; + } + .cta-left { gap: 0; flex-direction: row !important; } + .taisho-cta { + padding: 0 10px; /* let height drive vertical centering */ + height: 32px; + line-height: 32px; + font-size: 10px; + letter-spacing: 0.18em; + align-self: center !important; + margin: 0 !important; /* kill pc98.css mobile margin-top: 20px */ + } + .cta-right .taisho-cta { padding: 0 14px; font-size: 10px; height: 32px; line-height: 32px; } + .cta-text { font-size: 10px; line-height: 32px; } + .cta-icon { font-size: 9px; line-height: 32px; } .modern-landing-page.manga-style .taisho-cover .cover-content { padding: 124px 20px 28px; |
