Template:Character/styles.css: Difference between revisions

From Kerbal Powers Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
Line 6: Line 6:
   
 
.infobox {
 
.infobox {
max-width: 30em;
+
max-width: 25em;
min-width: 30em;
+
min-width: 25em;
width: 30em;
+
width: 25em;
 
}
 
}
   
Line 14: Line 14:
 
width: auto;
 
width: auto;
 
height: auto;
 
height: auto;
max-width: 30em;
+
max-width: 25em;
max-height: 30em;
+
max-height: 35em;
 
object-fit: contain;
 
object-fit: contain;
 
}
 
}
   
 
.infobox-full-width-content {
 
.infobox-full-width-content {
max-width: 30em;
+
max-width: 25em;
 
}
 
}

Latest revision as of 18:28, 21 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: 25em;
    min-width: 25em;
	width: 25em;
}

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

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