Template:Nation/styles.css: Difference between revisions
Jump to navigation
Jump to search
(Created page with "→{{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 u...") |
mNo edit summary |
||
(3 intermediate revisions by the same user not shown) | |||
Line 6: | Line 6: | ||
.infobox { |
.infobox { |
||
− | max-width: |
+ | max-width: 30em; |
− | min-width: |
+ | min-width: 30em; |
+ | width: 30em; |
||
− | |||
} |
} |
||
Line 14: | Line 14: | ||
width: auto; |
width: auto; |
||
height: auto; |
height: auto; |
||
− | max-width: |
+ | max-width: 30em; |
− | max-height: |
+ | max-height: 30em; |
object-fit: contain; |
object-fit: contain; |
||
} |
} |
||
.infobox-full-width-content { |
.infobox-full-width-content { |
||
− | max-width: |
+ | max-width: 40em; |
} |
} |
Latest revision as of 04:09, 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 {
max-width: 30em;
min-width: 30em;
width: 30em;
}
.infobox-illustration img {
width: auto;
height: auto;
max-width: 30em;
max-height: 30em;
object-fit: contain;
}
.infobox-full-width-content {
max-width: 40em;
}