Template:Corporation/style.css: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 13: | Line 13: | ||
} |
} |
||
.infobox-illustration img { |
.infobox-illustration img { |
||
− | width: auto; |
||
− | height: auto; |
||
max-width: 30em; |
max-width: 30em; |
||
max-height: 30em; |
max-height: 30em; |
||
− | object-fit: contain; |
||
} |
} |
||
Latest revision as of 14:59, 25 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 {
max-width: 30em;
max-height: 30em;
}
.infobox-full-width-content {
max-width: 30em;
}