User:マジやばくね/common.css
From Project Archive by Lakejason0
Note: After publishing, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
- Opera: Press Ctrl-F5.
/** Color **/
a.mw-userlink,
a[title^="User\:"],
span a.mw-userlink {
color: #0099ff
}
a[title^="Template\:"],
a[title^="\u6a21\u677f\:"],
a[title^="模板\:"] {
color: #007f83 !important
}
a[title^="Module\:"],
a[title^="\u6a21\u5757\:"],
a[title^="模块\:"] {
color: #00559c !important
}
a[title^="File\:"],
a[title^="Media\:"] {
color: #6600cc !important
}
a[title^="Category\:"] {
color: #0076b0 !important
}
a[title^="MediaWiki\:"] {
color: #2e8b57 !important
}
a[title$="\/doc"] {
color: #8b7d22 !important
}
a[title^="Talk\:"],
a[title*="talk\:"],
a[title*="\u8ba8\u8bba\:"],
a[title*="讨论\:"] {
color: #397a00 !important
}
a.mw-usertoollinks-talk {
color: #397a00 !important
}
a.mw-usertoollinks-contribs {
color: #648e00 !important
}
/** 阴影 **/
/** 常规 **/
/* 全局字体 */
:root {
font-size: 15px;
}
body,
.mw-body h1,
.mw-body h2,
.mw-body h3,
.mw-body h4 {
font-family: "Sarasa Gothic SC", sans-serif;
}
code,
samp,
kbd,
tt,
pre,
.mw-code,
.mw-script {
font-family: "Sarasa Mono SC", monospace;
}
textarea,
#wpTextbox1 {
font-family: "Sarasa Mono SC", monospace
}
/* 增加增减字节可读性 */
span.mw-plusminus-neg,
strong.mw-plusminus-neg {
color: #aa0022
}
span.mw-plusminus-pos,
strong.mw-plusminus-pos {
color: #22aa00
}
/* 更改条目、注释等 */
a.mw-changeslist-title {
color: #7171c6
}
/* 链接颜色与外观 */
a,
a:visited {
color: #7171c6
}
a.new,
a:visited.new {
color: #b22020 !important
}
a:hover.new {
color: #cd853f;
text-decoration: none;
}
.mw-body a.external,
.mw-body a.external:visited {
color: #6e7b8b;
}
.mw-body a.external[href^="https://files.lakejason0.ml"],
.mw-body a.external[href^="https://files.lakejason0.ml"]:visited,
.mw-body a.external[href^="//files.lakejason0.ml"],
.mw-body a.external[href^="//files.lakejason0.ml"]:visited {
color: #c67171;
}
a:hover,
a:active {
color: #c0ad00;
text-decoration: none;
}
/* 隐藏空白标签页链接 */
li#ca-talk.new,
li#ca-nstab-user.new,
li#ca-ve-edit,
li#ca-userprofile {
display: none;
}
/* 防止最近更改部分内容漏出页面 */
span.changedby {
position: relative;
max-width: 1050px;
}
div#mw-panel div#p-Minecraft.portal,
div#mw-panel div#p-socialProfiles.portal,
#p-sharing.vectorMenu {
display: none;
}
#p-tb div.body {
display: block !important;
}
/* 防止pre模块溢出使得文本不可读 */
pre,
.mw-code {
overflow-x: auto;
}
code,
pre {
word-break: break-all;
}
/** Wikiplus **/
/* WikiPlus更modern…… */
.Wikiplus-Btn,
.Wikiplus-InterBox button {
box-shadow: 0 0 0px #ffffff !important;
border: 1px solid #a7d7f9 !important;
cursor: pointer !important;
-webkit-user-select: none !important;
-moz-user-select: none !important;
-o-user-select: none !important;
-ms-user-select: none !important;
user-select: none !important;
}
.Wikiplus-InterBox button {
background: white !important;
height: 22px !important;
}
.Wikiplus-Btn {
margin: 3px 10px 3px 0 !important;
}
.Wikiplus-InterBox {
border: 1px #a7d7f9 solid !important;
background: white !important;
width: 80% !important;
margin-left: 11.5em !important;
}
input#Wikiplus-Quickedit-Summary-Input {
height: 18px !important;
}
.Wikiplus-InterBox textarea,
.Wikiplus-InterBox input:not([type]) {
border-color: #a7d7f9 !important;
}
div.Wikiplus-InterBox>div.Wikiplus-InterBox-Content>div>br {
display: none;
}