模板:MUCWikiHome/styles.css:修订间差异
来自MUC Wiki
更多操作
Maintenance script(留言 | 贡献) Polish homepage content components |
Maintenance script(留言 | 贡献) Refine MUC Wiki home component styles |
||
| 第21行: | 第21行: | ||
.mucwiki-home-masthead { | .mucwiki-home-masthead { | ||
display: grid; | display: grid; | ||
grid-template-columns: minmax(0, 1. | grid-template-columns: minmax(0, 1.15fr) minmax(18rem, .48fr); | ||
gap: 1rem; | gap: 1.1rem; | ||
align-items: stretch; | align-items: stretch; | ||
padding: | padding: 1.2rem; | ||
border: 1px solid # | border: 1px solid #d6e0ed; | ||
border-radius: 8px; | border-radius: 8px; | ||
background: | background: rgba(255, 255, 255, .96); | ||
box-shadow: 0 | box-shadow: 0 18px 44px rgba(31, 47, 70, .08); | ||
} | } | ||
| 第34行: | 第34行: | ||
display: grid; | display: grid; | ||
align-content: center; | align-content: center; | ||
gap: . | gap: .72rem; | ||
min-height: | min-height: 12rem; | ||
padding: . | padding: .75rem .65rem; | ||
line-height: 1. | line-height: 1.76; | ||
} | } | ||
| 第47行: | 第47行: | ||
align-items: center; | align-items: center; | ||
padding: .24rem .66rem; | padding: .24rem .66rem; | ||
border: 1px solid # | border: 1px solid #bfd3ea; | ||
border-radius: 999px; | border-radius: 999px; | ||
background: # | background: #edf5ff; | ||
color: # | color: #16456f; | ||
font-size: .84rem; | font-size: .84rem; | ||
font-weight: 800; | font-weight: 800; | ||
| 第58行: | 第58行: | ||
.mucwiki-home-title { | .mucwiki-home-title { | ||
color: #101828; | color: #101828; | ||
font-size: 2. | font-size: 2.38rem; | ||
font-weight: 900; | font-weight: 900; | ||
line-height: 1.08; | line-height: 1.08; | ||
| 第66行: | 第66行: | ||
max-width: 42rem; | max-width: 42rem; | ||
color: #253044; | color: #253044; | ||
font-size: 1. | font-size: 1.1rem; | ||
font-weight: 700; | font-weight: 700; | ||
} | } | ||
| 第80行: | 第80行: | ||
display: grid; | display: grid; | ||
place-items: center; | place-items: center; | ||
min-height: 9. | min-height: 9.7rem; | ||
overflow: hidden; | overflow: hidden; | ||
border: 1px solid # | border: 1px solid #e7edf5; | ||
border-radius: 8px; | border-radius: 8px; | ||
background: #fff; | background: #fff; | ||
| 第105行: | 第105行: | ||
.mucwiki-home-stat { | .mucwiki-home-stat { | ||
min-width: 0; | min-width: 0; | ||
padding: . | padding: .68rem .72rem; | ||
border: 1px solid # | border: 1px solid #d6e0ed; | ||
border-radius: 8px; | border-radius: 8px; | ||
background: #fff; | background: #fff; | ||
| 第120行: | 第120行: | ||
.mucwiki-home-stat strong { | .mucwiki-home-stat strong { | ||
color: #075fc7; | color: #075fc7; | ||
font-size: 1. | font-size: 1.16rem; | ||
font-weight: 800; | font-weight: 800; | ||
} | } | ||
| 第139行: | 第139行: | ||
margin: 0 0 .72rem; | margin: 0 0 .72rem; | ||
padding-bottom: .58rem; | padding-bottom: .58rem; | ||
border-bottom: 1px solid # | border-bottom: 1px solid #d6e0ed; | ||
color: #101828; | color: #101828; | ||
font-size: 1.22rem; | font-size: 1.22rem; | ||
| 第152行: | 第152行: | ||
height: 1.08rem; | height: 1.08rem; | ||
border-radius: 999px; | border-radius: 999px; | ||
background: # | background: #1f5f99; | ||
} | } | ||
| 第169行: | 第169行: | ||
.mucwiki-home-topline, | .mucwiki-home-topline, | ||
.mucwiki-home-note { | .mucwiki-home-note { | ||
border: 1px solid # | border: 1px solid #d6e0ed; | ||
border-radius: 8px; | border-radius: 8px; | ||
background: | background: rgba(255, 255, 255, .96); | ||
box-shadow: 0 1px 2px rgba(31, 47, 70, .035); | box-shadow: 0 1px 2px rgba(31, 47, 70, .035); | ||
} | } | ||
| 第177行: | 第177行: | ||
.mucwiki-home-card { | .mucwiki-home-card { | ||
position: relative; | position: relative; | ||
min-height: 5. | min-height: 5.9rem; | ||
padding: . | padding: 1rem 1.05rem; | ||
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: #9eb8d7; | ||
box-shadow: 0 | box-shadow: 0 14px 34px rgba(31, 47, 70, .09); | ||
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: | font-size: 1.02rem; | ||
font-weight: 800; | font-weight: 800; | ||
} | } | ||
| 第241行: | 第241行: | ||
.mucwiki-home-panel { | .mucwiki-home-panel { | ||
padding: 1. | padding: 1.1rem 1.15rem; | ||
min-height: 14rem; | min-height: 14rem; | ||
} | } | ||
| 第255行: | 第255行: | ||
.mucwiki-home-panel--building { | .mucwiki-home-panel--building { | ||
border-color: #ecd79d; | border-color: #ecd79d; | ||
background: | background: #fffaf0; | ||
} | } | ||
| 第276行: | 第276行: | ||
min-height: 2.25rem; | min-height: 2.25rem; | ||
padding: .36rem .68rem; | padding: .36rem .68rem; | ||
border: 1px solid # | border: 1px solid #d6e0ed; | ||
border-radius: 8px; | border-radius: 8px; | ||
background: | background: rgba(255, 255, 255, .96); | ||
color: #344054; | color: #344054; | ||
line-height: 1.35; | line-height: 1.35; | ||
| 第291行: | 第291行: | ||
.mucwiki-home-help__grid > div { | .mucwiki-home-help__grid > div { | ||
padding: | padding: 1rem; | ||
} | } | ||