MediaWiki:Monobook.css: Difference between revisions

Jump to navigation Jump to search
m trying position:relative
infobox: now trying tables.
Line 7: Line 7:
.infobox .vborder { border: solid #999; border-width: 1px 0; }
.infobox .vborder { border: solid #999; border-width: 1px 0; }
.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; }
.infobox .lefthalf { float: left; position: relative; height: 100%; width: 140px; border-right: 1px solid #999; }
.infobox table { background-color: #fff; }
.infobox .righthalf { float: right; width: 140px; }
.infobox table td { padding: 4px; }
.infobox table .left { width: 140px; border-right: 1px solid #999; }


.centered { text-align: center; }
.centered { text-align: center; }

Revision as of 19:09, 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; }
.infobox table { background-color: #fff; }
.infobox table td { padding: 4px; }
.infobox table .left { width: 140px; border-right: 1px solid #999; }

.centered { text-align: center; }