Template:Organisation/styles.css: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
(19 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
/* The width style is limited to tablet and desktop resolutions as 22em is bigger than most mobile screens. |
/* 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.*/ |
Historically, the mobile skin (Minerva) has used !important to override them but this is not sustainable.*/ |
||
+ | |||
Line 10: | Line 11: | ||
} |
} |
||
+ | .infobox-item { |
||
⚫ | |||
− | width: |
+ | width:20em; |
+ | } |
||
− | height: auto; |
||
+ | |||
⚫ | |||
+ | .infobox-item-title { |
||
⚫ | |||
+ | width:10em; |
||
− | object-fit: contain; |
||
+ | } |
||
+ | |||
+ | |||
⚫ | |||
+ | |||
⚫ | |||
+ | |||
+ | } |
||
+ | |||
+ | .infobox-illustration img { |
||
+ | |||
⚫ | |||
+ | |||
+ | |||
} |
} |
||
.infobox-full-width-content { |
.infobox-full-width-content { |
||
− | max-width: |
+ | max-width: 40em; |
} |
} |
Latest revision as of 23:07, 26 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-item {
width:20em;
}
.infobox-item-title {
width:10em;
}
.infobox-dual-illustration {
max-width: 30em;
}
.infobox-illustration img {
max-width: 30em;
}
.infobox-full-width-content {
max-width: 40em;
}