模板:MUCWikiHome/styles.css:修订间差异
来自MUC Wiki
更多操作
Maintenance script(留言 | 贡献) 优化首页样式密度和导航状态 |
Maintenance script(留言 | 贡献) 重整首页视觉层级 |
||
| 第1行: | 第1行: | ||
.mucwiki-home { | .mucwiki-home { | ||
display: grid; | display: grid; | ||
gap: . | gap: .74rem; | ||
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, 1fr) minmax( | grid-template-columns: minmax(0, 1fr) minmax(13rem, .34fr); | ||
gap: . | gap: .7rem; | ||
align-items: stretch; | align-items: stretch; | ||
padding: . | padding: .58rem; | ||
border: 1px solid # | border: 1px solid #dce2db; | ||
border-radius: 8px; | border-radius: 8px; | ||
background: | background: #fff; | ||
box-shadow: 0 1px 2px rgba(42, 48, 41, .026); | |||
box-shadow: 0 | |||
} | } | ||
| 第43行: | 第41行: | ||
display: grid; | display: grid; | ||
align-content: center; | align-content: center; | ||
gap: . | gap: .48rem; | ||
min-height: 0; | min-height: 0; | ||
padding: . | padding: .76rem .88rem; | ||
border-left: 3px solid #b42318; | border-left: 3px solid #b42318; | ||
border-radius: 8px; | border-radius: 8px; | ||
background: | background: #fff; | ||
line-height: 1. | line-height: 1.56; | ||
} | } | ||
| 第56行: | 第54行: | ||
width: max-content; | width: max-content; | ||
max-width: 100%; | max-width: 100%; | ||
min-height: 1. | min-height: 1.45rem; | ||
align-items: center; | align-items: center; | ||
padding: . | padding: .18rem .54rem; | ||
border: 1px solid #efcbc7; | border: 1px solid #efcbc7; | ||
border-radius: 999px; | border-radius: 999px; | ||
background: #fff4f2; | background: #fff4f2; | ||
color: #7f1d1d; | color: #7f1d1d; | ||
font-size: . | font-size: .76rem; | ||
font-weight: 700; | font-weight: 700; | ||
line-height: 1.2; | line-height: 1.2; | ||
| 第70行: | 第68行: | ||
.mucwiki-home-kicker::before { | .mucwiki-home-kicker::before { | ||
content: ""; | content: ""; | ||
width: . | width: .36rem; | ||
height: . | height: .36rem; | ||
margin-right: . | margin-right: .32rem; | ||
border-radius: 999px; | border-radius: 999px; | ||
background: #b42318; | background: #b42318; | ||
| 第79行: | 第77行: | ||
.mucwiki-home-title { | .mucwiki-home-title { | ||
color: #141b22; | color: #141b22; | ||
font-size: 1. | font-size: 1.76rem; | ||
font-weight: 700; | font-weight: 700; | ||
line-height: 1.12; | line-height: 1.12; | ||
| 第89行: | 第87行: | ||
font-size: .96rem; | font-size: .96rem; | ||
font-weight: 600; | font-weight: 600; | ||
line-height: 1. | line-height: 1.48; | ||
} | } | ||
| 第95行: | 第93行: | ||
display: grid; | display: grid; | ||
grid-template-rows: minmax(0, auto) auto; | grid-template-rows: minmax(0, auto) auto; | ||
gap: . | gap: .48rem; | ||
min-width: 0; | min-width: 0; | ||
} | } | ||
| 第104行: | 第102行: | ||
justify-items: center; | justify-items: center; | ||
min-height: 0; | min-height: 0; | ||
max-height: | max-height: 6.8rem; | ||
overflow: hidden; | overflow: hidden; | ||
padding: . | padding: .38rem; | ||
border: 1px solid # | border: 1px solid #e4e8e3; | ||
border-radius: 8px; | border-radius: 8px; | ||
background: # | background: #f7f8f6; | ||
} | } | ||
| 第117行: | 第115行: | ||
width: auto; | width: auto; | ||
max-width: 100%; | max-width: 100%; | ||
max-height: | max-height: 6rem; | ||
height: auto; | height: auto; | ||
border-radius: 6px; | border-radius: 6px; | ||
| 第128行: | 第126行: | ||
gap: 0; | gap: 0; | ||
overflow: hidden; | overflow: hidden; | ||
border: 1px solid # | border: 1px solid #e1e6e0; | ||
border-radius: 8px; | border-radius: 8px; | ||
background: #fbfcfb; | background: #fbfcfb; | ||
| 第135行: | 第133行: | ||
.mucwiki-home-stat { | .mucwiki-home-stat { | ||
min-width: 0; | min-width: 0; | ||
padding: . | padding: .42rem .4rem .38rem; | ||
border: 0; | border: 0; | ||
border-left: 1px solid # | border-left: 1px solid #e8ece7; | ||
border-radius: 0; | border-radius: 0; | ||
background: transparent; | background: transparent; | ||
box-shadow: none; | box-shadow: none; | ||
color: #54595d; | color: #54595d; | ||
line-height: 1. | line-height: 1.2; | ||
text-align: center; | text-align: center; | ||
} | } | ||
| 第158行: | 第156行: | ||
.mucwiki-home-stat strong a { | .mucwiki-home-stat strong a { | ||
color: #17446e; | color: #17446e; | ||
font-size: | font-size: .98rem; | ||
font-weight: 700; | font-weight: 700; | ||
} | } | ||
.mucwiki-home-stat span { | .mucwiki-home-stat span { | ||
margin-top: . | margin-top: .1rem; | ||
font-size: . | color: #69727a; | ||
font-size: .74rem; | |||
font-weight: 700; | font-weight: 700; | ||
} | } | ||
| 第175行: | 第174行: | ||
display: flex; | display: flex; | ||
align-items: center; | align-items: center; | ||
gap: . | gap: .42rem; | ||
margin: 0 0 . | margin: 0 0 .52rem; | ||
padding-bottom: . | padding-bottom: .34rem; | ||
border-bottom: 1px solid # | border-bottom: 1px solid #e8ece7; | ||
color: #141b22; | color: #141b22; | ||
font-size: 1. | font-size: 1.04rem; | ||
font-weight: 800; | font-weight: 800; | ||
letter-spacing: 0; | letter-spacing: 0; | ||
| 第188行: | 第187行: | ||
content: ""; | content: ""; | ||
display: inline-block; | display: inline-block; | ||
width: . | width: .28rem; | ||
height: | height: .95rem; | ||
border-radius: 999px; | border-radius: 999px; | ||
background: #b42318; | background: #b42318; | ||
| 第196行: | 第195行: | ||
.mucwiki-home-grid { | .mucwiki-home-grid { | ||
display: grid; | display: grid; | ||
gap: . | gap: .54rem; | ||
} | } | ||
| 第204行: | 第203行: | ||
.mucwiki-home-section--entries { | .mucwiki-home-section--entries { | ||
padding: . | padding: .02rem 0 0; | ||
border: 0; | border: 0; | ||
border-radius: 0; | border-radius: 0; | ||
| 第215行: | 第214行: | ||
.mucwiki-home-topline, | .mucwiki-home-topline, | ||
.mucwiki-home-note { | .mucwiki-home-note { | ||
border: 1px solid # | border: 1px solid #e1e6e0; | ||
border-radius: 8px; | border-radius: 8px; | ||
background: rgba(255, 255, 255, .96); | background: rgba(255, 255, 255, .96); | ||
box-shadow: | box-shadow: none; | ||
} | } | ||
.mucwiki-home-card { | .mucwiki-home-card { | ||
position: relative; | position: relative; | ||
min-height: 4. | min-height: 4.2rem; | ||
padding: . | padding: .64rem 1.68rem .64rem .76rem; | ||
overflow: hidden; | overflow: hidden; | ||
border-color: #d7e1d9; | |||
box-shadow: 0 1px 2px rgba(42, 48, 41, .028); | |||
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; | ||
} | } | ||
| 第235行: | 第236行: | ||
width: .2rem; | width: .2rem; | ||
background: #24735d; | background: #24735d; | ||
opacity: . | opacity: .9; | ||
} | } | ||
| 第241行: | 第242行: | ||
content: "›"; | content: "›"; | ||
position: absolute; | position: absolute; | ||
top: . | top: .72rem; | ||
right: . | right: .8rem; | ||
color: # | color: #718775; | ||
font-size: 1. | font-size: 1.22rem; | ||
line-height: 1; | line-height: 1; | ||
transition: color .16s ease, transform .16s ease; | transition: color .16s ease, transform .16s ease; | ||
| 第250行: | 第251行: | ||
.mucwiki-home-card:hover { | .mucwiki-home-card:hover { | ||
border-color: # | border-color: #9db99f; | ||
background: #fbfdfb; | background: #fbfdfb; | ||
box-shadow: 0 7px 18px rgba(42, 48, 41, . | box-shadow: 0 7px 18px rgba(42, 48, 41, .052); | ||
transform: translateY(-1px); | transform: translateY(-1px); | ||
} | } | ||
| 第279行: | 第280行: | ||
.mucwiki-home-card strong a:focus { | .mucwiki-home-card strong a:focus { | ||
outline: 2px solid | outline: 2px solid rgba(180, 35, 24, .28); | ||
outline-offset: 2px; | outline-offset: 2px; | ||
border-radius: 4px; | border-radius: 4px; | ||
| 第286行: | 第287行: | ||
.mucwiki-home-card span { | .mucwiki-home-card span { | ||
margin-top: . | margin-top: .22rem; | ||
padding-left: .25rem; | padding-left: .25rem; | ||
color: # | color: #5f6972; | ||
font-size: . | font-size: .93rem; | ||
line-height: 1. | line-height: 1.44; | ||
} | } | ||
| 第297行: | 第298行: | ||
margin-top: 0; | margin-top: 0; | ||
color: #54595d; | color: #54595d; | ||
line-height: 1. | line-height: 1.56; | ||
} | } | ||
.mucwiki-home-topline { | .mucwiki-home-topline { | ||
padding: . | padding: .58rem .76rem; | ||
background: | border-style: dashed; | ||
background: transparent; | |||
} | } | ||
| 第308行: | 第310行: | ||
display: grid; | display: grid; | ||
grid-template-columns: minmax(0, 1fr) minmax(15rem, .5fr); | grid-template-columns: minmax(0, 1fr) minmax(15rem, .5fr); | ||
gap: . | gap: .62rem; | ||
padding: . | padding: .68rem .78rem; | ||
background: #fbfcfb; | background: #fbfcfb; | ||
} | } | ||
| 第316行: | 第318行: | ||
display: grid; | display: grid; | ||
grid-template-columns: repeat(2, minmax(0, 1fr)); | grid-template-columns: repeat(2, minmax(0, 1fr)); | ||
gap: . | gap: .74rem; | ||
} | } | ||
.mucwiki-home-panel { | .mucwiki-home-panel { | ||
position: relative; | position: relative; | ||
min-height: | min-height: 0; | ||
overflow: hidden; | overflow: hidden; | ||
padding: . | padding: .78rem .9rem; | ||
background: #fff; | |||
} | } | ||
| 第330行: | 第333行: | ||
position: absolute; | position: absolute; | ||
inset: 0 0 auto; | inset: 0 0 auto; | ||
height: . | height: .16rem; | ||
background: #24735d; | background: #24735d; | ||
} | } | ||
| 第336行: | 第339行: | ||
.mucwiki-home-panel ul { | .mucwiki-home-panel ul { | ||
display: grid; | display: grid; | ||
gap: . | gap: .2rem; | ||
margin: . | margin: .08rem 0 0; | ||
padding-left: 1. | padding-left: 1.02rem; | ||
line-height: 1. | line-height: 1.56; | ||
} | } | ||
.mucwiki-home-panel--building { | .mucwiki-home-panel--building { | ||
border-color: # | border-color: #eadfbd; | ||
background: # | background: #fffaf0; | ||
} | } | ||
| 第354行: | 第357行: | ||
display: flex; | display: flex; | ||
flex-wrap: wrap; | flex-wrap: wrap; | ||
gap: . | gap: .36rem; | ||
} | } | ||
| 第360行: | 第363行: | ||
display: flex; | display: flex; | ||
flex-wrap: wrap; | flex-wrap: wrap; | ||
gap: . | gap: .36rem; | ||
margin: 0; | margin: 0; | ||
} | } | ||
| 第367行: | 第370行: | ||
display: inline-flex; | display: inline-flex; | ||
align-items: center; | align-items: center; | ||
min-height: 1. | min-height: 1.82rem; | ||
padding: . | padding: .24rem .5rem; | ||
border: 1px solid # | border: 1px solid #e1e6e0; | ||
border-radius: 999px; | border-radius: 999px; | ||
background: rgba(255, 255, 255, . | background: rgba(255, 255, 255, .9); | ||
color: #344054; | color: #344054; | ||
font-size: . | font-size: .9rem; | ||
line-height: 1. | line-height: 1.24; | ||
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; | ||
} | } | ||
.mucwiki-home-link-cloud span:hover { | .mucwiki-home-link-cloud span:hover { | ||
border-color: # | border-color: #bccbbb; | ||
background: # | background: #f7fbf8; | ||
box-shadow: 0 | box-shadow: 0 3px 10px rgba(42, 48, 41, .028); | ||
transform: translateY(-1px); | transform: translateY(-1px); | ||
} | } | ||
.mucwiki-home-link-cloud a:focus { | .mucwiki-home-link-cloud a:focus { | ||
outline: 2px solid | outline: 2px solid rgba(180, 35, 24, .28); | ||
outline-offset: 2px; | outline-offset: 2px; | ||
border-radius: 4px; | border-radius: 4px; | ||
| 第394行: | 第397行: | ||
display: grid; | display: grid; | ||
grid-template-columns: repeat(3, minmax(0, 1fr)); | grid-template-columns: repeat(3, minmax(0, 1fr)); | ||
gap: . | gap: .58rem; | ||
} | } | ||
.mucwiki-home-help__grid > div { | .mucwiki-home-help__grid > div { | ||
position: relative; | position: relative; | ||
padding: . | padding: .72rem .8rem; | ||
background: #fbfcfb; | background: #fbfcfb; | ||
} | } | ||
| 第406行: | 第409行: | ||
content: ""; | content: ""; | ||
display: block; | display: block; | ||
width: 1. | width: 1.54rem; | ||
height: . | height: .16rem; | ||
margin-bottom: . | margin-bottom: .5rem; | ||
border-radius: 999px; | border-radius: 999px; | ||
background: #b42318; | background: #b42318; | ||
| 第414行: | 第417行: | ||
.mucwiki-home-help h3 { | .mucwiki-home-help h3 { | ||
margin: 0 0 . | margin: 0 0 .3rem; | ||
color: #141b22; | color: #141b22; | ||
font-size: . | font-size: .96rem; | ||
font-weight: 700; | font-weight: 700; | ||
} | } | ||
| 第422行: | 第425行: | ||
.mucwiki-home-help p { | .mucwiki-home-help p { | ||
color: #54595d; | color: #54595d; | ||
line-height: 1. | line-height: 1.54; | ||
} | } | ||
| 第446行: | 第449行: | ||
@media (max-width: 560px) { | @media (max-width: 560px) { | ||
.mucwiki-home { | .mucwiki-home { | ||
gap: . | gap: .5rem; | ||
font-size: .9rem; | font-size: .9rem; | ||
} | } | ||
.mucwiki-home-masthead { | .mucwiki-home-masthead { | ||
gap: . | gap: .42rem; | ||
padding: . | padding: .42rem; | ||
} | } | ||
.mucwiki-home-copy { | .mucwiki-home-copy { | ||
gap: . | gap: .32rem; | ||
padding: . | padding: .42rem .22rem .42rem .52rem; | ||
border-left-width: 2px; | border-left-width: 2px; | ||
line-height: 1. | line-height: 1.46; | ||
} | } | ||
| 第465行: | 第468行: | ||
color: #46515d; | color: #46515d; | ||
font-size: .84rem; | font-size: .84rem; | ||
line-height: 1. | line-height: 1.4; | ||
} | } | ||
.mucwiki-home-kicker { | .mucwiki-home-kicker { | ||
min-height: 1. | min-height: 1.3rem; | ||
padding: .14rem . | padding: .14rem .44rem; | ||
font-size: . | font-size: .72rem; | ||
} | } | ||
.mucwiki-home-kicker::before { | .mucwiki-home-kicker::before { | ||
width: . | width: .32rem; | ||
height: . | height: .32rem; | ||
margin-right: . | margin-right: .26rem; | ||
} | } | ||
.mucwiki-home-title { | .mucwiki-home-title { | ||
font-size: 1. | font-size: 1.16rem; | ||
line-height: 1.14; | line-height: 1.14; | ||
} | } | ||
| 第487行: | 第490行: | ||
.mucwiki-home-lede { | .mucwiki-home-lede { | ||
font-size: .82rem; | font-size: .82rem; | ||
line-height: 1. | line-height: 1.4; | ||
} | } | ||
.mucwiki-home-side { | .mucwiki-home-side { | ||
grid-template-columns: 4. | grid-template-columns: 4.55rem minmax(0, 1fr); | ||
grid-template-rows: auto; | grid-template-rows: auto; | ||
gap: . | gap: .38rem; | ||
align-items: stretch; | align-items: stretch; | ||
} | } | ||
.mucwiki-home-media { | .mucwiki-home-media { | ||
min-height: | min-height: 4rem; | ||
max-height: | max-height: 4rem; | ||
padding: . | padding: .26rem; | ||
} | } | ||
| 第506行: | 第509行: | ||
.mucwiki-home-media img { | .mucwiki-home-media img { | ||
max-width: 100%; | max-width: 100%; | ||
max-height: 3. | max-height: 3.42rem; | ||
object-fit: contain; | object-fit: contain; | ||
} | } | ||
| 第517行: | 第520行: | ||
display: grid; | display: grid; | ||
align-content: center; | align-content: center; | ||
padding: . | padding: .22rem .16rem; | ||
} | } | ||
.mucwiki-home-stat strong, | .mucwiki-home-stat strong, | ||
.mucwiki-home-stat strong a { | .mucwiki-home-stat strong a { | ||
font-size: . | font-size: .76rem; | ||
} | } | ||
.mucwiki-home-stat span { | .mucwiki-home-stat span { | ||
margin-top: . | margin-top: .06rem; | ||
font-size: . | font-size: .63rem; | ||
line-height: 1. | line-height: 1.14; | ||
} | } | ||
.mucwiki-home-section h2 { | .mucwiki-home-section h2 { | ||
margin-bottom: . | margin-bottom: .36rem; | ||
padding-bottom: . | padding-bottom: .28rem; | ||
font-size: . | font-size: .95rem; | ||
} | } | ||
.mucwiki-home-grid { | .mucwiki-home-grid { | ||
gap: . | gap: .42rem; | ||
} | } | ||
| 第546行: | 第549行: | ||
.mucwiki-home-section--entries { | .mucwiki-home-section--entries { | ||
padding: . | padding: .02rem 0 0; | ||
} | } | ||
.mucwiki-home-card { | .mucwiki-home-card { | ||
min-height: 3. | min-height: 3.25rem; | ||
padding: . | padding: .46rem 1.38rem .46rem .6rem; | ||
} | } | ||
.mucwiki-home-card::after { | .mucwiki-home-card::after { | ||
top: . | top: .52rem; | ||
right: . | right: .7rem; | ||
} | } | ||
| 第564行: | 第567行: | ||
.mucwiki-home-card span { | .mucwiki-home-card span { | ||
margin-top: . | margin-top: .14rem; | ||
font-size: .82rem; | font-size: .82rem; | ||
line-height: 1. | line-height: 1.36; | ||
} | } | ||
| 第573行: | 第576行: | ||
.mucwiki-home-panel, | .mucwiki-home-panel, | ||
.mucwiki-home-help__grid > div { | .mucwiki-home-help__grid > div { | ||
padding: . | padding: .56rem .62rem; | ||
} | } | ||
.mucwiki-home-note { | .mucwiki-home-note { | ||
gap: . | gap: .4rem; | ||
} | } | ||
.mucwiki-home-panel ul { | .mucwiki-home-panel ul { | ||
gap: . | gap: .18rem; | ||
line-height: 1. | line-height: 1.48; | ||
} | } | ||
.mucwiki-home-link-cloud, | .mucwiki-home-link-cloud, | ||
.mucwiki-home-link-cloud p { | .mucwiki-home-link-cloud p { | ||
gap: . | gap: .32rem; | ||
} | } | ||
.mucwiki-home-link-cloud span { | .mucwiki-home-link-cloud span { | ||
min-height: 1. | min-height: 1.66rem; | ||
padding: . | padding: .22rem .44rem; | ||
border-radius: 8px; | border-radius: 8px; | ||
font-size: . | font-size: .84rem; | ||
} | } | ||
} | } | ||
2026年6月13日 (六) 20:56的版本
.mucwiki-home {
display: grid;
gap: .74rem;
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(13rem, .34fr);
gap: .7rem;
align-items: stretch;
padding: .58rem;
border: 1px solid #dce2db;
border-radius: 8px;
background: #fff;
box-shadow: 0 1px 2px rgba(42, 48, 41, .026);
}
.mucwiki-home-copy {
display: grid;
align-content: center;
gap: .48rem;
min-height: 0;
padding: .76rem .88rem;
border-left: 3px solid #b42318;
border-radius: 8px;
background: #fff;
line-height: 1.56;
}
.mucwiki-home-kicker {
display: inline-flex;
width: max-content;
max-width: 100%;
min-height: 1.45rem;
align-items: center;
padding: .18rem .54rem;
border: 1px solid #efcbc7;
border-radius: 999px;
background: #fff4f2;
color: #7f1d1d;
font-size: .76rem;
font-weight: 700;
line-height: 1.2;
}
.mucwiki-home-kicker::before {
content: "";
width: .36rem;
height: .36rem;
margin-right: .32rem;
border-radius: 999px;
background: #b42318;
}
.mucwiki-home-title {
color: #141b22;
font-size: 1.76rem;
font-weight: 700;
line-height: 1.12;
}
.mucwiki-home-lede {
max-width: 42rem;
color: #263044;
font-size: .96rem;
font-weight: 600;
line-height: 1.48;
}
.mucwiki-home-side {
display: grid;
grid-template-rows: minmax(0, auto) auto;
gap: .48rem;
min-width: 0;
}
.mucwiki-home-media {
display: grid;
align-items: center;
justify-items: center;
min-height: 0;
max-height: 6.8rem;
overflow: hidden;
padding: .38rem;
border: 1px solid #e4e8e3;
border-radius: 8px;
background: #f7f8f6;
}
.mucwiki-home-media .mw-file-element,
.mucwiki-home-media img {
display: block;
width: auto;
max-width: 100%;
max-height: 6rem;
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 #e1e6e0;
border-radius: 8px;
background: #fbfcfb;
}
.mucwiki-home-stat {
min-width: 0;
padding: .42rem .4rem .38rem;
border: 0;
border-left: 1px solid #e8ece7;
border-radius: 0;
background: transparent;
box-shadow: none;
color: #54595d;
line-height: 1.2;
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: .98rem;
font-weight: 700;
}
.mucwiki-home-stat span {
margin-top: .1rem;
color: #69727a;
font-size: .74rem;
font-weight: 700;
}
.mucwiki-home-section {
margin-top: 0;
}
.mucwiki-home-section h2 {
display: flex;
align-items: center;
gap: .42rem;
margin: 0 0 .52rem;
padding-bottom: .34rem;
border-bottom: 1px solid #e8ece7;
color: #141b22;
font-size: 1.04rem;
font-weight: 800;
letter-spacing: 0;
}
.mucwiki-home-section h2::before {
content: "";
display: inline-block;
width: .28rem;
height: .95rem;
border-radius: 999px;
background: #b42318;
}
.mucwiki-home-grid {
display: grid;
gap: .54rem;
}
.mucwiki-home-grid--primary {
grid-template-columns: repeat(3, minmax(0, 1fr));
}
.mucwiki-home-section--entries {
padding: .02rem 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 #e1e6e0;
border-radius: 8px;
background: rgba(255, 255, 255, .96);
box-shadow: none;
}
.mucwiki-home-card {
position: relative;
min-height: 4.2rem;
padding: .64rem 1.68rem .64rem .76rem;
overflow: hidden;
border-color: #d7e1d9;
box-shadow: 0 1px 2px rgba(42, 48, 41, .028);
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: .9;
}
.mucwiki-home-card::after {
content: "›";
position: absolute;
top: .72rem;
right: .8rem;
color: #718775;
font-size: 1.22rem;
line-height: 1;
transition: color .16s ease, transform .16s ease;
}
.mucwiki-home-card:hover {
border-color: #9db99f;
background: #fbfdfb;
box-shadow: 0 7px 18px rgba(42, 48, 41, .052);
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 rgba(180, 35, 24, .28);
outline-offset: 2px;
border-radius: 4px;
text-decoration: none;
}
.mucwiki-home-card span {
margin-top: .22rem;
padding-left: .25rem;
color: #5f6972;
font-size: .93rem;
line-height: 1.44;
}
.mucwiki-home-topline,
.mucwiki-home-note {
margin-top: 0;
color: #54595d;
line-height: 1.56;
}
.mucwiki-home-topline {
padding: .58rem .76rem;
border-style: dashed;
background: transparent;
}
.mucwiki-home-note {
display: grid;
grid-template-columns: minmax(0, 1fr) minmax(15rem, .5fr);
gap: .62rem;
padding: .68rem .78rem;
background: #fbfcfb;
}
.mucwiki-home-columns {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: .74rem;
}
.mucwiki-home-panel {
position: relative;
min-height: 0;
overflow: hidden;
padding: .78rem .9rem;
background: #fff;
}
.mucwiki-home-panel::before {
content: "";
position: absolute;
inset: 0 0 auto;
height: .16rem;
background: #24735d;
}
.mucwiki-home-panel ul {
display: grid;
gap: .2rem;
margin: .08rem 0 0;
padding-left: 1.02rem;
line-height: 1.56;
}
.mucwiki-home-panel--building {
border-color: #eadfbd;
background: #fffaf0;
}
.mucwiki-home-panel--building::before {
background: #8a570b;
}
.mucwiki-home-link-cloud {
display: flex;
flex-wrap: wrap;
gap: .36rem;
}
.mucwiki-home-link-cloud p {
display: flex;
flex-wrap: wrap;
gap: .36rem;
margin: 0;
}
.mucwiki-home-link-cloud span {
display: inline-flex;
align-items: center;
min-height: 1.82rem;
padding: .24rem .5rem;
border: 1px solid #e1e6e0;
border-radius: 999px;
background: rgba(255, 255, 255, .9);
color: #344054;
font-size: .9rem;
line-height: 1.24;
transition: border-color .16s ease, background .16s ease, box-shadow .16s ease, transform .16s ease;
}
.mucwiki-home-link-cloud span:hover {
border-color: #bccbbb;
background: #f7fbf8;
box-shadow: 0 3px 10px rgba(42, 48, 41, .028);
transform: translateY(-1px);
}
.mucwiki-home-link-cloud a:focus {
outline: 2px solid rgba(180, 35, 24, .28);
outline-offset: 2px;
border-radius: 4px;
}
.mucwiki-home-help__grid {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: .58rem;
}
.mucwiki-home-help__grid > div {
position: relative;
padding: .72rem .8rem;
background: #fbfcfb;
}
.mucwiki-home-help__grid > div::before {
content: "";
display: block;
width: 1.54rem;
height: .16rem;
margin-bottom: .5rem;
border-radius: 999px;
background: #b42318;
}
.mucwiki-home-help h3 {
margin: 0 0 .3rem;
color: #141b22;
font-size: .96rem;
font-weight: 700;
}
.mucwiki-home-help p {
color: #54595d;
line-height: 1.54;
}
.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: .5rem;
font-size: .9rem;
}
.mucwiki-home-masthead {
gap: .42rem;
padding: .42rem;
}
.mucwiki-home-copy {
gap: .32rem;
padding: .42rem .22rem .42rem .52rem;
border-left-width: 2px;
line-height: 1.46;
}
.mucwiki-home-copy > p:not(.mucwiki-home-kicker):not(.mucwiki-home-title):not(.mucwiki-home-lede) {
color: #46515d;
font-size: .84rem;
line-height: 1.4;
}
.mucwiki-home-kicker {
min-height: 1.3rem;
padding: .14rem .44rem;
font-size: .72rem;
}
.mucwiki-home-kicker::before {
width: .32rem;
height: .32rem;
margin-right: .26rem;
}
.mucwiki-home-title {
font-size: 1.16rem;
line-height: 1.14;
}
.mucwiki-home-lede {
font-size: .82rem;
line-height: 1.4;
}
.mucwiki-home-side {
grid-template-columns: 4.55rem minmax(0, 1fr);
grid-template-rows: auto;
gap: .38rem;
align-items: stretch;
}
.mucwiki-home-media {
min-height: 4rem;
max-height: 4rem;
padding: .26rem;
}
.mucwiki-home-media .mw-file-element,
.mucwiki-home-media img {
max-width: 100%;
max-height: 3.42rem;
object-fit: contain;
}
.mucwiki-home-stats-grid {
align-self: stretch;
}
.mucwiki-home-stat {
display: grid;
align-content: center;
padding: .22rem .16rem;
}
.mucwiki-home-stat strong,
.mucwiki-home-stat strong a {
font-size: .76rem;
}
.mucwiki-home-stat span {
margin-top: .06rem;
font-size: .63rem;
line-height: 1.14;
}
.mucwiki-home-section h2 {
margin-bottom: .36rem;
padding-bottom: .28rem;
font-size: .95rem;
}
.mucwiki-home-grid {
gap: .42rem;
}
.mucwiki-home-grid--primary {
grid-template-columns: 1fr;
}
.mucwiki-home-section--entries {
padding: .02rem 0 0;
}
.mucwiki-home-card {
min-height: 3.25rem;
padding: .46rem 1.38rem .46rem .6rem;
}
.mucwiki-home-card::after {
top: .52rem;
right: .7rem;
}
.mucwiki-home-card strong {
font-size: .88rem;
}
.mucwiki-home-card span {
margin-top: .14rem;
font-size: .82rem;
line-height: 1.36;
}
.mucwiki-home-topline,
.mucwiki-home-note,
.mucwiki-home-panel,
.mucwiki-home-help__grid > div {
padding: .56rem .62rem;
}
.mucwiki-home-note {
gap: .4rem;
}
.mucwiki-home-panel ul {
gap: .18rem;
line-height: 1.48;
}
.mucwiki-home-link-cloud,
.mucwiki-home-link-cloud p {
gap: .32rem;
}
.mucwiki-home-link-cloud span {
min-height: 1.66rem;
padding: .22rem .44rem;
border-radius: 8px;
font-size: .84rem;
}
}