Difference between revisions of "MediaWiki:Common.css"

From Twinsuniverse
Jump to: navigation, search
m
Line 18: Line 18:
 
     text-align: left;
 
     text-align: left;
 
}
 
}
table.infobox td.title,
+
table.infobox th.title,
table.infobox td.subtitle
+
table.infobox th.subtitle
 
{
 
{
 
     border: solid 2px #ccccff;
 
     border: solid 2px #ccccff;
Line 29: Line 29:
 
     font-size: 120%;
 
     font-size: 120%;
 
}
 
}
table.infobox td.subtitle
+
table.infobox th.subtitle
 
{
 
{
 
     font-size: 110%;
 
     font-size: 110%;
 
}
 
}
 
table.infobox.land          { border-color: #ccccdd; background-color: #eeeeff; }
 
table.infobox.land          { border-color: #ccccdd; background-color: #eeeeff; }
table.infobox.land td.title { border-color: #ccccdd; background-color: #ddddee; }
+
table.infobox.land th.title { border-color: #ccccdd; background-color: #ddddee; }
  
 
table.infobox.life          { border-color: #ccddcc; background-color: #eeffee; }
 
table.infobox.life          { border-color: #ccddcc; background-color: #eeffee; }
table.infobox.life td.title { border-color: #ccddcc; background-color: #ddeedd; }
+
table.infobox.life th.title { border-color: #ccddcc; background-color: #ddeedd; }
  
 
table.infobox.item          { border-color: #ddcccc; background-color: #ffeeee; }
 
table.infobox.item          { border-color: #ddcccc; background-color: #ffeeee; }
table.infobox.item td.title { border-color: #ddcccc; background-color: #eedddd; }
+
table.infobox.item th.title { border-color: #ddcccc; background-color: #eedddd; }
  
 
table.infobox.link          { border-color: #ddccdd; background-color: #ffeeff; }
 
table.infobox.link          { border-color: #ddccdd; background-color: #ffeeff; }
table.infobox.link td.title { border-color: #ddccdd; background-color: #eeddee; }
+
table.infobox.link th.title { border-color: #ddccdd; background-color: #eeddee; }
  
 
/* SIDE INFOBOX */
 
/* SIDE INFOBOX */

Revision as of 17:03, 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: 0px;
    padding: 5px;
    width: 200px;
    text-align: left;
}
table.infobox th.title,
table.infobox th.subtitle
{
    border: solid 2px #ccccff;
    background-color: #e1e1ff;
    border-radius: 8px;
    padding: 5px;
    margin: 0px;
    text-align: center;
    font-size: 120%;
}
table.infobox th.subtitle
{
    font-size: 110%;
}
table.infobox.land          { border-color: #ccccdd; background-color: #eeeeff; }
table.infobox.land th.title { border-color: #ccccdd; background-color: #ddddee; }

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

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

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

/* SIDE INFOBOX */
table.infobox.side
{
    float: right;
    clear: both;
    font-size: 90%;
    margin-left: 10px;
}
table.infobox.side th,
table.infobox.side td
{
    border: solid 2px #ccccff;
    border-top: solid 0px;
    background-color: #ccccff;
    padding: 0px 5px;
    margin: 0px;
    height: 24px;
    text-align: right;
    vertical-align: bottom;
    white-space: nowrap;
}
table.infobox.side th.image
{
    border: solid 0px;
    border-bottom: solid 2px #ccccff;
    background-color: #ffffff;
    text-align: center;
    font-size: 110%;
}
table.infobox.side td
{
    background-color: #ffffff;
    height: 24px;
    text-align: left;
    vertical-align: bottom;
}
table.infobox.side td p,
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;
}