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: Difference between revisions

MediaWiki interface page
No edit summary
No edit summary
Line 28: Line 28:
.infobox table {
.infobox table {
     width: 100%; /* Makes sure the table takes the full width of the infobox */
     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 */
}
}

Revision as of 12:56, 2 April 2025

/* 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 */
}