AurLemonCN(讨论 | 贡献) 小无编辑摘要 |
AurLemonCN(讨论 | 贡献) 小无编辑摘要 |
||
| 第129行: | 第129行: | ||
font-size: 0.875rem; | font-size: 0.875rem; | ||
overflow: hidden; | overflow: hidden; | ||
} | } | ||
| 第142行: | 第139行: | ||
display: flex; | display: flex; | ||
flex-direction: column; | flex-direction: column; | ||
justify-content: space-between; | justify-content: space-between; | ||
gap: 10px; | gap: 10px; | ||
| 第190行: | 第152行: | ||
margin-top: auto; | margin-top: auto; | ||
margin-bottom: 0; | margin-bottom: 0; | ||
display: flex; | |||
flex-direction: column; | |||
justify-content: space-between; | |||
} | } | ||
| 第216行: | 第181行: | ||
padding: 0 var(--space-md); | padding: 0 var(--space-md); | ||
pointer-events: none; | pointer-events: none; | ||
} | |||
.nav-card-backimg { | |||
position: absolute; | |||
right: 10px; | |||
bottom: 10px; | |||
pointer-events: none; | |||
} | |||
#top-page .nav-card__title { | |||
margin-left: 20px; | |||
font-size: 20px; | |||
letter-spacing: 0.4rem; | |||
font-weight: bold; | |||
} | |||
#top-page .nav-card__title a { | |||
color: #1c7593; | |||
} | |||
#top-page p { | |||
margin: 0; | |||
} | |||
#top-page #top-page__hot { | |||
letter-spacing: 0.1rem; | |||
} | |||
#top-page #top-page__link { | |||
text-align: right; | |||
margin-top: 10px; | |||
} | |||
#top-page #top-page__content img { | |||
float: left; | |||
margin-right: var(--space-lg); | |||
} | } | ||
#top-page__desc { | #top-page__desc { | ||
clear: both; | clear: both; | ||
} | |||
#tran-page { | |||
display: flex; | |||
justify-content: space-between; | |||
gap: 10px; | |||
} | } | ||
| 第227行: | 第234行: | ||
grid-gap: 0.625rem; | grid-gap: 0.625rem; | ||
} | } | ||
/* PC & Pad */ | /* PC & Pad */ | ||
| 第253行: | 第259行: | ||
/* Phone */ | /* Phone */ | ||
@media (max-width: | @media (max-width: 720px) { | ||
.mp-nav { | .mp-nav { | ||
margin: 6rem 0; | margin: 6rem 0; | ||
2023年9月29日 (五) 01:06的版本
.home-card {
position: relative;
padding: var(--space-md);
background: var(--color-surface-1);
border: 1px solid var(--border-color-base);
border-radius: 8px;
box-shadow: 0 3px 6px rgba(0,0,0,0.04),0 3px 6px rgba(0,0,0,0.0575);
font-size: 0.875rem;
overflow: hidden;
}
.home-card__top {
background: var(--color-surface-2);
padding: 0;
margin: 0;
}
.mp-header {
border-radius: 20px;
margin: 0 6rem;
}
.mp-header-title__subtitle {
color: var(--color-base--subtle);
font-size: 0.875rem;
text-transform: uppercase;
letter-spacing: 0.05em;
margin-bottom: var(--space-xs);
}
.mp-header-title__slogan {
background: linear-gradient(45deg, #148a86, #f0ab10 45%);
text-align: left;
font-size: 3rem;
font-weight: bold;
margin-bottom: -6px;
}
.mp-header-title__desc {
text-align: left;
font-weight: bold;
font-size: 18px;
letter-spacing: 1px;
color: var(--color-base--emphasized);
}
.mp-header-footer {
display: flex;
gap: 10rem;
justify-content: space-between;
margin-top: 3rem;
align-items: center;
}
.mp-header-editcounts {
display: flex;
gap: 20px;
}
.mp-header-editcounts-div {
text-align: left;
display: flex;
flex-direction: column;
justify-content: space-between;
}
.mp-header-editcounts-div__desc {
color: var(--color-base--subtle);
letter-spacing: 0.05em;
white-space: nowrap;
font-size: 12px;
}
.mp-header-editcounts__counts {
color: var(--color-base--emphasized);
font-weight: 500;
font-size: 28px;
white-space: nowrap;
}
.mp-header-editcounts__counts a {
color: var(--color-base--emphasized);
}
.mp-header-server {
display: flex;
background: var(--color-surface-2--active);
padding: 10px;
border-radius: 20px;
}
.mp-header-server #header-server-sxg img {
width: 30px;
border-radius: 50%;
}
.mp-header .adaptive-img img {
opacity: var( --opacity-icon-base );
transition: opacity 250ms ease;
filter: grayscale(100%);
}
.mp-header .adaptive-img img:hover {
opacity: var( --opacity-icon-base--hover );
}
.mp-header .adaptive-img img:active {
opacity: var( --opacity-icon-base--active );
}
.mp-header-server__link + .mp-header-server__link {
margin-left: 10px;
}
.mp-nav {
margin: 6rem 0;
display: grid;
grid-template-columns: 1fr 1fr 1fr;
grid-gap: 0.625rem;
}
.nav-card {
position: relative;
padding: var(--space-md);
background: var(--color-surface-1);
border: 1px solid var(--border-color-base);
border-radius: 10px;
box-shadow: 0 4px 8px rgba(100, 100, 111, 0.1);
font-size: 0.875rem;
overflow: hidden;
}
.nav-card__noshadow {
position: relative;
padding: var(--space-md);
border-radius: 10px;
font-size: 0.875rem;
overflow: hidden;
display: flex;
flex-direction: column;
justify-content: space-between;
gap: 10px;
}
.nav-card-button {
height: 3rem;
display: flex;
justify-content: center;
overflow: hidden;
padding: 0;
width: calc(100% / 3);
margin-top: auto;
margin-bottom: 0;
display: flex;
flex-direction: column;
justify-content: space-between;
}
.nav-card__background {
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
background: #242a31;
border-radius: 15px;
}
.nav-card__background img {
width: 100%;
height: 100%;
object-fit: cover;
object-position: center;
}
.nav-card__foreground {
color: #fff;
font-weight: bold;
z-index: 0;
font-size: 16px;
padding: 0 var(--space-md);
pointer-events: none;
}
.nav-card-backimg {
position: absolute;
right: 10px;
bottom: 10px;
pointer-events: none;
}
#top-page .nav-card__title {
margin-left: 20px;
font-size: 20px;
letter-spacing: 0.4rem;
font-weight: bold;
}
#top-page .nav-card__title a {
color: #1c7593;
}
#top-page p {
margin: 0;
}
#top-page #top-page__hot {
letter-spacing: 0.1rem;
}
#top-page #top-page__link {
text-align: right;
margin-top: 10px;
}
#top-page #top-page__content img {
float: left;
margin-right: var(--space-lg);
}
#top-page__desc {
clear: both;
}
#tran-page {
display: flex;
justify-content: space-between;
gap: 10px;
}
.mp-container {
display: grid;
grid-template-columns: repeat(3, auto);
grid-gap: 0.625rem;
}
/* PC & Pad */
@media (min-width: 720px) {
.mp-nav #top-page {
grid-column: 1 / span 2;
grid-row: 1 / span 3;
}
.mp-nav #announcement {
grid-column: 3;
grid-row: 1 / span 2;
}
.mp-nav #tran-page {
grid-column: 1 / span 2;
grid-row: 4;
}
.mp-nav #tips {
grid-column: 3;
grid-row: 3 / span 2;
}
}
/* Phone */
@media (max-width: 720px) {
.mp-nav {
margin: 6rem 0;
display: grid;
grid-template-columns: 1fr;
grid-gap: 0.625rem;
}
}