Template:Corporation/style.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 {
width: 300px;
+
width: 30em;
max-width: 300px;
+
max-width: 30em;
min-width: 300px;
+
min-width: 30em;
 
 
 
 
Line 17: Line 17:
   
 
.infobox-full-width-content {
 
.infobox-full-width-content {
max-width: 300px;
+
max-width: 30em;
 
}
 
}

Revision as of 03:38, 20 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: 30em;
    max-width: 30em;
    min-width: 30em;
 
 
}
.infobox-image {
    max-width: 300px;
}

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