Template:Organisation/styles.css: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
(28 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- |
+ | .infobox-item { |
− | width: |
+ | width:20em; |
+ | } |
||
− | height: auto; |
||
+ | |||
⚫ | |||
+ | .infobox-item-title { |
||
− | max-height: 48%; |
||
⚫ | |||
− | object-fit: contain; |
||
+ | } |
||
+ | |||
+ | |||
+ | .infobox-dual-illustration { |
||
+ | |||
⚫ | |||
+ | |||
} |
} |
||
.infobox-illustration img { |
.infobox-illustration img { |
||
+ | |||
⚫ | |||
− | + | max-width: 30em; |
|
+ | |||
− | max-width: 96%; |
||
+ | |||
− | max-height: 96%; |
||
− | object-fit: contain; |
||
} |
} |
||
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;
}