MediaWiki:RPGC-width.css
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-right: auto !important;
}
body.rpgc-readable-width .mw-parser-output {
max-width: 1180px;
}
/* Full-width mode */
body.rpgc-full-width .mw-body,
body.rpgc-full-width .mw-parser-output {
max-width: none !important;
}
/* Toggle button */
#rpgc-width-toggle {
position: fixed;
top: 46px;
right: 12px;
z-index: 9999;
background: #171d24;
color: #d7dce3;
border: 1px solid #2a333d;
border-bottom: 2px solid #315f9d;
padding: 5px 9px;
font-size: 11px;
cursor: pointer;
box-shadow: 0 0 8px rgba(79,134,214,.2);
}
#rpgc-width-toggle:hover {
background: #233044;
color: #fff;
}