模板:MUCWikiHome/styles.css:修订间差异
来自MUC Wiki
更多操作
Maintenance script(留言 | 贡献) Tune MUC Wiki home chip styles |
Maintenance script(留言 | 贡献) Polish MUC Wiki home component styles |
||
| 第1行: | 第1行: | ||
.mucwiki-home { | .mucwiki-home { | ||
color: # | color: #1d2939; | ||
font-size: 1rem; | font-size: 1rem; | ||
} | } | ||
| 第21行: | 第21行: | ||
.mucwiki-home-masthead { | .mucwiki-home-masthead { | ||
display: grid; | display: grid; | ||
grid-template-columns: minmax(0, 1. | grid-template-columns: minmax(0, 1.08fr) minmax(18rem, .5fr); | ||
gap: | gap: 1rem; | ||
align-items: stretch; | align-items: stretch; | ||
padding: | padding: 1rem; | ||
border: 1px solid # | border: 1px solid #d8e2ee; | ||
border-radius: | border-radius: 10px; | ||
background: rgba(255, 255, 255, .96); | background: rgba(255, 255, 255, .96); | ||
box-shadow: 0 | box-shadow: 0 20px 54px rgba(31, 47, 70, .085); | ||
} | } | ||
| 第35行: | 第35行: | ||
align-content: center; | align-content: center; | ||
gap: .72rem; | gap: .72rem; | ||
min-height: | min-height: 11.4rem; | ||
padding: . | padding: .95rem .85rem; | ||
line-height: 1.76; | line-height: 1.76; | ||
} | } | ||
| 第47行: | 第47行: | ||
align-items: center; | align-items: center; | ||
padding: .24rem .66rem; | padding: .24rem .66rem; | ||
border: 1px solid # | border: 1px solid #c8d8ea; | ||
border-radius: 999px; | border-radius: 999px; | ||
background: # | background: #eef6ff; | ||
color: # | color: #173f75; | ||
font-size: .84rem; | font-size: .84rem; | ||
font-weight: 800; | font-weight: 800; | ||
| 第57行: | 第57行: | ||
.mucwiki-home-title { | .mucwiki-home-title { | ||
color: # | color: #0f172a; | ||
font-size: 2. | font-size: 2.18rem; | ||
font-weight: 900; | font-weight: 900; | ||
line-height: 1. | line-height: 1.12; | ||
} | } | ||
| 第66行: | 第66行: | ||
max-width: 42rem; | max-width: 42rem; | ||
color: #253044; | color: #253044; | ||
font-size: 1. | font-size: 1.05rem; | ||
font-weight: 700; | font-weight: 700; | ||
} | } | ||
| 第80行: | 第80行: | ||
display: grid; | display: grid; | ||
place-items: center; | place-items: center; | ||
min-height: 9. | min-height: 9.4rem; | ||
overflow: hidden; | overflow: hidden; | ||
border: 1px solid # | border: 1px solid #e8eef5; | ||
border-radius: 8px; | border-radius: 8px; | ||
background: #fff; | background: #fff; | ||
| 第106行: | 第106行: | ||
min-width: 0; | min-width: 0; | ||
padding: .68rem .72rem; | padding: .68rem .72rem; | ||
border: 1px solid # | border: 1px solid #d8e2ee; | ||
border-radius: 8px; | border-radius: 8px; | ||
background: #fff; | background: #fff; | ||
color: # | color: #617083; | ||
line-height: 1.28; | line-height: 1.28; | ||
} | } | ||
| 第119行: | 第119行: | ||
.mucwiki-home-stat strong { | .mucwiki-home-stat strong { | ||
color: # | color: #245b9f; | ||
font-size: 1.16rem; | font-size: 1.16rem; | ||
font-weight: 800; | font-weight: 800; | ||
| 第130行: | 第130行: | ||
.mucwiki-home-section { | .mucwiki-home-section { | ||
margin-top: | margin-top: 1rem; | ||
} | } | ||
| 第139行: | 第139行: | ||
margin: 0 0 .72rem; | margin: 0 0 .72rem; | ||
padding-bottom: .58rem; | padding-bottom: .58rem; | ||
border-bottom: 1px solid # | border-bottom: 1px solid #d8e2ee; | ||
color: # | color: #0f172a; | ||
font-size: 1. | font-size: 1.16rem; | ||
font-weight: 800; | font-weight: 800; | ||
letter-spacing: 0; | letter-spacing: 0; | ||
| 第152行: | 第152行: | ||
height: 1.08rem; | height: 1.08rem; | ||
border-radius: 999px; | border-radius: 999px; | ||
background: # | background: #245b9f; | ||
} | } | ||
| 第169行: | 第169行: | ||
.mucwiki-home-topline, | .mucwiki-home-topline, | ||
.mucwiki-home-note { | .mucwiki-home-note { | ||
border: 1px solid # | border: 1px solid #d8e2ee; | ||
border-radius: 8px; | border-radius: 8px; | ||
background: rgba(255, 255, 255, .96); | background: rgba(255, 255, 255, .96); | ||
| 第177行: | 第177行: | ||
.mucwiki-home-card { | .mucwiki-home-card { | ||
position: relative; | position: relative; | ||
min-height: 5. | min-height: 5.65rem; | ||
padding: 1rem | padding: .95rem 1rem; | ||
transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease; | transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease; | ||
} | } | ||
.mucwiki-home-card:hover { | .mucwiki-home-card:hover { | ||
border-color: # | border-color: #a9c0dc; | ||
box-shadow: 0 | box-shadow: 0 12px 30px rgba(31, 47, 70, .08); | ||
transform: translateY(-1px); | transform: translateY(-1px); | ||
} | } | ||
| 第195行: | 第195行: | ||
.mucwiki-home-card strong { | .mucwiki-home-card strong { | ||
padding-right: 1.2rem; | padding-right: 1.2rem; | ||
font-size: | color: #0f172a; | ||
font-size: 1rem; | |||
font-weight: 800; | font-weight: 800; | ||
} | } | ||
| 第211行: | 第212行: | ||
.mucwiki-home-card span { | .mucwiki-home-card span { | ||
margin-top: .34rem; | margin-top: .34rem; | ||
color: # | color: #617083; | ||
line-height: 1.58; | line-height: 1.58; | ||
} | } | ||
| 第224行: | 第225行: | ||
.mucwiki-home-topline { | .mucwiki-home-topline { | ||
padding: .72rem .9rem; | padding: .72rem .9rem; | ||
background: #fff; | |||
} | } | ||
| 第231行: | 第233行: | ||
gap: .84rem; | gap: .84rem; | ||
padding: .9rem 1rem; | padding: .9rem 1rem; | ||
background: # | background: #f8fafc; | ||
} | } | ||
| 第241行: | 第243行: | ||
.mucwiki-home-panel { | .mucwiki-home-panel { | ||
padding: 1.1rem | padding: 1rem 1.1rem; | ||
min-height: | min-height: 13rem; | ||
} | } | ||
| 第276行: | 第278行: | ||
min-height: 2.1rem; | min-height: 2.1rem; | ||
padding: .32rem .62rem; | padding: .32rem .62rem; | ||
border: 1px solid # | border: 1px solid #d8e2ee; | ||
border-radius: 8px; | border-radius: 8px; | ||
background: rgba(255, 255, 255, .96); | background: rgba(255, 255, 255, .96); | ||
| 第287行: | 第289行: | ||
.mucwiki-home-link-cloud span:hover { | .mucwiki-home-link-cloud span:hover { | ||
border-color: #a9bdd7; | border-color: #a9bdd7; | ||
background: # | background: #eef6ff; | ||
} | } | ||
| 第297行: | 第299行: | ||
.mucwiki-home-help__grid > div { | .mucwiki-home-help__grid > div { | ||
padding: 1rem; | padding: .95rem 1rem; | ||
} | } | ||
.mucwiki-home-help h3 { | .mucwiki-home-help h3 { | ||
margin: 0 0 .45rem; | margin: 0 0 .45rem; | ||
color: # | color: #0f172a; | ||
font-size: 1rem; | font-size: 1rem; | ||
font-weight: 800; | font-weight: 800; | ||
| 第308行: | 第310行: | ||
.mucwiki-home-help p { | .mucwiki-home-help p { | ||
color: # | color: #617083; | ||
line-height: 1.66; | line-height: 1.66; | ||
} | } | ||
| 第342行: | 第344行: | ||
gap: .5rem; | gap: .5rem; | ||
padding: .15rem; | padding: .15rem; | ||
} | } | ||