Difference between revisions of "MediaWiki:Common.css"
m |
m |
||
Line 2: | Line 2: | ||
/* Main Page layout */ | /* Main Page layout */ | ||
− | div#header | + | div#header { |
− | { | + | |
border:1px solid #9F3215; | border:1px solid #9F3215; | ||
margin:10px -1px 0px -1px; | margin:10px -1px 0px -1px; | ||
width:100%; | width:100%; | ||
} | } | ||
− | div#logo | + | div#logo { |
− | { | + | |
float:left; | float:left; | ||
font-size:10px; | font-size:10px; | ||
Line 15: | Line 13: | ||
text-align:center; | text-align:center; | ||
} | } | ||
− | div#welcome | + | div#welcome { |
− | { | + | |
float:right; | float:right; | ||
padding:22px 20px 22px 0px; | padding:22px 20px 22px 0px; | ||
text-align:right; | text-align:right; | ||
} | } | ||
− | div.mainpagetablerow | + | div.mainpagetablerow { |
− | { | + | |
border-bottom:1px solid #9F3215; | border-bottom:1px solid #9F3215; | ||
min-width:501px; | min-width:501px; | ||
width:100%; | width:100%; | ||
} | } | ||
− | div.leftcolumn, div.rightcolumn | + | div.leftcolumn, |
− | { | + | div.rightcolumn { |
float:left; | float:left; | ||
min-width:250px; | min-width:250px; | ||
width:49.9%; | width:49.9%; | ||
} | } | ||
− | div.leftcolumn | + | div.leftcolumn { |
− | { | + | |
border-right:1px solid #9F3215; | border-right:1px solid #9F3215; | ||
margin-right:-1px; | margin-right:-1px; | ||
} | } | ||
− | div.rightcolumn | + | div.rightcolumn { |
− | { | + | |
border-left:1px solid #9F3215; | border-left:1px solid #9F3215; | ||
} | } | ||
− | div.titleicon | + | div.titleicon { |
− | { | + | |
float:left; | float:left; | ||
padding-left:10px; | padding-left:10px; | ||
} | } | ||
− | div.titletext | + | div.titletext { |
− | { | + | |
color:#9F3215; | color:#9F3215; | ||
float:left; | float:left; | ||
Line 54: | Line 46: | ||
padding-left:10px; | padding-left:10px; | ||
} | } | ||
− | div.content | + | div.content { |
− | { | + | |
padding:5px 20px 10px 10px; | padding:5px 20px 10px 10px; | ||
− | |||
− | |||
− | |||
− | |||
} | } | ||
/* UOGuide table styling */ | /* UOGuide table styling */ | ||
− | table.uoguidetable | + | table.uoguidetable { |
− | { | + | |
border:1px solid #000000; | border:1px solid #000000; | ||
border-collapse:collapse; | border-collapse:collapse; | ||
− | margin: | + | margin:auto; |
width:auto; | width:auto; | ||
} | } | ||
− | table.uoguidetable th, table.uoguidetable td | + | table.uoguidetable th, |
− | { | + | table.uoguidetable td { |
border:1px solid #000000; | border:1px solid #000000; | ||
padding:3px 4px; | padding:3px 4px; | ||
text-align:center; | text-align:center; | ||
} | } | ||
− | table.uoguidetable th | + | table.uoguidetable th { |
− | { | + | |
background-color:#9F3215; | background-color:#9F3215; | ||
color:#FFFFFF; | color:#FFFFFF; | ||
} | } | ||
− | table.uoguidetable td | + | table.uoguidetable td { |
− | { | + | |
background-color:#EEEECC; | background-color:#EEEECC; | ||
} | } | ||
− | table.uoguidetable.leftalign td | + | table.uoguidetable.leftalign td { |
− | { | + | |
text-align:left; | text-align:left; | ||
} | } | ||
− | table.uoguidetable.open td | + | table.uoguidetable.open td { |
− | { | + | |
border:none; | border:none; | ||
} | } | ||
− | table.uoguidetable.smalltext | + | table.uoguidetable.smalltext { |
− | { | + | |
font-size:11px; | font-size:11px; | ||
+ | } | ||
+ | |||
+ | /* Multiple Navbox spacing */ | ||
+ | table.navbox + table.navbox { | ||
+ | margin-bottom:-1px; | ||
} | } | ||
/* Right-floated boxes */ | /* Right-floated boxes */ | ||
− | table.rightfloat | + | table.rightfloat { |
− | { | + | |
float:right; | float:right; | ||
margin:1px 1px 1em 1em; | margin:1px 1px 1em 1em; | ||
Line 107: | Line 92: | ||
/* Tooltip formatting */ | /* Tooltip formatting */ | ||
− | table#item img | + | table#item img { |
− | { | + | |
display:block; | display:block; | ||
margin-left:auto; | margin-left:auto; | ||
margin-right:auto; | margin-right:auto; | ||
} | } | ||
− | table#tooltip | + | table#tooltip { |
− | { | + | |
background:url('images/a/ac/Tooltip_Background.png'); | background:url('images/a/ac/Tooltip_Background.png'); | ||
color:#FFFFFF; | color:#FFFFFF; | ||
Line 124: | Line 107: | ||
z-index:2; | z-index:2; | ||
} | } | ||
− | table#tooltip td | + | table#tooltip td { |
− | { | + | |
padding:0px 5px; | padding:0px 5px; | ||
} | } |
Revision as of 15:14, 19 December 2009
/** CSS placed here will be applied to all skins **/ /* Main Page layout */ div#header { border:1px solid #9F3215; margin:10px -1px 0px -1px; width:100%; } div#logo { float:left; font-size:10px; padding:0px 0px 12px 20px; text-align:center; } div#welcome { float:right; padding:22px 20px 22px 0px; text-align:right; } div.mainpagetablerow { border-bottom:1px solid #9F3215; min-width:501px; width:100%; } div.leftcolumn, div.rightcolumn { float:left; min-width:250px; width:49.9%; } div.leftcolumn { border-right:1px solid #9F3215; margin-right:-1px; } div.rightcolumn { border-left:1px solid #9F3215; } div.titleicon { float:left; padding-left:10px; } div.titletext { color:#9F3215; float:left; font-size:18px; padding-left:10px; } div.content { padding:5px 20px 10px 10px; } /* UOGuide table styling */ table.uoguidetable { border:1px solid #000000; border-collapse:collapse; margin:auto; width:auto; } table.uoguidetable th, table.uoguidetable td { border:1px solid #000000; padding:3px 4px; text-align:center; } table.uoguidetable th { background-color:#9F3215; color:#FFFFFF; } table.uoguidetable td { background-color:#EEEECC; } table.uoguidetable.leftalign td { text-align:left; } table.uoguidetable.open td { border:none; } table.uoguidetable.smalltext { font-size:11px; } /* Multiple Navbox spacing */ table.navbox + table.navbox { margin-bottom:-1px; } /* Right-floated boxes */ table.rightfloat { float:right; margin:1px 1px 1em 1em; } /* 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; }