MediaWiki:Common.css:修订间差异

跳到导航 跳到搜索
添加3,997字节 、​ 2022年10月22日 (星期六)
令目录的收缩有延迟
无编辑摘要
(令目录的收缩有延迟)
 
(未显示3个用户的17个中间版本)
第1行: 第1行:
/* Style for horizontal lists (separator following item)  
/*背景图
  ---NavBar*/
https://zh.moegirl.org.cn/MediaWiki:Common.css
本文引自萌娘百科(https://zh.moegirl.org.cn),文字内容默认使用《知识共享 署名-非商业性使用-相同方式共享 3.0》协议。*/
body.skin-vector {
    background: url(/images/d/d9/WIKI头图.png) no-repeat top left #f6f6f6;
}
 
#p-logo {
    width: 11em;
    height: 250px;
    margin-left: -.5em;
}
 
#p-logo a {
    display:block;
    width: 11em;
    height: 250px;
    background-repeat:no-repeat;
    background-position:center center;
    text-decoration:none;
    background-image: none;
}
 
#mw-page-base {
    background: none;
}
 
#content {
    position: relative;
    z-index: 7;
    background-color: rgba(255,255,255,0.7);
}
 
div.vectorTabs ul li {
    background-image:none!important;
    background-color:transparent!important;
}
 
#left-navigation,
#right-navigation,
div.vectorTabs ul li.selected {
    background-image: linear-gradient(rgba(255,255,255,0),rgba(255,255,255,.3) 30%,rgba(255,255,255,.5))!important;
    background-color: transparent!important;
}
 
div#p-personal {
    background-color: rgba(255, 255, 255, 0.8);
    padding: 5px 10px 5px 0;
    box-shadow: #666 0 1px 5px;
}
 
#p-personal ul {
    padding-left: 0;
    padding: 0px 10px 0px 10px;
}
 
#simpleSearch {
    background-image: linear-gradient(rgba(255,255,255,0.5),rgba(255,255,255,.8) 30%,rgba(255,255,255,.9));
}
 
#p-cactions ul {
    z-index: 9;
}
 
/*背景图结束*/
 
/*传奇模板*/
.legendT {
    background:white;
    width:100%;
}
 
.legendT th{
    background-color:#E1685D;
    color:white;
    padding:1em;
}
.legendT ul{
    margin:0;
    width:100%;
}
.legendT li{
    display:inline-block;
    margin:0 .7% 0;
    text-align:center;
    vertical-align:text-top;
    width:7%;
    min-width:65px;
    max-width:125px;
}
.legendT img{
    width: 100%;
    min-width: 65px;
    max-width: 125px;
    height: auto;
}
 
/*传奇模板结束*/
 
 
/* Style for horizontal lists (separator following item) */
.skin-monobook .hlist dl,
.skin-monobook .hlist dl,
.skin-modern .hlist dl,
.skin-modern .hlist dl,
第101行: 第200行:
     text-align: center;
     text-align: center;
     padding: 1px;
     padding: 1px;
}
/*防止表格隐藏宽带改变*/
.navbox-inner {
    width: 100%
}
}
.navbox th,
.navbox th,
第238行: 第341行:




/* 黑条模板css */
/* 黑条模板css(old) 已弃用
span.heitiao{
span.heitiao{
     background-color: #252525;
     background-color: #252525;
第249行: 第352行:
     color: white;
     color: white;
}
}
 
*/
/* 黑条CSS(new) */
.heitiao,
.heitiao rt {
    background-color: #252525;
}
span.heitiao a.external,
span.heitiao a.external:visited,
span.heitiao a.extiw,
span.heitiao a.extiw:visited {
    color: #252525;
}
.heitiao,
.heitiao a,
a .heitiao,
.heitiao a.new {
    color: #252525;
    text-shadow: none;
}
body:not(.heitiao_toggle_on) .heitiao:hover,
body:not(.heitiao_toggle_on) .heitiao:active,
body:not(.heitiao_toggle_on) .heitiao.off {
    transition: color .13s linear;
    color: white;
}
body:not(.heitiao_toggle_on) .heitiao:hover a,
body:not(.heitiao_toggle_on) a:hover .heitiao,
body:not(.heitiao_toggle_on) .heitiao.off a,
body:not(.heitiao_toggle_on) a:hover .heitiao.off {
    transition: color .13s linear;
    color: lightblue;
}
body:not(.heitiao_toggle_on) .heitiao.off .new,
body:not(.heitiao_toggle_on) .heitiao.off .new:hover,
body:not(.heitiao_toggle_on) .new:hover .heitiao.off,
body:not(.heitiao_toggle_on) .heitiao:hover .new {
    transition: color .13s linear;
    color: #FCC;
}
/*黑条CSS(new)结束*/
/*分页tabs*/
/*分页tabs*/
.tabs-container {
.tabs-container {
第306行: 第448行:
   border-width:0 3px 3px;
   border-width:0 3px 3px;
}
}
/*分页tabs结束*/




/*分页tabs结束*/
 
/*收纳表模版开始*/
.stgt {
    width: 95%;
}
.stgt.hori {
    display: flex;
}
.stab {
    display:  grid;
    margin:  0;
    padding:  1%;
    gap:      6px;
    width:    inherit;
}
.stab.hori {
    display:    inline-grid;
    height:      400px;
    overflow-y:  auto;
    width:      20%;
}
.sitm {
    margin:  0;
    padding:  0;
    font-weight:  700;
}
.ctab {
    margin:      0;
    padding:      1%;
    margin-left:  0;
    width:        inherit;
}
.ctab.hori {
    display:    inline-grid;
    height:    400px;
    overflow-y: auto;
    width:      60%;
}
/*收纳表模版结束*/
 
 
 
 
/*延迟的目录收缩开始*/
#toctogglecheckbox + .toctitle + ul {
display: block;
font-size: 0;
opacity: 0;
transition:
opacity .25s linear,
font-size .5s .25s;
 
}
#toctogglecheckbox:checked + .toctitle + ul {
font-size: 100%;
opacity: 100;
transition:
font-size .5s,
opacity .25s .5s linear;
}
/*延迟的目录收缩结束*/

导航菜单