Template:TOC right/styles.css

From Test Wiki
Revision as of 02:16, 7 March 2024 by Sav (talk | contribs) (Created page with "→‎{{pp-template}}: →‎The TOC is hidden on Minerva (mobile skin) for width < 720px so must also hide this wrapper: @media all and (max-width: 720px) { body.skin-minerva .tocright { display: none; } .tocright { width: 100% !important; →‎fix the inline width while at small resolution: } } @media all and (min-width: 720px) { .tocright { float: right; clear: right; width: auto; margin: 0 0 0.5em 1em; } .tocright-clear-left { clear: left; }...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
/* {{pp-template}} */
/* The TOC is hidden on Minerva (mobile skin) for width < 720px so must also hide this wrapper */
@media all and (max-width: 720px) {
	body.skin-minerva .tocright {
		display: none;
	}
	
	.tocright {
		width: 100% !important; /* fix the inline width while at small resolution */
	}
}
@media all and (min-width: 720px) {
	.tocright {
		float: right;
		clear: right;
		width: auto;
		margin: 0 0 0.5em 1em; 
	}
	
	.tocright-clear-left {
		clear: left;
	}
	
	.tocright-clear-both {
		clear: both;
	}
	
	.tocright-clear-none {
		clear: none;
	}
}