MediaWiki:Common.css
From Fax Encyclopedicus
Line 10: | Line 10: | ||
} | } | ||
- | #bodyContent table, table.base-class { | + | #bodyContent table:not(#toc):not(.toc), table.base-class { |
background-color: #000000; | background-color: #000000; | ||
border-spacing: 2px 2px; | border-spacing: 2px 2px; | ||
} | } | ||
- | #bodyContent table tbody tr td, table.base-class tbody tr td { | + | #bodyContent table:not(#toc):not(.toc) tbody tr td, table.base-class tbody tr td { |
background-color: #F2F2F2; | background-color: #F2F2F2; | ||
color: #000000; | color: #000000; | ||
Line 21: | Line 21: | ||
} | } | ||
- | #bodyContent table tbody tr th, #bodyContent table tbody tr:nth-child(1) td, table.base-class tbody tr th, table.base-class tbody tr:nth-child(1) td { | + | #bodyContent table:not(#toc):not(.toc) tbody tr th, #bodyContent table tbody tr:nth-child(1) td, table.base-class tbody tr th, table.base-class tbody tr:nth-child(1) td { |
background-color: #5677A0 !important; | background-color: #5677A0 !important; | ||
color: #ffffff; | color: #ffffff; | ||
Line 27: | Line 27: | ||
} | } | ||
- | #bodyContent table tbody tr:nth-child(odd) td, table.base-class tbody tr:nth-child(odd) td { | + | #bodyContent table:not(#toc):not(.toc) tbody tr:nth-child(odd) td, table.base-class tbody tr:nth-child(odd) td { |
background-color: #D8DDE9; | background-color: #D8DDE9; | ||
} | } |
Revision as of 15:36, 12 October 2010
.collapseButton { /* 'show'/'hide' buttons created dynamically by the */ float: right; /* CollapsibleTables JavaScript in [[MediaWiki:Common.js]] */ font-weight: normal; /* are styled here so they can be customised. */ text-align: right; width: auto; } .portlet { background: #f2f2f2; } #bodyContent table:not(#toc):not(.toc), table.base-class { background-color: #000000; border-spacing: 2px 2px; } #bodyContent table:not(#toc):not(.toc) tbody tr td, table.base-class tbody tr td { background-color: #F2F2F2; color: #000000; padding: 2px 0.25em; } #bodyContent table:not(#toc):not(.toc) tbody tr th, #bodyContent table tbody tr:nth-child(1) td, table.base-class tbody tr th, table.base-class tbody tr:nth-child(1) td { background-color: #5677A0 !important; color: #ffffff; font-weight: bold; } #bodyContent table:not(#toc):not(.toc) tbody tr:nth-child(odd) td, table.base-class tbody tr:nth-child(odd) td { background-color: #D8DDE9; }