Template:Location/styles.css: Difference between revisions

From Kerbal Powers Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
Line 3: Line 3:
 
Historically, the mobile skin (Minerva) has used !important to override them but this is not sustainable.*/
 
Historically, the mobile skin (Minerva) has used !important to override them but this is not sustainable.*/
   
.infobox-airfield {
 
width: 100%;
 
text-align: center;
 
vertical-align: top;
 
}
 
 
.infobox-airfield-head {
 
text-align: center;
 
vertical-align: top;
 
background-color: #EAEAEA;
 
}
 
 
.infobox-airfield-content {
 
text-align: center;
 
vertical-align: top;
 
}
 
   
 
.infobox {
 
.infobox {

Latest revision as of 16:59, 29 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: 25em;
	object-fit: contain;
}

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