MediaWiki:Common.css
跳到导航
跳到搜索
注意:在保存之后,您可能需要清除浏览器缓存才能看到所作出的变更的影响。
- Firefox或Safari:按住Shift的同时单击刷新,或按Ctrl-F5或Ctrl-R(Mac为⌘-R)
- Google Chrome:按Ctrl-Shift-R(Mac为⌘-Shift-R)
- Internet Explorer:按住Ctrl的同时单击刷新,或按Ctrl-F5
- Opera:前往菜单 → 设置(Mac为Opera → Preferences),然后隐私和安全 → 清除浏览数据 → 缓存的图片和文件。
/* 这里放置的CSS将应用于所有皮肤 */
.heimu {
background-color: #252525;
color: #252525;
text-shadow: none;
}
.heimu:hover,
.heimu:active,
.heimu:focus {
transition: color .15s linear;
color: #fff;
}
div > .richtab {
margin-left: 0.1em;
margin-right: 0.1em;
margin-top: 0;
margin-bottom: 0;
padding-left: 0;
list-style: none;
}
.richtab:before, .richtab:after {
content: " ";
display: table;
clear: both;
}
.richtab > li {
float: left;
margin-bottom: -1px;
position: relative;
display: block;
}
.richtab > li > span {
position: relative;
display: block;
}
.richtab > li > span > a {
position: relative;
display: block;
padding: 10px 15px;
margin-right: 2px;
line-height: 1.42857143;
border: 1px solid transparent;
border-radius: 0 0 0 0;
}
.richtab > li > span > a:hover {
border-color: #cccccc #cccccc #cccccc;
}
.richtab > li.active > span > a,
.richtab > li.active > span > a:hover,
.richtab > li.active > span > a:focus {
color: #333333;
background-color: rgba(217, 214, 214, 0.9);
border: 1px solid #cccccc;
border-bottom-color: transparent;
cursor: default;
}
.richtab-content > .tab-pane {
display: none;
}
.richtab-content > .active {
display: block;
}
.infobox {
float: right;
}
.tbrl {
writing-mode: vertical-rl;
}
.story-vlbl {
white-space: nowrap;
}
.tinyedit {
font-size: small;
white-space: nowrap;
padding-top: 1em;
}
.tinyedit a.external {
background-image: none;
padding-right: 0px;
color: #36b;
}
.tinyedit a.external:visited {
color: #36b;
}
.homepage-gallery td {
padding: 10px;
text-align: center;
}
.homepage-gallery td:first-of-type {
border-left: none;
}
.homepage-gallery td:last-of-type {
border-right: none;
}
.homepage-gallery .wip {
-webkit-filter: grayscale(100%);
-moz-filter: grayscale(100%);
-ms-filter: grayscale(100%);
-o-filter: grayscale(100%);
filter: grayscale(100%);
filter: gray;
}
.homepage-gallery-row1 > td {
vertical-align: bottom;
border-bottom: 1px solid;
border-left: 1px solid;
border-right: 1px solid;
}
.homepage-gallery-row2 > td {
vertical-align: top;
border-top: 1px solid;
border-left: 1px solid;
border-right: 1px solid;
}
@media screen and (min-width: 480px) and (max-width: 1000px) {
.auto-screen-scale {
width: 50%;
height: 50%;
}
}
@media screen and (max-width: 480px) {
.auto-screen-scale {
width: 30%;
height: 30%;
}
}
.page-首页 .firstHeading {
display: none;
}
.page-首页 .mw-jump {
display: none;
}
.page-首页 .homepage-gallery a {
display: block;
width: 100%;
height: 100%;
}
#mw-panel ul li {
white-space: pre;
}
.debug-treechart > tbody > tr > td {
border: 1px solid;
}