MediaWiki:Common.css:修订间差异
无编辑摘要 |
无编辑摘要 |
||
| (未显示2个用户的80个中间版本) | |||
| 第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;} | ||
/* Table Formatting */ | /* Table Formatting */ | ||
| 第148行: | 第144行: | ||
padding: 0.3em 0.5em; | padding: 0.3em 0.5em; | ||
} | } | ||
.wikitable tr:nth-child(odd) { background-color: #2C2014 | .wikitable tr:nth-child(odd) { background-color: #2C2014;} /* 死老外原来在这里加了个!important强制真是蛋痛 */ | ||
.wikitable tr:nth-child(even) { background-color: #271C12 | .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 */ | ||
| 第158行: | 第154行: | ||
border: 1px solid #1F160C; | border: 1px solid #1F160C; | ||
border-collapse: collapse; | border-collapse: collapse; | ||
background-color: #271C12; | background-color: #271C12; | ||
} | } | ||
/* Wide Tables - prevents nearly-blank extra rows */ | |||
.wide {white-space: nowrap;} | |||
.scroll { | |||
-moz-transition: all .25s ease-in; | |||
-webkit-transition: all .25s ease-in; | |||
transition: all .25s ease-in; | |||
display: block; | |||
max-width: fit-content; | |||
max-width: -moz-fit-content; | |||
max-width: -webkit-fit-content; | |||
overflow-x: scroll; | |||
white-space: nowrap; | |||
padding: 0; | |||
margin: 1em 0 -4px; | |||
background-color: #150D0A; | |||
border-width: 0; | |||
scrollbar-width: thin; | |||
scrollbar-color: #B18D6220 transparent; | |||
} | |||
.scroll:hover { | |||
scrollbar-color: #B18D62 transparent; | |||
} | |||
.scroll > * > tr > th:first-child { | |||
position: sticky; | |||
left: 0; | |||
margin: 0 13px; | |||
border-width: 1px; | |||
border-left: 0; | |||
box-shadow: -1px 0 0 0 #271C12, 1px 0 0 0 #271C12 inset, -1px 0 0 0 #271C12 inset; | |||
} | |||
/* Lower/thicken the horizontal scrollbar in Firefox | |||
to avoid being overlapped with the table */ | |||
@supports (-moz-appearance:none) { | |||
.scroll { | |||
padding-bottom: 10px !important; | |||
scrollbar-width: auto !important; | |||
} | |||
} | |||
.wikitable-3col > * > tr > td {width: 33% !important;} | .wikitable-3col > * > tr > td {width: 33% !important;} | ||
.wikitable-box { | .wikitable-box { | ||