@@ -0,0 +1,428 @@
|
||||
/* 官方导航页:H5 默认(375 / 343 内容栏),PC 加宽居中 */
|
||||
|
||||
.nav-page-body {
|
||||
margin: 0;
|
||||
min-height: 100vh;
|
||||
min-height: 100dvh;
|
||||
background: #0b0b0d;
|
||||
color: #f2f2f4;
|
||||
font-family: "PingFang SC", "Helvetica Neue", Arial, sans-serif;
|
||||
-webkit-text-size-adjust: 100%;
|
||||
text-size-adjust: 100%;
|
||||
}
|
||||
|
||||
.nav-page {
|
||||
position: relative;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
overflow: hidden;
|
||||
box-sizing: border-box;
|
||||
width: 100%;
|
||||
min-height: 100vh;
|
||||
min-height: 100dvh;
|
||||
padding: 64px 16px 40px;
|
||||
}
|
||||
|
||||
.nav-page__bg {
|
||||
position: absolute;
|
||||
inset: -40px;
|
||||
z-index: 0;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.nav-page__bg-img {
|
||||
display: block;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
filter: blur(5px);
|
||||
transform: scale(1.02);
|
||||
}
|
||||
|
||||
.nav-page__bg-mask {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
background:
|
||||
linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.4) 70%),
|
||||
rgba(0, 0, 0, 0.6);
|
||||
}
|
||||
|
||||
.nav-page__inner {
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
width: min(100%, 343px);
|
||||
}
|
||||
|
||||
.nav-page__sr-title {
|
||||
position: absolute;
|
||||
width: 1px;
|
||||
height: 1px;
|
||||
padding: 0;
|
||||
margin: -1px;
|
||||
overflow: hidden;
|
||||
clip: rect(0, 0, 0, 0);
|
||||
white-space: nowrap;
|
||||
border: 0;
|
||||
}
|
||||
|
||||
/* Brand */
|
||||
.nav-brand {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
gap: 12px;
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.nav-brand__lockup {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
color: inherit;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.nav-brand__logo {
|
||||
display: block;
|
||||
width: 220px;
|
||||
height: auto;
|
||||
}
|
||||
|
||||
.nav-brand__tagline {
|
||||
margin: 0;
|
||||
color: #a1a1aa;
|
||||
font-size: 14px;
|
||||
font-weight: 400;
|
||||
line-height: 22px;
|
||||
}
|
||||
|
||||
.nav-brand__highlight {
|
||||
margin: 0;
|
||||
color: #ff4a7b;
|
||||
font-size: 18px;
|
||||
font-weight: 600;
|
||||
line-height: 26px;
|
||||
}
|
||||
|
||||
/* Entries */
|
||||
.nav-entries {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 12px;
|
||||
width: 100%;
|
||||
margin-top: 26px;
|
||||
}
|
||||
|
||||
.nav-entry {
|
||||
position: relative;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 12px;
|
||||
box-sizing: border-box;
|
||||
width: 100%;
|
||||
min-height: 72px;
|
||||
padding: 14px 14px 14px 18px;
|
||||
overflow: hidden;
|
||||
border-radius: 12px;
|
||||
border: 1px solid rgba(255, 255, 255, 0.07);
|
||||
background: rgba(255, 255, 255, 0.07);
|
||||
backdrop-filter: blur(10px);
|
||||
-webkit-backdrop-filter: blur(10px);
|
||||
color: inherit;
|
||||
text-decoration: none;
|
||||
-webkit-tap-highlight-color: transparent;
|
||||
}
|
||||
|
||||
.nav-entry__glow {
|
||||
position: absolute;
|
||||
top: -36px;
|
||||
left: 226px;
|
||||
width: 189px;
|
||||
height: 144px;
|
||||
border-radius: 9999px;
|
||||
background: #ec237f;
|
||||
opacity: 0.28;
|
||||
filter: blur(20px);
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.nav-entry__copy {
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
display: flex;
|
||||
flex: 1 1 auto;
|
||||
flex-direction: column;
|
||||
align-items: flex-start;
|
||||
gap: 3px;
|
||||
min-width: 0;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.nav-entry__name {
|
||||
color: #f2f2f4;
|
||||
font-size: 16px;
|
||||
font-weight: 600;
|
||||
line-height: 22px;
|
||||
}
|
||||
|
||||
.nav-entry__url {
|
||||
color: #ff4a7b;
|
||||
font-size: 15px;
|
||||
font-weight: 400;
|
||||
line-height: 24px;
|
||||
word-break: break-all;
|
||||
}
|
||||
|
||||
.nav-entry__cta {
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
display: inline-flex;
|
||||
flex-shrink: 0;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 4px;
|
||||
height: 36px;
|
||||
padding: 0 12px;
|
||||
border-radius: 999px;
|
||||
border: 1px solid #ff4a7b;
|
||||
color: #ff4a7b;
|
||||
font-size: 12px;
|
||||
font-weight: 500;
|
||||
line-height: 16px;
|
||||
}
|
||||
|
||||
.nav-entry__cta-icon {
|
||||
display: block;
|
||||
width: 14px;
|
||||
height: 14px;
|
||||
filter: brightness(0) saturate(100%) invert(42%) sepia(84%) saturate(2146%) hue-rotate(314deg) brightness(101%) contrast(101%);
|
||||
}
|
||||
|
||||
.nav-entry--forever {
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
gap: 3px;
|
||||
padding: 14px 16px;
|
||||
border-color: rgba(236, 35, 127, 0.3);
|
||||
background: rgba(236, 35, 127, 0.1);
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.nav-entry--forever .nav-entry__name,
|
||||
.nav-entry--forever .nav-entry__url {
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
/* APP banner */
|
||||
.nav-app {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 8px;
|
||||
box-sizing: border-box;
|
||||
width: 100%;
|
||||
height: 50px;
|
||||
margin-top: 20px;
|
||||
padding: 0 22px;
|
||||
border-radius: 12px;
|
||||
border: none;
|
||||
background: linear-gradient(135deg, #ff4a7b 0%, #ec237f 52%, #93226f 100%);
|
||||
color: #f2f2f4;
|
||||
text-decoration: none;
|
||||
-webkit-tap-highlight-color: transparent;
|
||||
}
|
||||
|
||||
.nav-app__icon {
|
||||
display: block;
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
flex-shrink: 0;
|
||||
filter: brightness(0) invert(95%);
|
||||
}
|
||||
|
||||
.nav-app__text {
|
||||
font-size: 16px;
|
||||
font-weight: 600;
|
||||
line-height: 22px;
|
||||
}
|
||||
|
||||
/* Contact + icons */
|
||||
.nav-contact {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
justify-content: center;
|
||||
width: 100%;
|
||||
padding: 20px 0 18px;
|
||||
color: #ff4a7b;
|
||||
font-size: 13px;
|
||||
font-weight: 400;
|
||||
line-height: 20px;
|
||||
text-decoration: none;
|
||||
word-break: break-all;
|
||||
-webkit-tap-highlight-color: transparent;
|
||||
}
|
||||
|
||||
.nav-icons {
|
||||
display: flex;
|
||||
flex-wrap: nowrap;
|
||||
justify-content: space-between;
|
||||
align-items: flex-start;
|
||||
gap: 0;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.nav-icon {
|
||||
display: inline-flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
gap: 7px;
|
||||
flex: 1 1 0;
|
||||
min-width: 0;
|
||||
color: inherit;
|
||||
text-decoration: none;
|
||||
-webkit-tap-highlight-color: transparent;
|
||||
}
|
||||
|
||||
.nav-icon__badge {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
box-sizing: border-box;
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
border-radius: 999px;
|
||||
border: 1px solid rgba(255, 255, 255, 0.07);
|
||||
background: rgba(255, 255, 255, 0.12);
|
||||
}
|
||||
|
||||
.nav-icon__badge img {
|
||||
display: block;
|
||||
width: 18px;
|
||||
height: 18px;
|
||||
object-fit: contain;
|
||||
filter: brightness(0) invert(95%);
|
||||
}
|
||||
|
||||
.nav-icon__badge img[src*="brand-telegram"] {
|
||||
width: 20px;
|
||||
height: 16px;
|
||||
}
|
||||
|
||||
.nav-icon__label {
|
||||
color: #a1a1aa;
|
||||
font-size: 12px;
|
||||
font-weight: 400;
|
||||
line-height: 18px;
|
||||
text-align: center;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
/* Footer */
|
||||
.nav-footer {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
gap: 4px;
|
||||
width: 100%;
|
||||
margin-top: 26px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.nav-footer__note,
|
||||
.nav-footer__copy {
|
||||
margin: 0;
|
||||
color: #7c7c86;
|
||||
font-size: 12px;
|
||||
font-weight: 400;
|
||||
line-height: 18px;
|
||||
}
|
||||
|
||||
.nav-footer__copy {
|
||||
margin-top: 10px;
|
||||
}
|
||||
|
||||
/* PC:400 内容栏 + 更大品牌与间距 */
|
||||
@media (min-width: 768px) {
|
||||
.nav-page {
|
||||
padding: 132px 24px 72px;
|
||||
}
|
||||
|
||||
.nav-page__bg-img {
|
||||
filter: blur(11px);
|
||||
}
|
||||
|
||||
.nav-page__inner {
|
||||
width: min(100%, 400px);
|
||||
}
|
||||
|
||||
.nav-brand {
|
||||
gap: 14px;
|
||||
}
|
||||
|
||||
.nav-brand__logo {
|
||||
width: 250px;
|
||||
}
|
||||
|
||||
.nav-brand__tagline {
|
||||
font-size: 15px;
|
||||
line-height: 24px;
|
||||
}
|
||||
|
||||
.nav-brand__highlight {
|
||||
font-size: 20px;
|
||||
line-height: 28px;
|
||||
}
|
||||
|
||||
.nav-entries {
|
||||
margin-top: 30px;
|
||||
}
|
||||
|
||||
.nav-entry {
|
||||
min-height: 76px;
|
||||
}
|
||||
|
||||
.nav-entry__glow {
|
||||
top: -38px;
|
||||
left: auto;
|
||||
right: -36px;
|
||||
width: 220px;
|
||||
height: 152px;
|
||||
}
|
||||
|
||||
.nav-app {
|
||||
height: 50px;
|
||||
margin-top: 24px;
|
||||
}
|
||||
|
||||
.nav-contact {
|
||||
padding: 22px 0;
|
||||
}
|
||||
|
||||
.nav-icons {
|
||||
flex-wrap: wrap;
|
||||
justify-content: center;
|
||||
gap: 22px;
|
||||
}
|
||||
|
||||
.nav-icon {
|
||||
width: auto;
|
||||
flex: 0 0 auto;
|
||||
}
|
||||
|
||||
.nav-icon__badge {
|
||||
width: 42px;
|
||||
height: 42px;
|
||||
}
|
||||
|
||||
.nav-footer {
|
||||
margin-top: 30px;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user