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.
292 lines
5.9 KiB
292 lines
5.9 KiB
.main-announce {
|
|
background: var(--color-white);
|
|
}
|
|
|
|
.a-page {
|
|
padding-top: calc(var(--header-h) + 2.75rem + 2.5rem);
|
|
padding-bottom: 6.25rem;
|
|
}
|
|
|
|
.a-head {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 1rem;
|
|
padding-bottom: 2.5rem;
|
|
border-bottom: 1px solid rgb(223, 224, 226);
|
|
}
|
|
.a-head__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);
|
|
}
|
|
.a-head__desc {
|
|
margin: 0;
|
|
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-24);
|
|
}
|
|
|
|
.a-toolbar {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 1.5rem;
|
|
margin-top: 2.75rem;
|
|
margin-bottom: 2.75rem;
|
|
}
|
|
|
|
.a-filter__group {
|
|
position: relative;
|
|
}
|
|
|
|
.a-filter {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 0.5rem;
|
|
min-height: 3rem;
|
|
padding: 0.75rem 2rem;
|
|
border: 1px solid rgb(223, 224, 226);
|
|
border-radius: 6.25rem;
|
|
background: transparent;
|
|
color: var(--color-text);
|
|
font-family: "MiSans VF", "PingFang SC", sans-serif;
|
|
font-size: var(--font-18);
|
|
font-weight: 400;
|
|
line-height: var(--font-24);
|
|
cursor: pointer;
|
|
transition: border-color 0.25s ease, color 0.25s ease;
|
|
}
|
|
.a-filter:hover, .a-filter.is-open, .a-filter.is-selected {
|
|
border-color: var(--color-primary);
|
|
color: var(--color-primary);
|
|
}
|
|
.a-filter.is-open .a-filter__chevron {
|
|
transform: rotate(180deg);
|
|
}
|
|
|
|
.a-filter__chevron {
|
|
display: block;
|
|
width: 0.6875rem;
|
|
height: auto;
|
|
transition: transform var(--duration-fast) var(--easing);
|
|
}
|
|
|
|
.a-filter__dropdown {
|
|
position: absolute;
|
|
top: calc(100% + 0.5rem);
|
|
left: 0;
|
|
z-index: 30;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.5rem;
|
|
min-width: 12.5rem;
|
|
padding: 1rem;
|
|
border-radius: 1rem;
|
|
background: var(--color-white);
|
|
box-shadow: 0 0.5rem 1.5rem rgba(46, 53, 58, 0.14);
|
|
}
|
|
.a-filter__dropdown[hidden] {
|
|
display: none;
|
|
}
|
|
|
|
.a-filter__dropdown-item {
|
|
display: block;
|
|
width: 100%;
|
|
padding: 0.625rem 1.25rem;
|
|
border: 0;
|
|
border-radius: 6.25rem;
|
|
background: transparent;
|
|
color: var(--color-text);
|
|
font-family: "MiSans VF", "PingFang SC", sans-serif;
|
|
font-size: var(--font-16);
|
|
font-weight: 400;
|
|
line-height: var(--font-22);
|
|
text-align: left;
|
|
cursor: pointer;
|
|
transition: background 0.25s ease, color 0.25s ease;
|
|
}
|
|
.a-filter__dropdown-item:hover {
|
|
background: rgba(175, 181, 185, 0.12);
|
|
}
|
|
.a-filter__dropdown-item.is-active {
|
|
background: var(--color-primary);
|
|
color: var(--color-white);
|
|
}
|
|
|
|
.a-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(4, minmax(0, 1fr));
|
|
gap: 2.5rem;
|
|
margin-bottom: 3.5rem;
|
|
}
|
|
|
|
.a-card {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 1.5rem;
|
|
min-height: 15rem;
|
|
padding: 2rem;
|
|
border: 1px solid rgb(223, 224, 226);
|
|
border-radius: 1.5rem;
|
|
background: var(--color-white);
|
|
text-decoration: none;
|
|
transition: border-color 0.25s ease, box-shadow 0.25s ease;
|
|
}
|
|
.a-card:hover {
|
|
cursor: pointer;
|
|
box-shadow: 0 0.75rem 2rem rgba(46, 53, 58, 0.06);
|
|
}
|
|
.a-card:hover .a-card__title {
|
|
color: var(--color-primary);
|
|
}
|
|
.a-card:hover .a-card__link {
|
|
color: var(--color-primary);
|
|
}
|
|
.a-card__date {
|
|
color: var(--color-text-muted);
|
|
font-family: "D-DIN-PRO", "MiSans VF", "PingFang SC", sans-serif;
|
|
font-size: var(--font-18);
|
|
font-weight: 400;
|
|
line-height: var(--font-24);
|
|
}
|
|
.a-card__title {
|
|
/* 3行 */
|
|
display: -webkit-box;
|
|
-webkit-line-clamp: 3;
|
|
-webkit-box-orient: vertical;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
margin: 0;
|
|
flex: 1;
|
|
color: var(--color-text);
|
|
font-family: "MiSans VF", "PingFang SC", sans-serif;
|
|
font-size: var(--font-24);
|
|
font-weight: 400;
|
|
line-height: var(--font-34);
|
|
transition: color var(--duration-fast) var(--easing);
|
|
}
|
|
.a-card__link {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 0.625rem;
|
|
margin-top: auto;
|
|
color: var(--color-text-muted);
|
|
font-family: "MiSans VF", "PingFang SC", sans-serif;
|
|
font-size: var(--font-16);
|
|
font-weight: 400;
|
|
line-height: var(--font-22);
|
|
text-decoration: none;
|
|
transition: color var(--duration-fast) var(--easing);
|
|
}
|
|
.a-card__link svg {
|
|
width: 1rem;
|
|
height: auto;
|
|
transition: filter var(--duration-fast) var(--easing);
|
|
}
|
|
.a-card__link path {
|
|
fill: currentColor;
|
|
}
|
|
|
|
@media (max-width: 1439px) {
|
|
.a-page {
|
|
padding-top: calc(var(--header-h) + 40Px);
|
|
padding-bottom: 72Px;
|
|
}
|
|
.a-head {
|
|
gap: 12Px;
|
|
padding-bottom: 28Px;
|
|
}
|
|
.a-head__title {
|
|
font-size: 36Px;
|
|
line-height: 48Px;
|
|
}
|
|
.a-head__desc {
|
|
font-size: 16Px;
|
|
}
|
|
.a-toolbar {
|
|
flex-wrap: wrap;
|
|
gap: 16Px;
|
|
margin-top: 32Px;
|
|
margin-bottom: 32Px;
|
|
}
|
|
.a-filter {
|
|
min-height: 44Px;
|
|
padding: 10Px 24Px;
|
|
font-size: 16Px;
|
|
}
|
|
.a-grid {
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
gap: 16Px;
|
|
}
|
|
.a-card {
|
|
min-height: 200Px;
|
|
gap: 20Px;
|
|
padding: 24Px;
|
|
}
|
|
.a-card__title {
|
|
font-size: 20Px;
|
|
line-height: 30Px;
|
|
}
|
|
}
|
|
@media (max-width: 992px) {
|
|
.a-toolbar {
|
|
flex-direction: column;
|
|
align-items: stretch;
|
|
}
|
|
.a-filter {
|
|
width: fit-content;
|
|
}
|
|
}
|
|
@media (max-width: 576px) {
|
|
.a-page {
|
|
padding-top: calc(var(--header-h) + 24Px);
|
|
padding-bottom: 48Px;
|
|
}
|
|
.a-head {
|
|
gap: 10Px;
|
|
padding-bottom: 20Px;
|
|
}
|
|
.a-head__title {
|
|
font-size: 28Px;
|
|
line-height: 38Px;
|
|
}
|
|
.a-head__desc {
|
|
font-size: 14Px;
|
|
line-height: 22Px;
|
|
}
|
|
.a-toolbar {
|
|
margin-top: 24Px;
|
|
margin-bottom: 24Px;
|
|
}
|
|
.a-filter {
|
|
min-height: 40Px;
|
|
padding: 8Px 16Px;
|
|
font-size: 14Px;
|
|
}
|
|
.a-grid {
|
|
grid-template-columns: 1fr;
|
|
gap: 12Px;
|
|
}
|
|
.a-card {
|
|
min-height: 0;
|
|
gap: 16Px;
|
|
padding: 20Px;
|
|
border-radius: 16Px;
|
|
}
|
|
.a-card__date {
|
|
font-size: 14Px;
|
|
}
|
|
.a-card__title {
|
|
font-size: 18Px;
|
|
line-height: 26Px;
|
|
}
|
|
.a-card__link {
|
|
font-size: 14Px;
|
|
}
|
|
}
|