テンプレート:TOC right/styles.css

提供:Wikiminati
< テンプレート:TOC right
2021年9月17日 (金) 22:56時点におけるAuthority control>Iznoによる版 (do the same thing I apparently did to tocleft much earlier)
(差分) ← 古い版 | 最新版 (差分) | 新しい版 → (差分)
/* {{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;
	}
}