MediaWiki:Common.css

From Slippy Studios
Revision as of 21:39, 29 June 2025 by Slippystudios (talk | contribs) (Created page with "CSS placed here will be applied to all skins: .item_info a { color: {{{color}}}; } .item_info a:visited { color: {{{color}}}; } .item_box { background: {{{color}}}; padding: 5px; font-size: 16pt; border: 1px solid; float: right; text-align: center; margin-left: 30px; font-weight: bold; font-family: Roboto, sans-serif; border-radius: 15px; } .item_box a { color: #888888; } .item_info { background: rgba(0, 0...")
(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)
  • Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/* CSS placed here will be applied to all skins */

.item_info a {
    color: {{{color}}};
}

.item_info a:visited {
    color: {{{color}}};
}

.item_box {
    background: {{{color}}};
    padding: 5px;
    font-size: 16pt;
    border: 1px solid;
    float: right;
    text-align: center;
    margin-left: 30px;
    font-weight: bold;
    font-family: Roboto, sans-serif;
    border-radius: 15px;
}

.item_box a {
    color: #888888;
}

.item_info {
    background: rgba(0, 0, 0, 1);
    padding: 5px;
    font-size: 16pt;
    width: 275px;
    text-align: center;
    color: {{{color}}};
    line-height: 24px;
    border-radius: 15px;
    margin-bottom: 5px;
}

.item_image {
    padding: 5px;
    font-size: 16pt;
    width: 275px;
    height: 275px;
    text-align: center;
    background: rgba(255, 255, 255, 0.8);
    color: {{{color}}};
    border-radius: 15px;
    margin-bottom: 5px;
}

.item_image img {
    width: 225px;
    height: 225px;
    image-rendering: pixelated;
    margin: auto;
    display: inline-block;
    position: relative;
    top: 25px;
}

.item_quality {
    background: rgba(0, 0, 0, 1);
    padding: 5px;
    font-size: 13pt;
    text-align: center;
    color: #ffffff;
    border-radius: 7.5px;
    margin-bottom: 5px;
    padding-left: 7.5px;
    padding-right: 7.5px;
    margin-left: auto;
    margin-right: auto;
    line-height: 24px;
}

.item_quality a {
    color: inherit;
}

.item_desc {
    background: rgba(0, 0, 0, 1);
    padding: 5px;
    font-size: 13pt;
    width: 275px;
    text-align: center;
    color: #ffffff;
    border-radius: 7.5px;
    margin-bottom: 5px;
}

.item_usage {
    background: rgba(0, 0, 0, 1);
    padding: 5px;
    font-size: 13pt;
    width: 275px;
    text-align: left;
    color: #ffffff;
    border-radius: 7.5px;
    margin-bottom: 5px;
}

.item_type,
.item_available,
.item_origin {
    background: rgba(0, 0, 0, 1);
    font-size: 13pt;
    width: 275px;
    padding: 5px;
    text-align: center;
    color: #ffffff;
    border-radius: 7.5px;
    margin-bottom: 5px;
}

.item_origin {
    margin-top: -1.2px;
}