Difference between revisions of "MediaWiki:Common.css"
m (Okay. First attempt.) |
m |
||
Line 2: | Line 2: | ||
/* Main Page layout */ | /* Main Page layout */ | ||
+ | div#header | ||
+ | { | ||
+ | border:1px solid #9F3215; | ||
+ | width:99.86%; | ||
+ | } | ||
+ | div#logo | ||
+ | { | ||
+ | float:left; | ||
+ | font-size:10px; | ||
+ | padding:0px 0px 12px 20px; | ||
+ | text-align:center; | ||
+ | } | ||
+ | div#tagline | ||
+ | { | ||
+ | float:right; | ||
+ | padding:22px 20px 22px 0px; | ||
+ | text-align:right; | ||
+ | } | ||
div.mainpagetablerow | div.mainpagetablerow | ||
{ | { | ||
Line 17: | Line 35: | ||
float:left; | float:left; | ||
} | } | ||
− | + | div.leftcolumn | |
{ | { | ||
width:50%; | width:50%; | ||
} | } | ||
− | + | div.rightcolumn | |
{ | { | ||
width:49.9%; | width:49.9%; | ||
} | } | ||
− | + | div.titleicon | |
{ | { | ||
float:left; | float:left; |
Revision as of 13:57, 16 November 2009
/** CSS placed here will be applied to all skins **/ /* Main Page layout */ div#header { border:1px solid #9F3215; width:99.86%; } div#logo { float:left; font-size:10px; padding:0px 0px 12px 20px; text-align:center; } div#tagline { float:right; padding:22px 20px 22px 0px; text-align:right; } 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.leftcolumn { width:50%; } div.rightcolumn { width:49.9%; } 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; }