Difference between revisions of "MediaWiki:Monobook.css"
From NSwiki, the NationStates encyclopedia.
(testing some additional css for cleaner code) |
|||
Line 18: | Line 18: | ||
background: none !important; | background: none !important; | ||
padding: 0 !important; | padding: 0 !important; | ||
+ | } | ||
+ | /* wikitable/prettytable class for skinning normal tables */ | ||
+ | |||
+ | table.wikitable { | ||
+ | margin: 1em 1em 1em 0; | ||
+ | background: #f9f9f9; | ||
+ | border: 1px #aaaaaa solid; | ||
+ | border-collapse: collapse; | ||
+ | } | ||
+ | |||
+ | table.wikitable th, table.wikitable td { | ||
+ | border: 1px #aaaaaa solid; | ||
+ | padding: 0.2em; | ||
+ | } | ||
+ | |||
+ | table.wikitable th { | ||
+ | background: #f2f2f2; | ||
+ | text-align: center; | ||
+ | } | ||
+ | |||
+ | table.wikitable caption { | ||
+ | margin-left: inherit; | ||
+ | margin-right: inherit; | ||
+ | font-weight: bold; | ||
+ | } | ||
+ | .infobox { | ||
+ | margin: 0 0 0.5em 1em; | ||
+ | float:right; | ||
+ | clear:right; | ||
+ | } | ||
+ | .infobox.toccolours { | ||
+ | border: 1px solid #ccd2d9; | ||
+ | text-align: left; | ||
+ | border-collapse: collapse; | ||
+ | line-height: 1.2em; | ||
+ | font-size: 90%; | ||
+ | } | ||
+ | .infobox.toccolours td { | ||
+ | border-top: solid 1px #ccd2d9; | ||
+ | padding: 0.4em 0.2em 0.4em 0.8em; | ||
+ | } | ||
+ | .infobox.toccolours .mergedtoprow td, | ||
+ | .infobox.toccolours .mergedtoprow th { | ||
+ | border-top: solid 1px #ccd2d9; | ||
+ | padding: 0.4em 0.2em 0.2em 0.8em; | ||
+ | } | ||
+ | |||
+ | .infobox.toccolours .mergedrow td, | ||
+ | .infobox.toccolours .mergedrow th { | ||
+ | border: 0; | ||
+ | padding: 0 0.2em 0.2em 0.8em; | ||
+ | } | ||
+ | |||
+ | .infobox.toccolours .mergedbottomrow td, | ||
+ | .infobox.toccolours .mergedbottomrow th { | ||
+ | border-top: 0; | ||
+ | border-bottom: solid 1px #ccd2d9; | ||
+ | padding: 0 0.2em 0.4em 0.8em; | ||
} | } |
Revision as of 18:55, 8 November 2006
/* edit this file to customize the monobook skin for the entire site */ /* Experimental. Temporary. Unhealthy. Do not use. */ div.thumb div img { border:1px solid #cccccc; } .plainlinksneverexpand a.external.text:after { display: none !important; } .plainlinksneverexpand a.external.autonumber:after { display: none !important; } .plainlinksneverexpand a { background: none !important; padding: 0 !important; } .plainlinksneverexpand { background: none !important; padding: 0 !important; } /* wikitable/prettytable class for skinning normal tables */ table.wikitable { margin: 1em 1em 1em 0; background: #f9f9f9; border: 1px #aaaaaa solid; border-collapse: collapse; } table.wikitable th, table.wikitable td { border: 1px #aaaaaa solid; padding: 0.2em; } table.wikitable th { background: #f2f2f2; text-align: center; } table.wikitable caption { margin-left: inherit; margin-right: inherit; font-weight: bold; } .infobox { margin: 0 0 0.5em 1em; float:right; clear:right; } .infobox.toccolours { border: 1px solid #ccd2d9; text-align: left; border-collapse: collapse; line-height: 1.2em; font-size: 90%; } .infobox.toccolours td { border-top: solid 1px #ccd2d9; padding: 0.4em 0.2em 0.4em 0.8em; } .infobox.toccolours .mergedtoprow td, .infobox.toccolours .mergedtoprow th { border-top: solid 1px #ccd2d9; padding: 0.4em 0.2em 0.2em 0.8em; } .infobox.toccolours .mergedrow td, .infobox.toccolours .mergedrow th { border: 0; padding: 0 0.2em 0.2em 0.8em; } .infobox.toccolours .mergedbottomrow td, .infobox.toccolours .mergedbottomrow th { border-top: 0; border-bottom: solid 1px #ccd2d9; padding: 0 0.2em 0.4em 0.8em; }