Difference between revisions of "MediaWiki:Common.css"

From Twinsuniverse
Jump to: navigation, search
m
m
Line 1: Line 1:
 
/** CSS placed here will be applied to all skins */
 
/** 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 */
 
/* INFOBOX */
Line 45: Line 19:
 
     padding: 0px 5px 5px;
 
     padding: 0px 5px 5px;
 
     margin: 0px;
 
     margin: 0px;
     height: 34px;
+
     height: 30px;
 
     text-align: right;
 
     text-align: right;
 
     vertical-align: bottom;
 
     vertical-align: bottom;
Line 57: Line 31:
 
     padding: 0px 5px 5px;
 
     padding: 0px 5px 5px;
 
     margin: 0px;
 
     margin: 0px;
 +
    height: 34px;
 
     text-align: center;
 
     text-align: center;
 
     vertical-align: bottom;
 
     vertical-align: bottom;
Line 82: Line 57:
 
     padding: 0px;
 
     padding: 0px;
 
     margin: 0px;
 
     margin: 0px;
 +
}
 +
 +
/* 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;
 
}
 
}

Revision as of 23:17, 14 November 2012

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

/* 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;
    padding: 0px 5px 5px;
    margin: 0px;
    height: 30px;
    text-align: right;
    vertical-align: bottom;
    white-space: nowrap;
}
table.infobox th.title
{
    border: solid 2px #cccccc;
    border-collapse: collapse;
    background-color: #ccccff;
    padding: 0px 5px 5px;
    margin: 0px;
    height: 34px;
    text-align: center;
    vertical-align: bottom;
    font-size: 120%;
    font-style: italic;
}
table.infobox th.image
{
    border: solid 0px;
    background-color: #ffffff;
    text-align: center;
    font-size: 110%;
}
table.infobox td
{
    border: solid 2px #cccccc;
    background-color: #ffffff;
    padding: 0px 5px 5px;
    margin: 0px;
    vertical-align: bottom;
}
table.infobox td p,
table.infobox td sup
{
    padding: 0px;
    margin: 0px;
}

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