家谱现有接口调试50%
This commit is contained in:
@@ -0,0 +1,229 @@
|
||||
.surname-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));
|
||||
}
|
||||
|
||||
.surname-stats {
|
||||
display: flex;
|
||||
gap: 12px;
|
||||
margin-top: 28px;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.surname-stats span {
|
||||
padding: 11px 14px;
|
||||
border: 1px solid rgba(224, 211, 189, .78);
|
||||
border-radius: 999px;
|
||||
color: #6d766f;
|
||||
background: rgba(255, 253, 248, .74);
|
||||
box-shadow: 0 14px 32px rgba(72, 57, 38, .06);
|
||||
}
|
||||
|
||||
.surname-stats b {
|
||||
margin-right: 6px;
|
||||
color: var(--green);
|
||||
}
|
||||
|
||||
.surname-search-card {
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
display: grid;
|
||||
gap: 18px;
|
||||
align-content: center;
|
||||
}
|
||||
|
||||
.search-ornament {
|
||||
position: absolute;
|
||||
right: -72px;
|
||||
top: -84px;
|
||||
width: 220px;
|
||||
height: 220px;
|
||||
border-radius: 50%;
|
||||
background: radial-gradient(circle, rgba(200, 59, 50, .13), transparent 62%);
|
||||
animation: surnamePulse 4s ease-in-out infinite;
|
||||
}
|
||||
|
||||
.surname-search-card h3,
|
||||
.search-toolbar,
|
||||
.hot-query {
|
||||
position: relative;
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
.search-toolbar {
|
||||
padding: 8px;
|
||||
border: 1px solid rgba(224, 211, 189, .78);
|
||||
border-radius: 999px;
|
||||
background: rgba(255, 250, 241, .82);
|
||||
}
|
||||
|
||||
.search-toolbar .input {
|
||||
flex: 1 1 280px;
|
||||
border: 0;
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
.hot-query {
|
||||
display: flex;
|
||||
gap: 10px;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.hot-query span {
|
||||
width: 38px;
|
||||
height: 38px;
|
||||
border-radius: 12px;
|
||||
display: grid;
|
||||
place-items: center;
|
||||
color: #7c4a33;
|
||||
background: #fbf7ed;
|
||||
border: 1px solid var(--line);
|
||||
font-family: "SimSun", "Songti SC", serif;
|
||||
font-weight: 800;
|
||||
transition: transform .22s ease, color .22s ease, background .22s ease;
|
||||
}
|
||||
|
||||
.hot-query span:hover {
|
||||
color: #fff;
|
||||
background: var(--red);
|
||||
transform: translateY(-4px);
|
||||
}
|
||||
|
||||
.surname-list-section {
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.surname-list-section:before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
top: 58px;
|
||||
width: 520px;
|
||||
height: 180px;
|
||||
border-radius: 50%;
|
||||
background: radial-gradient(circle, rgba(196, 146, 69, .09), transparent 68%);
|
||||
transform: translateX(-50%);
|
||||
}
|
||||
|
||||
.surname-grid {
|
||||
position: relative;
|
||||
display: grid;
|
||||
grid-template-columns: repeat(8, 1fr);
|
||||
gap: 12px;
|
||||
padding: 24px;
|
||||
border: 1px solid rgba(224, 211, 189, .8);
|
||||
border-radius: 24px;
|
||||
background: rgba(255, 253, 248, .72);
|
||||
box-shadow: 0 22px 60px rgba(57, 48, 36, .08);
|
||||
}
|
||||
|
||||
.surname-grid a {
|
||||
height: 64px;
|
||||
border-radius: 14px;
|
||||
display: grid;
|
||||
place-items: center;
|
||||
color: #7c4a33;
|
||||
background: #fbf7ed;
|
||||
border: 1px solid var(--line);
|
||||
font-family: "SimSun", "Songti SC", serif;
|
||||
font-size: 24px;
|
||||
font-weight: 800;
|
||||
transition: transform .24s ease, color .24s ease, background .24s ease, border-color .24s ease, box-shadow .24s ease;
|
||||
will-change: transform;
|
||||
}
|
||||
|
||||
.surname-grid a:hover {
|
||||
color: #fff;
|
||||
background: var(--red);
|
||||
border-color: rgba(200, 59, 50, .72);
|
||||
box-shadow: 0 16px 34px rgba(200, 59, 50, .18);
|
||||
transform: translateY(-6px) scale(1.03);
|
||||
}
|
||||
|
||||
.surname-grid:hover a {
|
||||
animation: surnameFloat 1.9s ease-in-out infinite;
|
||||
}
|
||||
|
||||
.surname-grid:hover a:nth-child(2n) {
|
||||
animation-delay: .08s;
|
||||
}
|
||||
|
||||
.surname-grid:hover a:nth-child(3n) {
|
||||
animation-delay: .14s;
|
||||
}
|
||||
|
||||
.surname-grid:hover a:nth-child(4n) {
|
||||
animation-delay: .2s;
|
||||
}
|
||||
|
||||
.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;
|
||||
}
|
||||
|
||||
@keyframes surnameFloat {
|
||||
|
||||
0%,
|
||||
100% {
|
||||
transform: translateY(0);
|
||||
}
|
||||
|
||||
50% {
|
||||
transform: translateY(-4px);
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes surnamePulse {
|
||||
|
||||
0%,
|
||||
100% {
|
||||
opacity: .5;
|
||||
transform: scale(.92);
|
||||
}
|
||||
|
||||
50% {
|
||||
opacity: 1;
|
||||
transform: scale(1.08);
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 720px) {
|
||||
.hero-copy {
|
||||
padding-left: 0;
|
||||
}
|
||||
|
||||
.hero-copy:before {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.search-toolbar {
|
||||
border-radius: 18px;
|
||||
}
|
||||
|
||||
.surname-grid {
|
||||
grid-template-columns: repeat(4, 1fr);
|
||||
padding: 14px;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user