Template:MinorNation/styles.css: Difference between revisions

From Kerbal Powers Wiki
Jump to navigation Jump to search
(Created page with "→‎{{pp-template}}: /* The width style is limited to tablet and desktop resolutions as 22em is bigger than most mobile screens. Historically, the mobile skin (Minerva) has u...")
 
No edit summary
Line 4: Line 4:
 
@media all and ( min-width: 720px ) {
 
@media all and ( min-width: 720px ) {
 
.infobox {
 
.infobox {
width: 22em;
+
width: 2em;
 
}
 
}
 
}
 
}

Revision as of 23:32, 18 July 2021

/* {{pp-template}} */
/* The width style is limited to tablet and desktop resolutions as 22em is bigger than most mobile screens.
Historically, the mobile skin (Minerva) has used !important to override them but this is not sustainable.*/
@media all and ( min-width: 720px ) {
	.infobox {
		width: 2em;
	}
}