Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

MediaWiki:Common.css

MediaWiki interface page
Revision as of 10:07, 18 February 2026 by TheLizard (talk | contribs) (Make infobox full width at top instead of floating right)

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.
/* Game card grid - make thumbnails fill card width */
.game-card > p {
    margin: 0 !important;
    padding: 0 !important;
    line-height: 0 !important;
}
.game-card > p > a > img {
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
    display: block;
}

/* Infobox styling */
.infobox {
    width: 100%;
    max-width: 100%;
    margin: 0 0 16px 0;
    border: 1px solid var(--border-color-base, #555);
    border-radius: 8px;
    background: var(--color-surface-1, #1e1e2e);
    font-size: 0.875rem;
    text-align: left;
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
}
.infobox-title th {
    padding: 12px;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 700;
    background: var(--color-surface-2, #2a2a3a);
}
.infobox-data th {
    padding: 8px 12px;
    text-align: right;
    white-space: nowrap;
    color: var(--color-base--subtle, #aaa);
    font-weight: 400;
    font-size: 0.8125rem;
    vertical-align: top;
}
.infobox-data td {
    padding: 8px 12px;
    font-weight: 600;
}
.infobox-data {
    border-top: 1px solid var(--border-color-base, #333);
}