MediaWiki:Common.css: Difference between revisions
MediaWiki interface page
More actions
No edit summary |
No edit summary |
||
| (One intermediate revision by the same user not shown) | |||
| Line 232: | Line 232: | ||
aspect-ratio: 300 / 141; | aspect-ratio: 300 / 141; | ||
margin-bottom: 0; | margin-bottom: 0; | ||
background-image: url(" | background-image: url("/index.php/Special:Redirect/file/Wizlords_banner_nobg.png"); | ||
background-repeat: no-repeat; | background-repeat: no-repeat; | ||
background-position: center center; | background-position: center center; | ||
| Line 1,363: | Line 1,363: | ||
margin: 22px auto 18px; | margin: 22px auto 18px; | ||
background: var(--wiz-race-table-divider-colour, #9d7531); | background: var(--wiz-race-table-divider-colour, #9d7531); | ||
} | |||
/* SHARED STANDARD TABLE | |||
--------------------- | |||
Opt-in colour and border treatment for ordinary custom wiki tables. | |||
Add "wizlords-table" beside "wikitable" instead of overriding every | |||
MediaWiki-generated wikitable. Component-specific classes continue to own | |||
specialised widths, alignment, captions, and collapsible behaviour. */ | |||
.wikitable.wizlords-table, | |||
.wizlords-table { | |||
border: 1px solid var(--wiz-race-table-border-colour, #4d4d4d) !important; | |||
border-collapse: collapse; | |||
background: #171717 !important; | |||
color: var(--wiz-text, #d2d2d2) !important; | |||
} | |||
.wikitable.wizlords-table th, | |||
.wikitable.wizlords-table td, | |||
.wizlords-table th, | |||
.wizlords-table td { | |||
padding: 8px 12px; | |||
border: 1px solid var(--wiz-race-table-border-colour, #4d4d4d) !important; | |||
background: #171717 !important; | |||
color: var(--wiz-text, #d2d2d2) !important; | |||
} | |||
.wikitable.wizlords-table th, | |||
.wizlords-table th { | |||
background: #1f1e1e !important; | |||
color: var(--wiz-heading, #e7e1d4) !important; | |||
} | } | ||