Files
hfb_jysh/frontend/src/styles/storefront-home.css
T

118 lines
2.1 KiB
CSS

/* Home hero */
.home-hero {
background: var(--brand-ink);
color: var(--paper-warm);
}
.home-hero__inner {
display: grid;
grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
gap: 48px;
align-items: center;
max-width: 1280px;
min-height: 520px;
margin: 0 auto;
padding: 76px 24px 68px;
}
.home-hero__eyebrow {
color: var(--brand-seal-line);
font-size: 12px;
letter-spacing: 0.18em;
text-transform: uppercase;
}
.home-hero__title {
margin: 18px 0 20px !important;
color: #f0f4f2 !important;
font-size: clamp(42px, 5vw, 68px) !important;
line-height: 1.16 !important;
}
.home-hero__lead {
max-width: 560px;
margin-bottom: 30px !important;
color: #d8e2dd;
font-size: 16px;
line-height: 1.9;
}
.home-hero__search {
width: 420px;
max-width: calc(100vw - 48px);
}
.home-hero__search .ant-input-affix-wrapper {
background: var(--paper-warm);
}
.home-hero__visual {
position: relative;
min-height: 300px;
}
.hero-ticket {
position: absolute;
display: flex;
flex-direction: column;
gap: 8px;
width: 280px;
padding: 22px;
border: 1px solid rgba(30, 77, 66, 0.18);
border-radius: 6px;
background: var(--paper-warm);
box-shadow: 0 1px 2px rgba(21, 58, 50, 0.08), 0 22px 48px rgba(21, 58, 50, 0.2);
color: var(--brand-ink);
}
.hero-ticket span {
color: var(--ink-muted);
font-size: 12px;
letter-spacing: 0.08em;
}
.hero-ticket strong {
font-family: 'Noto Serif SC', 'Songti SC', serif;
font-size: 20px;
font-weight: 600;
line-height: 1.4;
}
.hero-ticket small {
color: var(--ink-secondary);
font-size: 12px;
}
.hero-ticket--back {
top: 8px;
right: 0;
transform: rotate(7deg);
opacity: 0.7;
}
.hero-ticket--main {
top: 58px;
left: 8px;
transform: rotate(-3deg);
}
.hero-ticket--front {
right: 10px;
bottom: 0;
transform: rotate(4deg);
}
.hero-ticket__seal {
display: inline-flex;
align-items: center;
justify-content: center;
width: 46px;
height: 46px;
border: 2px solid var(--brand-seal);
color: var(--brand-seal);
font-family: 'Noto Serif SC', 'Songti SC', serif;
font-size: 13px;
letter-spacing: 0.1em;
}