Template:Organisation/styles.css: Difference between revisions

From Kerbal Powers Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 23: Line 23:
 
height: auto;
 
height: auto;
 
max-width: 15em;
 
max-width: 15em;
min-width: 15em;
 
 
max-height: 15em;
 
max-height: 15em;
min-height: 15em;
 
 
object-fit: contain;
 
object-fit: contain;
 
}
 
}
Line 33: Line 31:
 
height: auto;
 
height: auto;
 
max-width: 30em;
 
max-width: 30em;
min-width: 30em;
 
 
max-height: 30em;
 
max-height: 30em;
min-height: 30em;
 
 
object-fit: contain;
 
object-fit: contain;
 
}
 
}

Revision as of 00:00, 25 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-item {
	width:20em;
}

.infobox-item-title {
	width:10em;
}

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

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

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