Difference between revisions of "MediaWiki:Common.css"
From Pangaea Wiki
MyraMidnight (Talk | contribs) |
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 */ | ||
/**** Table Themes ****/ | /**** Table Themes ****/ | ||
| + | |||
| + | |||
| + | /* list styling */ | ||
| + | .mw-content-ltr ul {list-style-image:url(resources/assets/pang/bullet_ankh.png)} | ||
| + | |||
| + | /* WIKITABLE (default) */ | ||
| + | |||
| + | table.wikitable { | ||
| + | margin: 1em 0; | ||
| + | background-color:#fff7e4; | ||
| + | border: 1px solid #561503; | ||
| + | border-collapse: collapse; | ||
| + | color: #000; | ||
| + | } | ||
| + | table.wikitable > tr > th, | ||
| + | table.wikitable > tr > td, | ||
| + | table.wikitable > * > tr > th, | ||
| + | table.wikitable > * > tr > td { | ||
| + | border: 1px solid #561503; | ||
| + | padding: 0.2em 0.4em; | ||
| + | } | ||
| + | table.wikitable > tr > th, | ||
| + | table.wikitable > * > tr > th { | ||
| + | background-color: #8a2405; | ||
| + | text-align: center; color:#fff; | ||
| + | } | ||
| + | table.wikitable > * th > a{color:#ffdc58;} | ||
| + | table.wikitable > * td > a{color:#8a2405;} | ||
| + | table.wikitable > caption { | ||
| + | font-weight: bold; | ||
| + | } | ||
Revision as of 19:11, 9 July 2018
/* CSS placed here will be applied to all skins */
/**** Table Themes ****/
/* list styling */
.mw-content-ltr ul {list-style-image:url(resources/assets/pang/bullet_ankh.png)}
/* WIKITABLE (default) */
table.wikitable {
margin: 1em 0;
background-color:#fff7e4;
border: 1px solid #561503;
border-collapse: collapse;
color: #000;
}
table.wikitable > tr > th,
table.wikitable > tr > td,
table.wikitable > * > tr > th,
table.wikitable > * > tr > td {
border: 1px solid #561503;
padding: 0.2em 0.4em;
}
table.wikitable > tr > th,
table.wikitable > * > tr > th {
background-color: #8a2405;
text-align: center; color:#fff;
}
table.wikitable > * th > a{color:#ffdc58;}
table.wikitable > * td > a{color:#8a2405;}
table.wikitable > caption {
font-weight: bold;
}