打开/关闭搜索
搜索
打开/关闭菜单
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: 1rem; color: #202122; font-size: 1rem; } .mucwiki-home, .mucwiki-home * { box-sizing: border-box; } .mucwiki-home a { color: #8f1d2c; text-decoration: none; } .mucwiki-home a:hover, .mucwiki-home a:focus { color: #67151f; text-decoration: underline; } .mucwiki-home p { margin: 0; } .mucwiki-home-masthead { display: grid; grid-template-columns: minmax(0, 1fr) minmax(18rem, 24rem); gap: 1rem; align-items: stretch; padding: 0; border: 0; background: transparent; } .mucwiki-home-copy { display: grid; align-content: center; gap: .62rem; min-height: 15rem; padding: 1.25rem 1.35rem; border: 1px solid #eaded7; border-left: 4px solid #8f1d2c; border-radius: 8px; background: linear-gradient(180deg, #fff, #fffaf8); } .mucwiki-home-kicker { display: inline-flex; width: max-content; max-width: 100%; align-items: center; gap: .42rem; padding: .22rem .58rem; border: 1px solid #ead0cc; border-radius: 999px; background: #fff4f3; color: #7f1d1d; font-size: .78rem; font-weight: 800; line-height: 1.2; } .mucwiki-home-kicker::before { content: ""; width: .38rem; height: .38rem; border-radius: 999px; background: #8f1d2c; } .mucwiki-home-title { color: #181d22; font-size: 2.28rem; font-weight: 800; line-height: 1.08; } .mucwiki-home-lede { max-width: 42rem; color: #29323b; font-size: 1.04rem; font-weight: 700; line-height: 1.55; } .mucwiki-home-copy > p:not([class]) { max-width: 44rem; color: #555f69; } .mucwiki-home-side { display: grid; grid-template-rows: auto auto; gap: .62rem; min-width: 0; } .mucwiki-home-media { position: relative; overflow: hidden; border: 1px solid #e4dfd6; border-radius: 8px; background: #f7f4ef; } .mucwiki-home-media .mw-file-element, .mucwiki-home-media img { display: block; width: 100%; max-width: 100%; height: auto; border-radius: 8px; } .mucwiki-home-media-caption { position: absolute; left: .55rem; bottom: .55rem; max-width: calc(100% - 1.1rem); padding: .2rem .5rem; border-radius: 999px; background: rgba(24, 29, 34, .72); color: #fff; font-size: .76rem; font-weight: 700; line-height: 1.25; white-space: nowrap; } .mucwiki-home-stats-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); overflow: hidden; border: 1px solid #e8e3dc; border-radius: 8px; background: #fff; } .mucwiki-home-stat { min-width: 0; padding: .48rem .35rem; border-left: 1px solid #ece7df; color: #656f7a; 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: #67151f; font-size: 1rem; font-weight: 800; } .mucwiki-home-stat span { margin-top: .12rem; font-size: .76rem; font-weight: 700; } .mucwiki-home-section { margin-top: .1rem; } .mucwiki-home-section h2 { display: flex; align-items: center; gap: .5rem; margin: 0 0 .65rem; padding-bottom: .42rem; border-bottom: 1px solid #e8e3dc; color: #181d22; font-size: 1.12rem; font-weight: 800; letter-spacing: 0; } .mucwiki-home-section h2::before { content: ""; width: .28rem; height: 1rem; border-radius: 999px; background: #8f1d2c; } .mucwiki-home-grid { display: grid; gap: .68rem; } .mucwiki-home-grid--primary { grid-template-columns: repeat(3, minmax(0, 1fr)); } .mucwiki-home-card, .mucwiki-home-panel, .mucwiki-home-help__grid > div, .mucwiki-home-topline, .mucwiki-home-note { border: 1px solid #e1e5e0; border-radius: 8px; background: #fff; } .mucwiki-home-card { position: relative; min-height: 5.1rem; padding: .82rem 2rem .82rem .92rem; overflow: hidden; border-color: #d5e3d8; 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: .22rem; background: #2e6b57; } .mucwiki-home-card::after { content: "›"; position: absolute; top: .78rem; right: .86rem; color: #7c8b7f; font-size: 1.28rem; line-height: 1; transition: color .16s ease, transform .16s ease; } .mucwiki-home-card:hover { border-color: #96b79e; background: #fbfdfb; box-shadow: 0 8px 18px rgba(35, 64, 45, .07); transform: translateY(-1px); } .mucwiki-home-card:hover::after { color: #2e6b57; transform: translateX(1px); } .mucwiki-home-card strong, .mucwiki-home-card span { display: block; } .mucwiki-home-card strong { padding-left: .25rem; color: #181d22; font-size: 1rem; font-weight: 800; line-height: 1.3; } .mucwiki-home-card strong a { color: inherit; } .mucwiki-home-card strong a:focus { outline: 2px solid rgba(143, 29, 44, .28); outline-offset: 2px; border-radius: 4px; text-decoration: none; } .mucwiki-home-card span { margin-top: .3rem; padding-left: .25rem; color: #5f6972; font-size: .94rem; line-height: 1.48; } .mucwiki-home-topline { padding: .68rem .84rem; border-style: dashed; background: #fffdfa; color: #555f69; line-height: 1.55; } .mucwiki-home-note { display: grid; grid-template-columns: minmax(0, 1fr) minmax(14rem, .46fr); gap: .75rem; padding: .78rem .9rem; background: #fbfaf7; color: #555f69; line-height: 1.58; } .mucwiki-home-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem; } .mucwiki-home-panel { position: relative; min-height: 0; overflow: hidden; padding: .88rem 1rem; } .mucwiki-home-panel::before { content: ""; position: absolute; inset: 0 0 auto; height: .18rem; background: #2e6b57; } .mucwiki-home-panel--building::before { background: #b98513; } .mucwiki-home-panel ul { display: grid; gap: .22rem; margin: 0; padding-left: 1.2rem; } .mucwiki-home-panel li { margin: 0; color: #5f6972; } .mucwiki-home-link-cloud { display: flex; flex-wrap: wrap; gap: .45rem; } .mucwiki-home-link-cloud span { display: inline-flex; min-height: 2rem; align-items: center; padding: .32rem .62rem; border: 1px solid #e1e5e0; border-radius: 999px; background: #fff; color: #4d5862; font-size: .92rem; line-height: 1.25; } .mucwiki-home-link-cloud span:hover { border-color: #d7b7ae; background: #fff7f5; } .mucwiki-home-help__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; } .mucwiki-home-help__grid > div { padding: .82rem .92rem; } .mucwiki-home-help h3 { margin: 0 0 .35rem; color: #22272d; font-size: .98rem; font-weight: 800; } .mucwiki-home-help p { color: #5f6972; font-size: .94rem; line-height: 1.52; } @media screen and (max-width: 980px) { .mucwiki-home-masthead { grid-template-columns: minmax(0, 1fr); } .mucwiki-home-copy { min-height: 0; } .mucwiki-home-side { grid-template-columns: minmax(0, 1fr); } .mucwiki-home-media { max-width: 34rem; } } @media screen and (max-width: 720px) { .mucwiki-home { gap: .8rem; } .mucwiki-home-copy { padding: 1rem; } .mucwiki-home-title { font-size: 1.72rem; } .mucwiki-home-grid--primary, .mucwiki-home-columns, .mucwiki-home-note, .mucwiki-home-help__grid { grid-template-columns: minmax(0, 1fr); } .mucwiki-home-card { min-height: 0; } }
返回
模板:MUCWikiHome/styles.css
。
查看“︁模板:MUCWikiHome/styles.css”︁的源代码
来自MUC Wiki