Jump to content

MediaWiki:Common.css: Difference between revisions

From Arcscribe Public Wiki
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 */
/* Constrain and center the entire article body layout */
/* Constrain and center the entire article body layout */
/* Center and constrain the entire article page area like Wikipedia */
#content {
#content {
     max-width: 75em;
     max-width: 75em;
Line 6: Line 7:
}
}


/* Ensure comfortable reading width and natural wrapping around the infobox */
#mw-content-text {
#mw-content-text {
     max-width: 58em;
     max-width: 60em;
     line-height: 1.6;
     line-height: 1.6;
    float: left;
}
}


/* Ensure the infobox stays docked cleanly on the right edge of the layout */
/* Clear any lingering layout artifacts below the article */
.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 {
#catlinks, .printfooter, #footer {
     clear: both;
     clear: both;
}
}

Revision as of 11:46, 7 July 2026

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

/* Ensure comfortable reading width and natural wrapping around the infobox */
#mw-content-text {
    max-width: 60em;
    line-height: 1.6;
}

/* Clear any lingering layout artifacts below the article */
#catlinks, .printfooter, #footer {
    clear: both;
}