MediaWiki:Common.css

From Twinsuniverse
Revision as of 10:55, 15 November 2012 by J McKalling (Talk | contribs)

Jump to: navigation, search

Note: After saving, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Clear the cache in Tools → Preferences
/** CSS placed here will be applied to all skins */

/* MAIN-NAVIGATION */
table.mainnavigator
{
    border-spacing: 10px;
    margin: auto;
}
table.mainnavigator table.navigator
{
    border: solid 2px;
    border-radius: 12px;
    border-spacing: 0px;
    padding: 5px;
    width: 200px;
}
table.mainnavigator table.navigator td.header
{
    border: solid 2px;
    border-radius: 8px;
    padding: 5px;
    text-align: center;
}
table.mainnavigator table.navigator.n1           { border-color: #ccccdd; background-color: #eeeeff; }
table.mainnavigator table.navigator.n1 td.header { border-color: #ccccdd; background-color: #ddddee; }

table.mainnavigator table.navigator.n2           { border-color: #ccddcc; background-color: #eeffee; }
table.mainnavigator table.navigator.n2 td.header { border-color: #ccddcc; background-color: #ddeedd; }

table.mainnavigator table.navigator.n3           { border-color: #ddcccc; background-color: #ffeeee; }
table.mainnavigator table.navigator.n3 td.header { border-color: #ddcccc; background-color: #eedddd; }

table.mainnavigator table.navigator.n4           { border-color: #ddccdd; background-color: #ffeeff; }
table.mainnavigator table.navigator.n4 td.header { border-color: #ddccdd; background-color: #eeddee; }

/* INFOBOX */
table.infobox
{
    border: solid 0px;
    float: right;
    clear: both;
    font-size: 90%;
    text-align: left;
    margin-left: 10px;
}
table.infobox th,
table.infobox 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 th.title,
table.infobox th.subtitle
{
    border: solid 2px #ccccff;
    border-color: #ccccff #ccccff #8a8aff;
    background-color: #ccccff;
    padding: 0px 5px;
    margin: 0px;
    height: 32px;
    text-align: center;
    vertical-align: middle;
    font-size: 120%;
    font-style: italic;
}
table.infobox th.subtitle
{
    border-top: solid 5px #ffffff;
    height: 28px;
    font-size: 110%;
}
table.infobox th.image
{
    border: solid 0px;
    border-bottom: solid 2px #ccccff;
    background-color: #ffffff;
    text-align: center;
    font-size: 110%;
}
table.infobox td
{
    background-color: #ffffff;
    height: 24px;
    text-align: left;
    vertical-align: bottom;
}
table.infobox td p,
table.infobox 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;
}