MediaWiki:Common.css
Jump to navigation Jump to searchBBlackmoor (talk | contribs) (Created page with "→CSS placed here will be applied to all skins: .toc, #toc { display: none; }") |
BBlackmoor (talk | contribs) No edit summary |
||
(44 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
/* CSS placed here will be applied to all skins */ | /* CSS placed here will be applied to all skins */ | ||
.toc, #toc { | #mw-content-text h2, div#mw-content-text h3 { | ||
clear: both; | |||
} | |||
table.zebra { | |||
background-color: transparent; | |||
color: #635537; | |||
border: 0px; | |||
} | |||
table.zebra caption { | |||
font-weight: normal; | |||
} | |||
table.zebra th { | |||
background-color: rgb(99,85,55); | |||
color: rgb(255,255,255); | |||
} | |||
table.zebra tr:nth-child(even) { | |||
background-color: transparent; | |||
} | |||
table.zebra tr:nth-child(odd) { | |||
background-color: rgb(219,209,189); | |||
} | |||
/* hide bullets in TOC */ | |||
div .toc ul li, div #toc ul li { | |||
list-style-type: none; | |||
list-style: none; | |||
} | |||
div .toc ::marker, div #toc ::marker { | |||
color: rgba(0, 0, 0, 0); | |||
} | |||
.expertise | |||
{ | |||
color: rgb(153, 102, 0); | |||
font-weight: bold; | |||
} | |||
/* override ul spacing */ | |||
.mw-content-ltr ul, | |||
.mw-content-rtl .mw-content-ltr ul { | |||
/* @noflip */ | |||
margin: 0.2em 0 0.2em 1.6em; | |||
padding: 0; | |||
} | |||
tr.h1row, tr.h1row td, tr.h1row th { | |||
background-color: #C0C0C0; | |||
} | |||
tr.h2row, tr.h2row td, tr.h2row th { | |||
background-color: #D0D0D0; | |||
} | |||
tr.evenrow, tr.evenrow td, tr.evenrow th { | |||
background-color: #F0F0F0; | |||
} | |||
tr.oddrow, tr.oddrow td, tr.oddrow th { | |||
background-color: #E0E0E0; | |||
} | |||
td.alignleft, th.alignleft { | |||
text-align: left; | |||
float: none; | |||
} | |||
td.aligncenter, th.aligncenter{ | |||
text-align: center; | |||
float: none; | |||
} | |||
td.alignright, th.alignright{ | |||
text-align: right; | |||
float: none; | |||
} | |||
#content tr.h1row, #content tr.h1row th, #content tr.h1row td | |||
{ | |||
background: rgb(99, 85, 55); | |||
color: rgb(255,255,255) !important; | |||
margin: 0px; | |||
padding: 6px; | |||
border: 0px; | |||
} | |||
#content tr.h2row, #content tr.h2row th, #content tr.h2row td | |||
{ | |||
background: rgb(67,118,168); | |||
color: rgb(255,255,255); | |||
margin: 0px; | |||
padding: 6px; | |||
border: 0px; | |||
} | |||
#content tr.h3row, #content tr.h3row th, #content tr.h3row td | |||
{ | |||
background: rgb(89,138,186); | |||
color: rgb(255,255,255); | |||
margin: 0px; | |||
padding: 6px; | |||
border: 0px; | |||
} | |||
#content tr.oddrow, #content tr.oddrow th, #content tr.oddrow td | |||
{ | |||
background: rgb(219, 209, 189); | |||
margin: 0px; | |||
border: 0px; | |||
} | |||
#content tr.evenrow, #content tr.evenrow th, #content tr.evenrow td | |||
{ | |||
background: transparent; | |||
margin: 0px; | |||
border: 0px; | |||
} | |||
#content th.alignleft, #content td.alignleft | |||
{ | |||
text-align: left; | |||
float: none; | |||
vertical-align: top; | |||
padding: 6px; | |||
margin: 0px; | |||
border: 0px; | |||
} | |||
#content th.alignright, #content td.alignright | |||
{ | |||
text-align: right; | |||
float: none; | |||
vertical-align: top; | |||
padding: 6px; | |||
margin: 0px; | |||
border: 0px; | |||
} | |||
#content th.aligncenter, #content td.aligncenter | |||
{ | |||
text-align: center; | |||
float: none; | |||
vertical-align: top; | |||
padding: 6px; | |||
margin: 0px; | |||
border: 0px; | |||
} | |||
/* H1 table cells */ | |||
#content th.h1cell, #content td.h1cell { | |||
background-color: rgb(51,102,153); | |||
color: rgb(255,255,255); | |||
} | |||
/* H2 table cells, odd rows */ | |||
#content th.h2cell, #content th.h2cellodd, #content tr.oddrow th.h2cell, #content tr.evenrow th.h2cellodd, | |||
#content td.h2cell, #content td.h2cellodd, #content tr.oddrow td.h2cell, #content tr.evenrow td.h2cellodd, | |||
#content tr.evenrow th.h2cellforce, #content tr.evenrow td.h2cellforce { | |||
background-color: rgb(67,118,168); | |||
color: rgb(255,255,255); | |||
} | |||
/* H2 table cells, even rows */ | |||
#content th.h2celleven, #content tr.evenrow th.h2cell, #content tr.oddrow th.h2celleven, | |||
#content td.h2celleven, #content tr.evenrow td.h2cell, #content tr.oddrow td.h2celleven, | |||
#content tr.evenrow th.h2cellaltforce, #content tr.evenrow td.h2cellaltforce, | |||
#content th.h2cellalt, #content td.h2cellalt { | |||
background-color: rgb(89,138,186); | |||
color: rgb(255,255,255); | |||
} | |||
/* H3 table cells */ | |||
#content th.h3cell, | |||
#content td.h3cell { | |||
background-color: rgb(89,138,186); | |||
color: rgb(255,255,255); | |||
} | |||
#content table { | |||
margin: 0 0px 0px 0; | |||
text-align: left; | |||
border-collapse: collapse; | |||
border-spacing: 0; | |||
} | |||
#content table caption { | |||
font-size: smaller; | |||
font-style: italic; | |||
} | |||
#content tr { | |||
margin: 0px; | |||
} | |||
.post dl dd { | |||
margin-left: 1.6em; | |||
} | |||
.post dd { | |||
text-indent: 0px; | |||
} |
Latest revision as of 10:53, 21 October 2022
/* CSS placed here will be applied to all skins */ #mw-content-text h2, div#mw-content-text h3 { clear: both; } table.zebra { background-color: transparent; color: #635537; border: 0px; } table.zebra caption { font-weight: normal; } table.zebra th { background-color: rgb(99,85,55); color: rgb(255,255,255); } table.zebra tr:nth-child(even) { background-color: transparent; } table.zebra tr:nth-child(odd) { background-color: rgb(219,209,189); } /* hide bullets in TOC */ div .toc ul li, div #toc ul li { list-style-type: none; list-style: none; } div .toc ::marker, div #toc ::marker { color: rgba(0, 0, 0, 0); } .expertise { color: rgb(153, 102, 0); font-weight: bold; } /* override ul spacing */ .mw-content-ltr ul, .mw-content-rtl .mw-content-ltr ul { /* @noflip */ margin: 0.2em 0 0.2em 1.6em; padding: 0; } tr.h1row, tr.h1row td, tr.h1row th { background-color: #C0C0C0; } tr.h2row, tr.h2row td, tr.h2row th { background-color: #D0D0D0; } tr.evenrow, tr.evenrow td, tr.evenrow th { background-color: #F0F0F0; } tr.oddrow, tr.oddrow td, tr.oddrow th { background-color: #E0E0E0; } td.alignleft, th.alignleft { text-align: left; float: none; } td.aligncenter, th.aligncenter{ text-align: center; float: none; } td.alignright, th.alignright{ text-align: right; float: none; } #content tr.h1row, #content tr.h1row th, #content tr.h1row td { background: rgb(99, 85, 55); color: rgb(255,255,255) !important; margin: 0px; padding: 6px; border: 0px; } #content tr.h2row, #content tr.h2row th, #content tr.h2row td { background: rgb(67,118,168); color: rgb(255,255,255); margin: 0px; padding: 6px; border: 0px; } #content tr.h3row, #content tr.h3row th, #content tr.h3row td { background: rgb(89,138,186); color: rgb(255,255,255); margin: 0px; padding: 6px; border: 0px; } #content tr.oddrow, #content tr.oddrow th, #content tr.oddrow td { background: rgb(219, 209, 189); margin: 0px; border: 0px; } #content tr.evenrow, #content tr.evenrow th, #content tr.evenrow td { background: transparent; margin: 0px; border: 0px; } #content th.alignleft, #content td.alignleft { text-align: left; float: none; vertical-align: top; padding: 6px; margin: 0px; border: 0px; } #content th.alignright, #content td.alignright { text-align: right; float: none; vertical-align: top; padding: 6px; margin: 0px; border: 0px; } #content th.aligncenter, #content td.aligncenter { text-align: center; float: none; vertical-align: top; padding: 6px; margin: 0px; border: 0px; } /* H1 table cells */ #content th.h1cell, #content td.h1cell { background-color: rgb(51,102,153); color: rgb(255,255,255); } /* H2 table cells, odd rows */ #content th.h2cell, #content th.h2cellodd, #content tr.oddrow th.h2cell, #content tr.evenrow th.h2cellodd, #content td.h2cell, #content td.h2cellodd, #content tr.oddrow td.h2cell, #content tr.evenrow td.h2cellodd, #content tr.evenrow th.h2cellforce, #content tr.evenrow td.h2cellforce { background-color: rgb(67,118,168); color: rgb(255,255,255); } /* H2 table cells, even rows */ #content th.h2celleven, #content tr.evenrow th.h2cell, #content tr.oddrow th.h2celleven, #content td.h2celleven, #content tr.evenrow td.h2cell, #content tr.oddrow td.h2celleven, #content tr.evenrow th.h2cellaltforce, #content tr.evenrow td.h2cellaltforce, #content th.h2cellalt, #content td.h2cellalt { background-color: rgb(89,138,186); color: rgb(255,255,255); } /* H3 table cells */ #content th.h3cell, #content td.h3cell { background-color: rgb(89,138,186); color: rgb(255,255,255); } #content table { margin: 0 0px 0px 0; text-align: left; border-collapse: collapse; border-spacing: 0; } #content table caption { font-size: smaller; font-style: italic; } #content tr { margin: 0px; } .post dl dd { margin-left: 1.6em; } .post dd { text-indent: 0px; }