欢迎来到奇葩栖息地!欢迎加入Discord服务器:XfrfHCzfbW。请先至特殊:参数设置验证邮箱后再进行编辑。在特殊:参数设置挑选自己想要使用的小工具!不会编辑?请至这里学习Wikitext语法。
MediaWiki:Gadget-site-styles.css:修订间差异
来自奇葩栖息地
添加的内容 删除的内容
SkyEye FAST(讨论 | 贡献) (建立内容为“/* * 这里放置的样式将同时应用到桌面版和移动版视图 * 仅用于桌面版的样式请放置于MediaWiki:Common.css和其他皮肤对应…”的新页面) |
SkyEye FAST(讨论 | 贡献) (//Edit via InPageEdit) |
||
(未显示2个用户的24个中间版本) | |||
第5行: | 第5行: | ||
*/ |
*/ |
||
/* content mostly taken from [ |
/* content mostly taken from [[adodoz:MediaWiki:Gadget-site-styles.css]], also from [[mcw:zh:MediaWiki:Gadget-site-styles.css]] & [[moe:zh:MediaWiki:Gadget-site-styles.css]] */ |
||
/* also from [[mcw:zh:MediaWiki:Gadget-site-styles.css]] */ |
|||
/* 复制粘贴到别的地方的时候记得写原出处,而不要写这里。 */ |
/* 复制粘贴到别的地方的时候记得写原出处,而不要写这里。 */ |
||
/* Reset tab size */ |
|||
body { |
|||
tab-size: 4; |
|||
-moz-tab-size: 4; |
|||
} |
|||
/* Element animator */ |
|||
th.mbox-text, |
|||
#siteNotice .animated > *:not(.animated-active), |
|||
td.mbox-text { |
|||
#localNotice .animated > *:not(.animated-active), |
|||
border: none; |
|||
#bodyContent .animated > *:not(.animated-active), |
|||
padding: 0.25em 0.9em; |
|||
#bodyContent .animated > .animated-subframe > *:not(.animated-active) { |
|||
width: 100% |
|||
display: none; |
|||
} |
} |
||
#bodyContent span.animated, |
|||
#bodyContent span.animated.animated-visible > *, |
|||
td.mbox-image { |
|||
#bodyContent span.animated.animated-visible > .animated-subframe > * { |
|||
border: none; |
|||
display: inline-block; |
|||
padding: 2px 0 2px 0.9em; |
|||
text-align: center |
|||
} |
} |
||
#bodyContent div.animated.animated-visible > *, |
|||
#bodyContent div.animated.animated-visible > .animated-subframe > * { |
|||
td.mbox-imageright { |
|||
display: block; |
|||
padding: 2px 0.9em 2px 0; |
|||
text-align: center |
|||
} |
} |
||
/* MD Icons */ |
|||
td.mbox-empty-cell { |
|||
@font-face { |
|||
border: none; |
|||
font-family: 'Material Icons'; |
|||
padding: 0px; |
|||
font-style: normal; |
|||
width: 1px |
|||
font-weight: 400; |
|||
src: local('Material Icons'), |
|||
local('MaterialIcons-Regular'), |
|||
url(https://fonts.gstatic.com/s/materialicons/v70/flUhRq6tzZclQEJ-Vdg-IuiaDsNc.woff2) format('woff2'), |
|||
url(//cdn.bootcss.com/material-design-icons/3.0.2/iconfont/MaterialIcons-Regular.woff2) format('woff2'), |
|||
url(//cdn.bootcss.com/material-design-icons/3.0.2/iconfont/MaterialIcons-Regular.woff) format('woff'), |
|||
url(//cdn.bootcss.com/material-design-icons/3.0.2/iconfont/MaterialIcons-Regular.ttf) format('truetype'); |
|||
} |
} |
||
.material-icons { |
|||
table.ambox { |
|||
font-family: 'Material Icons'; |
|||
margin: 0px 10%; |
|||
font-weight: normal; |
|||
border-left: 10px solid #36c; |
|||
font-style: normal; |
|||
background: #f8f9fa |
|||
font-size: 24px; |
|||
} |
|||
/* Preferred icon size */ |
|||
display: inline-block; |
|||
line-height: 1; |
|||
text-transform: none; |
|||
letter-spacing: normal; |
|||
word-wrap: normal; |
|||
white-space: nowrap; |
|||
direction: ltr; |
|||
/* Support for all WebKit browsers. */ |
|||
table.ambox+table.ambox { |
|||
-webkit-font-smoothing: antialiased; |
|||
margin-top: -1px |
|||
/* Support for Safari and Chrome. */ |
|||
} |
|||
text-rendering: optimizeLegibility; |
|||
/* Support for Firefox. */ |
|||
.ambox th.mbox-text, |
|||
-moz-osx-font-smoothing: grayscale; |
|||
.ambox td.mbox-text { |
|||
padding: 0.25em 0.5em |
|||
} |
|||
/* Support for IE. */ |
|||
.ambox td.mbox-image { |
|||
font-feature-settings: 'liga'; |
|||
padding: 2px 0 2px 0.5em |
|||
} |
|||
vertical-align: bottom; |
|||
.ambox td.mbox-imageright { |
|||
padding: 2px 0.5em 2px 0 |
|||
} |
} |
||
/* table fix on mobile */ |
|||
table.ambox-notice { |
|||
.content table.ambox { |
|||
border-left: 10px solid #36c |
|||
margin-left: 0; |
|||
margin-right: 0; |
|||
} |
} |
||
table.ambox-speedy { |
|||
border-left: 10px solid #b32424; |
|||
background: #fee7e6 |
|||
} |
|||
table.ambox-delete { |
|||
border-left: 10px solid #b32424 |
|||
} |
|||
table.ambox-content { |
|||
border-left: 10px solid #f28500 |
|||
} |
|||
table.ambox-style { |
|||
border-left: 10px solid #fc3 |
|||
} |
|||
table.ambox-move { |
|||
border-left: 10px solid #9932cc |
|||
} |
|||
table.ambox-protection { |
|||
border-left: 10px solid #a2a9b1 |
|||
} |
|||
/* Style the "other languages" box the same way as other boxes on the main page */ |
|||
.mw-pt-languages { |
|||
display: block; |
|||
background: none; |
|||
border: 1px solid #CCC; |
|||
box-shadow: 0 2px 2px rgba(0, 0, 0, 0.1); |
|||
width: auto; |
|||
} |
|||
.mw-pt-languages-label { |
|||
background: none; |
|||
border-right: none; |
|||
} |
|||
.mainpage-suggestions { |
|||
text-align: right; |
|||
font-size: 75%; |
|||
} |
|||
/* MD Icons */ |
|||
/* fallback */ |
|||
@font-face { |
|||
font-family: 'Material Icons'; |
|||
font-style: normal; |
|||
font-weight: 400; |
|||
src: url(https://fonts.gstatic.com/s/materialicons/v70/flUhRq6tzZclQEJ-Vdg-IuiaDsNc.woff2) format('woff2'); |
|||
} |
|||
.material-icons { |
|||
font-family: 'Material Icons'; |
|||
font-weight: normal; |
|||
font-style: normal; |
|||
font-size: 24px; |
|||
line-height: 1; |
|||
letter-spacing: normal; |
|||
text-transform: none; |
|||
display: inline-block; |
|||
white-space: nowrap; |
|||
word-wrap: normal; |
|||
direction: ltr; |
|||
-webkit-font-smoothing: antialiased; |
|||
vertical-align: bottom; |
|||
} |
|||
/** Template stylings **/ |
/** Template stylings **/ |
||
第144行: | 第82行: | ||
gap: 0.6em; |
gap: 0.6em; |
||
align-items: center; |
align-items: center; |
||
border: 1px solid #ccc; |
|||
border-left: 8px solid #36c; |
|||
background-color: #f8f9fa; |
|||
max-width: 80%; |
max-width: 80%; |
||
margin: 0.5em auto; |
margin: 0.5em auto; |
||
padding: 0.3em 0.6em; |
padding: 0.3em 0.6em; |
||
border-left: 8px solid #36c; |
|||
background-color: #f8f9fa; |
|||
} |
} |
||
第168行: | 第105行: | ||
.msgbox + .msgbox { |
.msgbox + .msgbox { |
||
margin-top: -0.5em; |
margin-top: -0.5em; |
||
border-top: |
border-top: 1px solid #ccc; |
||
} |
|||
.msgbox.msgbox-default, |
|||
.msgbox.msgbox-notice { |
|||
border-left-color: #36c; |
|||
background-color: #f8f9fa; |
|||
} |
} |
||
.msgbox.red |
.msgbox.msgbox-red, |
||
.msgbox.msgbox-warning { |
|||
background-color: #fdd; |
|||
background-color: #fcc; |
|||
border-left-color: #e44; |
|||
} |
} |
||
.msgbox.orange |
.msgbox.msgbox-orange, |
||
.msgbox.msgbox-content { |
|||
background-color: #fec; |
|||
background-color: #fdb; |
|||
border-left-color: #f90; |
|||
} |
} |
||
.msgbox.yellow |
.msgbox.msgbox-yellow, |
||
.msgbox.msgbox-style { |
|||
background-color: #ffc; |
background-color: #ffc; |
||
border-left-color: # |
border-left-color: #fc3; |
||
} |
} |
||
.msgbox.green |
.msgbox.msgbox-green, |
||
.msgbox.msgbox-status { |
|||
background-color: #dfd; |
|||
background-color: #cfc; |
|||
border-left-color: #3a3; |
|||
} |
} |
||
.msgbox.blue { |
|||
.msgbox.msgbox-cyan, |
|||
background-color: #def; |
|||
.msgbox.msgbox-version { |
|||
border-left-color: #9cd; |
|||
background-color: #dff; |
|||
border-left-color: #6df; |
|||
} |
} |
||
.msgbox.magenta { |
.msgbox.msgbox-magenta { |
||
background-color: #fdf; |
background-color: #fdf; |
||
border-left-color: # |
border-left-color: #f9f; |
||
} |
} |
||
.msgbox.purple |
.msgbox.msgbox-purple, |
||
.msgbox.msgbox-move { |
|||
background-color: #eef; |
|||
background-color: #ecf; |
|||
border-left-color: #96c; |
|||
} |
} |
||
.msgbox.msgbox-gray, |
|||
.msgbox.msgbox-protection { |
|||
background-color: #eee; |
|||
border-left-color: #ddd; |
|||
} |
|||
/* [[Template:Documentation]], [[模块:Documentation]] */ |
/* [[Template:Documentation]], [[模块:Documentation]] */ |
||
第324行: | 第281行: | ||
/* Horizontal list */ |
/* Horizontal list */ |
||
# |
#mw-content-text .hlist ul { |
||
display: inline; |
display: inline; |
||
margin: 0; |
margin: 0; |
||
第330行: | 第287行: | ||
} |
} |
||
# |
#mw-content-text .hlist li { |
||
display: inline; |
display: inline; |
||
} |
} |
||
# |
#mw-content-text .hlist li:not(:last-child) { |
||
padding-right: 0.286em; |
padding-right: 0.286em; |
||
} |
} |
||
# |
#mw-content-text .hlist li:not(:last-child)::after { |
||
content: ""; |
content: ""; |
||
display: inline-block; |
display: inline-block; |
||
第349行: | 第306行: | ||
} |
} |
||
# |
#mw-content-text .hlist li > ul li:first-child::before { |
||
content: "("; |
content: "("; |
||
} |
} |
||
# |
#mw-content-text .hlist li > ul li:last-child::after { |
||
content: ")"; |
content: ")"; |
||
} |
} |
||
# |
#mw-content-text .hlist li li li { |
||
font-size: x-small; |
font-size: x-small; |
||
} |
|||
/** hlist exception on MobileDiff **/ |
|||
#mw-mf-diffarea .hlist.revision-history-links li { |
|||
display: inline-block; |
|||
padding-right: 0; |
|||
} |
|||
#mw-mf-diffarea .hlist.revision-history-links li::after { |
|||
display: none; |
|||
} |
} |
||
第375行: | 第341行: | ||
/* [[Template:CommentSprite]]: [[File:CommentCSS.png]] */ |
/* [[Template:CommentSprite]]: [[File:CommentCSS.png]] */ |
||
.comment-sprite { |
.comment-sprite { |
||
background-image: url(/images/9/9c/CommentCSS.png); |
background-image: url(/w/images/9/9c/CommentCSS.png); |
||
} |
} |
||
第496行: | 第462行: | ||
background-color: #eef; |
background-color: #eef; |
||
padding: 0 10px; |
padding: 0 10px; |
||
} |
|||
/* [[Template:Quote]] */ |
|||
.quote { |
|||
display: grid; |
|||
gap: 0 4px; |
|||
align-items: center; |
|||
max-width: max-content; |
|||
} |
|||
.quote-mark { |
|||
font: bold 3.3em Times, serif; |
|||
} |
|||
.quote-mark-start { |
|||
align-self: start; |
|||
} |
|||
.quote-mark-end { |
|||
line-height: 0.5; |
|||
align-self: end; |
|||
} |
|||
.quote-attribution { |
|||
grid-column: -3 / span 1; |
|||
text-align: right; |
|||
font-size: smaller; |
|||
} |
|||
.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; |
|||
} |
} |
||
第529行: | 第531行: | ||
align-items: center; |
align-items: center; |
||
} |
} |
||
} |
|||
.mainpage-logo-title { |
|||
font-size: 4em; |
|||
font-family: 'Linux Libertine','Times New Roman','Liberation Serif','Nimbus Roman','Noto Serif','Times',sans-serif; |
|||
border-bottom: solid 3px #c8ccd1; |
|||
overflow-wrap: break-word; |
|||
justify-content: center; |
|||
display: flex; |
|||
align-items: center; |
|||
flex-wrap: wrap; |
|||
} |
|||
.mainpage-logo-title:lang(zh), |
|||
.mainpage-logo-title:lang(zh-hans) { |
|||
font-family: 'Linux Libertine','Times New Roman','Liberation Serif','Nimbus Roman','Noto Serif SC','Times',sans-serif; |
|||
} |
|||
.mainpage-logo-title:lang(zh-hant) { |
|||
font-family: 'Linux Libertine','Times New Roman','Liberation Serif','Nimbus Roman','Noto Serif TC','Times',sans-serif; |
|||
} |
} |
||
第620行: | 第602行: | ||
display: none; |
display: none; |
||
} |
} |
||
select[name="TheOrder"] { |
select[name="TheOrder"] { |
||
background-color: #f8f9fa; |
background-color: #f8f9fa; |
||
第651行: | 第634行: | ||
} |
} |
||
/* |
/* Heimu */ |
||
.pi-section-navigation .pi-section-tab:hover .pi-section-label, .pi-section-navigation .pi-section-tab:hover .pi-section-navigation .pi-section-label, .pi-section-navigation .pi-section-navigation .pi-section-label, .pi-section-navigation .pi-section-navigation .pi-section-label, .pi-section-navigation .pi-section-tab:hover .pi-section-label, .pi-section-tab:hover .pi-section-label, .pi-section-label, .pi-section-label { |
|||
color: #088488; |
|||
} |
|||
.pi-section-label { |
|||
align-items: center; |
|||
display: inline-flex; |
|||
font-size: 12px; |
|||
font-weight: 700; |
|||
height: 40px; |
|||
margin: 0 11px; |
|||
text-align: center; |
|||
text-decoration: none; |
|||
text-transform: uppercase; |
|||
transition: color .1s; |
|||
white-space: nowrap; |
|||
} |
|||
.pi-section-tab.pi-section-active { |
|||
box-shadow: inset 0 -2px 0 0 #006cb0; |
|||
} |
|||
.pi-section-tab, .wds-tabs__tab { |
|||
cursor: default; |
|||
flex-shrink: 0; |
|||
position: relative; |
|||
} |
|||
.portable-infobox .pi-section-navigation { |
|||
list-style: none; |
|||
margin: 0; |
|||
overflow: -moz-scrollbars-none; |
|||
-ms-overflow-style: none; |
|||
overflow-x: scroll; |
|||
overflow-y: hidden; |
|||
padding: 0; |
|||
scrollbar-width: none; |
|||
} |
|||
.pi-panel-scroll-wrapper { |
|||
position: relative; |
|||
} |
|||
.pi-section-content { |
|||
display: none; |
|||
} |
|||
.pi-section-content.pi-section-active { |
|||
display: block; |
|||
} |
|||
.pi-section-navigation { |
|||
align-items: flex-end; |
|||
display: flex; |
|||
list-style: none; |
|||
margin: 0; |
|||
padding: 0; |
|||
} |
|||
.portable-infobox .pi-section-navigation:after, .portable-infobox .pi-section-navigation:before { |
|||
align-self: stretch; |
|||
content: ""; |
|||
width: 100%; |
|||
} |
|||
.portable-infobox .pi-section-navigation:after, .portable-infobox .pi-section-navigation:before { |
|||
align-self: stretch; |
|||
content: ""; |
|||
width: 100%; |
|||
} |
|||
.portable-infobox .pi-section-navigation::-webkit-scrollbar { |
|||
display: none; |
|||
} |
|||
.pi-panel-scroll-wrapper::after { |
|||
background-image: radial-gradient(farthest-side at 100% 50%,rgba(26,26,26,0.25),transparent); |
|||
} |
|||
.pi-panel-scroll-wrapper:after { |
|||
right: 0; |
|||
} |
|||
.pi-panel-scroll-wrapper:after, .pi-panel-scroll-wrapper:before { |
|||
content: ""; |
|||
height: 100%; |
|||
opacity: 0; |
|||
position: absolute; |
|||
top: 0; |
|||
transition: opacity .3s; |
|||
width: 10px; |
|||
z-index: 1; |
|||
} |
|||
.pi-panel-scroll-wrapper::before { |
|||
background-image: radial-gradient(farthest-side at 0 50%,rgba(26,26,26,0.25),transparent); |
|||
} |
|||
.pi-panel-scroll-wrapper:before { |
|||
left: 0; |
|||
} |
|||
.pi-panel-scroll-wrapper:after, .pi-panel-scroll-wrapper:before { |
|||
content: ""; |
|||
height: 100%; |
|||
opacity: 0; |
|||
position: absolute; |
|||
top: 0; |
|||
transition: opacity .3s; |
|||
width: 10px; |
|||
z-index: 1; |
|||
} |
|||
.pi-section-navigation .pi-section-tab, .pi-media-collection .pi-tab-link { |
|||
border-width: 0px; |
|||
} |
|||
span.heimu a.external, |
span.heimu a.external, |
||
span.heimu a.external:visited, |
span.heimu a.external:visited, |
||
第794行: | 第672行: | ||
} |
} |
||
/* |
/* CJK */ |
||
span[lang] { |
|||
/* Forumheader style */ |
|||
font-family: initial; |
|||
.forum-header { |
|||
font-feature-settings: "locl" on; |
|||
background: #f8f9fa; |
|||
-webkit-font-feature-settings: "locl" on; |
|||
border: solid #eaecf0; |
|||
border-width: 1px 1px 0.2em; |
|||
box-shadow: 0 1px 2px 1px rgb(0 0 0 / 2%); |
|||
margin: 0 0 1em; |
|||
padding: 0 0.5em; |
|||
display: flex; |
|||
display: -webkit-flex; |
|||
justify-content: space-between; |
|||
} |
} |
||
[style*="font:" i] span[lang], |
|||
/* Forum table outside border */ |
|||
[style*="font-family:" i] span[lang] { |
|||
table.forum-table { |
|||
font-family: inherit; |
|||
border: 1px solid lightgrey; |
|||
} |
|||
/* Forum table cell padding and borders for all table body cells */ |
|||
table.forum-table > tbody > tr > td { |
|||
border-top: 1px solid lightgrey; |
|||
padding: 8px; |
|||
} |
|||
/* Forum table background color (show on odd rows) */ |
|||
table.forum-table > tbody > tr { |
|||
background-color:#fff; |
|||
} |
|||
/* Forum table background color (shows on even rows) */ |
|||
table.forum-table > tbody > tr:nth-child(even) { |
|||
background-color:#f5faff; |
|||
} |
|||
/* Forum table header row background, style and padding */ |
|||
table.forum-table > tbody > tr > th { |
|||
background-color:#cedff2; |
|||
font-weight:bold; |
|||
padding: 8px; |
|||
} |
} |
||
/* |
/* Japanese Italic */ |
||
@font-face { |
|||
.inputbox-sidebar { |
|||
font-family: JapaneseItalic; |
|||
width: 300px; |
|||
src: local(meiryo); |
|||
border: 1px solid lightgrey; |
|||
clear: right; |
|||
float: right; |
|||
margin: 3px; |
|||
padding:10px; |
|||
margin-left: 2em; |
|||
} |
} |
||
i span[lang=ja i], |
|||
/* Forum thread style */ |
|||
span[lang=ja i] i, |
|||
.thread { |
|||
[style*=italic i] span[lang=ja i], |
|||
border: 1px solid #eee; |
|||
span[lang=ja i] [style*=italic i] { |
|||
border-radius: 4px; |
|||
font-family: JapaneseItalic, sans-serif; |
|||
padding: 0 1em; |
|||
background-color: #fff; |
|||
} |
} |
||
[style*="font:" i] i span[lang=ja i], |
|||
.thread-avatar { |
|||
[style*="font-family:" i] i span[lang=ja i], |
|||
float: right; |
|||
[style*="font:" i] span[lang=ja i] i, |
|||
padding-top: 10px; |
|||
[style*="font-family:" i] span[lang=ja i] i, |
|||
} |
|||
[style*="font:" i] [style*=italic i] span[lang=ja i], |
|||
[style*="font-family:" i] [style*=italic i] span[lang=ja i], |
|||
.blog-metadata { |
|||
[style*="font:" i] span[lang=ja i] [style*=italic i], |
|||
float: right; |
|||
[style*="font-family:" i] span[lang=ja i] [style*=italic i] { |
|||
font-family: inherit; |
|||
} |
} |
2023年10月2日 (一) 07:00的最新版本
/*
* 这里放置的样式将同时应用到桌面版和移动版视图
* 仅用于桌面版的样式请放置于[[MediaWiki:Common.css]]和其他皮肤对应样式表内
* 仅用于移动版的样式请放置于[[MediaWiki:Mobile.css]]
*/
/* content mostly taken from [[adodoz:MediaWiki:Gadget-site-styles.css]], also from [[mcw:zh:MediaWiki:Gadget-site-styles.css]] & [[moe:zh:MediaWiki:Gadget-site-styles.css]] */
/* 复制粘贴到别的地方的时候记得写原出处,而不要写这里。 */
/* Element animator */
#siteNotice .animated > *:not(.animated-active),
#localNotice .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;
}
/* MD Icons */
@font-face {
font-family: 'Material Icons';
font-style: normal;
font-weight: 400;
src: local('Material Icons'),
local('MaterialIcons-Regular'),
url(https://fonts.gstatic.com/s/materialicons/v70/flUhRq6tzZclQEJ-Vdg-IuiaDsNc.woff2) format('woff2'),
url(//cdn.bootcss.com/material-design-icons/3.0.2/iconfont/MaterialIcons-Regular.woff2) format('woff2'),
url(//cdn.bootcss.com/material-design-icons/3.0.2/iconfont/MaterialIcons-Regular.woff) format('woff'),
url(//cdn.bootcss.com/material-design-icons/3.0.2/iconfont/MaterialIcons-Regular.ttf) format('truetype');
}
.material-icons {
font-family: 'Material Icons';
font-weight: normal;
font-style: normal;
font-size: 24px;
/* Preferred icon size */
display: inline-block;
line-height: 1;
text-transform: none;
letter-spacing: normal;
word-wrap: normal;
white-space: nowrap;
direction: ltr;
/* Support for all WebKit browsers. */
-webkit-font-smoothing: antialiased;
/* Support for Safari and Chrome. */
text-rendering: optimizeLegibility;
/* Support for Firefox. */
-moz-osx-font-smoothing: grayscale;
/* Support for IE. */
font-feature-settings: 'liga';
vertical-align: bottom;
}
/* table fix on mobile */
.content table.ambox {
margin-left: 0;
margin-right: 0;
}
/** Template stylings **/
/* [[Template:Message box]] */
.msgbox {
display: grid;
gap: 0.6em;
align-items: center;
max-width: 80%;
margin: 0.5em auto;
padding: 0.3em 0.6em;
border-left: 8px solid #36c;
background-color: #f8f9fa;
}
.msgbox.msgbox-mini {
gap: 0.3em;
margin-left: 0;
margin-right: 0;
padding: 0 0.3em;
max-width: max-content;
}
@media screen and (max-width: 720px) {
.msgbox {
max-width: 100%;
}
}
.msgbox + .msgbox {
margin-top: -0.5em;
border-top: 1px solid #ccc;
}
.msgbox.msgbox-default,
.msgbox.msgbox-notice {
border-left-color: #36c;
background-color: #f8f9fa;
}
.msgbox.msgbox-red,
.msgbox.msgbox-warning {
background-color: #fcc;
border-left-color: #e44;
}
.msgbox.msgbox-orange,
.msgbox.msgbox-content {
background-color: #fdb;
border-left-color: #f90;
}
.msgbox.msgbox-yellow,
.msgbox.msgbox-style {
background-color: #ffc;
border-left-color: #fc3;
}
.msgbox.msgbox-green,
.msgbox.msgbox-status {
background-color: #cfc;
border-left-color: #3a3;
}
.msgbox.msgbox-cyan,
.msgbox.msgbox-version {
background-color: #dff;
border-left-color: #6df;
}
.msgbox.msgbox-magenta {
background-color: #fdf;
border-left-color: #f9f;
}
.msgbox.msgbox-purple,
.msgbox.msgbox-move {
background-color: #ecf;
border-left-color: #96c;
}
.msgbox.msgbox-gray,
.msgbox.msgbox-protection {
background-color: #eee;
border-left-color: #ddd;
}
/* [[Template:Documentation]], [[模块:Documentation]] */
.documentation,
.documentation-header.documentation-docpage {
border: 1px solid #AAA;
}
.documentation,
.documentation-header,
.documentation-footer {
background-color: #F8F9FA;
}
.documentation.documentation-nodoc {
background-color: #F9EAEA;
}
.documentation.documentation-baddoc {
background-color: #F9F2EA;
}
/* [[Template:Infobox]], [[模块:Infobox]] */
.notaninfobox {
position: relative;
float: right;
clear: right;
width: 300px;
margin: 0 0 0.6em 0.6em;
font-size: 90%;
border: 1px solid #CCC;
background-color: #FFF;
padding: 2px;
overflow-x: auto;
}
.notaninfobox > div:not(:first-child) {
padding-top: 2px;
}
.infobox-title {
background-color: #d8ecff;
font-weight: bold;
font-size: 1.25em;
text-align: center;
padding: 0.25em 0;
}
.infobox-imagearea {
text-align: center;
padding: 0 4px;
}
.infobox-imagearea > div:not(:first-child) {
margin-top: 0.8em;
}
.infobox-subheader {
text-align: center;
}
.infobox-rows {
display: grid;
grid-template-columns: max-content 1fr;
gap: 2px;
}
.infobox-row {
display: contents;
}
.infobox-cell-header,
.infobox-cell-data {
padding: 2px;
}
.infobox-cell-data .subinfobox {
margin: -2px;
}
.infobox-footer {
font-size: 90%;
margin-top: 0.2rem;
}
@media screen and (max-width: 720px) {
.notaninfobox {
position: static;
float: none;
clear: none;
margin: 0.6em 0;
width: calc(100% - 6px);
}
}
.infobox-row:nth-child(2n) > .infobox-cell-data {
background-color: #EEE;
}
.infobox-row:nth-child(2n+1) > .infobox-cell-data {
background-color: #FFF;
}
.infobox-row > .infobox-cell-header {
background-color: #DDF;
}
.subinfobox {
background-color: #FFF;
}
/* [[Template:Shortcut]] */
.shortcut-box {
background-color: #f8f9fa;
border: 1px solid #CCC;
max-width: 400px;
min-width: 70px;
padding: 0.3em 0.5em;
}
/* Horizontal list */
#mw-content-text .hlist ul {
display: inline;
margin: 0;
padding: 0;
}
#mw-content-text .hlist li {
display: inline;
}
#mw-content-text .hlist li:not(:last-child) {
padding-right: 0.286em;
}
#mw-content-text .hlist li:not(:last-child)::after {
content: "";
display: inline-block;
position: relative;
left: 0.286em;
bottom: 0.214em;
background-color: #000;
height: 3px;
width: 3px;
}
#mw-content-text .hlist li > ul li:first-child::before {
content: "(";
}
#mw-content-text .hlist li > ul li:last-child::after {
content: ")";
}
#mw-content-text .hlist li li li {
font-size: x-small;
}
/** hlist exception on MobileDiff **/
#mw-mf-diffarea .hlist.revision-history-links li {
display: inline-block;
padding-right: 0;
}
#mw-mf-diffarea .hlist.revision-history-links li::after {
display: none;
}
/* [[Template:Sprite]] */
.sprite {
display: inline-block;
vertical-align: text-top;
height: 16px;
width: 16px;
background-repeat: no-repeat;
}
.sprite + .sprite-text {
padding-left: 0.312em;
}
/* [[Template:CommentSprite]]: [[File:CommentCSS.png]] */
.comment-sprite {
background-image: url(/w/images/9/9c/CommentCSS.png);
}
/* To make images responsive */
.res-img img {
max-width:100%;
}
.stretch-img img {
width:100%;
}
.pixel-img img {
image-rendering: crisp-edges;
}
/* Generic nowrap class */
.nowrap {
white-space: nowrap;
}
/* Hide noscript only elements */
.noscript {
display: none;
}
/* Hide things on mobile (the extension is meant to do this automatically, but it doesn't work) */
.skin-minerva .nomobile {
display: none;
}
/* [[Template:Archive box]] */
.archive-box {
background-color: #f8f9fa;
text-align: left;
border: 1px solid #CCC;
margin-top: 3px;
max-width: 16em;
min-width: 8em;
font-size: 90%;
padding: 2px;
}
/* [[Template:Table Choice]] */
.tc-default {
background-color: #f8f9fa;
color: #222222;
}
.tc-always {
background-color: #5DCC5D;
color: #004100;
}
.tc-yes {
background-color: #C6EFCE;
color: #006100;
}
.tc-no {
background-color: #FFC7CE;
color: #9C0006;
}
.tc-never {
background-color: #FF5757;
color: #700005;
}
.tc-rarely {
background-color: #FDCE5E;
color: #835400;
}
.tc-neutral {
background-color: #FFEB9C;
color: #9C6500;
}
.tc-partial {
background-color: #FFFFDD;
color: #8A7600;
}
.tc-planned {
background-color: #DFDFFF;
color: #0131B7;
}
.tc-unknown {
background-color: #CCCCCC;
color: #222222;
}
.tc-in-off {
background-color: #006600;
color: #FFFFFF;
}
.tc-in-on {
background-color: #00CC00;
color: #FFFFFF;
}
.tc-out-off {
background-color: #990000;
color: #FFFFFF;
}
.tc-out-on {
background-color: #FF0000;
color: #FFFFFF;
}
.tc-na {
background-color: #FFFFFF;
color: #000000;
}
/* [[Template:Close topic]] */
.closed-topic-yes {
border: 1px dotted #AAA;
background-color: #efe;
padding: 0 10px;
}
.closed-topic-no {
border: 1px dotted #AAA;
background-color: #fee;
padding: 0 10px;
}
.closed-topic-neutral {
border: 1px dotted #AAA;
background-color: #eef;
padding: 0 10px;
}
/* [[Template:Quote]] */
.quote {
display: grid;
gap: 0 4px;
align-items: center;
max-width: max-content;
}
.quote-mark {
font: bold 3.3em Times, serif;
}
.quote-mark-start {
align-self: start;
}
.quote-mark-end {
line-height: 0.5;
align-self: end;
}
.quote-attribution {
grid-column: -3 / span 1;
text-align: right;
font-size: smaller;
}
.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;
}
/** Misc stuff **/
/* The white header used throughout the wiki */
.wiki-header {
background: #EEE;
border: 1px solid #CCC;
border-bottom: 4px groove #BBB;
border-right: 4px groove #BBB;
padding: 5px;
}
.mainpage-header {
display: flex;
justify-content: center;
align-items: center;
flex-wrap: wrap;
}
.wordmark-container {
display: flex;
flex-direction: column;
justify-content: center;
}
@media screen and (max-width: 850px),
@media screen and (max-width: 1099px) and (min-width: 851px){
.wordmark-description-container {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
}
.wordmark-description {
font-size: 1.2em;
}
/* Collapsible elements ([[MediaWiki:Gadget-site.js]]) */
.collapsible.collapsed > tr:not(:first-child),
.collapsible.collapsed > tbody > tr:not(:first-child),
.collapsible.collapsed > thead + tbody > tr:first-child,
.collapsible.collapsed > tbody + tbody > tr:first-child,
.collapsible.collapsed > tfoot > tr,
.collapsible.collapsed > .collapsible-content {
display: none;
}
.collapsetoggle {
display: inline-block;
font-weight: normal;
font-style: normal;
float: right;
text-align: right;
margin-left: 0.8em;
}
.collapsetoggle-left > tr > * > .collapsetoggle,
.collapsetoggle-left > * > tr > * > .collapsetoggle,
.collapsetoggle-left > * > .collapsetoggle,
.collapsetoggle-left > .collapsetoggle {
float: left;
text-align: left;
margin-right: 0.8em;
margin-left: 0;
}
.collapse-button-none > * > tr > * > .collapsetoggle,
.collapsetoggle-inline > tr > * > .collapsetoggle,
.collapsetoggle-inline > * > tr > * > .collapsetoggle,
.collapsetoggle-inline > * > .collapsetoggle,
.collapsetoggle-inline > .collapsetoggle {
float: none;
text-align:left;
}
.collapsetoggle-custom {
visibility: hidden;
}
/* [[Template:Keys]], [[Module:Keys]] */
.keyboard-key {
background-color: #f8f9fa;
color: #222;
font-size: 80%;
font-family: inherit;
font-weight: bold;
border: 1px solid #c8ccd1;
border-radius: 2px;
box-shadow: 0 1px 0 rgba(0, 0, 0, 0.2), 0 0 0 2px #fff inset;
padding: 0.1em 0.4em;
text-shadow: 0 1px 0 #fff;
text-align: center;
}
/* tooltip */
abbr[title],.explain[title] {
border: 1px solid #cccccc;
border-radius: 2px;
text-decoration: none
}
/* Comments */
.comments-body > p:nth-child(2) {
display: none;
}
select[name="TheOrder"] {
background-color: #f8f9fa;
min-height: 2.28571429em;
border: 1px solid #a2a9b1;
border-radius: 2px;
padding: 6px 12px;
line-height: 1;
}
#spy > p > a,
.c-form-button > input {
background-color: #f8f9fa;
color: #202122;
display: inline-block;
box-sizing: border-box;
min-height: 2.28571429em;
padding: 6px 12px;
border: 1px solid #a2a9b1;
border-radius: 2px;
cursor: pointer;
font-weight: bold;
margin: auto 0;
font-size: 0.95em !important;
}
#spy > p {
margin: 0;
}
.c-spy {
font-size: 0.95em !important;
}
/* Heimu */
span.heimu a.external,
span.heimu a.external:visited,
span.heimu a.extiw,
span.heimu a.extiw:visited {
color: #252525;
}
.heimu,
.heimu a,
a .heimu,
.heimu a.new {
background-color: #252525;
color: #252525;
text-shadow: none;
}
body:not(.heimu_toggle_on) .heimu:hover,
body:not(.heimu_toggle_on) .heimu:active,
body:not(.heimu_toggle_on) .heimu.off {
transition: color .13s linear;
color: white;
}
body:not(.heimu_toggle_on) .heimu:hover a,
body:not(.heimu_toggle_on) a:hover .heimu,
body:not(.heimu_toggle_on) .heimu.off a,
body:not(.heimu_toggle_on) a:hover .heimu.off {
transition: color .13s linear;
color: lightblue;
}
body:not(.heimu_toggle_on) .heimu.off .new,
body:not(.heimu_toggle_on) .heimu.off .new:hover,
body:not(.heimu_toggle_on) .new:hover .heimu.off,
body:not(.heimu_toggle_on) .heimu.off .new,
body:not(.heimu_toggle_on) .heimu.off .new:hover,
body:not(.heimu_toggle_on) .new:hover .heimu.off {
transition: color .13s linear;
color: #BA0000;
}
/* CJK */
span[lang] {
font-family: initial;
font-feature-settings: "locl" on;
-webkit-font-feature-settings: "locl" on;
}
[style*="font:" i] span[lang],
[style*="font-family:" i] span[lang] {
font-family: inherit;
}
/* Japanese Italic */
@font-face {
font-family: JapaneseItalic;
src: local(meiryo);
}
i span[lang=ja i],
span[lang=ja i] i,
[style*=italic i] span[lang=ja i],
span[lang=ja i] [style*=italic i] {
font-family: JapaneseItalic, sans-serif;
}
[style*="font:" i] i span[lang=ja i],
[style*="font-family:" i] i span[lang=ja i],
[style*="font:" i] span[lang=ja i] i,
[style*="font-family:" i] span[lang=ja i] i,
[style*="font:" i] [style*=italic i] span[lang=ja i],
[style*="font-family:" i] [style*=italic i] span[lang=ja i],
[style*="font:" i] span[lang=ja i] [style*=italic i],
[style*="font-family:" i] span[lang=ja i] [style*=italic i] {
font-family: inherit;
}