/* 分块 ---------------------------------------- */ .linter-wrapper { display: block; box-sizing: border-box; max-width: 93em; margin: .5em auto 1em; padding: 1.3em; border-radius: .6em; box-shadow: 0 2px 13px #a6a6a6; transition-duration: .3s; } @media screen and (max-width: 768px) { .linter-wrapper { padding: .9em; } } @media screen and (max-width: 480px) { .linter-wrapper { padding: .6em; } } .linter-wrapper>ul .external { background: none; padding-right: inherit; } .linter-wrapper>ul>li { margin-bottom: .15em; } .linter-wrapper a, .linter-wrapper a:visited, .linter-wrapper a.external, .linter-wrapper a.external:visited { color: #0645ad; } .linter-wrapper a:active { color: #faa700; } .linter-wrapper .heimu a { color: #222; } /* 目录 ---------------------------------------- */ .linter-toc { display: table; box-sizing: border-box; min-width: 9.7em; margin-bottom: 1em; padding: .5em; font-size: inherit; border: 1px solid rgba(127, 127, 127, 0.3); border-radius: .6em; box-shadow: 1px 2px 5px rgba(127, 127, 127, 0.4); background: rgba(255, 255, 255, 0.4) !important; } .linter-toc .toc-head { height: 1.5em; line-height: 1.5em; text-align: center; font-weight: 700; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; } .linter-toc .mw-collapsible-toggle { height: 1.5em; line-height: 1.5em; transition-duration: .3s; } .linter-toc .mw-collapsible-toggle:hover { background-color: rgba(172, 172, 172, 0.28); } .linter-toc .mw-collapsible-text:hover { text-decoration: none; } .linter-toc .toc-content { margin-top: .15em; } .linter-toc .toc-content>div a { display: block; padding: 0 0.8em; border-radius: .36em; transition-duration: .3s; } .linter-toc .mw-collapsible-text { padding: .1em .2em; transition-duration: .3s; border-radius: .4em; } .linter-toc .mw-collapsible-toggle-default::before, .linter-toc .mw-collapsible-toggle-default::after { content: none; } .linter-toc .toc-content>div a:hover { text-decoration: none; background-color: rgba(172, 172, 172, 0.28); } @media screen and (max-width: 576px) { .linter-toc { width: 100% } } /* 序言 ---------------------------------------- */ .linter-cquote { display: flex; justify-content: center; box-sizing: border-box; min-width: 40%; } .linter-cquote .cquote-left { align-self: flex-start; } .linter-cquote .cquote-right { align-self: flex-end; } .linter-cquote .cquote-left, .linter-cquote .cquote-right { line-height: 1.2em; font-size: 2.2em; font-weight: 700; font-family: "Times New Roman", Times, "Source Han Serif SC", "Source Han Serif CN", "Noto Serif CJK SC", 思源宋体, serif; } .linter-cquote .cquote-content { padding: .6em 1em; min-height: 1.6em; line-height: 1.6em; text-align: center; } /* 用户框 ---------------------------------------- */ .linter-userbox { display: inline-block; margin: 1px 6px 2px 0; box-shadow: 2px 2px 5px rgba(127, 127, 127, 0.4); transition: all .3s ease-out !important; border-collapse: collapse; border-spacing: 0; height: 60px; } .linter-userbox th { box-sizing: border-box; height: 60px; padding: 0; overflow: hidden; color: inherit; border-right: 1px solid rgba(127, 127, 127, 0.3); background-color: rgba(255, 255, 255, 0.6); vertical-align: middle; user-select: none; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; } .linter-userbox th>div { display: flex; align-items: center; justify-content: center; width: 60px; height: 60px; overflow: hidden; line-height: 1.2; } .linter-userbox th>div>img, .linter-userbox th>div>a>img{ max-width: 60px; max-height: 60px; } .linter-userbox td { box-sizing: border-box; width: 200px; padding: 0 0.3em; text-shadow: 1px 1px 3px rgba(255, 255, 255, 0.5); background: rgba(255, 255, 255, 0.3); vertical-align: middle; line-height: 1.2em; } .linter-userbox:hover { transform: scale(1.05); } /* 贡献 ---------------------------------------- */ .linter-contribution { box-sizing: border-box; max-width: 93em; margin: auto; padding: .6em; border: 1px solid #ccc; border-radius: .6em; box-shadow: 0 0 6px rgba(127, 127, 127, 0.5); } .linter-contribution>ul { display: flex; flex-flow: row wrap; margin: 0 !important; cursor: default; } .linter-contribution li { margin: 0; list-style: none none; } .linter-contribution>ul>li { flex: 1 1 16em; margin: 0; padding: 0.6em !important; font-size: 114%; font-weight: 700; border-radius: .6em; transition-duration: .5s; } .linter-contribution>ul>li:hover { background-color: rgba(172, 172, 172, 0.22); } .linter-contribution>ul>li>ul { margin: 0 0 0 1.2em !important; max-height: 22em; overflow: auto; font-size: 87.7%; font-weight: 400; } .linter-contribution>ul>li>ul>li>i { padding-left: .1em; font-size: 60%; color: #889; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; } .linter-sub::after, .linter-contribution>ul>li>ul>li>i::before { content: "改"; vertical-align: baseline; padding-left: .1em; color: #889; } @media screen and (max-width: 576px) { .linter-contribution { max-height: 83vh; overflow: auto; } .linter-contribution>ul>li>ul { max-height: initial; } } /* 按钮 ---------------------------------------- */ .linter-button { margin: 0 0 .3em; } .linter-buttontext { display: inline-block; padding: 0.3em 0.5em; border: 1px solid #ccc; border-radius: 0.4em; font-family: "Source Han Serif SC", "Source Han Serif CN", "Noto Serif CJK SC", sans-serif; font-size: 1.2em; font-weight: 800; box-shadow: 1px 2px 5px rgba(127, 127, 127, 0.3); transition-duration: .5s; background: linear-gradient(125deg, rgba(255, 255, 255, 1) 0, rgba(255, 255, 255, 0.6) 23%, rgba(255, 255, 255, 0) 36%, rgba(255, 255, 255, 0) 64%, rgba(255, 255, 255, 0.6) 77%, rgba(255, 255, 255, 1) 100%); } .linter-buttontext:hover { transform: translate(0, -0.2em); } /* 签名版 ---------------------------------------- */ .linter-signboard { overflow: auto; max-height: 26.5em; border: 3px solid #000000; border-radius: .6em; } .linter-signboard>ol { list-style-type: decimal-leading-zero !important; } .linter-signboard>ol>li { padding-left: .25em; border-radius: .45em; transition-duration: .3s; cursor: default; word-wrap: break-word; } .linter-signboard>ol>li:hover { background-color: rgba(172, 172, 172, .28); } .linter-signboard>ol>li span[style^="color:#000;font-size:1em;line-height:1.4;background:#ddd;"] { background-color: rgba(245, 246, 247, .5) !important; } /* 标题 ---------------------------------------- */ h2.linter-title { margin: .3em 0 !important; padding: 0 !important; border-bottom: 0 !important; } h3.linter-title { margin: .3em 0 0 0 !important; padding: 0 !important; } h2.linter-title .mw-headline { padding-left: 0 !important; font-family: "Noto Sans", "Noto Sans CJK SC", "Source Han Sans SC", "Source Han Sans CN", 思源黑体, -apple-system, "Microsoft YaHei", "Wenquanyi Micro Hei", "Helvetica Neue", Helvetica, "Nimbus Sans L", Arial, "Liberation Sans", "PingFang SC", "Hiragino Sans GB", "WenQuanYi Zen Hei", "ST Heiti", SimHei, "WenQuanYi Zen Hei Sharp", sans-serif; cursor: default; color: #FFFFFF; text-shadow: -1px -1px 0 #000000, -1px 0 0 #000000, -1px 1px 0 #000000, 1px -1px 0 #000000, 1px 0 0 #000000, 1px 1px 0 #000000, 0 1px 0 #000000, 0 -1px 0 #000000, 0 2px 2px rgba(0, 0, 0, 0.6); } h2.linter-title .mw-headline::before { content: "\00a0"; display: inline-block; width: 1.2em; background: url("https://img.moegirl.org.cn/common/c/c6/%E6%80%80%E8%A1%A8.png") center/contain no-repeat; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.913)); } h2.linter-title .mw-editsection { float: right; margin-top: .25em; } h2.linter-title .mw-editsection-bracket, h3.linter-title span.mw-editsection, h4.linter-title span.mw-editsection { display: none; } h2.linter-title span.mw-editsection a, h2.linter-title span.mw-editsection-divider { opacity: .45; } h2.linter-title span.mw-editsection a:hover { text-decoration: none; opacity: .85; } h2.linter-title::before, h3.linter-title::before, h4.linter-title::before, h2.linter-title::after { content: none !important; } /* 隐藏编辑按钮 */ .mw-editsection { display: none; } /* 展廊 ---------------------------------------- */ .linter-hall { display: flex; flex-flow: row wrap; justify-content: space-around; column-gap: .6em; } .linter-showcase { position: relative; display: inline-block; overflow: hidden; box-sizing: border-box; width: 160px; margin-bottom: .6em; background: linear-gradient(125deg, rgba(255, 255, 255, 1) 0, rgba(255, 255, 255, 0.6) 23%, rgba(255, 255, 255, 0) 36%, rgba(255, 255, 255, 0) 64%, rgba(255, 255, 255, 0.6) 77%, rgba(255, 255, 255, 1) 100%); border-radius: 8px; box-shadow: 2px 2px 5px rgba(127, 127, 127, 0.5); -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; transition: transform .7s cubic-bezier(0.175, 0.885, 0.32, 1.25); } .linter-showcase:hover { transform: translate(0, -0.35em); } .linter-showcase .showcase-content { display: flex; justify-content: center; align-items: center; min-height: 64px; overflow: hidden; margin: 0; padding: 0; text-align: center; } .linter-showcase .showcase-content img { width: 100%; height: auto; } .linter-showcase .content-text { font-size: 1.1em; font-weight: 700; } .linter-showcase .showcase-summary { margin: .2em .7em .5em; line-height: 1.5em; } .linter-showcase a { display: block; position: absolute; top: 0; right: 0; bottom: 0; left: 0; opacity: 0; z-index: 4; }