MediaWiki:Common.css

From Voices of Erinn
Revision as of 09:37, 25 June 2018 by The Proffessor (talk | contribs) (Created page with "→‎CSS placed here will be applied to all skins: /* mabitable/prettytable/roundtable class for skinning normal tables mabitable = green/white prettytable = blue/green rou...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Note: After publishing, 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 / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
/* CSS placed here will be applied to all skins */

/*
mabitable/prettytable/roundtable class for skinning normal tables
mabitable =   green/white
prettytable = blue/green
roundtable =  prettytable but round
imagetable =  black/black
plaintable =  table defaults
*/

table.mabitable,
table.prettytable,
table.roundtable,
table.imagetable,
table.mabitable table,
table.prettytable table,
table.roundtable table,
table.imagetable table {
    text-align: center;
    border-collapse: collapse;
    background-color: #fff;
}

table.prettytable,
table.roundtable {
    font-size: 12px;
    font-family: Tahoma, Arial, Helvetica, sans-serif;
}

table.mabitable td, table.mabitable th,
table.prettytable td, table.prettytable th,
table.roundtable td, table.roundtable th,
table.imagetable td, table.imagetable th {
    vertical-align: middle;
}

table.mabitable td, table.mabitable th,
table.imagetable td, table.imagetable th {
    border: 1px #aaa solid;
    padding: 4px;
}
table.prettytable td, table.prettytable th,
table.roundtable td, table.roundtable th {
    background-color: #e7f3e8;
    border: 2px #fff solid;
}

table.mabitable th {
    background-color: #e7f3e8;
}
table.prettytable th,
table.roundtable th {
    background-color: #a0c6e3;
    /*color: #fff; *//* Remove this line if you want the color of the header text to be black */
}

table.mabitable tr.image td, table.mabitable td.image,
table.prettytable tr.image td, table.prettytable td.image,
table.roundtable tr.image td, table.roundtable td.image,
table.imagetable td, table.imagetable th {
    color: #fff;
    padding: 5px;
    background-color: #333;
}

table.imagetable td, table.imagetable th {
    background-color: #000;
}

table.roundtable th, table.roundtable td {
    border-radius: 8px;
    -moz-border-radius: 8px;
}

table.mabitable caption,
table.prettytable caption,
table.roundtable caption,
table.imagetable caption {
    margin-left: inherit;
    margin-right: inherit;
    font-size: 116%;
    font-weight: bold;
}

.unimplemented {
    background: #cd5c5c;
}

table.plaintable, table.plaintable td, table.plaintable tr {
    border-collapse: separate;
    border: 0 groove #000;
    background-color: #fff;
    color: #000;
    padding: 0;
    margin: 0;
    border-spacing: 2px;
    text-align: left;
}