家谱现有接口调试50%
This commit is contained in:
@@ -0,0 +1,153 @@
|
||||
.article-hero .container {
|
||||
min-height: 440px;
|
||||
padding-top: 74px;
|
||||
padding-bottom: 74px;
|
||||
}
|
||||
|
||||
.hero-copy {
|
||||
position: relative;
|
||||
padding-left: 28px;
|
||||
}
|
||||
|
||||
.hero-copy:before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 58px;
|
||||
width: 4px;
|
||||
height: 132px;
|
||||
border-radius: 999px;
|
||||
background: linear-gradient(180deg, var(--red), var(--gold));
|
||||
}
|
||||
|
||||
.article-meta {
|
||||
display: flex;
|
||||
gap: 12px;
|
||||
margin-top: 28px;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.article-meta span {
|
||||
padding: 10px 14px;
|
||||
border: 1px solid rgba(224, 211, 189, .78);
|
||||
border-radius: 999px;
|
||||
color: #6d766f;
|
||||
background: rgba(255,253,248,.74);
|
||||
font-weight: 800;
|
||||
}
|
||||
|
||||
.article-cover-detail {
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
display: grid;
|
||||
place-items: center;
|
||||
text-align: center;
|
||||
color: #fff;
|
||||
background:
|
||||
radial-gradient(circle at 72% 24%, rgba(255,255,255,.35) 0 9%, transparent 10%),
|
||||
linear-gradient(135deg, #e7c89e, #b94135 48%, #143d57);
|
||||
}
|
||||
|
||||
.article-cover-detail:after {
|
||||
content: "";
|
||||
position: absolute;
|
||||
left: -40%;
|
||||
top: 0;
|
||||
width: 34%;
|
||||
height: 100%;
|
||||
background: linear-gradient(90deg, transparent, rgba(255,255,255,.3), transparent);
|
||||
transform: skewX(-18deg);
|
||||
transition: left .58s ease;
|
||||
}
|
||||
|
||||
.article-cover-detail:hover:after { left: 112%; }
|
||||
|
||||
.article-cover-detail span {
|
||||
width: 86px;
|
||||
height: 86px;
|
||||
border-radius: 50%;
|
||||
display: grid;
|
||||
place-items: center;
|
||||
color: var(--red);
|
||||
background: rgba(255,253,248,.94);
|
||||
font-family: "SimSun", "Songti SC", serif;
|
||||
font-size: 44px;
|
||||
font-weight: 800;
|
||||
}
|
||||
|
||||
.article-cover-detail p {
|
||||
margin: 18px 0 0;
|
||||
color: rgba(255,255,255,.9);
|
||||
font-size: 22px;
|
||||
}
|
||||
|
||||
.article-layout {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(0, 820px) 300px;
|
||||
gap: 28px;
|
||||
align-items: start;
|
||||
}
|
||||
|
||||
.article-content,
|
||||
.article-side {
|
||||
border: 1px solid var(--line);
|
||||
border-radius: 18px;
|
||||
background: rgba(255,253,248,.82);
|
||||
box-shadow: 0 20px 54px rgba(57, 48, 36, .08);
|
||||
}
|
||||
|
||||
.article-content {
|
||||
padding: 42px;
|
||||
}
|
||||
|
||||
.article-content p {
|
||||
color: #5f665f;
|
||||
font-size: 18px;
|
||||
line-height: 2;
|
||||
}
|
||||
|
||||
.article-content h2 {
|
||||
margin-top: 34px;
|
||||
font-size: 32px;
|
||||
}
|
||||
|
||||
.article-side {
|
||||
position: sticky;
|
||||
top: 108px;
|
||||
padding: 24px;
|
||||
}
|
||||
|
||||
.article-side a {
|
||||
display: block;
|
||||
margin-top: 12px;
|
||||
padding: 14px 16px;
|
||||
border: 1px solid var(--line);
|
||||
border-radius: 14px;
|
||||
color: #6f4a37;
|
||||
background: #fbf7ed;
|
||||
transition: transform .22s ease, color .22s ease, background .22s ease;
|
||||
}
|
||||
|
||||
.article-side a:hover {
|
||||
color: #fff;
|
||||
background: var(--green);
|
||||
transform: translateX(5px);
|
||||
}
|
||||
|
||||
.tilt-card {
|
||||
transform: perspective(900px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)) translateY(var(--lift, 0));
|
||||
transition: transform .18s ease, box-shadow .24s ease, border-color .24s ease;
|
||||
}
|
||||
|
||||
.tilt-card:hover { --lift: -6px; }
|
||||
|
||||
@media (max-width: 980px) {
|
||||
.article-layout { grid-template-columns: 1fr; }
|
||||
.article-side { position: static; }
|
||||
}
|
||||
|
||||
@media (max-width: 720px) {
|
||||
.hero-copy { padding-left: 0; }
|
||||
.hero-copy:before { display: none; }
|
||||
.article-content { padding: 28px; }
|
||||
}
|
||||
Reference in New Issue
Block a user