fix(visual): 1:1 banner/hero/modal + strip non-zibll card chrome
Align banner s-desc caption/scale-height, hero search pill and -40px cards, modal colorful header/spring scale; remove white/pink card borders and hover lifts across mainline surfaces.
This commit is contained in:
@@ -17,10 +17,10 @@
|
||||
* ============================================================ */
|
||||
.aksrt-slider-wrapper {
|
||||
position: relative;
|
||||
margin-bottom: 24px;
|
||||
border-radius: var(--radius-2xl, 16px);
|
||||
margin-bottom: 20px;
|
||||
border-radius: var(--main-radius, var(--radius, 8px));
|
||||
overflow: hidden;
|
||||
box-shadow: var(--shadow);
|
||||
box-shadow: 0 0 10px var(--main-shadow, rgba(116, 116, 116, 0.08));
|
||||
}
|
||||
|
||||
.new-swiper {
|
||||
@@ -111,33 +111,78 @@
|
||||
}
|
||||
|
||||
/* 幻灯片文字覆盖层 */
|
||||
.aksrt-slide-text {
|
||||
/* zibll .slide-text / .s-desc */
|
||||
.aksrt-slide-text,
|
||||
.s-desc,
|
||||
.slide-text {
|
||||
position: absolute;
|
||||
color: #fff;
|
||||
z-index: 2;
|
||||
text-shadow: 0 0 8px rgba(0, 0, 0, 0.3);
|
||||
}
|
||||
|
||||
.aksrt-slide-text,
|
||||
.slide-text:not(.s-desc) {
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
transform: translate(-50%, -50%);
|
||||
z-index: 2;
|
||||
width: calc(100% - 32px);
|
||||
max-width: 920px;
|
||||
text-align: center;
|
||||
color: #fff;
|
||||
background: unset;
|
||||
bottom: unset;
|
||||
}
|
||||
|
||||
.aksrt-slide-text__title {
|
||||
font-family: var(--font-display, var(--font-ui));
|
||||
font-size: clamp(1.75rem, 4vw, 3rem);
|
||||
font-weight: 700;
|
||||
.s-desc {
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
top: auto;
|
||||
transform: none;
|
||||
width: 100%;
|
||||
padding: 1.8em 2.5em;
|
||||
background: linear-gradient(0deg, rgba(0, 0, 0, 0.2), transparent);
|
||||
border-radius: 0 0 var(--main-radius, 8px) var(--main-radius, 8px);
|
||||
font-size: 16px;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.aksrt-slide-text__title,
|
||||
.slide-title {
|
||||
font-family: var(--font-ui);
|
||||
font-size: clamp(1.5rem, 3.2vw, 2.25rem);
|
||||
font-weight: 600;
|
||||
margin: 0 0 12px;
|
||||
line-height: 1.2;
|
||||
text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
|
||||
line-height: 1.25;
|
||||
text-shadow: 0 0 8px rgba(0, 0, 0, 0.3);
|
||||
}
|
||||
|
||||
.aksrt-slide-text__desc {
|
||||
.s-desc .aksrt-slide-text__title,
|
||||
.s-desc .slide-title {
|
||||
font-size: 16px;
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
.aksrt-slide-text__desc,
|
||||
.slide-desc {
|
||||
font-size: clamp(0.9rem, 1.4vw, 1.125rem);
|
||||
margin: 0;
|
||||
line-height: 1.6;
|
||||
color: rgba(255, 255, 255, 0.9);
|
||||
text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
|
||||
color: rgba(255, 255, 255, 0.95);
|
||||
text-shadow: 0 0 8px rgba(0, 0, 0, 0.3);
|
||||
}
|
||||
|
||||
.scale-height {
|
||||
--scale-height: 40%;
|
||||
--pc-height: 100%;
|
||||
--m-height: 100%;
|
||||
padding-bottom: var(--scale-height);
|
||||
width: 100%;
|
||||
height: 0;
|
||||
}
|
||||
|
||||
.scale-height .swiper-wrapper,
|
||||
.scale-height .swiper-slide img {
|
||||
position: absolute;
|
||||
}
|
||||
|
||||
/* 移动端高度 */
|
||||
|
||||
Reference in New Issue
Block a user