MediaWiki:Common.css:修订间差异

Lil174留言 | 贡献
无编辑摘要
Weili0677留言 | 贡献
无编辑摘要
 
(未显示1个用户的75个中间版本)
第1行: 第1行:
/* CSS placed here will be applied to all skins */
/* CSS placed here will be applied to all skins */
/* Tooltip 样式测试*/
.tooltip-wrapper {
    position: relative;
    display: inline-block;
    cursor: help;
}
.tooltip-content {
    visibility: hidden;
    background-color: #020000;
    border: 1px solid #7C502E;
    padding: 8px;
    border-radius: 4px;
    box-shadow: 2px 2px 5px rgba(0,0,0,0.1);
    position: absolute;
    z-index: 1000;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
}
.tooltip-wrapper:hover .tooltip-content {
    visibility: visible;
}
/* 网站公告的样式 Mediawiki:sitenotice 使用 */
#siteNoticeScroll {
    width: 100%;
    height: 25px;
    line-height: 25px;
    overflow: hidden;
    text-align: center;
    margin-bottom: 0.25em;
}
#siteNoticeScroll ul {
    height: 25px;
    line-height: 25px;
    -webkit-transition: margin .73s ease-in-out;
    -moz-transition: margin .73s ease-in-out;
    transition: margin .73s ease-in-out;
}
#siteNoticeScroll li {
    height: 25px;
    list-style: none;
    float: left;
    width: 100%;
}


body {background-color: #020000;color:#B18D62;font-family:Verdana,Arial,Helvetica,sans-serif;}
body {background-color: #020000;color:#B18D62;font-family:Verdana,Arial,Helvetica,sans-serif;}
第182行: 第131行:
.mw-body, .parsoid-body {background-color: #150D0A;color:#B18D62;}
.mw-body, .parsoid-body {background-color: #150D0A;color:#B18D62;}
.mw-body {border: 3px solid #7C502E !important;}
.mw-body {border: 3px solid #7C502E !important;}
@media only screen and (min-width: 600px) {
.mw-body, #mw-head-base, #left-navigation, #mw-data-after-content, #footer {
    margin-left: 13em !important;
}
}


/* Table Formatting */
/* Table Formatting */
第203行: 第144行:
     padding: 0.3em 0.5em;
     padding: 0.3em 0.5em;
}
}
.wikitable tr:nth-child(odd) { background-color: #2C2014 !important;}
.wikitable tr:nth-child(odd) { background-color: #2C2014;} /* 死老外原来在这里加了个!important强制真是蛋痛 */
.wikitable tr:nth-child(even) { background-color: #271C12 !important;}
.wikitable tr:nth-child(even) { background-color: #271C12;} /* 死老外原来在这里加了个!important强制真是蛋痛 */


.wikitable > tr > td > p, .wikitable > * > tr > td > p {display: inline; color: #444444; margin-top: 0; margin-bottom: 0;} /* de-emphasized table info */
.wikitable > tr > td > p, .wikitable > * > tr > td > p {display: inline; color: #444444; margin-top: 0; margin-bottom: 0;} /* de-emphasized table info */
MediaWiki Appliance - Powered by TurnKey Linux