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 12:55, 2 April 2025 by Acans (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.
/* CSS placed here will be applied to all skins */

/* Script Infobox settings */
.infobox {
    width: 210px; /* Fixed width for both mobile and desktop */
    float: right;
    margin: 0 0 1em 1em;
    background: #333;
    color: #fff;
    padding: 1px;
}

/* Center infobox on mobile */
@media (max-width: 767px) {
    .infobox {
        float: none;
        margin: 0 auto 1em auto;
    }
}

/* Center the image and table */
.center-content {
    text-align: center;
    padding-top: 5px; /* You can adjust this padding as needed */
}

/* Ensure the parameters table is also centered */
.infobox table {
    width: 100%; /* Makes sure the table takes the full width of the infobox */
}



/* Discord Styling */
#discord-link-below-logo {
    margin-top: 5px;
    line-height: 0;
}

#discord-link-below-logo img {
    vertical-align: middle;
}
.vector-header-start {
    display: flex;
    flex-direction: column; /* Forces children (logo, then Discord link) to stack vertically */
    align-items: flex-start; /* Aligns items to the left */
}