Jump to content

MediaWiki:Common.css

Revision as of 10:39, 7 February 2026 by Knowlepedia (talk | contribs)

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/* ============================= */
/* SAFE PAGE WIDTH & ALIGNMENT */
/* ============================= */

.mw-page-container,
.mw-content-container,
.mw-body {
    max-width: 100% !important;
}

/* Keep content centered */
.mw-page-container-inner {
    margin-left: auto !important;
    margin-right: auto !important;
}

/* ============================= */
/* SAFE TEXT WRAPPING (TEXT ONLY) */
/* ============================= */

.mw-parser-output p,
.mw-parser-output li,
.mw-parser-output td,
.mw-parser-output th,
.mw-parser-output blockquote,
.mw-parser-output figcaption {
    word-break: break-word;
    overflow-wrap: break-word;
    white-space: normal;
}

/* ============================= */
/* SAFE TABLE HANDLING */
/* ============================= */

.mw-parser-output table {
    max-width: 100%;
    table-layout: auto;
}

/* ============================= */
/* PREVENT HORIZONTAL SCROLL */
/* ============================= */

html, body {
    overflow-x: hidden;
}