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
Blanked the page
Tags: Blanking Reverted
No edit summary
Tag: Reverted
Line 1: Line 1:
/* 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 */
}

Revision as of 13:40, 2 April 2025

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