MediaWiki:Common.css:修订间差异

    来自中国珂学院
    (感谢群友Sagilio提供帮助,应该可以了)
    小 (整理、微调)
    第186行: 第186行:


    #footer-info {
    #footer-info {
         background: url(https://wiki.sukasuka.cn/images/5/51/Donation.png) 0 15px no-repeat;
         background: url(/images/5/51/Donation.png) 0 15px no-repeat;
         padding: 15px 0 30px 0;
         padding: 15px 0 30px 0;
         min-height: 165px;
         min-height: 165px;
    第192行: 第192行:


    #footer-info-copyright {
    #footer-info-copyright {
         padding-left: 160px !important;
         padding-left: 136px !important;
    }
    }
    #footer-info-lastmod {
    #footer-info-lastmod {
         padding-left: 160px !important;
         padding-left: 136px !important;
    }
    }

    2020年5月14日 (四) 18:23的版本

    /* 这里放置的CSS将应用于所有皮肤 */
    /*滚动公告*/
     div,ul,li{margin: 0;padding: 0}
    .notice {
        width: auto;/*单行显示,超出隐藏*/
        height: 30px;/*固定公告栏显示区域的高度*/
        overflow: hidden;
        text-align: center;
    }
    .notice ul li {
        list-style: none;
        line-height: 35px;
        /*以下为了单行显示,超出隐藏*/
        display: block;
        white-space: nowrap;
        text-overflow: ellipsis;
        overflow: hidden;
    }
    /*隐藏*/
    .nfdsk{
    	display:none;
    }
    /* 黑幕模板配合CSS */
    span.heimu a.external,
    span.heimu a.external:visited,
    span.heimu a.extiw,
    span.heimu a.extiw:visited {
        color: #252525;
    }
    .heimu,
    .heimu a,
    a .heimu,
    .heimu a.new {
        background-color: #252525;
        color: #252525;
        text-shadow: none;
    }
    body:not(.heimu_toggle_on) .heimu:hover,
    body:not(.heimu_toggle_on) .heimu:active,
    body:not(.heimu_toggle_on) .heimu.off {
        transition: color .13s linear;
        color: white;
    }
    body:not(.heimu_toggle_on) .heimu:hover a,
    body:not(.heimu_toggle_on) a:hover .heimu,
    body:not(.heimu_toggle_on) .heimu.off a,
    body:not(.heimu_toggle_on) a:hover .heimu.off {
        transition: color .13s linear;
        color: lightblue;
    }
    body:not(.heimu_toggle_on) .heimu.off .new,
    body:not(.heimu_toggle_on) .heimu.off .new:hover,
    body:not(.heimu_toggle_on) .new:hover .heimu.off,
    body:not(.heimu_toggle_on) .heimu.off .new,
    body:not(.heimu_toggle_on) .heimu.off .new:hover,
    body:not(.heimu_toggle_on) .new:hover .heimu.off {
        transition: color .13s linear;
        color: #BA0000;
    }
    /* info类模板 */
    .infoBox {
        margin: 0 auto;
    }
    .infoBoxTitle {
        margin: 3px auto;
        padding: 0;
        text-align: center;
        font-weight: 700;
    }
    .infoBoxIcon {
        display: table-cell;
        padding: 2px 0 2px .5em;
        vertical-align: middle;
    }
    .infoBoxText {
        display: table-cell;
        padding: .25em .5em .25em 1.3em;
        width: 100%;
        vertical-align: middle;
    }
    .infoBoxContent {
        border: 1px solid #ddd;
        border-left-width: 0;
        background: #fbfbfb;
    }
    .infoBoxBelow {
        margin: 0 auto;
        padding: 0;
        text-align: center;
    }
    /* 数据表格 */
    .mw-datatable.TablePager {
        opacity: 1;
        width: 100%;
        table-layout: fixed;
        word-wrap: break-word;
    }
    
    /*Banner*/
    /*
    body.skin-vector {
        background: url(https://wiki.sukasuka.cn/images/d/d2/Banner_Main.jpg) no-repeat top left #f6f6f6;
    }
    */
    /* 主页表格 */
    
    .mainpage {
       width: 100%;
       height: 50%;
       border: 1px solid #225588;
       text-align: center;
       border-radius: 5px;
       -moz-border-radius: 5px;
    }
    
    body {
    	opacity: 0.9;
        background-image:url(images/d/df/MainBG_JPG.jpg);
        background-position:right;
        background-size:100%;
        background-attachment:fixed;
        background-repeat:no-repeat;
    }
    
    .mh_mid, .mh_top, .mh_oneleft, .mh_twoleft, .mh_bottomleft, .mh_topright, .mh_topleft, .mh_bottom {
       background: #88bbff;
       font-size: 120%;
       text-align: center;
       text-shadow: 1px 1px 3px rgb(100, 100, 100);
    }
    
    .mh_top {
       border-radius: 3px 3px 0px 0px;
       -moz-border-radius: 3px 3px 0px 0px;
    }
    
    .mh_topright {
       border-radius: 0px 3px 0px 0px;
       -moz-border-radius: 0px 3px 0px 0px;
    }
    
    .mh_topleft {
       border-radius: 3px 0px 0px 0px;
       -moz-border-radius: 3px 0px 0px 0px;
    }
    
    .mh_oneleft, .mh_twoleft, .mh_bottomleft, .mh_bottomleft_centered {
       font-size: 100%;
       width: 15%
    }
    
    .mh_bottomleft_centered {
       background: #88bbff;
    }
    
    .mh_oneleft, .mh_bottomleft, .mh_bottomleft_centered {
       text-align: right;
       cell-padding: 4px;
    }
    
    .mh_bottomleft, .mh_bottomleft_centered {
       border-radius: 0px 0px 0px 3px;
       -moz-border-radius: 0px 0px 0px 3px;
    }
    
    .mh_bottom {
       border-radius: 0px 0px 3px 3px;
       -moz-border-radius: 0px 0px 3px 3px;
    }
    
    .iconcells, .ic_bottomright {
       vertical-align: top;
       border: 1px solid #88BBFF;
       padding: 2px;
       width: 12%;
    }
    
    .ic_bottomright {
       border-radius: 0px 0px 3px 0px;
       -moz-border-radius: 0px 0px 3px 0px;
    }
    
    .iconcells, .ic_bottomright, .mh_bottomleft_centered {
       text-align: center;
    }
    
    #footer-info {
        background: url(/images/5/51/Donation.png) 0 15px no-repeat;
        padding: 15px 0 30px 0;
        min-height: 165px;
    }
    
    #footer-info-copyright {
        padding-left: 136px !important;
    }
    #footer-info-lastmod {
        padding-left: 136px !important;
    }