forked from laysense/laysense.cn
Migrate Laysense to unmodified LaySite 1.5.2
This commit is contained in:
@@ -0,0 +1,39 @@
|
||||
.hero-home .hero-visual.app-frame {
|
||||
isolation: isolate;
|
||||
border: 1px solid #cad9f6;
|
||||
border-radius: 1.8rem;
|
||||
background: radial-gradient(circle, #a9bce9 1px, transparent 1.3px) 0 0 / 20px 20px, #eaf0fd;
|
||||
padding: clamp(.45rem, 1.8vw, 1.7rem);
|
||||
box-shadow: 0 22px 85px -44px #204dba65;
|
||||
}
|
||||
.hero-home .hero-visual.app-frame img {
|
||||
aspect-ratio: 4 / 3;
|
||||
object-fit: cover;
|
||||
border-radius: 1.15rem;
|
||||
mix-blend-mode: multiply;
|
||||
}
|
||||
.hero-home ~ #about {
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
isolation: isolate;
|
||||
color: white;
|
||||
background: var(--navy);
|
||||
}
|
||||
.hero-home ~ #about::before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
z-index: -1;
|
||||
inset: 0;
|
||||
background: repeating-radial-gradient(circle at 90% 72%, transparent 0 33px, #5e8ff822 34px 35px, transparent 36px 60px),
|
||||
linear-gradient(135deg, #111f3b, #142b5f);
|
||||
pointer-events: none;
|
||||
}
|
||||
.hero-home ~ #about.moment-active::before { animation: iris 900ms ease-out both; }
|
||||
.hero-home ~ #about .section-heading { margin-bottom: 1.45rem; }
|
||||
.hero-home ~ #about .rich p { color: #dbe7ff; font-size: clamp(1.2rem, 2.4vw, 1.7rem); max-width: 50rem; }
|
||||
.page-photo-credit { padding-bottom: 1.4rem; margin-bottom: 0; color: var(--muted); font-size: .875rem; }
|
||||
|
||||
@media (max-width: 44rem) {
|
||||
.hero-home .hero-visual.app-frame { border-radius: 1.15rem; }
|
||||
.hero-home .hero-visual.app-frame img { border-radius: .8rem; }
|
||||
}
|
||||
Reference in New Issue
Block a user