Difference between revisions of "MediaWiki:Common.css"

From Twinsuniverse
Jump to: navigation, search
m
m
Line 85: Line 85:
 
     float: right;
 
     float: right;
 
     clear: both;
 
     clear: both;
     margin-left: 10px;
+
     margin: 0px 0px 10px 10px;
 
}
 
}
 
table.infobox.side td
 
table.infobox.side td

Revision as of 18:46, 15 November 2012

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

/* MAIN-NAVIGATION */
table.mainnavigator
{
    border-spacing: 10px;
    margin: auto;
}

/* INFOBOX */
table.infobox
{
    border: solid 2px #ccccff;
    border-radius: 12px;
    border-spacing: 5px;
    background-color: #eeeeff;
    padding: 0px;
    width: 240px;
    text-align: left;
}
table.infobox th
{
    border: solid 2px #ccccff;
    border-radius: 8px 0px 0px 8px;
    background-color: #ddddff;
    padding: 3px;
    margin: 0px;
    text-align: right;
    vertical-align: bottom;
    white-space: nowrap;
}
table.infobox th.title
{
    border: solid 2px #ccccff;
    background-color: #ddddff;
    border-radius: 8px;
    padding: 6px;
    font-size: 130%;
    font-weight: bold;
    text-align: center;
}
table.infobox th.subtitle
{
    border: solid 2px #ccccff;
    background-color: #ddddff;
    border-radius: 8px;
    padding: 6px;
    font-size: 110%;
    font-weight: bold;
    text-align: center;
}
table.infobox td
{
    border: solid 0px;
    border-bottom: solid 2px #ccccff;
    padding: 3px;
    margin: 0px;
    text-align: left;
    vertical-align: bottom;
}
table.infobox td.image
{
    border: solid 0px;
    text-align: center;
}
table.infobox.land    { border-color: #ccccdd; background-color: #eeeeff; }
table.infobox.land th { border-color: #ccccdd; background-color: #ddddee; color: #8080aa; }
table.infobox.land td { border-color: #ccccdd; }

table.infobox.life    { border-color: #ccddcc; background-color: #eeffee; }
table.infobox.life th { border-color: #ccddcc; background-color: #ddeedd; color: #80aa80; }
table.infobox.life td { border-color: #ccddcc; }

table.infobox.item    { border-color: #ddcccc; background-color: #ffeeee; }
table.infobox.item th { border-color: #ddcccc; background-color: #eedddd; color: #aa8080; }
table.infobox.item td { border-color: #ddcccc; }

table.infobox.link    { border-color: #ddccdd; background-color: #ffeeff; }
table.infobox.link th { border-color: #ddccdd; background-color: #eeddee; color: #aa80aa; }
table.infobox.link td { border-color: #ddccdd; }

/* SIDE INFOBOX */
table.infobox.side
{
    float: right;
    clear: both;
    margin: 0px 0px 10px 10px;
}
table.infobox.side td
{
    height: 24px;
    vertical-align: bottom;
}
table.infobox.side td p
{
    padding: 0px;
    margin: 0px;
    line-height: 20px;
}
table.infobox.side td sup
{
    padding: 0px;
    margin: 0px;
    line-height: 20px;
}

/* DIFF */
table.diff
{
    padding: 0.5em;
}
td.diff-addedline
{
    background-color: #D8E4F6; 
}
td.diff-addedline span.diffchange
{
    background-color: #B0C0F0;
    color: #001040;
    font-weight: bold;
}
td.diff-deletedline
{
    background-color: #E4F6D8;
}
td.diff-deletedline span.diffchange
{
    background-color: #B0E897;
    color: #104000;
    font-weight: bold;
}