Difference between revisions of "MediaWiki:Common.css"
From Pangaea Wiki
MyraMidnight (Talk | contribs) (Replaced content with "→CSS placed here will be applied to all skins: ") |
MyraMidnight (Talk | contribs) |
||
Line 1: | Line 1: | ||
/* CSS placed here will be applied to all skins */ | /* CSS placed here will be applied to all skins */ | ||
+ | |||
+ | /* PANGTABLE */ | ||
+ | |||
+ | table.pangtable { | ||
+ | margin: 1em 0; | ||
+ | background-color: #484946; | ||
+ | border: 1px solid #8fb662; | ||
+ | border-collapse: collapse; | ||
+ | color: #fffffb; | ||
+ | margin:0px; | ||
+ | width:auto; | ||
+ | text-align:center; | ||
+ | } | ||
+ | table.pangtable > tr > th, | ||
+ | table.pangtable > tr > td, | ||
+ | table.pangtable > * > tr > th, | ||
+ | table.pangtable > * > tr > td { | ||
+ | border: 1px solid #8fb662; | ||
+ | padding: 0.2em 0.4em; | ||
+ | color: #fffffb; | ||
+ | text-align:center; | ||
+ | vertical-align:center; | ||
+ | } | ||
+ | table.pangtable > tr > th, | ||
+ | table.pangtable > * > tr > th { | ||
+ | background-color: #678742; | ||
+ | text-align: center; | ||
+ | color: #000; | ||
+ | |||
+ | }table.pangtable > caption { | ||
+ | font-weight: bold; | ||
+ | } | ||
+ | table.pangtable.open td { | ||
+ | border:none; | ||
+ | } | ||
+ | |||
+ | /***** DRAGONFRAME ***/ | ||
+ | table.dragonframe { | ||
+ | border:none; | ||
+ | border-collapse: collapse; | ||
+ | margin:none; | ||
+ | width:749px; | ||
+ | } | ||
+ | table.dragonframe #df-header { | ||
+ | background-image: url('/resources/assets/pang/dragonframe-top.png'); | ||
+ | background-repeat: no-repeat; | ||
+ | background-position: center bottom; | ||
+ | border-collapse: collapse; | ||
+ | height:115px; | ||
+ | padding:0px 75px 3px 75px; | ||
+ | vertical-align:bottom; | ||
+ | } | ||
+ | table.dragonframe #df-center { | ||
+ | background-image: url('/resources/assets/pang/dragonframe-middle.png'); | ||
+ | background-repeat: no-repeat; | ||
+ | background-position: center top; | ||
+ | padding:0 75px 0 75px; | ||
+ | } |
Revision as of 16:42, 9 July 2018
/* CSS placed here will be applied to all skins */ /* PANGTABLE */ table.pangtable { margin: 1em 0; background-color: #484946; border: 1px solid #8fb662; border-collapse: collapse; color: #fffffb; margin:0px; width:auto; text-align:center; } table.pangtable > tr > th, table.pangtable > tr > td, table.pangtable > * > tr > th, table.pangtable > * > tr > td { border: 1px solid #8fb662; padding: 0.2em 0.4em; color: #fffffb; text-align:center; vertical-align:center; } table.pangtable > tr > th, table.pangtable > * > tr > th { background-color: #678742; text-align: center; color: #000; }table.pangtable > caption { font-weight: bold; } table.pangtable.open td { border:none; } /***** DRAGONFRAME ***/ table.dragonframe { border:none; border-collapse: collapse; margin:none; width:749px; } table.dragonframe #df-header { background-image: url('/resources/assets/pang/dragonframe-top.png'); background-repeat: no-repeat; background-position: center bottom; border-collapse: collapse; height:115px; padding:0px 75px 3px 75px; vertical-align:bottom; } table.dragonframe #df-center { background-image: url('/resources/assets/pang/dragonframe-middle.png'); background-repeat: no-repeat; background-position: center top; padding:0 75px 0 75px; }