Template:MinorNation/styles.css: Difference between revisions

From Kerbal Powers Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 4: Line 4:
   
 
.infobox {
 
.infobox {
width: 150px;
+
width: 1em;
max-width: 150px;
+
max-width: 2em;
 
margin: 1em;
border: 2px solid #008600;
 
padding: 1em;
 
 
}
 
}
   

Revision as of 02:27, 19 July 2021

/* {{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 {
 width: 1em;
 max-width: 2em;
margin: 1em;
}

 
.infobox image {
 max-width: 150px;
    text-align: center;
}