Template:Organisation/styles.css: Difference between revisions

From Kerbal Powers Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 17: Line 17:
 
object-fit: contain;
 
object-fit: contain;
 
}
 
}
 
.infobox-dual-illustration .infobox-dual-caption{
 
max-width: 15em;
 
min-width: 15em;
 
object-fit: contain;
 
}
 
 
   
 
.infobox-full-width-content {
 
.infobox-full-width-content {

Revision as of 23:03, 24 October 2022

/* {{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: 30em;
    min-width: 30em;
	width: 30em;
}

.infobox-dual-illustration img .infobox-illustration img {
	width: auto;
	height: auto;
	max-width: 15em;
	min-width: 15em;
	object-fit: contain;
}

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