MediaWiki:RPGC-width.css

From RPG Continuum Wiki
Revision as of 23:01, 4 July 2026 by Mrbobert (talk | contribs)
Jump to navigation Jump to search

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.
/* Default readable-width article layout */
body.rpgc-readable-width .mw-body {
    max-width: 1280px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 32px !important;
    padding-right: 32px !important;
}

/* Full-width mode */
body.rpgc-full-width .mw-body {
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* Title-row width toggle */
#rpgc-width-toggle {
    float: right;
    margin-top: 8px;
    margin-left: 12px;
    background: #171d24;
    color: #d7dce3;
    border: 1px solid #2a333d;
    border-bottom: 2px solid #315f9d;
    padding: 4px 8px;
    font-size: 11px;
    line-height: 1.2;
    cursor: pointer;
    box-shadow: 0 0 8px rgba(79,134,214,.2);
}

#rpgc-width-toggle:hover {
    background: #233044;
    color: #fff;
}