欢迎来到奇葩栖息地!欢迎加入Discord服务器:XfrfHCzfbW。请先至特殊:参数设置验证邮箱后再进行编辑。在特殊:参数设置挑选自己想要使用的小工具!不会编辑?请至这里学习Wikitext语法。
MediaWiki:Common.css:修订间差异
来自奇葩栖息地
SkyEye FAST(讨论 | 贡献) 小 (// Edit via Wikiplus) |
SkyEye FAST(讨论 | 贡献) (回退到SkyEye FAST在2022-03-27 06:35:45时制作的修订版本2612,通过popups) 标签:手工回退 |
(未显示同一用户的1个中间版本) | |
(没有差异)
|
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;
}