Difference between revisions of "MediaWiki:Common.css"
| Line 19: | Line 19: | ||
#vectorTabs li {background-image: none;} | #vectorTabs li {background-image: none;} | ||
#vectorTabs li {background-color: #8D856E;} | #vectorTabs li {background-color: #8D856E;} | ||
| + | |||
| + | |||
| + | === 5e Table === | ||
| + | |||
| + | {| class="5e" | ||
| + | |+ | ||
| + | =====Table: Sample 5e Table===== | ||
| + | ! Blah || Dee || Blah | ||
| + | |- class="{{Odd-Even|{{#var:odd}}}}" | ||
| + | | Yackety || Schmackety || Wheeeeeeeeeee | ||
| + | |- class="{{Odd-Even|{{#var:odd}}}}" | ||
| + | | Lovely || Spam || Wonderful | ||
| + | |- class="{{Odd-Even|{{#var:odd}}}}" | ||
| + | | colspan="3" class="foot" | | ||
| + | # some footnote. | ||
| + | |} | ||
| + | |||
| + | <pre> */ | ||
| + | |||
| + | table.minimize \000035e | ||
| + | { | ||
| + | white-space: normal; | ||
| + | } | ||
| + | |||
| + | table.\000035e | ||
| + | { | ||
| + | margin: 0 0 1em; | ||
| + | text-align: center; | ||
| + | border-collapse: collapse; | ||
| + | } | ||
| + | |||
| + | table.\000035e th, table.\000035e td | ||
| + | { | ||
| + | border-left-width: 0em; | ||
| + | border-right-width: 0em; | ||
| + | border-top-width: 0em; | ||
| + | border-bottom-width: 0em; | ||
| + | border-style: solid; | ||
| + | padding-top: 0.175em; | ||
| + | padding-bottom: 0.175em; | ||
| + | padding-left: 0.5em; | ||
| + | padding-right: 0.5em; | ||
| + | } | ||
| + | |||
| + | table.\000035e th | ||
| + | { | ||
| + | vertical-align: bottom; | ||
| + | } | ||
| + | |||
| + | table.\000035e td | ||
| + | { | ||
| + | vertical-align: top; | ||
| + | } | ||
| + | |||
| + | table.\000035e caption | ||
| + | { | ||
| + | margin: 0 0 -0.1em; | ||
| + | text-align: left; | ||
| + | font-weight: bold; | ||
| + | padding-top: 0.18em; | ||
| + | padding-bottom: 0.5em; | ||
| + | } | ||
| + | |||
| + | table.minimize td.\000035e footer | ||
| + | { | ||
| + | white-space: normal; | ||
| + | } | ||
| + | |||
| + | table.\000035e footer | ||
| + | { | ||
| + | text-align: left; | ||
| + | } | ||
| + | |||
| + | table.\000035e tr.odd | ||
| + | { | ||
| + | background: #e0e4c0; | ||
| + | } | ||
| + | |||
| + | table.\000035e th, table.\000035e td { | ||
| + | border-color: #fdf9d3; | ||
| + | } | ||
| + | |||
| + | table.\000035e tr. | ||
| + | { | ||
| + | border-color: #d8c3b2; | ||
| + | } | ||
| + | |||
| + | table.\000035e td.notes | ||
| + | { | ||
| + | text-align: left; | ||
| + | border: none; | ||
| + | } | ||
| + | |||
| + | /* </pre> | ||
Revision as of 10:09, 24 April 2019
/* CSS placed here will be applied to all skins */
/* hiding "powered by MediaWiki" icon */
#footer-poweredbyico { display: none; }
body {background: #8D856E;}
/* changes the background color of the bottom and left of each page, up to behind half of the logo */
#mw-page-base {background: #8D856E}
/* changes the background color behind the top half of the logo and at top of each page */
#mw-panel .portal h3 {margin: 0px; font-weight: bold; color: #2A1804; background-color: #EEE3A4; padding: 5px;}
#mw-panel .portal {margin: 6px; padding: 0px; background-color: #FDF9D3;}
#content {background-color: #FDF9D3; border-color: #2A1804;}
#right-navigation {background-color: #8D856E;}
#vectorTabs li {background-image: none;}
#vectorTabs li {background-color: #8D856E;}
=== 5e Table ===
{| class="5e"
|+
=====Table: Sample 5e Table=====
! Blah || Dee || Blah
|- class="{{Odd-Even|{{#var:odd}}}}"
| Yackety || Schmackety || Wheeeeeeeeeee
|- class="{{Odd-Even|{{#var:odd}}}}"
| Lovely || Spam || Wonderful
|- class="{{Odd-Even|{{#var:odd}}}}"
| colspan="3" class="foot" |
# some footnote.
|}
<pre> */
table.minimize \000035e
{
white-space: normal;
}
table.\000035e
{
margin: 0 0 1em;
text-align: center;
border-collapse: collapse;
}
table.\000035e th, table.\000035e td
{
border-left-width: 0em;
border-right-width: 0em;
border-top-width: 0em;
border-bottom-width: 0em;
border-style: solid;
padding-top: 0.175em;
padding-bottom: 0.175em;
padding-left: 0.5em;
padding-right: 0.5em;
}
table.\000035e th
{
vertical-align: bottom;
}
table.\000035e td
{
vertical-align: top;
}
table.\000035e caption
{
margin: 0 0 -0.1em;
text-align: left;
font-weight: bold;
padding-top: 0.18em;
padding-bottom: 0.5em;
}
table.minimize td.\000035e footer
{
white-space: normal;
}
table.\000035e footer
{
text-align: left;
}
table.\000035e tr.odd
{
background: #e0e4c0;
}
table.\000035e th, table.\000035e td {
border-color: #fdf9d3;
}
table.\000035e tr.
{
border-color: #d8c3b2;
}
table.\000035e td.notes
{
text-align: left;
border: none;
}
/* </pre>