Template:Battle/style.css

From A KoL Wiki
Revision as of 12:52, 6 September 2025 by Gausie (talk | contribs) (Use correct class now that this is tested)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
.template-battle {
	display: block;
}

.infobox {
	float: right;
	width: 23em;
	margin-left: 1em;
	margin-bottom: 0.5em;
}

@media (max-width:850px){
	.infobox {
		width: 100%;
		margin-left: 0;
		float: none;
	}
	
	.template-battle {
		display: flex;
		flex-direction: column;
	}

	.template-battle .infobox-container  {
		order: -1;
	}

	.template-battle .monster-info {
		order: -2;
	}
}