1577 lines
27 KiB
CSS
1577 lines
27 KiB
CSS
/* ============================================================
|
|
index.css - Homepage-specific styles
|
|
============================================================ */
|
|
|
|
.indexTopAppsinBigBox {
|
|
display: flex;
|
|
width: 100%;
|
|
justify-content: center;
|
|
}
|
|
|
|
.indexTopAppsinBox {
|
|
height: 75px;
|
|
width: min(var(--max-width), 100%);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: flex-end;
|
|
}
|
|
|
|
.indexTopAppImg {
|
|
width: 23px;
|
|
}
|
|
|
|
.indexTopAppText {
|
|
margin-left: 10px;
|
|
font-size: 16px;
|
|
}
|
|
|
|
.topbar {
|
|
/* margin-top: 75px; */
|
|
}
|
|
|
|
#navLotteryItems {
|
|
display: none;
|
|
}
|
|
|
|
.topbar__user {
|
|
margin-left: auto;
|
|
}
|
|
|
|
body {
|
|
--max-width: 1400px;
|
|
}
|
|
|
|
.page-shell {
|
|
padding-bottom: 10px;
|
|
}
|
|
|
|
.hero,
|
|
.lottery-nav,
|
|
.draw,
|
|
.content,
|
|
.resource-section,
|
|
.site-footer {
|
|
width: min(var(--max-width), 100%);
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.hero {
|
|
padding-top: 10px;
|
|
}
|
|
|
|
.hero__inner {
|
|
display: flex;
|
|
align-items: stretch;
|
|
gap: 10px;
|
|
margin-top: 4px;
|
|
}
|
|
|
|
.hero__main,
|
|
.hero-card,
|
|
.draw,
|
|
.sidebar-card,
|
|
.article-cluster,
|
|
.resource-card,
|
|
.ad-group {
|
|
position: relative;
|
|
overflow: hidden;
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius-lg);
|
|
background: rgba(255, 255, 255, .92);
|
|
box-shadow: var(--shadow);
|
|
}
|
|
|
|
.hero__main,
|
|
.hero-card,
|
|
.lottery-nav,
|
|
.draw,
|
|
.content__rail,
|
|
.content__main,
|
|
.content__ads,
|
|
.resource-card {
|
|
animation: cxz-fade-up .58s ease both;
|
|
}
|
|
|
|
.content__main {
|
|
flex: 1;
|
|
min-width: 0;
|
|
}
|
|
|
|
|
|
.content__ads {
|
|
display: none;
|
|
}
|
|
|
|
.hero-card {
|
|
animation-delay: .06s;
|
|
}
|
|
|
|
.lottery-nav {
|
|
animation-delay: .1s;
|
|
}
|
|
|
|
.draw {
|
|
animation-delay: .14s;
|
|
}
|
|
|
|
.content__rail,
|
|
.content__main,
|
|
.content__ads {
|
|
animation-delay: .18s;
|
|
}
|
|
|
|
.resource-card:nth-child(2) {
|
|
animation-delay: .08s;
|
|
}
|
|
|
|
.hero__main {
|
|
flex: 1 1 52%;
|
|
min-width: 0;
|
|
padding: 20px;
|
|
background:
|
|
radial-gradient(circle at top right, rgba(253, 185, 51, .14), transparent 22%),
|
|
radial-gradient(circle at bottom left, rgba(29, 79, 159, .12), transparent 28%),
|
|
rgba(255, 255, 255, .96);
|
|
}
|
|
|
|
.hero__side {
|
|
min-width: 0;
|
|
}
|
|
|
|
.hero__side--left {
|
|
flex: 0 0 320px;
|
|
max-width: 320px;
|
|
}
|
|
|
|
.hero__side--right {
|
|
flex: 0 0 360px;
|
|
max-width: 360px;
|
|
}
|
|
|
|
.panel-head,
|
|
.draw__header,
|
|
.content-head,
|
|
.resource-card__head {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 16px;
|
|
}
|
|
|
|
.panel-head {
|
|
margin-bottom: 18px;
|
|
align-items: flex-start;
|
|
}
|
|
|
|
.panel-head__eyebrow,
|
|
.content-head__eyebrow {
|
|
display: inline-block;
|
|
margin: 0 0 8px;
|
|
padding: 6px 12px;
|
|
border-radius: 999px;
|
|
color: var(--navy);
|
|
background: rgba(16, 43, 106, .08);
|
|
font-size: 12px;
|
|
font-weight: 700;
|
|
letter-spacing: .08em;
|
|
}
|
|
|
|
.panel-head h1,
|
|
.content-head h2 {
|
|
margin: 0;
|
|
font-size: 34px;
|
|
line-height: 1.1;
|
|
color: var(--navy-deep);
|
|
}
|
|
|
|
.hero__history-btn,
|
|
.draw__action,
|
|
.modal-search-btn {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
padding: 12px 18px;
|
|
border: none;
|
|
border-radius: 999px;
|
|
color: var(--navy-deep);
|
|
background: linear-gradient(135deg, #ffd26b, var(--gold));
|
|
font-weight: 700;
|
|
cursor: pointer;
|
|
box-shadow: 0 12px 26px rgba(253, 185, 51, .25);
|
|
transition: .24s ease;
|
|
}
|
|
|
|
.hero__history-btn img,
|
|
.draw__action img,
|
|
.resource-card__head img,
|
|
.hero-card__title img {
|
|
width: 18px;
|
|
height: 18px;
|
|
}
|
|
|
|
.hero__carousel-wrap {
|
|
height: 420px;
|
|
background: linear-gradient(135deg, #0f2b68, #12367c, #164d86);
|
|
min-height: 100%;
|
|
border-radius: 16px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.hero__carousel-wrap .layui-carousel,
|
|
.hero__carousel-wrap .layui-carousel>div,
|
|
.hero__carousel-wrap .layui-carousel>div>div {
|
|
height: 100% !important;
|
|
}
|
|
|
|
.banner-link,
|
|
.banner-fallback {
|
|
display: block;
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
.carousel-img {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
}
|
|
|
|
.banner-fallback {
|
|
position: relative;
|
|
background:
|
|
radial-gradient(circle at 15% 20%, rgba(253, 185, 51, .26), transparent 18%),
|
|
radial-gradient(circle at 80% 80%, rgba(102, 175, 255, .2), transparent 24%),
|
|
linear-gradient(135deg, #0b1f4f 0%, #102b6a 50%, #185884 100%);
|
|
}
|
|
|
|
.banner-fallback__content {
|
|
position: absolute;
|
|
inset: 34px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: flex-end;
|
|
gap: 10px;
|
|
color: var(--white);
|
|
}
|
|
|
|
.banner-fallback__content span {
|
|
font-size: 14px;
|
|
color: rgba(255, 255, 255, .68);
|
|
}
|
|
|
|
.banner-fallback__content strong {
|
|
font-size: 34px;
|
|
line-height: 1.16;
|
|
max-width: 520px;
|
|
}
|
|
|
|
.hero__meta-grid {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 14px;
|
|
margin-top: 18px;
|
|
}
|
|
|
|
.hero-meta {
|
|
flex: 1 1 calc(33.333% - 10px);
|
|
min-width: 160px;
|
|
padding: 18px;
|
|
border-radius: 20px;
|
|
background: linear-gradient(180deg, rgba(16, 43, 106, .05), rgba(16, 43, 106, .02));
|
|
border: 1px solid rgba(16, 43, 106, .08);
|
|
}
|
|
|
|
.hero-meta span,
|
|
.hero-meta em {
|
|
display: block;
|
|
}
|
|
|
|
.hero-meta span {
|
|
margin-bottom: 10px;
|
|
color: var(--text-soft);
|
|
font-size: 12px;
|
|
}
|
|
|
|
.hero-meta strong {
|
|
display: block;
|
|
color: var(--navy);
|
|
font-size: 24px;
|
|
line-height: 1.1;
|
|
}
|
|
|
|
.hero-meta em {
|
|
margin-top: 8px;
|
|
color: var(--text-soft);
|
|
font-style: normal;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.hero__side .sidebar-card {
|
|
border-radius: 16px;
|
|
overflow: hidden;
|
|
box-shadow:
|
|
0 10px 26px rgba(9, 24, 64, 0.08),
|
|
0 2px 6px rgba(9, 24, 64, 0.04);
|
|
}
|
|
|
|
.sidebar-card-bom {
|
|
margin-top: 10px;
|
|
}
|
|
|
|
.hero-card {
|
|
padding: 24px;
|
|
background: linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(248, 251, 255, .96));
|
|
}
|
|
|
|
.hero-card--intro::before,
|
|
.hero-card--focus::before,
|
|
.draw::before,
|
|
.resource-card::before,
|
|
.ad-group::before,
|
|
.article-cluster::before {
|
|
content: "";
|
|
position: absolute;
|
|
inset: 0 auto auto 0;
|
|
width: 100%;
|
|
height: 4px;
|
|
background: linear-gradient(90deg, var(--gold), #ff8d52, #4a92ff);
|
|
}
|
|
|
|
.hero-card__tag {
|
|
display: inline-flex;
|
|
padding: 6px 12px;
|
|
border-radius: 999px;
|
|
background: rgba(16, 43, 106, .08);
|
|
color: var(--navy);
|
|
font-size: 12px;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.hero-card__date {
|
|
color: var(--text-soft);
|
|
font-size: 13px;
|
|
}
|
|
|
|
.hero-card--intro h2 {
|
|
margin: 18px 0 12px;
|
|
font-size: 30px;
|
|
line-height: 1.12;
|
|
color: var(--navy-deep);
|
|
}
|
|
|
|
.hero-card--intro p,
|
|
.content-head p,
|
|
.draw__title p {
|
|
margin: 0;
|
|
color: var(--text-soft);
|
|
line-height: 1.72;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.hero-card__stats {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 12px;
|
|
margin-top: 22px;
|
|
}
|
|
|
|
.hero-stat {
|
|
flex: 1 1 calc(33.333% - 8px);
|
|
min-width: 120px;
|
|
padding: 16px;
|
|
border-radius: 18px;
|
|
background: rgba(16, 43, 106, .05);
|
|
border: 1px solid rgba(16, 43, 106, .06);
|
|
text-align: center;
|
|
}
|
|
|
|
.hero-stat strong {
|
|
display: block;
|
|
color: var(--navy);
|
|
font-size: 28px;
|
|
line-height: 1;
|
|
}
|
|
|
|
.hero-stat span {
|
|
display: block;
|
|
margin-top: 8px;
|
|
color: var(--text-soft);
|
|
font-size: 12px;
|
|
}
|
|
|
|
.hero-card__title {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
color: var(--navy-deep);
|
|
font-size: 18px;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.hero-focus-list {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 12px;
|
|
margin-top: 18px;
|
|
}
|
|
|
|
.hero-focus-item {
|
|
display: flex;
|
|
gap: 12px;
|
|
align-items: center;
|
|
padding: 14px;
|
|
border-radius: 18px;
|
|
background: linear-gradient(180deg, rgba(16, 43, 106, .04), rgba(16, 43, 106, .02));
|
|
border: 1px solid rgba(16, 43, 106, .06);
|
|
animation: cxz-fade-up .42s ease both;
|
|
transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease, background .22s ease;
|
|
}
|
|
|
|
.hero-focus-item:nth-child(2) {
|
|
animation-delay: .04s;
|
|
}
|
|
|
|
.hero-focus-item:nth-child(3) {
|
|
animation-delay: .08s;
|
|
}
|
|
|
|
.hero-focus-item:nth-child(4) {
|
|
animation-delay: .12s;
|
|
}
|
|
|
|
.hero-focus-item:hover {
|
|
transform: translateX(4px);
|
|
border-color: rgba(29, 79, 159, .18);
|
|
background: linear-gradient(180deg, rgba(16, 43, 106, .07), rgba(255, 255, 255, .92));
|
|
box-shadow: 0 14px 28px rgba(16, 43, 106, .11);
|
|
}
|
|
|
|
.hero-focus-item:hover img {
|
|
transform: scale(1.06) rotate(-3deg);
|
|
}
|
|
|
|
.hero-focus-item img {
|
|
width: 44px;
|
|
height: 44px;
|
|
transition: transform .22s ease;
|
|
}
|
|
|
|
.hero-focus-item strong,
|
|
.draw-card__title strong,
|
|
.lottery-nav__text strong,
|
|
.article-cluster__title strong {
|
|
display: flex;
|
|
justify-content: center;
|
|
color: var(--navy-deep);
|
|
font-size: 16px;
|
|
}
|
|
|
|
.hero-focus-item span,
|
|
.draw-card__title span,
|
|
.lottery-nav__text span,
|
|
.article-cluster__title span {
|
|
display: block;
|
|
margin-top: 4px;
|
|
color: var(--text-soft);
|
|
font-size: 12px;
|
|
}
|
|
|
|
.hero-focus-empty,
|
|
.resource-empty,
|
|
.notice-item--empty,
|
|
.article-item--empty,
|
|
.ad-group--empty {
|
|
color: var(--text-soft);
|
|
text-align: center;
|
|
padding: 22px 16px;
|
|
}
|
|
|
|
.section-divider {
|
|
width: min(var(--max-width), 100%);
|
|
margin: 10px auto 10px;
|
|
padding: 16px 24px;
|
|
border-radius: 22px;
|
|
color: var(--white);
|
|
box-shadow: 0 22px 40px rgba(16, 43, 106, .16);
|
|
}
|
|
|
|
.section-divider span {
|
|
display: block;
|
|
font-size: 22px;
|
|
font-weight: 800;
|
|
}
|
|
|
|
.section-divider p {
|
|
margin: 6px 0 0;
|
|
font-size: 13px;
|
|
color: rgba(255, 255, 255, .82);
|
|
}
|
|
|
|
.section-divider--blue {
|
|
background: linear-gradient(90deg, #102b6a, #164f88, #1d719a);
|
|
}
|
|
|
|
.section-divider--gold {
|
|
background: linear-gradient(90deg, #102b6a, #775207, #c18515);
|
|
}
|
|
|
|
.section-divider--violet {
|
|
background: linear-gradient(90deg, #102b6a, #5a2f82, #8a4bb1);
|
|
}
|
|
|
|
.lottery-nav__inner {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 14px;
|
|
}
|
|
|
|
.lottery-nav__card {
|
|
flex: 0 0 calc(12.5% - 13px);
|
|
min-width: 138px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
gap: 12px;
|
|
align-items: center;
|
|
padding: 18px 16px;
|
|
border-radius: 22px;
|
|
border: 1px solid rgba(16, 43, 106, .08);
|
|
background: linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(247, 250, 255, .96));
|
|
box-shadow: var(--shadow-soft);
|
|
transition: .24s ease;
|
|
}
|
|
|
|
.lottery-nav__card:hover,
|
|
.trend-item:hover,
|
|
.draw-card:hover,
|
|
.article-cluster:hover,
|
|
.resource-link:hover,
|
|
.ad-item:hover {
|
|
transform: translateY(-3px);
|
|
box-shadow: 0 18px 34px rgba(16, 43, 106, .13);
|
|
}
|
|
|
|
.lottery-nav__icon {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 58px;
|
|
height: 58px;
|
|
border-radius: 18px;
|
|
background: rgba(16, 43, 106, .05);
|
|
}
|
|
|
|
.lottery-nav__icon img {
|
|
width: 34px;
|
|
height: 34px;
|
|
}
|
|
|
|
.lottery-nav__card em {
|
|
color: var(--navy);
|
|
font-style: normal;
|
|
font-size: 13px;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.draw {
|
|
margin-top: 10px;
|
|
padding: 24px;
|
|
background: linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(245, 248, 255, .98));
|
|
}
|
|
|
|
.draw__title {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 14px;
|
|
}
|
|
|
|
.draw__title img {
|
|
width: 26px;
|
|
height: 26px;
|
|
}
|
|
|
|
.draw__title strong {
|
|
display: block;
|
|
color: var(--navy-deep);
|
|
font-size: 24px;
|
|
}
|
|
|
|
.draw__grid {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 18px;
|
|
margin-top: 22px;
|
|
}
|
|
|
|
.draw-card {
|
|
flex: 0 0 calc(25% - 14px);
|
|
min-width: 260px;
|
|
padding: 18px;
|
|
border-radius: 22px;
|
|
border: 1px solid rgba(16, 43, 106, .08);
|
|
background: linear-gradient(180deg, rgba(255, 255, 255, .99), rgba(245, 248, 255, .95));
|
|
box-shadow: var(--shadow-soft);
|
|
transition: .24s ease;
|
|
}
|
|
|
|
.draw-card__head {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
}
|
|
|
|
.draw-card__title {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
}
|
|
|
|
.draw-card__title img {
|
|
width: 40px;
|
|
height: 40px;
|
|
}
|
|
|
|
.draw-card__link {
|
|
width: 60px;
|
|
height: 30px;
|
|
background: linear-gradient(90deg, #102b6a, #164f88, #1d719a);
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
border-radius: 80px;
|
|
color: var(--white);
|
|
font-size: 12px;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.draw-card__link:hover {
|
|
color: #306ee2;
|
|
}
|
|
|
|
.draw-card__balls {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 4px;
|
|
margin: 8px 0 2px;
|
|
min-height: 68px;
|
|
align-content: flex-start;
|
|
}
|
|
|
|
.draw-card__balls--compact {
|
|
gap: 3px;
|
|
width: calc(25px * 10 + 3px * 9);
|
|
max-width: 100%;
|
|
}
|
|
|
|
.draw-card__foot {
|
|
display: flex;
|
|
align-items: flex-end;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
padding-top: 14px;
|
|
border-top: 1px dashed rgba(16, 43, 106, .1);
|
|
}
|
|
|
|
.draw-card__foot_left {
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.draw-card__foot_left_left {
|
|
color: var(--text-soft);
|
|
font-size: 12px;
|
|
}
|
|
|
|
.draw-card__foot_left_right {
|
|
color: var(--navy);
|
|
font-size: 13px;
|
|
margin-left: 8px;
|
|
}
|
|
|
|
.draw-card__date {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 4px;
|
|
}
|
|
|
|
.draw-card__foot_right {
|
|
font-size: 13px;
|
|
margin-left: 8px;
|
|
}
|
|
|
|
.draw-card__link--button {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
min-width: 86px;
|
|
padding: 8px 14px;
|
|
border-radius: 999px;
|
|
background: linear-gradient(135deg, rgba(16, 43, 106, .1), rgba(16, 43, 106, .04));
|
|
border: 1px solid rgba(16, 43, 106, .14);
|
|
box-shadow: 0 6px 16px rgba(16, 43, 106, .08);
|
|
white-space: nowrap;
|
|
transition: .22s ease;
|
|
}
|
|
|
|
.draw-card__link--button:hover {
|
|
color: var(--white);
|
|
background: linear-gradient(135deg, var(--navy), #174892);
|
|
border-color: transparent;
|
|
}
|
|
|
|
.content {
|
|
margin-top: 10px;
|
|
}
|
|
|
|
.content__inner {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
gap: 16px;
|
|
}
|
|
|
|
.sidebar-card__head {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 16px 18px;
|
|
color: var(--white);
|
|
font-size: 18px;
|
|
font-weight: 800;
|
|
}
|
|
|
|
.sidebar-card__more {
|
|
color: var(--gold);
|
|
font-size: 13px;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.sidebar-card__head--navy {
|
|
background: linear-gradient(90deg, #102b6a, #164985);
|
|
}
|
|
|
|
.sidebar-card__head--gold {
|
|
background: linear-gradient(90deg, #9b6700, #c48a10, #f0b227);
|
|
}
|
|
|
|
.sidebar-card__head--teal {
|
|
background: linear-gradient(90deg, #103b6a, #167485, #1c8b8f);
|
|
}
|
|
|
|
.notice-list {
|
|
margin: 0;
|
|
padding: 10px 18px 16px;
|
|
list-style: none;
|
|
}
|
|
|
|
.notice-item {
|
|
padding: 12px 0;
|
|
border-bottom: 1px dashed rgba(16, 43, 106, .12);
|
|
animation: cxz-fade-up .36s ease both;
|
|
transition: padding .2s ease, background .2s ease;
|
|
}
|
|
|
|
.notice-item:nth-child(2) {
|
|
animation-delay: .04s;
|
|
}
|
|
|
|
.notice-item:nth-child(3) {
|
|
animation-delay: .08s;
|
|
}
|
|
|
|
.notice-item:nth-child(4) {
|
|
animation-delay: .12s;
|
|
}
|
|
|
|
.notice-item:nth-child(5) {
|
|
animation-delay: .16s;
|
|
}
|
|
|
|
.notice-item:hover {
|
|
padding-left: 6px;
|
|
background: linear-gradient(90deg, rgba(253, 185, 51, .12), transparent);
|
|
}
|
|
|
|
.notice-item:last-child {
|
|
border-bottom: none;
|
|
}
|
|
|
|
.notice-item a {
|
|
display: block;
|
|
width: 100%;
|
|
color: var(--text);
|
|
font-size: 14px;
|
|
line-height: 1.65;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
padding-left: 16px;
|
|
position: relative;
|
|
transition: color .2s ease;
|
|
}
|
|
|
|
.notice-item:hover a {
|
|
color: var(--navy);
|
|
}
|
|
|
|
.notice-item a::before {
|
|
content: "";
|
|
position: absolute;
|
|
left: 0;
|
|
top: 8px;
|
|
width: 8px;
|
|
height: 8px;
|
|
border-radius: 50%;
|
|
background: linear-gradient(135deg, var(--gold), #ff9748);
|
|
transition: transform .2s ease, box-shadow .2s ease;
|
|
}
|
|
|
|
.notice-item:hover a::before {
|
|
transform: scale(1.25);
|
|
box-shadow: 0 0 0 5px rgba(253, 185, 51, .14);
|
|
}
|
|
|
|
.qrcode-box {
|
|
padding: 8px;
|
|
text-align: center;
|
|
}
|
|
|
|
.qrcode-box img {
|
|
width: 188px;
|
|
height: 188px;
|
|
margin: 0 auto 14px;
|
|
padding: 16px;
|
|
border-radius: 22px;
|
|
background: linear-gradient(180deg, #ffffff, #f6f8fd);
|
|
border: 1px solid rgba(16, 43, 106, .08);
|
|
}
|
|
|
|
.qrcode-box p {
|
|
margin: 0;
|
|
color: var(--text-soft);
|
|
font-size: 13px;
|
|
}
|
|
|
|
.trend-grid {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 12px;
|
|
padding: 18px;
|
|
}
|
|
|
|
.trend-item {
|
|
flex: 0 0 calc(50% - 6px);
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
padding: 14px 12px;
|
|
border-radius: 18px;
|
|
background: rgba(16, 43, 106, .05);
|
|
border: 1px solid rgba(16, 43, 106, .06);
|
|
}
|
|
|
|
.trend-item img {
|
|
width: 30px;
|
|
height: 30px;
|
|
}
|
|
|
|
.trend-item span {
|
|
color: var(--text);
|
|
font-size: 13px;
|
|
font-weight: 700;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.combo-tool-grid {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 12px;
|
|
padding: 18px;
|
|
}
|
|
|
|
.combo-tool-item {
|
|
flex: 0 0 calc(50% - 6px);
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
padding: 14px 12px;
|
|
border-radius: 18px;
|
|
background: rgba(16, 43, 106, .05);
|
|
border: 1px solid rgba(16, 43, 106, .06);
|
|
transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
|
|
}
|
|
|
|
.combo-tool-item:hover {
|
|
transform: translateY(-2px);
|
|
border-color: rgba(239, 159, 15, .38);
|
|
box-shadow: 0 12px 26px rgba(16, 43, 106, .12);
|
|
}
|
|
|
|
.combo-tool-item img {
|
|
width: 32px;
|
|
height: 32px;
|
|
object-fit: contain;
|
|
flex: 0 0 auto;
|
|
}
|
|
|
|
.combo-tool-item span {
|
|
color: var(--text);
|
|
font-size: 13px;
|
|
font-weight: 800;
|
|
}
|
|
|
|
.content-head {
|
|
margin-bottom: 18px;
|
|
}
|
|
|
|
.content-head--compact h2 {
|
|
font-size: 26px;
|
|
}
|
|
|
|
.article-matrix {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 10px;
|
|
}
|
|
|
|
.article-ad-strip {
|
|
flex: 0 0 100%;
|
|
}
|
|
|
|
.article-cluster {
|
|
flex: 0 0 calc(50% - 5px);
|
|
min-width: 0;
|
|
}
|
|
|
|
.article-ad-strip .ad-group {
|
|
margin: 0;
|
|
}
|
|
|
|
.article-cluster__head {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
align-items: center;
|
|
padding: 18px 20px;
|
|
background: linear-gradient(90deg, rgba(16, 43, 106, .98), rgba(18, 65, 124, .96));
|
|
}
|
|
|
|
.article-cluster__title {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
}
|
|
|
|
.article-cluster__title img {
|
|
width: 36px;
|
|
height: 36px;
|
|
}
|
|
|
|
.article-cluster__title strong {
|
|
color: var(--white);
|
|
font-size: 20px;
|
|
}
|
|
|
|
.article-cluster__title span {
|
|
color: rgba(255, 255, 255, .68);
|
|
font-size: 12px;
|
|
}
|
|
|
|
.article-cluster__more {
|
|
color: var(--gold);
|
|
font-size: 13px;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.article-cluster__list {
|
|
list-style: none;
|
|
margin: 0;
|
|
padding: 10px 20px 18px;
|
|
}
|
|
|
|
.article-item {
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
.article-item__link {
|
|
display: flex;
|
|
align-items: center;
|
|
width: 100%;
|
|
min-width: 0;
|
|
box-sizing: border-box;
|
|
gap: 8px;
|
|
padding: 12px 0;
|
|
border-bottom: 1px dashed rgba(16, 43, 106, .1);
|
|
transition: transform .2s ease, background .2s ease, padding .2s ease;
|
|
}
|
|
|
|
.article-item:hover .article-item__link {
|
|
padding-left: 6px;
|
|
background: linear-gradient(90deg, rgba(16, 43, 106, .045), transparent);
|
|
transform: translateX(2px);
|
|
}
|
|
|
|
.article-item:last-child .article-item__link,
|
|
.article-item.article-item--empty {
|
|
border-bottom: none;
|
|
}
|
|
|
|
.article-item__icon {
|
|
width: 24px;
|
|
height: 24px;
|
|
border-radius: 50%;
|
|
flex: 0 0 auto;
|
|
border: 1px solid rgba(255, 255, 255, .82);
|
|
box-shadow: 0 3px 8px rgba(16, 43, 106, .14);
|
|
}
|
|
|
|
.article-item__author {
|
|
position: relative;
|
|
flex: 0 0 82px;
|
|
max-width: 82px;
|
|
padding-right: 12px;
|
|
box-sizing: border-box;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
color: #123a77;
|
|
font-size: 12px;
|
|
font-weight: 700;
|
|
line-height: 1.25;
|
|
}
|
|
|
|
.article-item__author::after {
|
|
content: "";
|
|
position: absolute;
|
|
right: 0;
|
|
top: 50%;
|
|
width: 1px;
|
|
height: 12px;
|
|
background: rgba(16, 43, 106, .16);
|
|
transform: translateY(-50%);
|
|
}
|
|
|
|
.article-item__title {
|
|
flex: 1 1 auto;
|
|
min-width: 0;
|
|
max-width: min(330px, 100%);
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
color: var(--text);
|
|
font-size: 14px;
|
|
}
|
|
|
|
.article-item__date {
|
|
color: var(--text-soft);
|
|
font-size: 12px;
|
|
flex: 0 0 auto;
|
|
margin-left: auto;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.ad-group {
|
|
margin-bottom: 18px;
|
|
}
|
|
|
|
.ad-group__head {
|
|
padding: 16px 18px;
|
|
color: var(--navy-deep);
|
|
font-size: 18px;
|
|
font-weight: 800;
|
|
background: linear-gradient(180deg, rgba(16, 43, 106, .04), rgba(255, 255, 255, .95));
|
|
}
|
|
|
|
.ad-group__grid {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 12px;
|
|
padding: 18px;
|
|
}
|
|
|
|
.ad-item {
|
|
flex: 0 0 calc(12.5% - 11px);
|
|
min-width: 0;
|
|
display: block;
|
|
border-radius: 18px;
|
|
overflow: hidden;
|
|
border: 1px solid rgba(16, 43, 106, .08);
|
|
background: #f7f9fe;
|
|
transition: transform .24s ease, box-shadow .24s ease;
|
|
}
|
|
|
|
.ad-item img {
|
|
display: block;
|
|
width: 100%;
|
|
height: 94px;
|
|
object-fit: cover;
|
|
background: #fff;
|
|
transition: .26s ease;
|
|
}
|
|
|
|
.resource-section {
|
|
margin-top: 10px;
|
|
}
|
|
|
|
.resource-section__inner {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 10px;
|
|
}
|
|
|
|
.resource-card {
|
|
flex: 0 0 calc(50% - 5px);
|
|
min-width: 0;
|
|
padding: 20px;
|
|
}
|
|
|
|
.resource-card__head {
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.resource-card__head h2 {
|
|
margin: 0;
|
|
color: var(--navy-deep);
|
|
font-size: 24px;
|
|
}
|
|
|
|
.resource-card__body {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 12px;
|
|
}
|
|
|
|
.resource-link {
|
|
display: flex;
|
|
flex: 0 0 calc(25% - 9px);
|
|
min-width: 0;
|
|
align-items: center;
|
|
gap: 8px;
|
|
box-sizing: border-box;
|
|
padding: 14px 12px;
|
|
border-radius: 18px;
|
|
background: linear-gradient(180deg, rgba(16, 43, 106, .05), rgba(255, 255, 255, .96));
|
|
border: 1px solid rgba(16, 43, 106, .08);
|
|
transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
|
|
}
|
|
|
|
.resource-link:hover {
|
|
border-color: rgba(29, 79, 159, .2);
|
|
}
|
|
|
|
@keyframes cxz-fade-up {
|
|
from {
|
|
opacity: 0;
|
|
transform: translateY(14px);
|
|
}
|
|
|
|
to {
|
|
opacity: 1;
|
|
transform: translateY(0);
|
|
}
|
|
}
|
|
|
|
@keyframes cxz-ball-pop {
|
|
0% {
|
|
opacity: 0;
|
|
transform: scale(.72);
|
|
}
|
|
|
|
70% {
|
|
transform: scale(1.08);
|
|
}
|
|
|
|
100% {
|
|
opacity: 1;
|
|
transform: scale(1);
|
|
}
|
|
}
|
|
|
|
.draw-card .ball,
|
|
.article-item__icon {
|
|
animation: cxz-ball-pop .36s ease both;
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
|
|
*,
|
|
*::before,
|
|
*::after {
|
|
animation-duration: .001ms !important;
|
|
animation-iteration-count: 1 !important;
|
|
scroll-behavior: auto !important;
|
|
transition-duration: .001ms !important;
|
|
}
|
|
}
|
|
|
|
.resource-link img {
|
|
width: 16px;
|
|
height: 16px;
|
|
flex: 0 0 16px;
|
|
}
|
|
|
|
.resource-link span {
|
|
display: block;
|
|
min-width: 0;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
color: var(--text);
|
|
font-size: 13px;
|
|
line-height: 1.25;
|
|
}
|
|
|
|
.FooterPublicFriendship {
|
|
margin-top: 18px;
|
|
padding: 16px;
|
|
border-radius: 20px;
|
|
background: rgba(16, 43, 106, .03);
|
|
border: 1px solid rgba(16, 43, 106, .06);
|
|
}
|
|
|
|
.FooterPublicFriendship .other-title {
|
|
margin-bottom: 10px;
|
|
color: var(--navy);
|
|
font-weight: 700;
|
|
}
|
|
|
|
.FooterPublicFriendship .link-listUl {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 10px;
|
|
margin: 0;
|
|
padding: 0;
|
|
list-style: none;
|
|
}
|
|
|
|
.FooterPublicFriendship .link-listLi a {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
padding: 10px 14px;
|
|
border-radius: 999px;
|
|
background: rgba(255, 255, 255, .92);
|
|
border: 1px solid rgba(16, 43, 106, .08);
|
|
color: var(--text);
|
|
font-size: 13px;
|
|
}
|
|
|
|
|
|
@media (max-width: 1200px) {
|
|
.hero__inner {
|
|
flex-direction: column;
|
|
}
|
|
|
|
.hero__side {
|
|
flex: 0 1 auto;
|
|
min-width: 0;
|
|
width: 100%;
|
|
}
|
|
|
|
.hero__main {
|
|
order: -1;
|
|
}
|
|
|
|
.content__inner {
|
|
flex-direction: column;
|
|
}
|
|
|
|
.content__ads {
|
|
flex-basis: auto;
|
|
width: 100%;
|
|
}
|
|
|
|
.lottery-nav__card {
|
|
flex-basis: calc(25% - 11px);
|
|
}
|
|
|
|
.draw-card {
|
|
flex-basis: calc(50% - 9px);
|
|
}
|
|
}
|
|
|
|
@media (max-width: 900px) {
|
|
.article-cluster,
|
|
.resource-card {
|
|
flex-basis: 100%;
|
|
}
|
|
|
|
.resource-link {
|
|
flex: 0 0 calc(25% - 9px);
|
|
}
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.hero,
|
|
.lottery-nav,
|
|
.draw,
|
|
.content,
|
|
.resource-section,
|
|
.site-footer,
|
|
.section-divider {
|
|
width: calc(100% - 20px);
|
|
}
|
|
|
|
.hero__inner {
|
|
gap: 12px;
|
|
}
|
|
|
|
.hero__side {
|
|
gap: 10px;
|
|
max-width: none;
|
|
}
|
|
|
|
.hero__main,
|
|
.hero-card,
|
|
.draw,
|
|
.resource-card,
|
|
.article-cluster,
|
|
.ad-group {
|
|
border-radius: 18px;
|
|
}
|
|
|
|
.hero__main,
|
|
.draw {
|
|
padding: 16px;
|
|
}
|
|
|
|
.hero__carousel-wrap {
|
|
height: 240px;
|
|
border-radius: 14px;
|
|
}
|
|
|
|
.section-divider {
|
|
padding: 14px 16px;
|
|
border-radius: 18px;
|
|
}
|
|
|
|
.section-divider span,
|
|
.draw__title strong,
|
|
.resource-card__head h2 {
|
|
font-size: 20px;
|
|
}
|
|
|
|
.lottery-nav__inner,
|
|
.draw__grid,
|
|
.article-matrix,
|
|
.resource-section__inner {
|
|
gap: 10px;
|
|
}
|
|
|
|
.lottery-nav__card {
|
|
flex: 0 0 calc(50% - 5px);
|
|
min-width: 0;
|
|
padding: 14px 10px;
|
|
}
|
|
|
|
.draw-card {
|
|
flex: 0 0 100%;
|
|
min-width: 0;
|
|
padding: 18px;
|
|
}
|
|
|
|
.trend-item,
|
|
.combo-tool-item {
|
|
flex-basis: calc(50% - 6px);
|
|
min-width: 0;
|
|
}
|
|
|
|
.article-cluster__head,
|
|
.draw-card__head,
|
|
.draw-card__foot {
|
|
align-items: flex-start;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.draw-card__head {
|
|
align-items: center;
|
|
flex-wrap: nowrap;
|
|
}
|
|
|
|
.draw-card__title {
|
|
min-width: 0;
|
|
}
|
|
|
|
.draw-card__title img {
|
|
flex: 0 0 38px;
|
|
width: 38px;
|
|
height: 38px;
|
|
}
|
|
|
|
.draw-card__link {
|
|
flex: 0 0 auto;
|
|
}
|
|
|
|
.draw-card__balls {
|
|
gap: 6px;
|
|
min-height: auto;
|
|
margin: 12px 0 10px;
|
|
}
|
|
|
|
.draw-card__balls--compact {
|
|
gap: 5px;
|
|
width: calc(28px * 10 + 5px * 9);
|
|
max-width: 100%;
|
|
}
|
|
|
|
.draw-card__balls--compact .ball--compact {
|
|
flex-basis: 28px;
|
|
width: 28px;
|
|
min-width: 28px;
|
|
height: 28px;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.draw-card__foot {
|
|
align-items: center;
|
|
flex-wrap: nowrap;
|
|
}
|
|
|
|
.article-cluster__more {
|
|
margin-left: auto;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.article-item__link {
|
|
align-items: center;
|
|
flex-wrap: wrap;
|
|
gap: 6px 8px;
|
|
padding: 12px 0;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.article-item__author {
|
|
flex: 1 1 calc(100% - 130px);
|
|
max-width: none;
|
|
padding-right: 0;
|
|
color: #123a77;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.article-item__author::after {
|
|
display: none;
|
|
}
|
|
|
|
.article-item__title {
|
|
flex: 0 0 100%;
|
|
min-width: 100%;
|
|
max-width: 100%;
|
|
padding-left: 32px;
|
|
box-sizing: border-box;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: normal;
|
|
display: -webkit-box;
|
|
-webkit-line-clamp: 2;
|
|
-webkit-box-orient: vertical;
|
|
color: var(--text);
|
|
font-size: 13px;
|
|
line-height: 1.55;
|
|
}
|
|
|
|
.article-item__date {
|
|
display: block;
|
|
flex: 0 0 auto;
|
|
margin-left: auto;
|
|
color: var(--text-soft);
|
|
font-size: 11px;
|
|
line-height: 1.2;
|
|
}
|
|
|
|
.article-cluster__list {
|
|
padding: 8px 14px 14px;
|
|
}
|
|
|
|
.article-ad-strip .ad-group__grid {
|
|
gap: 10px;
|
|
width: 100%;
|
|
box-sizing: border-box;
|
|
overflow: hidden;
|
|
padding: 12px 14px 16px;
|
|
}
|
|
|
|
.article-ad-strip .ad-item {
|
|
flex: 0 0 calc((100% - 10px) / 2);
|
|
width: calc((100% - 10px) / 2);
|
|
max-width: calc((100% - 10px) / 2);
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.article-ad-strip .ad-item img {
|
|
width: 100%;
|
|
height: auto;
|
|
aspect-ratio: 1.75 / 1;
|
|
}
|
|
|
|
.resource-card {
|
|
padding: 16px;
|
|
}
|
|
|
|
.resource-card__body {
|
|
gap: 10px;
|
|
}
|
|
|
|
.resource-link {
|
|
flex: 0 0 calc(50% - 5px);
|
|
padding: 12px 10px;
|
|
border-radius: 14px;
|
|
}
|
|
|
|
.resource-link span {
|
|
min-width: 0;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 520px) {
|
|
.indexTopAppsinBox {
|
|
height: 48px;
|
|
padding: 0 12px;
|
|
}
|
|
|
|
.indexTopAppText {
|
|
font-size: 14px;
|
|
}
|
|
|
|
.hero__carousel-wrap {
|
|
height: 200px;
|
|
}
|
|
|
|
.lottery-nav__card,
|
|
.trend-item,
|
|
.combo-tool-item,
|
|
.resource-link {
|
|
flex-basis: 100%;
|
|
}
|
|
|
|
.article-item__author {
|
|
flex-basis: calc(100% - 124px);
|
|
}
|
|
|
|
.hero-meta,
|
|
.hero-stat {
|
|
flex-basis: 100%;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 380px) {
|
|
.draw-card {
|
|
padding: 16px 14px;
|
|
}
|
|
|
|
.draw-card__balls--compact {
|
|
gap: 4px;
|
|
width: calc(24px * 10 + 4px * 9);
|
|
}
|
|
|
|
.draw-card__balls--compact .ball--compact {
|
|
flex-basis: 24px;
|
|
width: 24px;
|
|
min-width: 24px;
|
|
height: 24px;
|
|
font-size: 11px;
|
|
}
|
|
}
|