MediaWiki:Common.css

From 3DO World
Revision as of 12:40, 29 January 2026 by Elliogle (talk | contribs)
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.
/* Force perfect centering of small thumb in cell */
.mw-parser-output .wikitable td:first-child .cover-preview {
    text-align: center !important;
    display: block !important;       /* makes it block for centering */
    margin: 0 auto !important;
}

/* Remove any left margin/padding on small/large images and wrappers */
.mw-parser-output .cover-preview img,
.mw-parser-output .cover-preview a.image,
.mw-parser-output .cover-preview .cover-small,
.mw-parser-output .cover-preview .cover-large-img {
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    vertical-align: middle !important;  /* fixes vertical off-center */
}

/* Eliminate blank left space on large preview */
.mw-parser-output .cover-preview .cover-large {
    left: 85px !important;           /* nudge left a bit if blank space persists — test 80-100px */
    margin-left: 0 !important;
    padding-left: 0 !important;
}

/* If blank box is from a wrapper, hide extra space */
.mw-parser-output .cover-preview .cover-large a,
.mw-parser-output .cover-preview .cover-large img {
    margin-left: 0 !important;
    display: block !important;
}

/* Compact cell padding further if rows still feel tall */
.mw-parser-output .wikitable td:first-child {
    padding: 4px 6px !important;     /* tighter top/bottom */
}