模板:MUCWikiHome/styles.css:修订间差异
来自MUC Wiki
更多操作
Maintenance(留言 | 贡献) Improve MUCWiki mobile homepage entry visibility |
Maintenance script(留言 | 贡献) 优化首页样式密度和导航状态 |
||
| 第1行: | 第1行: | ||
.mucwiki-home { | .mucwiki-home { | ||
display: grid; | display: grid; | ||
gap: | gap: .82rem; | ||
color: #202122; | color: #202122; | ||
font-size: 1rem; | font-size: 1rem; | ||
| 第28行: | 第28行: | ||
.mucwiki-home-masthead { | .mucwiki-home-masthead { | ||
display: grid; | display: grid; | ||
grid-template-columns: minmax(0, | grid-template-columns: minmax(0, 1fr) minmax(13.5rem, .38fr); | ||
gap: | gap: .78rem; | ||
align-items: stretch; | align-items: stretch; | ||
padding: . | padding: .68rem; | ||
border: 1px solid # | border: 1px solid #d9ded8; | ||
border-radius: 8px; | border-radius: 8px; | ||
background: | background: | ||
linear-gradient(135deg, rgba(255, | linear-gradient(135deg, rgba(255, 244, 242, .66), rgba(255, 255, 255, .9) 42%), | ||
#fff; | #fff; | ||
box-shadow: 0 | box-shadow: 0 4px 14px rgba(42, 48, 41, .035); | ||
} | } | ||
| 第43行: | 第43行: | ||
display: grid; | display: grid; | ||
align-content: center; | align-content: center; | ||
gap: . | gap: .52rem; | ||
min-height: | min-height: 0; | ||
padding: | padding: .78rem .92rem; | ||
border-left: 3px solid #b42318; | border-left: 3px solid #b42318; | ||
border-radius: 8px; | border-radius: 8px; | ||
background: rgba(255, 255, 255, . | background: rgba(255, 255, 255, .68); | ||
line-height: 1. | line-height: 1.58; | ||
} | } | ||
| 第56行: | 第56行: | ||
width: max-content; | width: max-content; | ||
max-width: 100%; | max-width: 100%; | ||
min-height: 1. | min-height: 1.5rem; | ||
align-items: center; | align-items: center; | ||
padding: . | padding: .2rem .58rem; | ||
border: 1px solid # | border: 1px solid #efcbc7; | ||
border-radius: 999px; | border-radius: 999px; | ||
background: # | background: #fff4f2; | ||
color: #7f1d1d; | color: #7f1d1d; | ||
font-size: . | font-size: .78rem; | ||
font-weight: 700; | font-weight: 700; | ||
line-height: 1.2; | line-height: 1.2; | ||
| 第70行: | 第70行: | ||
.mucwiki-home-kicker::before { | .mucwiki-home-kicker::before { | ||
content: ""; | content: ""; | ||
width: . | width: .38rem; | ||
height: . | height: .38rem; | ||
margin-right: . | margin-right: .34rem; | ||
border-radius: 999px; | border-radius: 999px; | ||
background: #b42318; | background: #b42318; | ||
| 第79行: | 第79行: | ||
.mucwiki-home-title { | .mucwiki-home-title { | ||
color: #141b22; | color: #141b22; | ||
font-size: | font-size: 1.72rem; | ||
font-weight: 700; | font-weight: 700; | ||
line-height: 1. | line-height: 1.12; | ||
} | } | ||
| 第87行: | 第87行: | ||
max-width: 42rem; | max-width: 42rem; | ||
color: #263044; | color: #263044; | ||
font-size: | font-size: .96rem; | ||
font-weight: 600; | font-weight: 600; | ||
line-height: 1.5; | |||
} | } | ||
.mucwiki-home-side { | .mucwiki-home-side { | ||
display: grid; | display: grid; | ||
grid-template-rows: minmax(0, | grid-template-rows: minmax(0, auto) auto; | ||
gap: . | gap: .5rem; | ||
min-width: 0; | min-width: 0; | ||
} | } | ||
| 第102行: | 第103行: | ||
align-items: center; | align-items: center; | ||
justify-items: center; | justify-items: center; | ||
min-height: | min-height: 0; | ||
max-height: 7.4rem; | |||
overflow: hidden; | overflow: hidden; | ||
padding: .42rem; | |||
border: 1px solid #e1e6e0; | border: 1px solid #e1e6e0; | ||
border-radius: 8px; | border-radius: 8px; | ||
background: # | background: #f6f7f5; | ||
} | } | ||
| 第112行: | 第115行: | ||
.mucwiki-home-media img { | .mucwiki-home-media img { | ||
display: block; | display: block; | ||
width: 100%; | width: auto; | ||
max- | max-width: 100%; | ||
max-height: 6.55rem; | |||
height: auto; | height: auto; | ||
border-radius: | border-radius: 6px; | ||
object-fit: contain; | |||
} | } | ||
| 第121行: | 第126行: | ||
display: grid; | display: grid; | ||
grid-template-columns: repeat(3, minmax(0, 1fr)); | grid-template-columns: repeat(3, minmax(0, 1fr)); | ||
gap: | gap: 0; | ||
overflow: hidden; | |||
border: 1px solid #dfe5de; | |||
border-radius: 8px; | |||
background: #fbfcfb; | |||
} | } | ||
.mucwiki-home-stat { | .mucwiki-home-stat { | ||
min-width: 0; | min-width: 0; | ||
padding: . | padding: .46rem .46rem .42rem; | ||
border: 1px solid # | border: 0; | ||
border-radius: | border-left: 1px solid #e5e9e4; | ||
background: | border-radius: 0; | ||
background: transparent; | |||
box-shadow: none; | |||
color: #54595d; | color: #54595d; | ||
line-height: 1. | line-height: 1.22; | ||
text-align: center; | text-align: center; | ||
} | |||
.mucwiki-home-stat:first-child { | |||
border-left: 0; | |||
} | } | ||
| 第143行: | 第158行: | ||
.mucwiki-home-stat strong a { | .mucwiki-home-stat strong a { | ||
color: #17446e; | color: #17446e; | ||
font-size: | font-size: 1rem; | ||
font-weight: 700; | font-weight: 700; | ||
} | } | ||
.mucwiki-home-stat span { | .mucwiki-home-stat span { | ||
margin-top: . | margin-top: .12rem; | ||
font-size: . | font-size: .76rem; | ||
font-weight: 700; | font-weight: 700; | ||
} | } | ||
.mucwiki-home-section { | .mucwiki-home-section { | ||
margin-top: | margin-top: 0; | ||
} | } | ||
| 第160行: | 第175行: | ||
display: flex; | display: flex; | ||
align-items: center; | align-items: center; | ||
gap: . | gap: .46rem; | ||
margin: 0 0 . | margin: 0 0 .58rem; | ||
padding-bottom: . | padding-bottom: .38rem; | ||
border-bottom: 1px solid #e5e9e4; | border-bottom: 1px solid #e5e9e4; | ||
color: #141b22; | color: #141b22; | ||
font-size: 1. | font-size: 1.08rem; | ||
font-weight: 800; | font-weight: 800; | ||
letter-spacing: 0; | letter-spacing: 0; | ||
| 第173行: | 第188行: | ||
content: ""; | content: ""; | ||
display: inline-block; | display: inline-block; | ||
width: . | width: .3rem; | ||
height: | height: 1rem; | ||
border-radius: 999px; | border-radius: 999px; | ||
background: #b42318; | background: #b42318; | ||
| 第181行: | 第196行: | ||
.mucwiki-home-grid { | .mucwiki-home-grid { | ||
display: grid; | display: grid; | ||
gap: . | gap: .58rem; | ||
} | } | ||
| 第189行: | 第204行: | ||
.mucwiki-home-section--entries { | .mucwiki-home-section--entries { | ||
padding: . | padding: .04rem 0 0; | ||
border: 0; | border: 0; | ||
border-radius: 0; | border-radius: 0; | ||
| 第203行: | 第218行: | ||
border-radius: 8px; | border-radius: 8px; | ||
background: rgba(255, 255, 255, .96); | background: rgba(255, 255, 255, .96); | ||
box-shadow: 0 1px 2px rgba(42, 48, 41, . | box-shadow: 0 1px 2px rgba(42, 48, 41, .024); | ||
} | } | ||
.mucwiki-home-card { | .mucwiki-home-card { | ||
position: relative; | position: relative; | ||
min-height: | min-height: 4.35rem; | ||
padding: . | padding: .66rem 1.72rem .66rem .78rem; | ||
overflow: hidden; | overflow: hidden; | ||
transition: border-color .16s ease, background .16s ease, box-shadow .16s ease, transform .16s ease; | transition: border-color .16s ease, background .16s ease, box-shadow .16s ease, transform .16s ease; | ||
| 第218行: | 第233行: | ||
position: absolute; | position: absolute; | ||
inset: 0 auto 0 0; | inset: 0 auto 0 0; | ||
width: . | width: .2rem; | ||
background: #24735d; | background: #24735d; | ||
opacity: . | opacity: .86; | ||
} | } | ||
| 第226行: | 第241行: | ||
content: "›"; | content: "›"; | ||
position: absolute; | position: absolute; | ||
top: . | top: .74rem; | ||
right: . | right: .82rem; | ||
color: # | color: #7f9283; | ||
font-size: 1. | font-size: 1.24rem; | ||
line-height: 1; | line-height: 1; | ||
transition: color .16s ease, transform .16s ease; | |||
} | } | ||
.mucwiki-home-card:hover { | .mucwiki-home-card:hover { | ||
border-color: # | border-color: #adc3b2; | ||
background: #fbfdfb; | background: #fbfdfb; | ||
box-shadow: 0 | box-shadow: 0 7px 18px rgba(42, 48, 41, .05); | ||
transform: translateY(-1px); | transform: translateY(-1px); | ||
} | |||
.mucwiki-home-card:hover::after { | |||
color: #24735d; | |||
transform: translateX(1px); | |||
} | } | ||
| 第246行: | 第267行: | ||
.mucwiki-home-card strong { | .mucwiki-home-card strong { | ||
padding-left: . | padding-left: .25rem; | ||
color: #141b22; | color: #141b22; | ||
font-size: | font-size: .98rem; | ||
font-weight: 700; | font-weight: 700; | ||
line-height: 1.28; | |||
} | |||
.mucwiki-home-card strong a { | |||
color: inherit; | |||
} | |||
.mucwiki-home-card strong a:focus { | |||
outline: 2px solid #7fa58b; | |||
outline-offset: 2px; | |||
border-radius: 4px; | |||
text-decoration: none; | |||
} | } | ||
.mucwiki-home-card span { | .mucwiki-home-card span { | ||
margin-top: . | margin-top: .24rem; | ||
padding-left: . | padding-left: .25rem; | ||
color: #5b6670; | color: #5b6670; | ||
line-height: 1. | font-size: .94rem; | ||
line-height: 1.48; | |||
} | } | ||
| 第263行: | 第297行: | ||
margin-top: 0; | margin-top: 0; | ||
color: #54595d; | color: #54595d; | ||
line-height: 1. | line-height: 1.58; | ||
} | } | ||
.mucwiki-home-topline { | .mucwiki-home-topline { | ||
padding: . | padding: .64rem .82rem; | ||
background: #fbfcfb; | background: #fbfcfb; | ||
} | } | ||
| 第273行: | 第307行: | ||
.mucwiki-home-note { | .mucwiki-home-note { | ||
display: grid; | display: grid; | ||
grid-template-columns: minmax(0, 1fr) minmax( | grid-template-columns: minmax(0, 1fr) minmax(15rem, .5fr); | ||
gap: . | gap: .68rem; | ||
padding: . | padding: .76rem .86rem; | ||
background: #fbfcfb; | background: #fbfcfb; | ||
} | } | ||
| 第282行: | 第316行: | ||
display: grid; | display: grid; | ||
grid-template-columns: repeat(2, minmax(0, 1fr)); | grid-template-columns: repeat(2, minmax(0, 1fr)); | ||
gap: | gap: .82rem; | ||
} | } | ||
.mucwiki-home-panel { | .mucwiki-home-panel { | ||
position: relative; | position: relative; | ||
min-height: | min-height: 10.8rem; | ||
overflow: hidden; | overflow: hidden; | ||
padding: | padding: .86rem .98rem; | ||
} | } | ||
| 第302行: | 第336行: | ||
.mucwiki-home-panel ul { | .mucwiki-home-panel ul { | ||
display: grid; | display: grid; | ||
gap: . | gap: .26rem; | ||
margin: . | margin: .12rem 0 0; | ||
padding-left: 1. | padding-left: 1.05rem; | ||
line-height: 1. | line-height: 1.62; | ||
} | } | ||
.mucwiki-home-panel--building { | .mucwiki-home-panel--building { | ||
border-color: #ead8a8; | border-color: #ead8a8; | ||
background: # | background: #fff9ee; | ||
} | } | ||
| 第320行: | 第354行: | ||
display: flex; | display: flex; | ||
flex-wrap: wrap; | flex-wrap: wrap; | ||
gap: . | gap: .42rem; | ||
} | } | ||
| 第326行: | 第360行: | ||
display: flex; | display: flex; | ||
flex-wrap: wrap; | flex-wrap: wrap; | ||
gap: . | gap: .42rem; | ||
margin: 0; | margin: 0; | ||
} | } | ||
| 第333行: | 第367行: | ||
display: inline-flex; | display: inline-flex; | ||
align-items: center; | align-items: center; | ||
min-height: | min-height: 1.9rem; | ||
padding: . | padding: .28rem .58rem; | ||
border: 1px solid #dfe5de; | border: 1px solid #dfe5de; | ||
border-radius: 999px; | border-radius: 999px; | ||
background: rgba(255, 255, 255, .96); | background: rgba(255, 255, 255, .96); | ||
color: #344054; | color: #344054; | ||
font-size: . | font-size: .92rem; | ||
line-height: 1. | line-height: 1.28; | ||
transition: border-color .16s ease, background .16s ease, transform .16s ease; | transition: border-color .16s ease, background .16s ease, box-shadow .16s ease, transform .16s ease; | ||
} | } | ||
.mucwiki-home-link-cloud span:hover { | .mucwiki-home-link-cloud span:hover { | ||
border-color: #b8c8b8; | border-color: #b8c8b8; | ||
background: # | background: #f2faf6; | ||
box-shadow: 0 4px 12px rgba(42, 48, 41, .035); | |||
transform: translateY(-1px); | transform: translateY(-1px); | ||
} | |||
.mucwiki-home-link-cloud a:focus { | |||
outline: 2px solid #7fa58b; | |||
outline-offset: 2px; | |||
border-radius: 4px; | |||
} | } | ||
| 第353行: | 第394行: | ||
display: grid; | display: grid; | ||
grid-template-columns: repeat(3, minmax(0, 1fr)); | grid-template-columns: repeat(3, minmax(0, 1fr)); | ||
gap: . | gap: .64rem; | ||
} | } | ||
.mucwiki-home-help__grid > div { | .mucwiki-home-help__grid > div { | ||
position: relative; | position: relative; | ||
padding: . | padding: .78rem .86rem; | ||
background: #fbfcfb; | background: #fbfcfb; | ||
} | } | ||
| 第365行: | 第406行: | ||
content: ""; | content: ""; | ||
display: block; | display: block; | ||
width: | width: 1.72rem; | ||
height: .18rem; | height: .18rem; | ||
margin-bottom: . | margin-bottom: .58rem; | ||
border-radius: 999px; | border-radius: 999px; | ||
background: #b42318; | background: #b42318; | ||
| 第373行: | 第414行: | ||
.mucwiki-home-help h3 { | .mucwiki-home-help h3 { | ||
margin: 0 0 . | margin: 0 0 .34rem; | ||
color: #141b22; | color: #141b22; | ||
font-size: | font-size: .98rem; | ||
font-weight: 700; | font-weight: 700; | ||
} | } | ||
| 第381行: | 第422行: | ||
.mucwiki-home-help p { | .mucwiki-home-help p { | ||
color: #54595d; | color: #54595d; | ||
line-height: 1. | line-height: 1.58; | ||
} | } | ||
| 第390行: | 第431行: | ||
} | } | ||
@media (max-width: | @media (max-width: 760px) { | ||
.mucwiki-home-masthead, | .mucwiki-home-masthead, | ||
.mucwiki-home-note, | .mucwiki-home-note, | ||
| 第405行: | 第446行: | ||
@media (max-width: 560px) { | @media (max-width: 560px) { | ||
.mucwiki-home { | .mucwiki-home { | ||
gap: . | gap: .52rem; | ||
font-size: .9rem; | font-size: .9rem; | ||
} | } | ||
.mucwiki-home-masthead { | .mucwiki-home-masthead { | ||
gap: . | gap: .46rem; | ||
padding: . | padding: .46rem; | ||
} | } | ||
.mucwiki-home-copy { | .mucwiki-home-copy { | ||
gap: .34rem; | |||
gap: . | padding: .46rem .22rem .46rem .52rem; | ||
padding: . | |||
border-left-width: 2px; | border-left-width: 2px; | ||
line-height: 1. | line-height: 1.48; | ||
} | } | ||
.mucwiki-home-copy > p:not(.mucwiki-home-kicker):not(.mucwiki-home-title):not(.mucwiki-home-lede) { | .mucwiki-home-copy > p:not(.mucwiki-home-kicker):not(.mucwiki-home-title):not(.mucwiki-home-lede) { | ||
color: #46515d; | color: #46515d; | ||
font-size: . | font-size: .84rem; | ||
line-height: 1.42; | |||
} | } | ||
.mucwiki-home-kicker { | .mucwiki-home-kicker { | ||
min-height: 1. | min-height: 1.34rem; | ||
padding: . | padding: .14rem .46rem; | ||
font-size: . | font-size: .74rem; | ||
} | } | ||
.mucwiki-home-kicker::before { | .mucwiki-home-kicker::before { | ||
width: . | width: .34rem; | ||
height: . | height: .34rem; | ||
margin-right: . | margin-right: .28rem; | ||
} | } | ||
.mucwiki-home-title { | .mucwiki-home-title { | ||
font-size: 1. | font-size: 1.18rem; | ||
line-height: 1.14; | line-height: 1.14; | ||
} | } | ||
.mucwiki-home-lede { | .mucwiki-home-lede { | ||
font-size: . | font-size: .82rem; | ||
line-height: 1. | line-height: 1.42; | ||
} | |||
.mucwiki-home-side { | |||
grid-template-columns: 4.8rem minmax(0, 1fr); | |||
grid-template-rows: auto; | |||
gap: .42rem; | |||
align-items: stretch; | |||
} | } | ||
.mucwiki-home-media { | .mucwiki-home-media { | ||
min-height: 4.15rem; | |||
max-height: 4.15rem; | |||
padding: .28rem; | |||
} | } | ||
| 第458行: | 第506行: | ||
.mucwiki-home-media img { | .mucwiki-home-media img { | ||
max-width: 100%; | max-width: 100%; | ||
max-height: | max-height: 3.55rem; | ||
object-fit: | object-fit: contain; | ||
} | } | ||
.mucwiki-home-stats-grid { | .mucwiki-home-stats-grid { | ||
align-self: stretch; | |||
} | } | ||
.mucwiki-home-stat { | .mucwiki-home-stat { | ||
padding: . | display: grid; | ||
align-content: center; | |||
padding: .24rem .18rem; | |||
} | } | ||
.mucwiki-home-stat strong { | .mucwiki-home-stat strong, | ||
font-size: . | .mucwiki-home-stat strong a { | ||
font-size: .78rem; | |||
} | } | ||
.mucwiki-home-stat span { | .mucwiki-home-stat span { | ||
font-size: . | margin-top: .08rem; | ||
font-size: .64rem; | |||
line-height: 1.15; | |||
} | } | ||
.mucwiki-home-section { | .mucwiki-home-section h2 { | ||
margin- | margin-bottom: .4rem; | ||
padding-bottom: .3rem; | |||
font-size: .96rem; | |||
} | } | ||
.mucwiki-home- | .mucwiki-home-grid { | ||
gap: .46rem; | |||
} | } | ||
| 第493行: | 第546行: | ||
.mucwiki-home-section--entries { | .mucwiki-home-section--entries { | ||
padding: . | padding: .04rem 0 0; | ||
} | } | ||
.mucwiki-home-card { | .mucwiki-home-card { | ||
min-height: 3. | min-height: 3.35rem; | ||
padding: . | padding: .48rem 1.42rem .48rem .62rem; | ||
} | |||
.mucwiki-home-card::after { | |||
top: .54rem; | |||
right: .72rem; | |||
} | } | ||
.mucwiki-home-card strong { | .mucwiki-home-card strong { | ||
font-size: . | font-size: .88rem; | ||
} | } | ||
.mucwiki-home-card span { | .mucwiki-home-card span { | ||
margin-top: . | margin-top: .16rem; | ||
font-size: . | font-size: .82rem; | ||
line-height: 1. | line-height: 1.38; | ||
} | } | ||
| 第516行: | 第573行: | ||
.mucwiki-home-panel, | .mucwiki-home-panel, | ||
.mucwiki-home-help__grid > div { | .mucwiki-home-help__grid > div { | ||
padding: .66rem | padding: .6rem .66rem; | ||
} | } | ||
.mucwiki-home-note { | .mucwiki-home-note { | ||
gap: . | gap: .44rem; | ||
} | |||
.mucwiki-home-panel { | |||
min-height: 0; | |||
} | |||
.mucwiki-home-panel ul { | |||
gap: .2rem; | |||
line-height: 1.52; | |||
} | } | ||
.mucwiki-home-link-cloud, | .mucwiki-home-link-cloud, | ||
.mucwiki-home-link-cloud p { | .mucwiki-home-link-cloud p { | ||
gap: . | gap: .34rem; | ||
} | } | ||
.mucwiki-home-link-cloud span { | .mucwiki-home-link-cloud span { | ||
min-height: 1.72rem; | |||
padding: .24rem .48rem; | |||
border-radius: 8px; | border-radius: 8px; | ||
font-size: . | font-size: .86rem; | ||
} | } | ||
} | } | ||
2026年6月13日 (六) 20:21的版本
.mucwiki-home {
display: grid;
gap: .82rem;
color: #202122;
font-size: 1rem;
}
.mucwiki-home,
.mucwiki-home * {
box-sizing: border-box;
}
.mucwiki-home a {
color: #215c8f;
text-decoration: none;
}
.mucwiki-home a:hover,
.mucwiki-home a:focus {
color: #17446e;
text-decoration: underline;
}
.mucwiki-home p {
margin: 0;
}
.mucwiki-home-masthead {
display: grid;
grid-template-columns: minmax(0, 1fr) minmax(13.5rem, .38fr);
gap: .78rem;
align-items: stretch;
padding: .68rem;
border: 1px solid #d9ded8;
border-radius: 8px;
background:
linear-gradient(135deg, rgba(255, 244, 242, .66), rgba(255, 255, 255, .9) 42%),
#fff;
box-shadow: 0 4px 14px rgba(42, 48, 41, .035);
}
.mucwiki-home-copy {
display: grid;
align-content: center;
gap: .52rem;
min-height: 0;
padding: .78rem .92rem;
border-left: 3px solid #b42318;
border-radius: 8px;
background: rgba(255, 255, 255, .68);
line-height: 1.58;
}
.mucwiki-home-kicker {
display: inline-flex;
width: max-content;
max-width: 100%;
min-height: 1.5rem;
align-items: center;
padding: .2rem .58rem;
border: 1px solid #efcbc7;
border-radius: 999px;
background: #fff4f2;
color: #7f1d1d;
font-size: .78rem;
font-weight: 700;
line-height: 1.2;
}
.mucwiki-home-kicker::before {
content: "";
width: .38rem;
height: .38rem;
margin-right: .34rem;
border-radius: 999px;
background: #b42318;
}
.mucwiki-home-title {
color: #141b22;
font-size: 1.72rem;
font-weight: 700;
line-height: 1.12;
}
.mucwiki-home-lede {
max-width: 42rem;
color: #263044;
font-size: .96rem;
font-weight: 600;
line-height: 1.5;
}
.mucwiki-home-side {
display: grid;
grid-template-rows: minmax(0, auto) auto;
gap: .5rem;
min-width: 0;
}
.mucwiki-home-media {
display: grid;
align-items: center;
justify-items: center;
min-height: 0;
max-height: 7.4rem;
overflow: hidden;
padding: .42rem;
border: 1px solid #e1e6e0;
border-radius: 8px;
background: #f6f7f5;
}
.mucwiki-home-media .mw-file-element,
.mucwiki-home-media img {
display: block;
width: auto;
max-width: 100%;
max-height: 6.55rem;
height: auto;
border-radius: 6px;
object-fit: contain;
}
.mucwiki-home-stats-grid {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 0;
overflow: hidden;
border: 1px solid #dfe5de;
border-radius: 8px;
background: #fbfcfb;
}
.mucwiki-home-stat {
min-width: 0;
padding: .46rem .46rem .42rem;
border: 0;
border-left: 1px solid #e5e9e4;
border-radius: 0;
background: transparent;
box-shadow: none;
color: #54595d;
line-height: 1.22;
text-align: center;
}
.mucwiki-home-stat:first-child {
border-left: 0;
}
.mucwiki-home-stat strong,
.mucwiki-home-stat span {
display: block;
}
.mucwiki-home-stat strong,
.mucwiki-home-stat strong a {
color: #17446e;
font-size: 1rem;
font-weight: 700;
}
.mucwiki-home-stat span {
margin-top: .12rem;
font-size: .76rem;
font-weight: 700;
}
.mucwiki-home-section {
margin-top: 0;
}
.mucwiki-home-section h2 {
display: flex;
align-items: center;
gap: .46rem;
margin: 0 0 .58rem;
padding-bottom: .38rem;
border-bottom: 1px solid #e5e9e4;
color: #141b22;
font-size: 1.08rem;
font-weight: 800;
letter-spacing: 0;
}
.mucwiki-home-section h2::before {
content: "";
display: inline-block;
width: .3rem;
height: 1rem;
border-radius: 999px;
background: #b42318;
}
.mucwiki-home-grid {
display: grid;
gap: .58rem;
}
.mucwiki-home-grid--primary {
grid-template-columns: repeat(3, minmax(0, 1fr));
}
.mucwiki-home-section--entries {
padding: .04rem 0 0;
border: 0;
border-radius: 0;
background: transparent;
}
.mucwiki-home-card,
.mucwiki-home-panel,
.mucwiki-home-help__grid > div,
.mucwiki-home-topline,
.mucwiki-home-note {
border: 1px solid #dfe5de;
border-radius: 8px;
background: rgba(255, 255, 255, .96);
box-shadow: 0 1px 2px rgba(42, 48, 41, .024);
}
.mucwiki-home-card {
position: relative;
min-height: 4.35rem;
padding: .66rem 1.72rem .66rem .78rem;
overflow: hidden;
transition: border-color .16s ease, background .16s ease, box-shadow .16s ease, transform .16s ease;
}
.mucwiki-home-card::before {
content: "";
position: absolute;
inset: 0 auto 0 0;
width: .2rem;
background: #24735d;
opacity: .86;
}
.mucwiki-home-card::after {
content: "›";
position: absolute;
top: .74rem;
right: .82rem;
color: #7f9283;
font-size: 1.24rem;
line-height: 1;
transition: color .16s ease, transform .16s ease;
}
.mucwiki-home-card:hover {
border-color: #adc3b2;
background: #fbfdfb;
box-shadow: 0 7px 18px rgba(42, 48, 41, .05);
transform: translateY(-1px);
}
.mucwiki-home-card:hover::after {
color: #24735d;
transform: translateX(1px);
}
.mucwiki-home-card strong,
.mucwiki-home-card span {
display: block;
}
.mucwiki-home-card strong {
padding-left: .25rem;
color: #141b22;
font-size: .98rem;
font-weight: 700;
line-height: 1.28;
}
.mucwiki-home-card strong a {
color: inherit;
}
.mucwiki-home-card strong a:focus {
outline: 2px solid #7fa58b;
outline-offset: 2px;
border-radius: 4px;
text-decoration: none;
}
.mucwiki-home-card span {
margin-top: .24rem;
padding-left: .25rem;
color: #5b6670;
font-size: .94rem;
line-height: 1.48;
}
.mucwiki-home-topline,
.mucwiki-home-note {
margin-top: 0;
color: #54595d;
line-height: 1.58;
}
.mucwiki-home-topline {
padding: .64rem .82rem;
background: #fbfcfb;
}
.mucwiki-home-note {
display: grid;
grid-template-columns: minmax(0, 1fr) minmax(15rem, .5fr);
gap: .68rem;
padding: .76rem .86rem;
background: #fbfcfb;
}
.mucwiki-home-columns {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: .82rem;
}
.mucwiki-home-panel {
position: relative;
min-height: 10.8rem;
overflow: hidden;
padding: .86rem .98rem;
}
.mucwiki-home-panel::before {
content: "";
position: absolute;
inset: 0 0 auto;
height: .2rem;
background: #24735d;
}
.mucwiki-home-panel ul {
display: grid;
gap: .26rem;
margin: .12rem 0 0;
padding-left: 1.05rem;
line-height: 1.62;
}
.mucwiki-home-panel--building {
border-color: #ead8a8;
background: #fff9ee;
}
.mucwiki-home-panel--building::before {
background: #8a570b;
}
.mucwiki-home-link-cloud {
display: flex;
flex-wrap: wrap;
gap: .42rem;
}
.mucwiki-home-link-cloud p {
display: flex;
flex-wrap: wrap;
gap: .42rem;
margin: 0;
}
.mucwiki-home-link-cloud span {
display: inline-flex;
align-items: center;
min-height: 1.9rem;
padding: .28rem .58rem;
border: 1px solid #dfe5de;
border-radius: 999px;
background: rgba(255, 255, 255, .96);
color: #344054;
font-size: .92rem;
line-height: 1.28;
transition: border-color .16s ease, background .16s ease, box-shadow .16s ease, transform .16s ease;
}
.mucwiki-home-link-cloud span:hover {
border-color: #b8c8b8;
background: #f2faf6;
box-shadow: 0 4px 12px rgba(42, 48, 41, .035);
transform: translateY(-1px);
}
.mucwiki-home-link-cloud a:focus {
outline: 2px solid #7fa58b;
outline-offset: 2px;
border-radius: 4px;
}
.mucwiki-home-help__grid {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: .64rem;
}
.mucwiki-home-help__grid > div {
position: relative;
padding: .78rem .86rem;
background: #fbfcfb;
}
.mucwiki-home-help__grid > div::before {
content: "";
display: block;
width: 1.72rem;
height: .18rem;
margin-bottom: .58rem;
border-radius: 999px;
background: #b42318;
}
.mucwiki-home-help h3 {
margin: 0 0 .34rem;
color: #141b22;
font-size: .98rem;
font-weight: 700;
}
.mucwiki-home-help p {
color: #54595d;
line-height: 1.58;
}
.mucwiki-home-card a,
.mucwiki-home-link-cloud a,
.mucwiki-home-stat a {
text-decoration: none;
}
@media (max-width: 760px) {
.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 {
gap: .52rem;
font-size: .9rem;
}
.mucwiki-home-masthead {
gap: .46rem;
padding: .46rem;
}
.mucwiki-home-copy {
gap: .34rem;
padding: .46rem .22rem .46rem .52rem;
border-left-width: 2px;
line-height: 1.48;
}
.mucwiki-home-copy > p:not(.mucwiki-home-kicker):not(.mucwiki-home-title):not(.mucwiki-home-lede) {
color: #46515d;
font-size: .84rem;
line-height: 1.42;
}
.mucwiki-home-kicker {
min-height: 1.34rem;
padding: .14rem .46rem;
font-size: .74rem;
}
.mucwiki-home-kicker::before {
width: .34rem;
height: .34rem;
margin-right: .28rem;
}
.mucwiki-home-title {
font-size: 1.18rem;
line-height: 1.14;
}
.mucwiki-home-lede {
font-size: .82rem;
line-height: 1.42;
}
.mucwiki-home-side {
grid-template-columns: 4.8rem minmax(0, 1fr);
grid-template-rows: auto;
gap: .42rem;
align-items: stretch;
}
.mucwiki-home-media {
min-height: 4.15rem;
max-height: 4.15rem;
padding: .28rem;
}
.mucwiki-home-media .mw-file-element,
.mucwiki-home-media img {
max-width: 100%;
max-height: 3.55rem;
object-fit: contain;
}
.mucwiki-home-stats-grid {
align-self: stretch;
}
.mucwiki-home-stat {
display: grid;
align-content: center;
padding: .24rem .18rem;
}
.mucwiki-home-stat strong,
.mucwiki-home-stat strong a {
font-size: .78rem;
}
.mucwiki-home-stat span {
margin-top: .08rem;
font-size: .64rem;
line-height: 1.15;
}
.mucwiki-home-section h2 {
margin-bottom: .4rem;
padding-bottom: .3rem;
font-size: .96rem;
}
.mucwiki-home-grid {
gap: .46rem;
}
.mucwiki-home-grid--primary {
grid-template-columns: 1fr;
}
.mucwiki-home-section--entries {
padding: .04rem 0 0;
}
.mucwiki-home-card {
min-height: 3.35rem;
padding: .48rem 1.42rem .48rem .62rem;
}
.mucwiki-home-card::after {
top: .54rem;
right: .72rem;
}
.mucwiki-home-card strong {
font-size: .88rem;
}
.mucwiki-home-card span {
margin-top: .16rem;
font-size: .82rem;
line-height: 1.38;
}
.mucwiki-home-topline,
.mucwiki-home-note,
.mucwiki-home-panel,
.mucwiki-home-help__grid > div {
padding: .6rem .66rem;
}
.mucwiki-home-note {
gap: .44rem;
}
.mucwiki-home-panel {
min-height: 0;
}
.mucwiki-home-panel ul {
gap: .2rem;
line-height: 1.52;
}
.mucwiki-home-link-cloud,
.mucwiki-home-link-cloud p {
gap: .34rem;
}
.mucwiki-home-link-cloud span {
min-height: 1.72rem;
padding: .24rem .48rem;
border-radius: 8px;
font-size: .86rem;
}
}