Difference between revisions of "MediaWiki:Monobook.css"
From NSwiki, the NationStates encyclopedia.
(navframe stuff) |
|||
(5 intermediate revisions by the same user not shown) | |||
Line 58: | Line 58: | ||
font-weight:bold; | font-weight:bold; | ||
} | } | ||
+ | .infobox.toccolours td.maptable { | ||
+ | border:none; | ||
+ | } | ||
.infobox.toccolours td, | .infobox.toccolours td, | ||
.infobox.toccolours th { | .infobox.toccolours th { | ||
Line 84: | Line 87: | ||
.infobox.toccolours caption { | .infobox.toccolours caption { | ||
font-size:larger; | font-size:larger; | ||
− | text-align:center; | + | margin-left:inherit; |
+ | font-weight:bold; | ||
+ | } | ||
+ | #siteNotice { | ||
+ | display:block; | ||
+ | font-style:italic; | ||
+ | padding:0; | ||
+ | float:right; | ||
+ | } | ||
+ | div.tcenter, div.tcentre { | ||
+ | clear: right; | ||
+ | float: right; | ||
+ | border-width: .5em 0 .8em 1.4em; | ||
+ | } | ||
+ | /* Manual thumbnails. Since the thumbnail feature is broken, enclose images in span tags with class "manthumb" to shrink them to the default thumbnail size of 180 px. */ | ||
+ | .manthumb img { width:180px; height:auto; } | ||
+ | .manthumb div.thumb div { width:182px!important;} | ||
+ | /* Standard Navigationsleisten, aka box hiding thingy from .de. Documentation at [[Wikipedia:NavFrame]]. */ | ||
+ | |||
+ | div.Boxmerge, | ||
+ | div.NavFrame { | ||
+ | margin: 0px; | ||
+ | padding: 2px; | ||
+ | border: 1px solid #aaa; | ||
+ | text-align: center; | ||
+ | border-collapse: collapse; | ||
+ | font-size: 95%; | ||
+ | } | ||
+ | div.Boxmerge div.NavFrame { | ||
+ | border-style: none; | ||
+ | border-style: hidden; | ||
+ | } | ||
+ | div.NavFrame + div.NavFrame { | ||
+ | border-top-style: none; | ||
+ | border-top-style: hidden; | ||
+ | } | ||
+ | div.NavPic { | ||
+ | background-color: #fff; | ||
+ | margin: 0px; | ||
+ | padding: 2px; | ||
+ | float: left; | ||
+ | } | ||
+ | div.NavFrame div.NavHead { | ||
+ | height: 1.6em; | ||
+ | font-weight: bold; | ||
+ | font-size: 100%; | ||
+ | background-color: #efefef; | ||
+ | position:relative; | ||
+ | } | ||
+ | div.NavFrame p { | ||
+ | font-size: 100%; | ||
+ | } | ||
+ | div.NavFrame div.NavContent { | ||
+ | font-size: 100%; | ||
+ | } | ||
+ | div.NavFrame div.NavContent p { | ||
+ | font-size: 100%; | ||
+ | } | ||
+ | div.NavEnd { | ||
+ | margin: 0px; | ||
+ | padding: 0px; | ||
+ | line-height: 1px; | ||
+ | clear: both; | ||
+ | } | ||
+ | a.NavToggle { | ||
+ | position:absolute; | ||
+ | top:0px; | ||
+ | right:3px; | ||
+ | font-weight:normal; | ||
+ | font-size:smaller; | ||
} | } |
Latest revision as of 14:37, 17 December 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 th { font-weight:bold; } .infobox.toccolours td.maptable { border:none; } .infobox.toccolours td, .infobox.toccolours th { border-top: solid 1px #ccd2d9; padding: 0.4em 0.2em 0.4em 0.8em; text-align:left; } .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; } .infobox.toccolours caption { font-size:larger; margin-left:inherit; font-weight:bold; } #siteNotice { display:block; font-style:italic; padding:0; float:right; } div.tcenter, div.tcentre { clear: right; float: right; border-width: .5em 0 .8em 1.4em; } /* Manual thumbnails. Since the thumbnail feature is broken, enclose images in span tags with class "manthumb" to shrink them to the default thumbnail size of 180 px. */ .manthumb img { width:180px; height:auto; } .manthumb div.thumb div { width:182px!important;} /* Standard Navigationsleisten, aka box hiding thingy from .de. Documentation at [[Wikipedia:NavFrame]]. */ div.Boxmerge, div.NavFrame { margin: 0px; padding: 2px; border: 1px solid #aaa; text-align: center; border-collapse: collapse; font-size: 95%; } div.Boxmerge div.NavFrame { border-style: none; border-style: hidden; } div.NavFrame + div.NavFrame { border-top-style: none; border-top-style: hidden; } div.NavPic { background-color: #fff; margin: 0px; padding: 2px; float: left; } div.NavFrame div.NavHead { height: 1.6em; font-weight: bold; font-size: 100%; background-color: #efefef; position:relative; } div.NavFrame p { font-size: 100%; } div.NavFrame div.NavContent { font-size: 100%; } div.NavFrame div.NavContent p { font-size: 100%; } div.NavEnd { margin: 0px; padding: 0px; line-height: 1px; clear: both; } a.NavToggle { position:absolute; top:0px; right:3px; font-weight:normal; font-size:smaller; }