打开/关闭搜索
搜索
打开/关闭菜单
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: .74rem; 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, .96fr) minmax(17rem, .44fr); gap: .7rem; align-items: stretch; padding: .58rem; border: 1px solid #dce2db; border-radius: 8px; background: #fff; box-shadow: 0 1px 2px rgba(42, 48, 41, .026); } .mucwiki-home-copy { display: grid; align-content: center; gap: .48rem; min-height: 0; padding: .76rem .88rem; border-left: 3px solid #b42318; border-radius: 8px; background: #fff; line-height: 1.56; } .mucwiki-home-kicker { display: inline-flex; width: max-content; max-width: 100%; min-height: 1.45rem; align-items: center; padding: .18rem .54rem; border: 1px solid #efcbc7; border-radius: 999px; background: #fff4f2; color: #7f1d1d; font-size: .76rem; font-weight: 700; line-height: 1.2; } .mucwiki-home-kicker::before { content: ""; width: .36rem; height: .36rem; margin-right: .32rem; border-radius: 999px; background: #b42318; } .mucwiki-home-title { color: #141b22; font-size: 1.76rem; font-weight: 700; line-height: 1.12; } .mucwiki-home-lede { max-width: 42rem; color: #263044; font-size: .96rem; font-weight: 600; line-height: 1.48; } .mucwiki-home-side { display: grid; grid-template-rows: minmax(0, auto) auto; gap: .34rem; min-width: 0; padding: .44rem; border: 1px solid #e1e6e0; border-radius: 8px; background: #fbfcfb; } .mucwiki-home-media { display: grid; align-items: center; justify-items: center; min-height: 0; max-height: 9.7rem; overflow: hidden; padding: .22rem .2rem .12rem; border: 0; border-radius: 8px; background: transparent; } .mucwiki-home-media .mw-file-element, .mucwiki-home-media img { display: block; width: auto; max-width: 88%; max-height: 9.2rem; height: auto; border-radius: 7px; object-fit: contain; } .mucwiki-home-stats-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; overflow: hidden; border: 1px solid #e8ece7; border-radius: 8px; background: rgba(255, 255, 255, .72); } .mucwiki-home-stat { min-width: 0; padding: .36rem .36rem .34rem; border: 0; border-left: 1px solid #edf0ec; border-radius: 0; background: transparent; box-shadow: none; color: #54595d; 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: #17446e; font-size: .94rem; font-weight: 700; } .mucwiki-home-stat span { margin-top: .1rem; color: #69727a; font-size: .74rem; font-weight: 700; } .mucwiki-home-section { margin-top: 0; } .mucwiki-home-section h2 { display: flex; align-items: center; gap: .42rem; margin: 0 0 .52rem; padding-bottom: .34rem; border-bottom: 1px solid #e8ece7; color: #141b22; font-size: 1.04rem; font-weight: 800; letter-spacing: 0; } .mucwiki-home-section h2::before { content: ""; display: inline-block; width: .28rem; height: .95rem; border-radius: 999px; background: #b42318; } .mucwiki-home-grid { display: grid; gap: .54rem; } .mucwiki-home-grid--primary { grid-template-columns: repeat(3, minmax(0, 1fr)); } .mucwiki-home-section--entries { padding: .02rem 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 #e1e6e0; border-radius: 8px; background: rgba(255, 255, 255, .96); box-shadow: none; } .mucwiki-home-card { position: relative; min-height: 4.2rem; padding: .64rem 1.68rem .64rem .76rem; overflow: hidden; border-color: #d7e1d9; box-shadow: 0 1px 2px rgba(42, 48, 41, .028); 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: .9; } .mucwiki-home-card::after { content: "›"; position: absolute; top: .72rem; right: .8rem; color: #718775; font-size: 1.22rem; line-height: 1; transition: color .16s ease, transform .16s ease; } .mucwiki-home-card:hover { border-color: #9db99f; background: #fbfdfb; box-shadow: 0 7px 18px rgba(42, 48, 41, .052); 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: .94rem; font-weight: 700; line-height: 1.28; } .mucwiki-home-card strong a { color: inherit; } .mucwiki-home-card strong a:focus { outline: 2px solid rgba(180, 35, 24, .28); outline-offset: 2px; border-radius: 4px; text-decoration: none; } .mucwiki-home-card span { margin-top: .22rem; padding-left: .25rem; color: #5f6972; font-size: .93rem; line-height: 1.44; } .mucwiki-home-topline, .mucwiki-home-note { margin-top: 0; color: #54595d; line-height: 1.56; } .mucwiki-home-topline { padding: .58rem .76rem; border-style: dashed; background: transparent; } .mucwiki-home-note { display: grid; grid-template-columns: minmax(0, 1fr) minmax(15rem, .5fr); gap: .62rem; padding: .68rem .78rem; background: #fbfcfb; } .mucwiki-home-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .74rem; } .mucwiki-home-panel { position: relative; min-height: 0; overflow: hidden; padding: .78rem .9rem; background: #fff; } .mucwiki-home-panel::before { content: ""; position: absolute; inset: 0 0 auto; height: .16rem; background: #24735d; } .mucwiki-home-panel ul { display: grid; gap: .2rem; margin: .08rem 0 0; padding-left: 1.02rem; line-height: 1.56; } .mucwiki-home-panel--building { border-color: #eadfbd; background: #fffaf0; } .mucwiki-home-panel--building::before { background: #8a570b; } .mucwiki-home-link-cloud { display: flex; flex-wrap: wrap; gap: .36rem; } .mucwiki-home-link-cloud p { display: flex; flex-wrap: wrap; gap: .36rem; margin: 0; } .mucwiki-home-link-cloud span { display: inline-flex; align-items: center; min-height: 1.82rem; padding: .24rem .5rem; border: 1px solid #e1e6e0; border-radius: 999px; background: rgba(255, 255, 255, .9); color: #344054; font-size: .9rem; line-height: 1.24; transition: border-color .16s ease, background .16s ease, box-shadow .16s ease, transform .16s ease; } .mucwiki-home-link-cloud span:hover { border-color: #bccbbb; background: #f7fbf8; box-shadow: 0 3px 10px rgba(42, 48, 41, .028); transform: translateY(-1px); } .mucwiki-home-link-cloud a:focus { outline: 2px solid rgba(180, 35, 24, .28); outline-offset: 2px; border-radius: 4px; } .mucwiki-home-help__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .58rem; } .mucwiki-home-help__grid > div { position: relative; padding: .72rem .8rem; background: #fbfcfb; } .mucwiki-home-help__grid > div::before { content: ""; display: block; width: 1.54rem; height: .16rem; margin-bottom: .5rem; border-radius: 999px; background: #b42318; } .mucwiki-home-help h3 { margin: 0 0 .3rem; color: #141b22; font-size: .96rem; font-weight: 700; } .mucwiki-home-help p { color: #54595d; line-height: 1.54; } .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: .5rem; font-size: .9rem; } .mucwiki-home-masthead { gap: .42rem; padding: .42rem; } .mucwiki-home-copy { gap: .32rem; padding: .42rem .22rem .42rem .52rem; border-left-width: 2px; line-height: 1.46; } .mucwiki-home-copy > p:not(.mucwiki-home-kicker):not(.mucwiki-home-title):not(.mucwiki-home-lede) { color: #46515d; font-size: .84rem; line-height: 1.4; } .mucwiki-home-kicker { min-height: 1.3rem; padding: .14rem .44rem; font-size: .72rem; } .mucwiki-home-kicker::before { width: .32rem; height: .32rem; margin-right: .26rem; } .mucwiki-home-title { font-size: 1.16rem; line-height: 1.14; } .mucwiki-home-lede { font-size: .82rem; line-height: 1.4; } .mucwiki-home-side { grid-template-columns: 1fr; grid-template-rows: auto; gap: .32rem; align-items: stretch; padding: .34rem; } .mucwiki-home-media { min-height: 6.15rem; max-height: 6.15rem; padding: .12rem .1rem 0; } .mucwiki-home-media .mw-file-element, .mucwiki-home-media img { display: block; width: auto; max-width: 86%; max-height: 5.85rem; object-fit: contain; } .mucwiki-home-stats-grid { align-self: stretch; } .mucwiki-home-stat { display: grid; align-content: center; padding: .22rem .16rem; } .mucwiki-home-stat strong, .mucwiki-home-stat strong a { font-size: .76rem; } .mucwiki-home-stat span { margin-top: .06rem; font-size: .63rem; line-height: 1.14; } .mucwiki-home-section h2 { margin-bottom: .36rem; padding-bottom: .28rem; font-size: .95rem; } .mucwiki-home-grid { gap: .42rem; } .mucwiki-home-grid--primary { grid-template-columns: 1fr; } .mucwiki-home-section--entries { padding: .02rem 0 0; } .mucwiki-home-card { min-height: 3.25rem; padding: .46rem 1.38rem .46rem .6rem; } .mucwiki-home-card::after { top: .52rem; right: .7rem; } .mucwiki-home-card strong { font-size: .88rem; } .mucwiki-home-card span { margin-top: .14rem; font-size: .82rem; line-height: 1.36; } .mucwiki-home-topline, .mucwiki-home-note, .mucwiki-home-panel, .mucwiki-home-help__grid > div { padding: .56rem .62rem; } .mucwiki-home-note { gap: .4rem; } .mucwiki-home-panel ul { gap: .18rem; line-height: 1.48; } .mucwiki-home-link-cloud, .mucwiki-home-link-cloud p { gap: .32rem; } .mucwiki-home-link-cloud span { min-height: 1.66rem; padding: .22rem .44rem; border-radius: 8px; font-size: .84rem; } }
返回
模板:MUCWikiHome/styles.css
。
查看“︁模板:MUCWikiHome/styles.css”︁的源代码
来自MUC Wiki