“MediaWiki:Common.css”的版本间的差异
跳到导航
跳到搜索
小 |
|||
第18行: | 第18行: | ||
padding-left: 0; | padding-left: 0; | ||
list-style: none; | list-style: none; | ||
+ | } | ||
+ | .richtab:before, .richtab:after { | ||
+ | content: " "; | ||
+ | display: table; | ||
} | } | ||
.richtab > li { | .richtab > li { |
2020年5月10日 (日) 16:54的版本
/* 这里放置的CSS将应用于所有皮肤 */
.heimu {
background-color: #252525;
color: #252525;
text-shadow: none;
}
.heimu:hover,
.heimu:active,
.heimu:focus {
transition: color .15s linear;
color: #fff;
}
.richtab {
margin-bottom: 0;
padding-left: 0;
list-style: none;
}
.richtab:before, .richtab:after {
content: " ";
display: table;
}
.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;
}