You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
323 lines
6.3 KiB
323 lines
6.3 KiB
@charset "UTF-8";
|
|
.main-news-detail {
|
|
background: var(--color-white);
|
|
}
|
|
|
|
.nd-page {
|
|
padding-top: calc(var(--header-h) + 2.75rem + 5rem);
|
|
padding-bottom: 6.25rem;
|
|
}
|
|
|
|
.nd-breadcrumb {
|
|
display: flex;
|
|
align-items: center;
|
|
flex-wrap: wrap;
|
|
gap: 0.75rem;
|
|
margin-bottom: 2.5rem;
|
|
font-family: "MiSans VF", "PingFang SC", sans-serif;
|
|
font-size: var(--font-16);
|
|
line-height: var(--font-22);
|
|
}
|
|
.nd-breadcrumb__link {
|
|
color: var(--color-text-link);
|
|
transition: color var(--duration-fast) var(--easing);
|
|
}
|
|
.nd-breadcrumb__link:hover {
|
|
color: var(--color-primary);
|
|
}
|
|
.nd-breadcrumb__sep {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
color: rgb(175, 181, 185);
|
|
}
|
|
.nd-breadcrumb__sep svg {
|
|
display: block;
|
|
width: 0.4375rem;
|
|
height: auto;
|
|
}
|
|
.nd-breadcrumb__current {
|
|
color: var(--color-text);
|
|
font-weight: 500;
|
|
}
|
|
|
|
.nd-layout {
|
|
width: 100%;
|
|
/* 设计稿左右边距 480;窄于 1920 时按内容宽 960 居中收缩 */
|
|
padding: 0 max(var(--p-x), min(30rem, (100vw - 60rem) / 2));
|
|
}
|
|
|
|
.nd-back {
|
|
position: fixed;
|
|
top: 30%;
|
|
left: max(var(--p-x), min(30rem, (100vw - 60rem) / 2) - 16.5rem);
|
|
z-index: 20;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 0.625rem;
|
|
width: 3rem;
|
|
transform: translateY(-50%);
|
|
text-decoration: none;
|
|
color: var(--color-text-muted);
|
|
transition: color 0.25s ease, opacity 0.3s ease, visibility 0.3s ease;
|
|
}
|
|
.nd-back.is-hidden {
|
|
opacity: 0;
|
|
visibility: hidden;
|
|
pointer-events: none;
|
|
}
|
|
.nd-back:hover {
|
|
color: var(--color-primary);
|
|
}
|
|
.nd-back__icon {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 3rem;
|
|
height: 3rem;
|
|
border-radius: 1rem;
|
|
background: var(--color-primary);
|
|
}
|
|
.nd-back__icon img {
|
|
display: block;
|
|
width: 0.875rem;
|
|
height: auto;
|
|
transform: scaleX(-1);
|
|
filter: brightness(0) invert(1);
|
|
}
|
|
.nd-back__text {
|
|
font-family: "MiSans VF", "PingFang SC", sans-serif;
|
|
font-size: var(--font-18);
|
|
font-weight: 400;
|
|
line-height: var(--font-18);
|
|
}
|
|
|
|
@media (min-width: 1440px) {
|
|
.nd-layout {
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 960Px);
|
|
justify-content: center;
|
|
}
|
|
.nd-article {
|
|
width: 100%;
|
|
margin: 0;
|
|
}
|
|
}
|
|
.nd-article {
|
|
width: min(60rem, 100%);
|
|
margin: 0 auto;
|
|
}
|
|
.nd-article__header {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 1.5rem;
|
|
padding-bottom: 2.5rem;
|
|
border-bottom: 1px solid rgb(223, 224, 226);
|
|
}
|
|
.nd-article__title {
|
|
margin: 0;
|
|
color: var(--color-text);
|
|
font-family: "MiSans VF", "PingFang SC", sans-serif;
|
|
font-size: var(--font-48);
|
|
font-weight: 400;
|
|
line-height: var(--font-64);
|
|
}
|
|
.nd-article__date {
|
|
color: var(--color-text-muted);
|
|
font-family: "D-DIN-PRO", "PingFang SC", sans-serif;
|
|
font-size: var(--font-18);
|
|
font-weight: 400;
|
|
line-height: var(--font-18);
|
|
}
|
|
|
|
.nd-richtext {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 2rem;
|
|
padding: 2.5rem 0 3rem;
|
|
color: var(--color-text-muted);
|
|
font-family: "MiSans VF", "PingFang SC", sans-serif;
|
|
font-size: var(--font-18);
|
|
font-weight: 400;
|
|
line-height: var(--font-32);
|
|
}
|
|
.nd-richtext > * {
|
|
width: 100%;
|
|
margin: 0;
|
|
}
|
|
.nd-richtext h2,
|
|
.nd-richtext h3 {
|
|
color: var(--color-text);
|
|
font-size: var(--font-20);
|
|
font-weight: 400;
|
|
line-height: var(--font-32);
|
|
}
|
|
.nd-richtext p {
|
|
text-align: left;
|
|
}
|
|
.nd-richtext ul {
|
|
margin: 0;
|
|
}
|
|
.nd-richtext li + li {
|
|
margin-top: 0.75rem;
|
|
}
|
|
.nd-richtext a {
|
|
color: var(--color-primary);
|
|
text-decoration: underline;
|
|
}
|
|
.nd-richtext__figure {
|
|
display: flex;
|
|
justify-content: center;
|
|
margin: 0;
|
|
}
|
|
.nd-richtext__figure img {
|
|
display: block;
|
|
width: min(31.25rem, 100%);
|
|
height: auto;
|
|
border-radius: 0.5rem;
|
|
}
|
|
|
|
.nd-pager {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 1rem;
|
|
padding-top: 3rem;
|
|
border-top: 1px solid rgb(223, 224, 226);
|
|
}
|
|
.nd-pager__item {
|
|
position: relative;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
height: 3.5rem;
|
|
overflow: hidden;
|
|
border-radius: 1rem;
|
|
text-decoration: none;
|
|
color: var(--color-text-muted);
|
|
border: 1px solid rgb(223, 224, 226);
|
|
background: var(--color-white);
|
|
font-family: "MiSans VF", "PingFang SC", sans-serif;
|
|
font-size: var(--font-16);
|
|
font-weight: 400;
|
|
line-height: var(--font-32);
|
|
transition: color 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
|
|
}
|
|
.nd-pager__item::before {
|
|
content: "";
|
|
position: absolute;
|
|
inset: 0;
|
|
background: url("../images/btn-bg-BBiuFyqy.png") center/cover no-repeat;
|
|
opacity: 0;
|
|
transition: opacity var(--duration-fast) var(--easing);
|
|
pointer-events: none;
|
|
}
|
|
.nd-pager__item:hover {
|
|
color: var(--color-white);
|
|
border-color: var(--color-primary);
|
|
background-color: var(--color-primary);
|
|
}
|
|
.nd-pager__item:hover::before {
|
|
opacity: 1;
|
|
}
|
|
.nd-pager__label {
|
|
position: relative;
|
|
z-index: 1;
|
|
}
|
|
|
|
@media (max-width: 1439px) {
|
|
.nd-layout {
|
|
padding: 0 var(--p-x);
|
|
}
|
|
.nd-back {
|
|
left: var(--p-x);
|
|
}
|
|
.nd-page {
|
|
padding-top: calc(var(--header-h) + 40Px);
|
|
padding-bottom: 72Px;
|
|
}
|
|
.nd-breadcrumb {
|
|
margin-bottom: 32Px;
|
|
}
|
|
.nd-article__title {
|
|
font-size: 36Px;
|
|
line-height: 48Px;
|
|
}
|
|
.nd-article__header {
|
|
gap: 16Px;
|
|
padding-bottom: 28Px;
|
|
}
|
|
.nd-richtext {
|
|
gap: 24Px;
|
|
padding: 28Px 0 40Px;
|
|
font-size: 16Px;
|
|
line-height: 28Px;
|
|
}
|
|
.nd-richtext h2,
|
|
.nd-richtext h3 {
|
|
font-size: 18Px;
|
|
line-height: 28Px;
|
|
}
|
|
}
|
|
@media (max-width: 576px) {
|
|
.nd-layout {
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
.nd-page {
|
|
padding-top: calc(var(--header-h) + 24Px);
|
|
padding-bottom: 48Px;
|
|
}
|
|
.nd-breadcrumb {
|
|
gap: 8Px;
|
|
margin-bottom: 20Px;
|
|
font-size: 14Px;
|
|
line-height: 20Px;
|
|
}
|
|
.nd-breadcrumb__sep svg {
|
|
width: 6Px;
|
|
}
|
|
.nd-back__icon {
|
|
width: 40Px;
|
|
height: 40Px;
|
|
}
|
|
.nd-article {
|
|
order: 1;
|
|
}
|
|
.nd-article__title {
|
|
font-size: 24Px;
|
|
line-height: 34Px;
|
|
}
|
|
.nd-article__date {
|
|
font-size: 14Px;
|
|
}
|
|
.nd-richtext {
|
|
gap: 20Px;
|
|
padding: 24Px 0 32Px;
|
|
font-size: 15Px;
|
|
line-height: 26Px;
|
|
}
|
|
.nd-richtext h2,
|
|
.nd-richtext h3 {
|
|
font-size: 17Px;
|
|
line-height: 26Px;
|
|
}
|
|
.nd-pager {
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 12Px;
|
|
padding-top: 32Px;
|
|
}
|
|
.nd-pager__item {
|
|
height: 40Px;
|
|
}
|
|
.nd-back {
|
|
order: 2;
|
|
position: relative;
|
|
top: auto;
|
|
left: auto;
|
|
transform: none;
|
|
width: 100%;
|
|
margin-top: 24Px;
|
|
justify-content: center;
|
|
}
|
|
}
|