MediaWiki:Timeless.css
外观
注意:保存之后,你必须清除浏览器缓存才能看到做出的更改。Google Chrome、Firefox、Microsoft Edge及Safari:按住⇧ Shift键并单击工具栏的“刷新”按钮。参阅Help:绕过浏览器缓存以获取更多帮助。
/* Better behavior when placed next to infoboxes etc */
#toc {
display: table;
}
/* Make sure the list of links is on it's own line */
#mw-footer #copyright {
display: block;
}
.mw-ui-button {
padding: 0.25em 1em 0.1em 1em;
border: solid 1px #ccc;
border-bottom-width: 1px;
border-bottom-width: 0.2em;
text-shadow: 0 -1px 0 #ccc;
box-sizing: border-box;
border-radius: 0.2em;
min-height: 30px;
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}
/* 隐藏结构式讨论帖子时对话框里的取消按钮(当前是#d33) */
.mw-ui-button.mw-ui-destructive.mw-ui-quiet {
color: #fff;
}
/* Change logo wordmark for zh-hans variants */
#p-banner img:lang(zh-hans),
#p-banner img:lang(zh-cn),
#p-banner img:lang(zh-my),
#p-banner img:lang(zh-sg) {
content: url(/static/images/mobile/copyright/wikipedia-wordmark-zh-hans.svg);
}
/* Fix style of widgets button */
.editchangetags-log-submit, .historysubmit {
user-select: none;
-webkit-user-select: none;
-moz-user-select: none;
}
.editchangetags-log-submit:active, .editchangetags-log-submit:hover, .historysubmit:active, .historysubmit:hover {
background-color: #47f !important;
border-color: #36c !important;
color: #fff !important;
}
.editchangetags-log-submit:focus, .historysubmit:focus {
background: #36c !important;
color: #fff !important;
}
/* Hide index title */
.action-view.page-Wikipedia_首页 #contentSub, .action-view.page-Wikipedia_首页 #siteSub, .action-view.page-Wikipedia_首页 .firstHeading, .page-Wikipedia_首页 #deleteconfirm, .page-Wikipedia_首页 #footer-info-lastmod, .page-Wikipedia_首页 #t-cite {
display: none !important;
}
/* Fix style of wikitable, auto height/width */
.content-table-left, .content-table-right {
height: auto !important;
}
.infobox caption, .wikitable>caption {
width: auto !important;
}
.overflowed .content-table {
overflow-x: auto !important;
}
/* Fix style of mw-interlanguage-selector button */
.mw-interlanguage-selector, .mw-interlanguage-selector:active {
padding: 4px 8px 4px 26px;
user-select: none;
}
/* Fix style of T:Portal padding */
.portal.plainlist.tright {
padding: 0;
}
/* Fix style of sistersitebox padding */
.sistersitebox .plainlist dd {
margin-bottom: 0;
}
/* Fix style of toc width */
.toc.plainlinks {
width: unset !important;
}
/* Fix style of T:Coord with display-title, per Special:Diff/63933111/63933895 */
#coordinates {
float: right;
font-size: 85%;
position: absolute;
right: 0;
top: -1.5em;
white-space: nowrap;
}
.ve-ce-surface #coordinates {
margin-right: 3em;
}
@media screen and (max-width: 850px) {
.ve-ce-surface #coordinates {
margin-right: 0.45em;
}
}
/* Special:PermanentLink/63534639 */
#mp-2012-sisters .content-table {
overflow: hidden;
}
#mp-2012-sisters>div {
margin: initial !important;
width: 100% !important;
}
/* Fix style of MediaWiki:Rollback-success>img & T:Sp-contributions-footer>img & T:Sp-contributions-footer>img */
#mw-rollback-success img, #sp-contributions-footer img, #sp-contributions-footer-anon img {
max-width: inherit !important;
}
@media screen and (max-width: 850px) {
/* Fix style of difftable width */
.diff {
width: 100% !important;
}
/* Fix style of wikitable width */
.mw-body table {
width: auto;
word-break: break-all;
}
.mw-body table table {
width: 100%;
}
}
/* 首页修复 */
#mp-2012-banner-title .mw-heading1 {
border-bottom: none;
font-size: 100%;
margin: 0;
}