MediaWiki:Minerva.css: Difference between revisions

From Ylvapedia
(Columns don't work so well on mobile, pray for good specificity to the benevolent God of CSS.)
 
(Sinning on Christmas with !important)
Line 1: Line 1:
/* Columns and mobile don't mix */
/* Columns and mobile don't mix */
#main-page-elin>ul {
@media all and (max-width:480px) {
column-count: 1;
#main-page-elin>ul {
column-count: 1 !important;
}
}
}

Revision as of 17:45, 25 December 2024

/* Columns and mobile don't mix */
@media all and (max-width:480px) {
	#main-page-elin>ul {
		column-count: 1 !important;
	}
}