MediaWiki:Timeless.css
外观
注意:保存之后,你必须清除浏览器缓存才能看到做出的更改。Google Chrome、Firefox、Microsoft Edge及Safari:按住⇧ Shift键并单击工具栏的“刷新”按钮。参阅Help:绕过浏览器缓存以获取更多帮助。
/* Don't display some stuff on the main page */
.page-Wikipedia_首页 #deleteconfirm,
.page-Wikipedia_首页 #t-cite,
.page-Wikipedia_首页 #footer-info-lastmod,
.action-view.page-Wikipedia_首页 #siteSub,
.action-view.page-Wikipedia_首页 #contentSub {
display: none !important;
}
/* Style of clickable button */
.mw-ui-button {
padding: 0.25em 1em 0.1em 1em;
border: 1px solid #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);
}
/* 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;
}
/* Position coordinates */
.mw-body-content #coordinates {
position: absolute;
top: 0.25em;
right: 0;
float: right;
margin: 0;
padding: 0;
line-height: 1.5em;
text-align: right;
text-indent: 0;
font-size: 85%;
text-transform: none;
white-space: nowrap;
}
.mw-indicators {
position: relative;
}
#mw-indicator-coordinates {
font-size: 13px;
}
#mw-indicator-coordinates #coordinates {
top: 4.7em;
}
/* mobile: hide coordinates until we find a better spot */
@media screen and ( max-width: 719px ) {
#coordinates {
display: none;
}
}
/* MediaWiki:Tag-jimmy-bot-non-free */
.tag-jimmy-bot-non-free {
font-size: 1.143em;
}
@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%;
}
}
/* 解决siteSub为斜体的问题 */
#siteSub {
font-style: normal;
}