Difference between revisions of "MediaWiki:Common.css"
m |
m (Okay. First attempt.) |
||
Line 3: | Line 3: | ||
/* Main Page layout */ | /* Main Page layout */ | ||
div.mainpagetablerow | div.mainpagetablerow | ||
+ | { | ||
+ | border-bottom:1px solid #9F3215; | ||
+ | width:100%; | ||
+ | } | ||
+ | div.mainpagetablerow.twocolumn | ||
{ | { | ||
background-image:url('images/c/c1/Divider.png'); | background-image:url('images/c/c1/Divider.png'); | ||
background-position:center; | background-position:center; | ||
background-repeat:repeat-y; | background-repeat:repeat-y; | ||
− | |||
− | |||
} | } | ||
− | + | div.mainpagetablerow.twocolumn > div | |
+ | { | ||
+ | float:left; | ||
+ | } | ||
+ | div.mainpagetablerow.twocolumn > div.leftcolumn | ||
+ | { | ||
+ | width:50%; | ||
+ | } | ||
+ | div.mainpagetablerow.twocolumn > div.rightcolumn | ||
+ | { | ||
+ | width:49.9%; | ||
+ | } | ||
+ | div.mainpagetablerow div.titleicon | ||
+ | { | ||
+ | float:left; | ||
+ | padding-left:5px; | ||
+ | } | ||
+ | div.rightcolumn > div.titleicon | ||
+ | { | ||
+ | padding-left:10px; | ||
+ | } | ||
+ | div.titletext | ||
+ | { | ||
+ | color:#9F3215; | ||
+ | float:left; | ||
+ | font-size:18px; | ||
+ | padding-left:10px; | ||
+ | } | ||
+ | div.content | ||
+ | { | ||
+ | padding:5px 5px 10px 5px; | ||
+ | } | ||
/* UOGuide table styling */ | /* UOGuide table styling */ |
Revision as of 13:29, 16 November 2009
/** CSS placed here will be applied to all skins **/ /* Main Page layout */ div.mainpagetablerow { border-bottom:1px solid #9F3215; width:100%; } div.mainpagetablerow.twocolumn { background-image:url('images/c/c1/Divider.png'); background-position:center; background-repeat:repeat-y; } div.mainpagetablerow.twocolumn > div { float:left; } div.mainpagetablerow.twocolumn > div.leftcolumn { width:50%; } div.mainpagetablerow.twocolumn > div.rightcolumn { width:49.9%; } div.mainpagetablerow div.titleicon { float:left; padding-left:5px; } div.rightcolumn > div.titleicon { padding-left:10px; } div.titletext { color:#9F3215; float:left; font-size:18px; padding-left:10px; } div.content { padding:5px 5px 10px 5px; } /* UOGuide table styling */ table.uoguidetable { border:1px solid #000000; border-collapse:collapse; margin:1px; width:auto; } table.uoguidetable th, table.uoguidetable td { border:1px solid #000000; padding:4px; text-align:center; } table.uoguidetable th { background-color:#9F3215; color:#FFFFFF; } table.uoguidetable td { background-color:#EEEECC; } /* Tooltip formatting */ table#item img { display:block; margin-left:auto; margin-right:auto; } table#tooltip { background:url('images/a/ac/Tooltip_Background.png'); color:#FFFFFF; font-weight:bold; margin-left:auto; margin-right:auto; position:relative; text-align:center; z-index:2; } table#tooltip td { padding:0px 5px; }