Difference between revisions of "MediaWiki:Common.css"
Jump to navigation
Jump to search
Line 50: | Line 50: | ||
#simpleSearch input { | #simpleSearch input { | ||
border: 1px solid #006e6b; | border: 1px solid #006e6b; | ||
+ | } | ||
+ | |||
+ | /* ################################################## */ | ||
+ | /* ### TABLES #### */ | ||
+ | /* ################################################## */ | ||
+ | |||
+ | .va-table { | ||
+ | background-color: #E7EADA; | ||
+ | border-collapse: collapse; | ||
+ | empty-cells: show; | ||
+ | font-size: 11px; | ||
+ | line-height: 16px; | ||
+ | margin-bottom: 5px; | ||
+ | } | ||
+ | |||
+ | .va-table td, .va-table th { | ||
+ | border: 1px solid #AAA; | ||
+ | padding: 1px 2px; | ||
+ | } | ||
+ | |||
+ | .va-table tr { | ||
+ | background: #E7EADA; | ||
+ | } | ||
+ | |||
+ | .va-table th { | ||
+ | background: #C9D0AC; | ||
+ | font-weight: bold; | ||
+ | } | ||
+ | |||
+ | .va-table td { | ||
+ | background: transparent; | ||
+ | } | ||
+ | |||
+ | .va-table-collapse .collapseButton { | ||
+ | margin-left: 10px !important; | ||
+ | position: absolute; | ||
+ | } | ||
+ | |||
+ | .va-table > tr.va-table-highlight, | ||
+ | .va-table > * > tr.va-table-highlight { | ||
+ | background-color: #D6DBC1; | ||
+ | } | ||
+ | |||
+ | .va-table ul + p, .va-table ul + ol, | ||
+ | .va-table ul + ul, .va-table ol + p, | ||
+ | .va-table ol + ol, .va-table ol + ul, | ||
+ | .va-table p + p, .va-table p + ol, | ||
+ | .va-table p + ul { | ||
+ | margin-top: 5px; | ||
+ | } | ||
+ | |||
+ | /* Tables with specific vertical alignment for cells */ | ||
+ | .va-table-top td { | ||
+ | vertical-align: top; | ||
+ | } | ||
+ | |||
+ | .va-table-middle td { | ||
+ | vertical-align: middle; | ||
+ | } | ||
+ | |||
+ | .va-table-bottom td { | ||
+ | vertical-align: bottom; | ||
+ | } | ||
+ | |||
+ | /* Tables with specific horizontal alignment for cells */ | ||
+ | .va-table-center td { | ||
+ | text-align: center; | ||
+ | } | ||
+ | |||
+ | .va-table-left td { | ||
+ | text-align: left; | ||
+ | } | ||
+ | |||
+ | .va-table-right td { | ||
+ | text-align: right; | ||
+ | } | ||
+ | |||
+ | /* Tables which are full width in Oasis */ | ||
+ | .va-table-full { | ||
+ | width: 100%; | ||
+ | } | ||
+ | |||
+ | /* Tables in which the first column starts with an icon */ | ||
+ | .va-table-icon tr td:first-child { | ||
+ | padding-left: 18px; | ||
+ | text-indent: -18px; | ||
+ | } | ||
+ | |||
+ | .va-table-full-ib, | ||
+ | .va-table-full-infobox { | ||
+ | width: 380px; | ||
+ | } | ||
+ | |||
+ | .va-table-shaded tr:nth-child(even) { | ||
+ | background-color: #DEE2CC; | ||
+ | } | ||
+ | |||
+ | /* Adapting lists & paragraphs to altered line-height */ | ||
+ | .va-table ul, | ||
+ | .va-table ol { | ||
+ | margin: 0 0 0 20px; | ||
+ | } | ||
+ | |||
+ | .va-table li { | ||
+ | line-height: inherit; | ||
+ | } | ||
+ | |||
+ | .va-table p { | ||
+ | line-height: inherit; | ||
+ | margin: 0; | ||
} | } |
Revision as of 03:08, 10 April 2020
body { background: url("http://rainwallrpg.com/doc/skins/Vector/images/wikibackground.jpg") repeat; } #mw-head { background: url("http://rainwallrpg.com/doc/skins/Vector/images/wikibackground.jpg"); } #mw-head li a { color: #006e6b; font-weight: bold; text-shadow: 1px 1px #333; } #mw-panel li a:visited { color: #2793d7; font-weight: bold; text-shadow: 1px 1px #333; } #mw-panel .portal .body li a { color: #006e6b; font-weight: bold; text-shadow: 1px 1px #333; } #mw-panel .portal .body li a:visited { color: #2793d7; font-weight: bold; text-shadow: 1px 1px #333; } a { color: #006e6b; } a.new { color: #e4851e !important; } a:visited { color: #2793d7 !important; } h1, h2, h3, h4, h5, h6 { color: #006e6b; } #simpleSearch input { border: 1px solid #006e6b; } /* ################################################## */ /* ### TABLES #### */ /* ################################################## */ .va-table { background-color: #E7EADA; border-collapse: collapse; empty-cells: show; font-size: 11px; line-height: 16px; margin-bottom: 5px; } .va-table td, .va-table th { border: 1px solid #AAA; padding: 1px 2px; } .va-table tr { background: #E7EADA; } .va-table th { background: #C9D0AC; font-weight: bold; } .va-table td { background: transparent; } .va-table-collapse .collapseButton { margin-left: 10px !important; position: absolute; } .va-table > tr.va-table-highlight, .va-table > * > tr.va-table-highlight { background-color: #D6DBC1; } .va-table ul + p, .va-table ul + ol, .va-table ul + ul, .va-table ol + p, .va-table ol + ol, .va-table ol + ul, .va-table p + p, .va-table p + ol, .va-table p + ul { margin-top: 5px; } /* Tables with specific vertical alignment for cells */ .va-table-top td { vertical-align: top; } .va-table-middle td { vertical-align: middle; } .va-table-bottom td { vertical-align: bottom; } /* Tables with specific horizontal alignment for cells */ .va-table-center td { text-align: center; } .va-table-left td { text-align: left; } .va-table-right td { text-align: right; } /* Tables which are full width in Oasis */ .va-table-full { width: 100%; } /* Tables in which the first column starts with an icon */ .va-table-icon tr td:first-child { padding-left: 18px; text-indent: -18px; } .va-table-full-ib, .va-table-full-infobox { width: 380px; } .va-table-shaded tr:nth-child(even) { background-color: #DEE2CC; } /* Adapting lists & paragraphs to altered line-height */ .va-table ul, .va-table ol { margin: 0 0 0 20px; } .va-table li { line-height: inherit; } .va-table p { line-height: inherit; margin: 0; }