Difference between revisions of "MediaWiki:Common.css"

From Twinsuniverse
Jump to: navigation, search
m
m
Line 45: Line 45:
 
     white-space: nowrap;
 
     white-space: nowrap;
 
     text-align: right;
 
     text-align: right;
     padding: 5px;
+
     padding: 0px 5px 5px;
 
     margin: 0px;
 
     margin: 0px;
 
     height: 34px;
 
     height: 34px;
Line 58: Line 58:
 
     font-style: italic;
 
     font-style: italic;
 
     text-align: center;
 
     text-align: center;
     padding: 10px;
+
     padding: 0px 5px 5px;
 +
    margin: 0px;
 
}
 
}
 
table.infobox th.image
 
table.infobox th.image
Line 71: Line 72:
 
     border: solid 2px #cccccc;
 
     border: solid 2px #cccccc;
 
     background-color: #ffffff;
 
     background-color: #ffffff;
     padding: 5px;
+
     padding: 0px 5px 5px;
 
     margin: 0px;
 
     margin: 0px;
 
}
 
}

Revision as of 23:08, 14 November 2012

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

/* 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;
}

/* INFOBOX */
table.infobox
{
    border: solid 0px;
    border-collapse: collapse;
    width: 200px;
    float: right;
    clear: both;
    font-size: 90%;
    text-align: left;
    margin-left: 10px;
}
table.infobox th
{
    border: solid 2px #cccccc;
    background-color: #ccccff;
    white-space: nowrap;
    text-align: right;
    padding: 0px 5px 5px;
    margin: 0px;
    height: 34px;
    vertical-align: bottom;
}
table.infobox th.title
{
    border: solid 2px #cccccc;
    border-collapse: collapse;
    background-color: #ccccff;
    font-size: 120%;
    font-style: italic;
    text-align: center;
    padding: 0px 5px 5px;
    margin: 0px;
}
table.infobox th.image
{
    border: solid 0px;
    background-color: white;
    font-size: 110%;
    text-align: center;
}
table.infobox td
{
    border: solid 2px #cccccc;
    background-color: #ffffff;
    padding: 0px 5px 5px;
    margin: 0px;
}
table.infobox td p
{
    padding: 0px;
    margin: 0px;
}