MediaWiki:Gadget-WideTimeless.css

From the Super Mario Wiki, the Mario encyclopedia
Revision as of 09:11, May 26, 2021 by Porplemontage (talk | contribs) (Created page with "→‎One-sided navigation menu for the Timeless skin Source: https://dragalialost.wiki/w/MediaWiki:Timeless.css: @media (min-width: 1340px) { #mw-content-block { displ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump 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)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
/* One-sided navigation menu for the Timeless skin 
   Source: https://dragalialost.wiki/w/MediaWiki:Timeless.css */

@media (min-width: 1340px) {
	#mw-content-block {
		display: grid;
		grid-template-rows: max-content;
	}
	#mw-content,
	#content-bottom-stuff {
		margin-left: 14em;
	}
	#mw-content-wrapper {
		grid-row-start: 1;
		grid-row-end: 99;
		grid-column: 1;
		order: unset;
	}
	#mw-site-navigation {
		grid-row: 1;
		grid-column: 1;
		order: unset;
	}
	#mw-related-navigation {
		grid-row: 2;
		grid-column: 1;
		width: 14em;
		padding: 0 1em 0 0;
		order: unset;
	}
	#mw-related-navigation > .sidebar-chunk:first-of-type {
		margin-top: 0;
	}
	div.color-middle {
		margin-right: 0;
	}
}