MediaWiki:Gadget-WideTimeless.css: Difference between revisions

(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...")
 
m (1 revision imported)
 

Latest revision as of 13:22, August 16, 2023

/* 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;
	}
}