Template:Organisation/styles.css: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 13: | Line 13: | ||
width: auto; |
width: auto; |
||
height: auto; |
height: auto; |
||
− | max-width: 48%; |
||
− | max-height: 48%; |
||
object-fit: contain; |
object-fit: contain; |
||
} |
} |
||
Line 21: | Line 19: | ||
width: auto; |
width: auto; |
||
height: auto; |
height: auto; |
||
− | max-width: 96%; |
||
− | max-height: 96%; |
||
object-fit: contain; |
object-fit: contain; |
||
} |
} |
Revision as of 22:41, 24 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-dual-illustration img {
width: auto;
height: auto;
object-fit: contain;
}
.infobox-illustration img {
width: auto;
height: auto;
object-fit: contain;
}
.infobox-full-width-content {
max-width: 40em;
}