Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /* Wikipedia new style */
- /* make only the content have white background */
- .mw-page-container {
- background-color: #fafbfd;
- }
- .mw-content-container {
- background-color: white;
- }
- .vector-toc {
- background-color: unset;
- }
- /* make the page a bit tigher */
- .mw-page-container {
- padding-right: 1em !important;
- padding-left: 1em !important;
- }
- .mw-page-container-inner {
- grid-template-rows: min-content min-content min-content 1fr min-content !important;
- grid-template-columns: min-content minmax(0px, 1fr) !important;
- }
- .mw-content-container {
- padding: 1em 2em;
- padding-left: 1em;
- box-sizing: border-box;
- }
- .mw-page-container-inner {
- column-gap: 0px !important;
- }
- #mw-panel-toc {
- margin-left: 0px !important;
- width: 240px !important;
- }
- /* why is a blank 'site notice' used for margins..? Maybe this will break later. */
- #siteNotice {
- margin: 6px 0 !important;
- }
- /* initial height of the toc is only 75%, 86% fits more. YMMV */
- .vector-toc {
- max-height: 86vh;
- padding-right: 8px !important;
- width: unset !important;
- }
- /* optionally: remove top padding. This makes it unaligned, but we get more content. */
- /*
- #vector-toc-pinned-container {
- padding-top: 0px !important;
- margin-top: 0px !important;
- }
- */
- /* remove the white toc bottom fade. I think this is for non-windows users that have hidden scrollbars? */
- .vector-toc:after {
- content: unset !important;
- }
- /* add a small border + radius to main content */
- .mw-content-container {
- border-radius: 3px;
- border: 1.5px solid #cbcbcb;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement