Jump to content

MediaWiki:Common.css: Difference between revisions

From Arcscribe Public Wiki
Created page with "CSS placed here will be applied to all skins: #mw-content-text { max-width: 58em; line-height: 1.6; }"
 
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 */
/* Constrain and center the entire article body layout */
#content {
    max-width: 75em;
    margin: 0 auto;
}
#mw-content-text {
#mw-content-text {
     max-width: 58em;
     max-width: 58em;
     line-height: 1.6;
     line-height: 1.6;
    float: left;
}
/* Ensure the infobox stays docked cleanly on the right edge of the layout */
.infobox, table[style*="float: right"] {
    float: right !important;
    margin: 0.5em 0 1em 1.5em !important;
}
/* Clear floats so things below the article don't break */
#catlinks, .printfooter, #footer {
    clear: both;
}
}

Revision as of 11:45, 7 July 2026

/* CSS placed here will be applied to all skins */
/* Constrain and center the entire article body layout */
#content {
    max-width: 75em;
    margin: 0 auto;
}

#mw-content-text {
    max-width: 58em;
    line-height: 1.6;
    float: left;
}

/* Ensure the infobox stays docked cleanly on the right edge of the layout */
.infobox, table[style*="float: right"] {
    float: right !important;
    margin: 0.5em 0 1em 1.5em !important;
}

/* Clear floats so things below the article don't break */
#catlinks, .printfooter, #footer {
    clear: both;
}