MediaWiki:Common.css:修订间差异
无编辑摘要 |
无编辑摘要 |
||
| (未显示2个用户的82个中间版本) | |||
| 第53行: | 第53行: | ||
background-color: #020000 !important; | background-color: #020000 !important; | ||
background-image: none !important; | background-image: none !important; | ||
} | } | ||
| 第124行: | 第117行: | ||
#mw-panel .portal h3 { | #mw-panel .portal h3 { | ||
font-family: exocet, sans-serif; | font-family: exocet, sans-serif; | ||
font-weight: 500; | |||
text-transform: uppercase; | text-transform: uppercase; | ||
font-size:1.1em; | |||
color: #F9C666; | color: #F9C666; | ||
} | } | ||
| 第138行: | 第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 */ | ||
| 第155行: | 第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 { | .wikitable { | ||
| 第163行: | 第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 { | ||
| 第217行: | 第249行: | ||
.d2-purple {color: #AE00FF !important;} | .d2-purple {color: #AE00FF !important;} | ||
.d2-tan {color: #D0C27D !important;} | .d2-tan {color: #D0C27D !important;} | ||
/* These colors require either using Glide or having HD text enabled */ | |||
.d2-coral {color: #E09595 !important;} | |||
.d2-sage {color: #B6E12E !important;} | |||
.d2-teal {color: #5CA6A4 !important;} | |||
.d2-light-gray {color: #A9A9B0 !important;} | |||
.brown-background-header {background-color:#150D0A; border-top: 1px solid #150D0A; border-bottom: 1px solid #150D0A;} | .brown-background-header {background-color:#150D0A; border-top: 1px solid #150D0A; border-bottom: 1px solid #150D0A;} | ||