Template:Nation/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...")
 
mNo edit summary
Line 6: Line 6:
   
 
.infobox {
 
.infobox {
max-width: 400px;
+
max-width: 40em;
min-width: 400px;
+
min-width: 40em;
 
 
 
}
 
}
Line 20: Line 20:
   
 
.infobox-full-width-content {
 
.infobox-full-width-content {
max-width: 400px;
+
max-width: 40em;
 
}
 
}

Revision as of 04:50, 20 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.*/



.infobox {
    max-width: 40em;
    min-width: 40em;
 
}

.infobox-illustration img {
	width: auto;
	height: auto;
	max-width: 400px;
	max-height: 400px;
	object-fit: contain;
}

.infobox-full-width-content {
    max-width: 40em;
}