欢迎来到奇葩栖息地!欢迎加入Discord服务器:XfrfHCzfbW。请先至特殊:参数设置验证邮箱后再进行编辑。在特殊:参数设置挑选自己想要使用的小工具!不会编辑?请至这里学习Wikitext语法。
MediaWiki:Common.css:修订间差异
来自奇葩栖息地
添加的内容 删除的内容
SkyEye FAST(讨论 | 贡献) (//Edit via InPageEdit) 标签:已被回退 |
SkyEye FAST(讨论 | 贡献) (回退到SkyEye FAST在2022-03-27 06:35:45时制作的修订版本2612,通过popups) 标签:手工回退 |
||
第4行: | 第4行: | ||
* 同时用于桌面版和移动版请放置于[[MediaWiki:Gadget-site-styles.css]]内 |
* 同时用于桌面版和移动版请放置于[[MediaWiki:Gadget-site-styles.css]]内 |
||
*/ |
*/ |
||
:root { |
|||
--custom-background-blue: #ccf; |
|||
--custom-background-cyan: #cef; |
|||
--custom-background-green: #cfc; |
|||
--custom-background-gray: #d2d2d2; |
|||
--custom-background-grey: var(--custom-background-gray); |
|||
--custom-background-magenta: #fdf; |
|||
--custom-background-orange: #fdb; |
|||
--custom-background-purple: #ecf; |
|||
--custom-background-red: #fcc; |
|||
--custom-background-yellow: #ffc; |
|||
--custom-border-blue: #36e; |
|||
--custom-border-cyan: #9df; |
|||
--custom-border-green: #5d5; |
|||
--custom-border-gray: #bbb; |
|||
--custom-border-grey: var(--custom-border-gray); |
|||
--custom-border-magenta: #f9f; |
|||
--custom-border-orange: #f90; |
|||
--custom-border-purple: #96c; |
|||
--custom-border-red: #e44; |
|||
--custom-border-yellow: #fc3; |
|||
--custom-closed-topic-neutral: #eef; |
|||
--custom-closed-topic-no: #fee; |
|||
--custom-closed-topic-yes: #efe; |
|||
--custom-documentation: #eaf4f9; |
|||
--custom-documentation-baddoc: #f9f2ea; |
|||
--custom-documentation-nodoc: #f9eaea; |
|||
--custom-load-page-button-color: #fff8; |
|||
--custom-main-page-background: #fcfcfc; |
|||
--custom-main-page-border: var(--custom-border-gray); |
|||
--custom-main-page-edition-subheader: #333; |
|||
--custom-mcwiki-header-color: #bcd4f5; |
|||
--custom-navbox-background: #fff; |
|||
--custom-navbox-top: #ccc; |
|||
--custom-navbox-middle: #ddd; |
|||
--custom-navbox-thru: #eee; |
|||
--custom-nbt-inherit-color: #e6e6fa; |
|||
--custom-table-background: #f8f9fa; |
|||
--custom-table-alternate-background: #f0f1f2; |
|||
--custom-table-choice-always: #004100; |
|||
--custom-table-choice-always-background: #5dcc5d; |
|||
--custom-table-choice-default: #fff; |
|||
--custom-table-choice-in-off-background: #060; |
|||
--custom-table-choice-in-on-background: #0c0; |
|||
--custom-table-choice-na: #000; |
|||
--custom-table-choice-neutral: #9c6500; |
|||
--custom-table-choice-neutral-background: #ffeb9c; |
|||
--custom-table-choice-never: #700005; |
|||
--custom-table-choice-never-background: #ff5757; |
|||
--custom-table-choice-no: #9c0006; |
|||
--custom-table-choice-no-background: #ffc7ce; |
|||
--custom-table-choice-out-off-background: #900; |
|||
--custom-table-choice-out-on-background: #f00; |
|||
--custom-table-choice-partial: #8a7600; |
|||
--custom-table-choice-partial-background: #ffd; |
|||
--custom-table-choice-planned: #0131b7; |
|||
--custom-table-choice-planned-background: #dfdfff; |
|||
--custom-table-choice-rarely: #835400; |
|||
--custom-table-choice-rarely-background: #fdce5e; |
|||
--custom-table-choice-unknown: #222; |
|||
--custom-table-choice-unknown-background: #ccc; |
|||
--custom-table-choice-yes: #006100; |
|||
--custom-table-choice-yes-background: #c6efce; |
|||
--custom-table-header-background: #eaecf0; |
|||
--custom-topic-30-days: #bbb; |
|||
--custom-topic-7-days: #ddd; |
|||
} |
|||
.mw-wiki-logo, .mw-wiki-logo.fallback { |
.mw-wiki-logo, .mw-wiki-logo.fallback { |
2023年9月30日 (六) 15:41的最新版本
/*
* 这里放置的CSS将应用于所有皮肤,仅对桌面版视图生效
* 仅用于移动版视图请放置于[[MediaWiki:Mobile.css]]内
* 同时用于桌面版和移动版请放置于[[MediaWiki:Gadget-site-styles.css]]内
*/
.mw-wiki-logo, .mw-wiki-logo.fallback {
display: block;
background-size: 100%;
}
#p-logo a {
background-size: 100%;
}
#siteSub:lang(zh),
#p-logo-text:lang(zh) a,
.mw-body:lang(zh) h1,
.mw-body:lang(zh) h2,
.mw-body:lang(zh) h3,
.mw-body:lang(zh) h4,
.mw-body:lang(zh) h5,
.mw-body:lang(zh) h6,
.mw-body:lang(zh) dt,
#siteSub:lang(zh-hans),
#p-logo-text:lang(zh-hans) a,
.mw-body:lang(zh-hans) h1,
.mw-body:lang(zh-hans) h2,
.mw-body:lang(zh-hans) h3,
.mw-body:lang(zh-hans) h4,
.mw-body:lang(zh-hans) h5,
.mw-body:lang(zh-hans) h6,
.mw-body:lang(zh-hans) dt {
font-family: 'Linux Libertine', 'Times New Roman', 'Liberation Serif', 'Nimbus Roman', '思源宋体', 'Noto Serif CJK SC', 'Source Han Serif SC', 'Noto Serif SC', 'Noto Serif', 'Times', serif;
}
#siteSub:lang(zh-hant),
#p-logo-text:lang(zh-hant) a,
.mw-body:lang(zh-hant) h1,
.mw-body:lang(zh-hant) h2,
.mw-body:lang(zh-hant) h3,
.mw-body:lang(zh-hant) h4,
.mw-body:lang(zh-hant) h5,
.mw-body:lang(zh-hant) h6,
.mw-body:lang(zh-hant) dt {
font-family: 'Linux Libertine', 'Times New Roman', 'Liberation Serif', 'Nimbus Roman', 'Noto Serif CJK TC', 'Source Han Serif TC', 'Noto Serif TC', 'Times', serif;
}
#siteSub:lang(ja),
#p-logo-text:lang(ja) a,
.mw-body:lang(ja) h1,
.mw-body:lang(ja) h2,
.mw-body:lang(ja) h3,
.mw-body:lang(ja) h4,
.mw-body:lang(ja) h5,
.mw-body:lang(ja) h6,
.mw-body:lang(ja) dt {
font-family: 'Linux Libertine', 'Times New Roman', 'Liberation Serif', 'Nimbus Roman', 'Noto Serif CJK', 'Source Han Serif', 'Noto Serif JP', 'Times', serif;
}
/* Reset italic styling set by user agent */
cite, dfn {
font-style: inherit;
}
/* Straight quote marks for <q> */
q {
quotes: '"' '"' "'" "'";
}
/* Style the sitenotice, avoid content jumping */
#siteNotice {
margin-bottom: 2px;
text-align: center;
}
/* prevent sitenotice show/hide toggle from moving page contents down after pageload */
.globalNotice .globalNoticeDismiss {
float: right;
}
#siteNotice #localNotice, #siteNotice .globalNotice {
background-color: transparent;
border: none;
}
#localNotice .globalNoticeDismiss {
display: none;
}
/** Template stylings **/
/* [[Template:SimpleNavbox]] */
.navbox {
background: #FFF;
border: 1px solid #CCC;
margin: 1em auto 0;
width: 100%;
}
.navbox table {
background: #FFF;
margin-left: -4px;
margin-right: -2px;
}
.navbox table:first-child {
margin-top: -2px;
}
.navbox table:last-child {
margin-bottom: -2px;
}
.navbox .navbox-top {
white-space: nowrap;
background-color: #CCC;
padding: 0 3px;
text-align: center;
}
.navbox .navbox-middle {
white-space: nowrap;
background-color: #DDD;
padding: 0 3px;
text-align: center;
}
.navbox .navbox-thru {
white-space: nowrap;
background-color: #EEE;
padding: 0 3px;
text-align: center;
}
.navbox-navbar,
.navbox-navbar-mini {
float: left;
font-size: 80%;
}
.navbox-title {
padding: 0 10px;
font-size: 110%;
}
.navbox th {
background-color: #EEE;
padding: 0 10px;
white-space: nowrap;
text-align: right;
}
.navbox td {
width: 100%;
padding: 0 0 0 2px;
}
/* [[Template:LoadBox]] with navbox */
.loadbox-navbox {
padding: 2px !important;
margin: 1em 0 0 !important;
clear: both;
}
#content .loadbox-navbox > p {
background-color: #CCC;
text-align: center;
margin: 0;
padding: 0 3px;
}
.loadbox-navbox > p > b {
font-size: 110%;
}
.loadbox-navbox .navbox {
margin: 0 -2px -2px;
border: 0;
}
.loadbox-navbox > .load-page-content > .mw-parser-output > .navbox > tbody > tr:first-child {
display: none;
}
/* [[Template:Hatnote]] */
.dablink {
padding-left: 2em;
}
/* Turn a list into a tree view style (See [[.minecraft]]) */
.treeview {
margin-top: 0.3em;
}
.treeview .treeview-header {
padding-left: 3px;
font-weight: bold;
}
.treeview .treeview-header:last-child {
border-color: #636363 !important;
border-left-style: dotted;
}
.treeview .treeview-header:not(:last-child)::before {
content: none;
}
.treeview .treeview-header:last-child::before {
border-bottom: 0;
}
.treeview ul,
.treeview li {
margin: 0;
padding: 0;
list-style-type: none;
list-style-image: none;
}
.treeview li li {
position: relative;
padding-left: 13px;
margin-left: 7px;
border-left: 1px solid #636363;
}
.treeview li li::before {
content: "";
position: absolute;
top: 0;
left: -1px;
width: 11px;
height: 11px;
border-bottom: 1px solid #636363;
}
.treeview li li:last-child:not(.treeview-continue) {
border-color: transparent;
}
.treeview li li:last-child:not(.treeview-continue)::before {
border-left: 1px solid #636363;
width: 10px;
}
.nbttree-inherited {
background-color: #E6E6FA;
}
/* Navbar styling when nested in infobox and navbox */
.infobox .navbar {
font-size: 100%;
}
/* Fix for hieroglyphs specificity issue in infoboxes ([[phab:T43869]]) */
table.mw-hiero-table td {
vertical-align: middle;
}
#siteSub {
display: block; font-weight: normal; font-size: normal;
}
body.page-Main_Page.action-view #siteSub,
body.page-Main_Page.action-submit #siteSub {
display: none;
}
/* Simulate link styling for JS only links */
.jslink {
color: #0645AD;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
.jslink:hover {
text-decoration: underline;
cursor: pointer;
}
.jslink:active {
color: #FAA700;
}
/* Mark internal links as plain */
#content a.external[href^="https://mh.wdf.ink/wiki/"], {
background: none;
padding-right: 0;
}