MediaWiki:Common.css

From GTAMods Wiki
Revision as of 09:00, 5 December 2015 by Spaceeinstein (talk | contribs)
Jump to navigation Jump to 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: Go to Menu → Settings (Opera → Preferences on a Mac) and then to Privacy & security → Clear browsing data → Cached images and files.
/* CSS placed here will be applied to all skins */
/**
 * Lowercase usernames (only works in some places)
 */
.mw-userlink[href*="User:Spaceeinstein"] {
    text-transform: lowercase;
}
/**
 * Table column centering
 */
table.center-col-1 td:nth-child(1) {
    text-align: center;
}
table.center-col-2 td:nth-child(2) {
    text-align: center;
}
table.center-col-3 td:nth-child(3) {
    text-align: center;
}
/**
 * GXT character map
 */
table.charmap {
    text-align: center;
}
table.charmap td, table.charmap th {
    width: 2em;
    height: 2em;
}
table.charmap td {
    font-family: monospace;
    font-size: 150%;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
}
table.charmap.jp td {
    font-family: Meiryo, monospace;
    font-size: 120%;
}
/**
 * Template:Icon
 */
span.icon-align img {
    vertical-align: text-top;
}
span.icon-align img[alt="Grand Theft Auto series"] {
    vertical-align: middle;
}
/**
 * For [[Saves (GTA VC)/visual]]
 */
.save_table td {
    width: 3em;
    height: 3em;
    text-align: center;
}