Template:War/styles.css: Difference between revisions

From Kerbal Powers Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
(3 intermediate revisions by the same user not shown)
Line 19: Line 19:
 
}
 
}
   
.infobox-Column3 img {
+
.infobox-column {
width: auto;
+
width: 15em;
 
max-width: 15em;
height: auto;
 
  +
}
max-width: 10em;
 
  +
max-height: 10em;
 
  +
.infobox-three-column {
object-fit: contain;
 
 
width: 10em;
  +
max-width: 10em;
 
}
 
}
   

Latest revision as of 13:16, 28 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-illustration img {
	width: auto;
	height: auto;
	max-width: 30em;
	max-height: 30em;
	object-fit: contain;
}

.infobox-column {
	width: 15em;
        max-width: 15em;
}

.infobox-three-column {
	width: 10em;
        max-width: 10em;
}

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