Template:TOC left/styles.css

From Test Wiki
Revision as of 02:17, 7 March 2024 by Sav (talk | contribs) (Created page with "→‎{{pp-template}}: @media all and (max-width: 720px) { .tocleft { width: 100% !important; →‎override inline width: } } @media all and (min-width: 720px) { .tocleft { float: left; clear: left; width: auto; margin: 0 1em 0.5em 0; } body.skin-vector-2022 .tocleft { →‎Vector 2022 doesn't have an inline ToC, so ensure it's 0x0 sized: margin: 0; } .tocleft-clear-both { clear: both; } .tocleft-clear-none { clear: none; } }")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
/* {{pp-template}} */
@media all and (max-width: 720px) {
	.tocleft {
		width: 100% !important; /* override inline width */
	}
}
@media all and (min-width: 720px) {
	.tocleft {
		float: left;
		clear: left;
		width: auto;
		margin: 0 1em 0.5em 0;
	}

	body.skin-vector-2022 .tocleft {
		/* Vector 2022 doesn't have an inline ToC, so ensure it's 0x0 sized */
		margin: 0;
	}
	
	.tocleft-clear-both {
		clear: both;
	}
	
	.tocleft-clear-none {
		clear: none;
	}
}