模板:MUCWikiHome/styles.css:修订间差异
来自MUC Wiki
更多操作
Maintenance script(留言 | 贡献) Polish MUC Wiki home component styles |
Maintenance script(留言 | 贡献) Strengthen MUC Wiki home components |
||
| 第28行: | 第28行: | ||
border-radius: 10px; | border-radius: 10px; | ||
background: rgba(255, 255, 255, .96); | background: rgba(255, 255, 255, .96); | ||
box-shadow: 0 20px 54px rgba(31, 47, 70, . | box-shadow: 0 20px 54px rgba(31, 47, 70, .08); | ||
} | } | ||
| 第54行: | 第54行: | ||
font-weight: 800; | font-weight: 800; | ||
line-height: 1.2; | line-height: 1.2; | ||
} | |||
.mucwiki-home-kicker::before { | |||
content: ""; | |||
width: .48rem; | |||
height: .48rem; | |||
margin-right: .38rem; | |||
border-radius: 999px; | |||
background: #245b9f; | |||
} | } | ||
| 第179行: | 第188行: | ||
min-height: 5.65rem; | min-height: 5.65rem; | ||
padding: .95rem 1rem; | padding: .95rem 1rem; | ||
overflow: hidden; | |||
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::before { | |||
content: ""; | |||
position: absolute; | |||
inset: 0 auto 0 0; | |||
width: .18rem; | |||
background: #245b9f; | |||
opacity: .72; | |||
} | } | ||
| 第195行: | 第214行: | ||
.mucwiki-home-card strong { | .mucwiki-home-card strong { | ||
padding-right: 1.2rem; | padding-right: 1.2rem; | ||
padding-left: .28rem; | |||
color: #0f172a; | color: #0f172a; | ||
font-size: 1rem; | font-size: 1rem; | ||
| 第212行: | 第232行: | ||
.mucwiki-home-card span { | .mucwiki-home-card span { | ||
margin-top: .34rem; | margin-top: .34rem; | ||
padding-left: .28rem; | |||
color: #617083; | color: #617083; | ||
line-height: 1.58; | line-height: 1.58; | ||
| 第243行: | 第264行: | ||
.mucwiki-home-panel { | .mucwiki-home-panel { | ||
position: relative; | |||
overflow: hidden; | |||
padding: 1rem 1.1rem; | padding: 1rem 1.1rem; | ||
min-height: 13rem; | min-height: 13rem; | ||
} | |||
.mucwiki-home-panel::before { | |||
content: ""; | |||
position: absolute; | |||
inset: 0 0 auto; | |||
height: .2rem; | |||
background: #245b9f; | |||
} | } | ||
| 第256行: | 第287行: | ||
.mucwiki-home-panel--building { | .mucwiki-home-panel--building { | ||
border-color: # | border-color: #e8d19a; | ||
background: #fffaf0; | background: #fffaf0; | ||
} | |||
.mucwiki-home-panel--building::before { | |||
background: #b7791f; | |||
} | } | ||
| 第285行: | 第320行: | ||
line-height: 1.32; | line-height: 1.32; | ||
box-shadow: 0 1px 2px rgba(31, 47, 70, .02); | box-shadow: 0 1px 2px rgba(31, 47, 70, .02); | ||
transition: border-color .16s ease, background .16s ease, transform .16s ease; | |||
} | } | ||
| 第290行: | 第326行: | ||
border-color: #a9bdd7; | border-color: #a9bdd7; | ||
background: #eef6ff; | background: #eef6ff; | ||
transform: translateY(-1px); | |||
} | } | ||
| 第299行: | 第336行: | ||
.mucwiki-home-help__grid > div { | .mucwiki-home-help__grid > div { | ||
position: relative; | |||
padding: .95rem 1rem; | padding: .95rem 1rem; | ||
} | |||
.mucwiki-home-help__grid > div::before { | |||
content: ""; | |||
display: block; | |||
width: 2rem; | |||
height: .18rem; | |||
margin-bottom: .72rem; | |||
border-radius: 999px; | |||
background: #245b9f; | |||
} | } | ||