MediaWiki:Common.css: Difference between revisions

From Fiero Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
/* CSS placed here will be applied to all skins */
/* CSS placed here will be applied to all skins */
/* Center old Vector layout on wide screens */
@media screen and (min-width: 1300px) {
    body {
        max-width: 1300px;
        margin-left: auto;
        margin-right: auto;
        position: relative;
    }


/* Center the full Vector page layout on wide screens */
    #mw-panel {
#mw-page-base,
        left: 0;
#mw-head-base,
    }
#content,
#mw-panel {
    max-width: 1200px;
}


#mw-page-base,
    #content {
#mw-head-base,
        margin-left: 176px;
#content {
        max-width: none;
    margin-left: auto;
    }
    margin-right: auto;
}


/* Keep the left sidebar attached to the centered content area */
    #mw-head-base,
#mw-panel {
    #mw-page-base {
    left: calc((100% - 1200px) / 2);
        margin-left: 176px;
    }
}
}

Revision as of 20:27, 6 July 2026

/* CSS placed here will be applied to all skins */
/* Center old Vector layout on wide screens */
@media screen and (min-width: 1300px) {
    body {
        max-width: 1300px;
        margin-left: auto;
        margin-right: auto;
        position: relative;
    }

    #mw-panel {
        left: 0;
    }

    #content {
        margin-left: 176px;
        max-width: none;
    }

    #mw-head-base,
    #mw-page-base {
        margin-left: 176px;
    }
}