MediaWiki:Gadget-ResponsiveStyle.css: Difference between revisions

From Pikipedia, the Pikmin wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
(One intermediate revision by the same user not shown)
Line 14: Line 14:


/* Template:Switchable */
/* Template:Switchable */
div[style*="float"]:has(.switchable) {
div[style*="float"]:has(> .switchable) {
float: none !important;
float: none !important;
}
}
.switchabletabs {
.switchabletabs {
text-align: center;
text-align: center;
}
.switchabletabs li {
line-height: 2;
}
}
}
}

Latest revision as of 21:16, March 29, 2024

/* Responsive CSS applied to both desktop and mobile */

/* Mobile phone */
@media all and (max-width: 719px) {
	/* Template:Spoiler */
	.notice#spoiler {
		padding: 2px 6px !important;
		margin: 18px 6px !important;
	}
	/* Template:Columns */
	.columns {
		column-count: 1 !important;
	}

	/* Template:Switchable */
	div[style*="float"]:has(> .switchable) {
		float: none !important;
	}
	.switchabletabs {
		text-align: center;
	}
	.switchabletabs li {
		line-height: 2;
	}
}