Difference between revisions of "MediaWiki:Common.css"

m
m
Line 4: Line 4:
 
div#header
 
div#header
 
{
 
{
     border:1px solid #9F3215;
+
     border-bottom:1px solid #9F3215;
     width:99.86%;
+
    border-top:1px solid #9F3215;
 +
     width:100%;
 
}
 
}
 
div#logo
 
div#logo
Line 25: Line 26:
 
     width:100%;
 
     width:100%;
 
}
 
}
div.twocolumn
+
div.mainpagetablecell
{
+
    background-image:url('images/c/c1/Divider.png');
+
    background-position:center;
+
    background-repeat:repeat-y;
+
}
+
div.leftcolumn
+
 
{
 
{
 
     float:left;
 
     float:left;
     width:50%;
+
     width:49.9%;
 
}
 
}
div.rightcolumn
+
div.clear
 
{
 
{
     float:left;
+
     clear:both;
    width:49.9%;
+
 
}
 
}
 
div.titleicon
 
div.titleicon
Line 45: Line 39:
 
     float:left;
 
     float:left;
 
     padding-left:5px;
 
     padding-left:5px;
}
 
div.rightcolumn > div.titleicon
 
{
 
    padding-left:10px;
 
 
}
 
}
 
div.titletext
 
div.titletext
Line 59: Line 49:
 
div.content
 
div.content
 
{
 
{
     padding:5px 5px 10px 5px;
+
     padding:5px 30px 10px 5px;
 
}
 
}
  

Revision as of 08:02, 17 November 2009

/** CSS placed here will be applied to all skins **/

/* Main Page layout */
div#header
{
    border-bottom:1px solid #9F3215;
    border-top:1px solid #9F3215;
    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;
    width:100%;
}
div.mainpagetablecell
{
    float:left;
    width:49.9%;
}
div.clear
{
    clear:both;
}
div.titleicon
{
    float:left;
    padding-left:5px;
}
div.titletext
{
    color:#9F3215;
    float:left;
    font-size:18px;
    padding-left:10px;
}
div.content
{
    padding:5px 30px 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;
}