MediaWiki:Common.css:修订间差异

Lil174留言 | 贡献
无编辑摘要
Weili0677留言 | 贡献
无编辑摘要
 
(未显示1个用户的46个中间版本)
第131行: 第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;}
.mw-body, #mw-head-base, #left-navigation, #mw-data-after-content, #footer {
    margin-left: 13em !important;
}


/* Table Formatting */
/* Table Formatting */
第148行: 第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 */
第327行: 第323行:
color: #000000;
color: #000000;
font-weight: bold;
font-weight: bold;
}
/* 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%;
}
/* 静态 Tooltip */
.tooltip-wrapper {
    position: relative;
    display: inline-block;
    cursor: help;
}
.tooltip-content {
    visibility: hidden;
    background-color: #150d0a;
    border: 3px solid #7c502e;
    padding: 8px;
    border-radius: 4px;
    box-shadow: 2px 2px 5px rgba(0,0,0,0.1);
    position: absolute;
    z-index: 1000;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
}
.tooltip-content-bot {
    visibility: hidden;
    background-color: #150d0a;
    border: 3px solid #7c502e;
    padding: 3px;
    border-radius: 4px;
    box-shadow: 2px 2px 5px rgba(0,0,0,0.1);
    position: absolute;
    z-index: 1000;
    bottom: 0%;
    left: 50%;
    transform: translateX(50%);
    transform: translateY(100%);
    white-space: nowrap;
}
.tooltip-wrapper:hover .tooltip-content { visibility: visible; }
.tooltip-wrapper:hover .tooltip-content-bot { visibility: visible; }
/* 动态 Tooltip */
.custom-tooltip-box {
  position: absolute;
  max-width: 300px;
  background: #fff;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  z-index: 1000;
  padding: 10px;
}
}
MediaWiki Appliance - Powered by TurnKey Linux