打开/关闭搜索
搜索
打开/关闭菜单
36
39
136
1417
MUC Wiki
导航
首页
最近更改
随机页面
MediaWiki帮助
上传文件
常用页面
MUC群组一览
心愿单
打开/关闭外观设置菜单
无法加载偏好设置。请检查您的网络连接并重试。
重试
打开/关闭个人菜单
未登录
未登录用户的IP地址会在进行任意编辑后公开展示。
user-interface-preferences
个人工具
创建账号
登录
查看“︁模板:MUCWikiHome/styles.css”︁的源代码
来自MUC Wiki
查看
阅读
查看源代码
查看历史
关联页面
模板
讨论
更多操作
←
模板:MUCWikiHome/styles.css
因为以下原因,您没有权限编辑该页面:
您请求的操作仅限属于该用户组的用户执行:
用户
您可以查看和复制此页面的源代码。
.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; } }
返回
模板:MUCWikiHome/styles.css
。
查看“︁模板:MUCWikiHome/styles.css”︁的源代码
来自MUC Wiki