模板:MUCWikiHome/styles.css
来自MUC Wiki
更多操作
.mucwiki-home {
color: #172033;
font-size: 1rem;
}
.mucwiki-home a {
color: #075fc7;
text-decoration: underline;
}
.mucwiki-home a:hover,
.mucwiki-home a:focus {
color: #064b9c;
text-decoration: underline;
}
.mucwiki-home p {
margin: 0;
}
.mucwiki-home-masthead {
display: grid;
grid-template-columns: minmax(0, 1.05fr) minmax(17rem, .52fr);
gap: .9rem;
align-items: stretch;
padding: .95rem;
border: 1px solid #dbe4ef;
border-radius: 12px;
background: #fff;
box-shadow: 0 1px 2px rgba(37, 55, 82, .045);
}
.mucwiki-home-copy {
display: grid;
align-content: center;
gap: .58rem;
min-height: 9.6rem;
padding: .25rem .2rem .25rem .25rem;
line-height: 1.7;
}
.mucwiki-home-kicker {
display: inline-block;
width: max-content;
max-width: 100%;
padding: .22rem .58rem;
border: 1px solid #bfd0e6;
border-radius: 999px;
background: #f2f7ff;
color: #315f9e;
font-size: .84rem;
font-weight: 800;
}
.mucwiki-home-title {
color: #0f172a;
font-size: 2.05rem;
font-weight: 800;
line-height: 1.1;
}
.mucwiki-home-lede {
max-width: 42rem;
color: #253044;
font-size: 1.02rem;
font-weight: 700;
}
.mucwiki-home-side {
display: grid;
grid-template-rows: minmax(0, 1fr) auto;
gap: .62rem;
min-width: 0;
}
.mucwiki-home-media {
display: grid;
place-items: center;
min-height: 8.3rem;
overflow: hidden;
border: 1px solid #edf1f6;
border-radius: 10px;
background: #fff;
}
.mucwiki-home-media .mw-file-element,
.mucwiki-home-media img {
display: block;
width: 100%;
max-width: 286px;
height: auto;
border-radius: 8px;
}
.mucwiki-home-stats-grid {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: .52rem;
}
.mucwiki-home-stat {
min-width: 0;
padding: .58rem .64rem;
border: 1px solid #dbe4ef;
border-radius: 10px;
background: #fff;
color: #536070;
line-height: 1.28;
}
.mucwiki-home-stat strong,
.mucwiki-home-stat span {
display: block;
}
.mucwiki-home-stat strong {
color: #075fc7;
font-size: 1.08rem;
font-weight: 800;
}
.mucwiki-home-stat span {
margin-top: .18rem;
font-size: .85rem;
}
.mucwiki-home-topline,
.mucwiki-home-note {
border: 1px solid #dbe4ef;
border-radius: 10px;
background: #fff;
color: #536070;
line-height: 1.68;
}
.mucwiki-home-topline {
margin-top: .82rem;
padding: .66rem .82rem;
}
.mucwiki-home-note {
display: grid;
grid-template-columns: minmax(0, 1fr) minmax(17rem, .54fr);
gap: .72rem;
margin-top: .82rem;
padding: .82rem .95rem;
}
.mucwiki-home-section {
margin-top: 1rem;
}
.mucwiki-home-section h2 {
display: flex;
align-items: center;
gap: .52rem;
margin: 0 0 .66rem;
color: #0f172a;
font-size: 1.17rem;
font-weight: 800;
letter-spacing: 0;
}
.mucwiki-home-section h2::before {
content: "";
display: inline-block;
width: .36rem;
height: 1rem;
border-radius: 999px;
background: #315f9e;
}
.mucwiki-home-grid {
display: grid;
gap: .68rem;
}
.mucwiki-home-grid--primary {
grid-template-columns: repeat(3, minmax(0, 1fr));
}
.mucwiki-home-card,
.mucwiki-home-panel,
.mucwiki-home-help__grid > div {
border: 1px solid #dbe4ef;
border-radius: 10px;
background: #fff;
box-shadow: 0 1px 2px rgba(37, 55, 82, .035);
}
.mucwiki-home-card {
position: relative;
min-height: 5.35rem;
padding: .82rem .95rem;
}
.mucwiki-home-card:hover,
.mucwiki-home-card:focus {
border-color: #a9bfdc;
box-shadow: 0 4px 14px rgba(37, 55, 82, .065);
}
.mucwiki-home-card strong,
.mucwiki-home-card span {
display: block;
}
.mucwiki-home-card strong {
padding-right: 1.2rem;
font-size: 1rem;
}
.mucwiki-home-card::after {
content: "›";
position: absolute;
top: .82rem;
right: .95rem;
color: #8aa2c2;
font-size: 1.28rem;
line-height: 1;
}
.mucwiki-home-card span {
margin-top: .32rem;
color: #536070;
line-height: 1.55;
}
.mucwiki-home-columns {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: .82rem;
}
.mucwiki-home-panel {
padding: .92rem 1rem;
}
.mucwiki-home-panel ul {
display: grid;
gap: .36rem;
margin: .2rem 0 0;
padding-left: 1.1rem;
line-height: 1.75;
}
.mucwiki-home-panel--building {
background: #fffdf7;
border-color: #ead7a0;
}
.mucwiki-home-link-cloud {
display: flex;
flex-wrap: wrap;
gap: .5rem;
}
.mucwiki-home-link-cloud span {
display: inline-flex;
align-items: center;
min-height: 2.16rem;
padding: .34rem .66rem;
border: 1px solid #dbe4ef;
border-radius: 8px;
background: #fff;
color: #344054;
line-height: 1.35;
box-shadow: 0 1px 2px rgba(37, 55, 82, .025);
}
.mucwiki-home-help__grid {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: .76rem;
}
.mucwiki-home-help__grid > div {
padding: .88rem;
}
.mucwiki-home-help h3 {
margin: 0 0 .42rem;
color: #172033;
font-size: 1rem;
font-weight: 800;
}
.mucwiki-home-help p {
color: #536070;
line-height: 1.66;
}
.skin-tweeki.page-首页 .firstHeading,
.skin-tweeki.page-首页 #firstHeading,
.skin-tweeki.page-首页 h1.firstHeading {
display: none;
}
.skin-tweeki.page-首页 #siteSub,
.skin-tweeki.page-首页 #contentSub,
.skin-tweeki.page-首页 #jump-to-nav,
.skin-tweeki.page-首页 .printfooter,
.skin-tweeki.page-首页 .sidebar-right,
.skin-tweeki.page-首页 .tweeki-toc,
.skin-tweeki.page-首页 .mw-parser-output > p:first-child {
display: none;
}
@media (max-width: 980px) {
.mucwiki-home-masthead,
.mucwiki-home-note,
.mucwiki-home-columns,
.mucwiki-home-help__grid {
grid-template-columns: 1fr;
}
.mucwiki-home-grid--primary {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
}
@media (max-width: 560px) {
.mucwiki-home-masthead {
padding: .86rem;
border-radius: 12px;
}
.mucwiki-home-copy {
min-height: auto;
gap: .48rem;
}
.mucwiki-home-copy p:nth-of-type(4) {
display: none;
}
.mucwiki-home-title {
font-size: 1.58rem;
}
.mucwiki-home-lede {
font-size: .97rem;
}
.mucwiki-home-side {
gap: .52rem;
}
.mucwiki-home-media {
display: none;
}
.mucwiki-home-stats-grid {
gap: .42rem;
}
.mucwiki-home-stat {
padding: .52rem .48rem;
}
.mucwiki-home-stat strong {
font-size: .97rem;
}
.mucwiki-home-stat span {
font-size: .78rem;
}
.mucwiki-home-topline,
.mucwiki-home-note {
padding: .74rem;
}
.mucwiki-home-grid--primary {
grid-template-columns: 1fr;
}
.mucwiki-home-card {
min-height: 5rem;
}
.mucwiki-home-link-cloud span {
width: 100%;
}
}
.mucwiki-home-card a,
.mucwiki-home-link-cloud a,
.mucwiki-home-stat a {
text-decoration: none;
}
.mucwiki-home-card a:hover,
.mucwiki-home-card a:focus,
.mucwiki-home-link-cloud a:hover,
.mucwiki-home-link-cloud a:focus,
.mucwiki-home-stat a:hover,
.mucwiki-home-stat a:focus {
text-decoration: underline;
}