欢迎来到奇葩栖息地!欢迎加入Discord服务器:XfrfHCzfbW。请先至特殊:参数设置验证邮箱后再进行编辑。在特殊:参数设置挑选自己想要使用的小工具!不会编辑?请至这里学习Wikitext语法。
MediaWiki:Common.css:修订间差异
来自奇葩栖息地
添加的内容 删除的内容
SkyEye FAST(讨论 | 贡献) (建立内容为“→这里放置的CSS将应用于所有皮肤: .mw-wiki-logo, .mw-wiki-logo.fallback { display: block; background-size: 100%; } #p-logo a { background-si…”的新页面) |
SkyEye FAST(讨论 | 贡献) 小无编辑摘要 |
||
第28行: | 第28行: | ||
.mw-body:lang(zh-hans) dt { |
.mw-body:lang(zh-hans) dt { |
||
font-family: 'Linux Libertine', 'Times New Roman', 'Liberation Serif', 'Nimbus Roman', 'Noto Serif SC', 'Times', serif; |
font-family: 'Linux Libertine', 'Times New Roman', 'Liberation Serif', 'Nimbus Roman', 'Noto Serif SC', '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 TC', 'Times', serif; |
|||
} |
} |
||
.mw-body:lang(zh) .toctitle h2, |
.mw-body:lang(zh) .toctitle h2, |
||
.mw-body:lang(zh-hans) .toctitle h2 |
.mw-body:lang(zh-hans) .toctitle h2{ |
||
.mw-body:lang(zh-hant) .toctitle h2 { |
|||
font-family: 'Segoe UI','Segoe UI Emoji','Segoe UI Symbol','Lato','Liberation Sans','Noto Sans','Helvetica Neue','Helvetica',sans-serif; |
font-family: 'Segoe UI','Segoe UI Emoji','Segoe UI Symbol','Lato','Liberation Sans','Noto Sans','Helvetica Neue','Helvetica',sans-serif; |
||
} |
} |
||
第303行: | 第290行: | ||
.jslink:active { |
.jslink:active { |
||
color: #FAA700; |
color: #FAA700; |
||
⚫ | |||
/* Template:Quote */ |
|||
.quote-content, .quote-content:lang(zh-Hans), .quote-content:lang(zh-Hans-CN) { |
|||
font-size: 107.143%; |
|||
font-family: Garamond, Optima, "Times New Roman", "Liberation Serif", "Kaiti SC", "AR PL UKai CN", "Adobe Kaiti Std", "AR PL UKai TW", KaiTi, STKaiti, BiauKai, DFKai-SB, sans-serif; |
|||
} |
|||
.quote-content:lang(zh-Hant), .quote-content:lang(zh-Hant-TW) { |
|||
font-family: Garamond, Optima, "Times New Roman", "Liberation Serif", "Kaiti TC", "AR PL UKai TW", "Adobe Kaiti Std", "AR PL UKai CN", BiauKai, DFKai-SB, KaiTi, STKaiti, sans-serif; |
|||
} |
} |
2021年5月27日 (四) 05:06的版本
/* 这里放置的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 SC', 'Times', serif;
}
.mw-body:lang(zh) .toctitle h2,
.mw-body:lang(zh-hans) .toctitle h2{
font-family: 'Segoe UI','Segoe UI Emoji','Segoe UI Symbol','Lato','Liberation Sans','Noto Sans','Helvetica Neue','Helvetica',sans-serif;
}
/* Element animator */
#siteNotice .animated > *:not(.animated-active),
#bodyContent .animated > *:not(.animated-active),
#bodyContent .animated > .animated-subframe > *:not(.animated-active) {
display: none;
}
#bodyContent span.animated,
#bodyContent span.animated.animated-visible > *,
#bodyContent span.animated.animated-visible > .animated-subframe > * {
display: inline-block;
}
#bodyContent div.animated.animated-visible > *,
#bodyContent div.animated.animated-visible > .animated-subframe > * {
display: block;
}
/* From wjghj.cn under CC BY-NC-SA 4.0 */
.siteNoticeScroll {
width: 100%;
height: 25px;
line-height: 25px;
overflow: hidden
}
.siteNoticeScroll li {
height: 25px;
list-style: none;
text-align: center
}
/** 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:Dablink]] */
.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;
}
/* [[Template:Tabs]] */
.tabtable-nav {
display: inline-block;
}
.tabtable-tab {
display: inline-block;
cursor: pointer;
}
.tabtable-tab.active {
background: #fff;
border-bottom-color: #fff;
}
.tabtable-tab span {
border: 2px solid transparent;
border-top-left-radius: .25rem;
border-top-right-radius: .25rem;
padding: 0.5rem 1rem;
display: block;
}
.tabtable-tab.active span {
color: #495057;
background-color: #fff;
border-color: #666 #666 #fff;
}
.tabtable-cell {
padding: 5px;
border: 2px solid #666;
margin-top: -2px;
display: none;
background: #fff;
}
.tabtable-cell.active {
display: inline-block;
}
/* 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;
}
/* Template:Quote */
.quote-content, .quote-content:lang(zh-Hans), .quote-content:lang(zh-Hans-CN) {
font-size: 107.143%;
font-family: Garamond, Optima, "Times New Roman", "Liberation Serif", "Kaiti SC", "AR PL UKai CN", "Adobe Kaiti Std", "AR PL UKai TW", KaiTi, STKaiti, BiauKai, DFKai-SB, sans-serif;
}
.quote-content:lang(zh-Hant), .quote-content:lang(zh-Hant-TW) {
font-family: Garamond, Optima, "Times New Roman", "Liberation Serif", "Kaiti TC", "AR PL UKai TW", "Adobe Kaiti Std", "AR PL UKai CN", BiauKai, DFKai-SB, KaiTi, STKaiti, sans-serif;
}