MediaWiki:Monobook.css: Difference between revisions
Jump to navigation
Jump to search
m rv lborder, rborder: not fruitful; trying other things |
m trying position:relative |
||
Line 8: | Line 8: | ||
.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; border-right: 1px solid #999 | .infobox .lefthalf { float: left; position: relative; height: 100%; width: 140px; border-right: 1px solid #999; } | ||
.infobox .righthalf { float: right; width: 140px; } | .infobox .righthalf { float: right; width: 140px; } | ||
.centered { text-align: center; } | .centered { text-align: center; } |
Revision as of 18:28, 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: 1%; z-index: 2; } .infobox div { padding: 4px; background-color: #fff; } .infobox .vborder { border: solid #999; border-width: 1px 0; } .infobox .header { background-color: #7995ca; color: #fff; text-align: center; } .infobox .subheader { background-color: #b4c5e3; clear: both; } .infobox .lefthalf { float: left; position: relative; height: 100%; width: 140px; border-right: 1px solid #999; } .infobox .righthalf { float: right; width: 140px; } .centered { text-align: center; }