MediaWiki:Monobook.css: Difference between revisions
Jump to navigation
Jump to search
m trying clear:both |
m successful. trying: add margin, z-index to infobox to resolve issues; separate lborder and rborder |
||
Line 3: | Line 3: | ||
#toc { float: left; margin-right: 2%; } | #toc { float: left; margin-right: 2%; } | ||
.infobox { border: 1px solid #999; float: right; width: 300px; } | .infobox { border: 1px solid #999; float: right; width: 300px; margin-left: 2%; z-index: 2; } | ||
.infobox div { padding: 4px; } | .infobox div { padding: 4px; } | ||
.infobox .vborder { border: solid #999; border-width: 1px 0; } | .infobox .vborder { border: solid #999; border-width: 1px 0; } | ||
.infobox .lborder { border: solid #999; border-width-left: 1px; } | |||
.infobox .rborder { border: solid #999; border-width-right: 1px; } | |||
.infobox .header { background-color: #7995ca; color: #fff; text-align: center; } | .infobox .header { background-color: #7995ca; color: #fff; text-align: center; } | ||
.infobox .subheader { background-color: #b4c5e3; clear: both; } | .infobox .subheader { background-color: #b4c5e3; clear: both; } | ||
.infobox .lefthalf { float: left; width: 140px | .infobox .lefthalf { float: left; width: 140px; } | ||
.infobox .righthalf { float: right; width: 140px; } | .infobox .righthalf { float: right; width: 140px; } | ||
.centered { text-align: center; } | .centered { text-align: center; } |
Revision as of 18:22, 24 January 2007
/* edit this file to customize the monobook skin for the entire site */ #toc { float: left; margin-right: 2%; } .infobox { border: 1px solid #999; float: right; width: 300px; margin-left: 2%; z-index: 2; } .infobox div { padding: 4px; } .infobox .vborder { border: solid #999; border-width: 1px 0; } .infobox .lborder { border: solid #999; border-width-left: 1px; } .infobox .rborder { border: solid #999; border-width-right: 1px; } .infobox .header { background-color: #7995ca; color: #fff; text-align: center; } .infobox .subheader { background-color: #b4c5e3; clear: both; } .infobox .lefthalf { float: left; width: 140px; } .infobox .righthalf { float: right; width: 140px; } .centered { text-align: center; }