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 02:54, 27 January 2026 by Texyc (talk | contribs)

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.
/* Fix for LinkCards Icons */
.link-card img, 
.card-img-top {
    object-fit: contain !important;  /* Prevents stretching */
    padding: 20px !important;        /* Adds white space around the icon */
    height: 140px !important;        /* Sets a fixed height for consistency */
    width: 100% !important;          /* Ensures it centers in the container */
    background-color: #f8f9fa;       /* Optional: Light gray background for the image area */
}