Template:Organisation/styles.css: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
(16 intermediate revisions by the same user not shown) | |||
Line 3: | Line 3: | ||
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.*/ |
||
⚫ | |||
− | vertical-align: top; |
||
− | text-align: left; |
||
⚫ | |||
⚫ | |||
⚫ | |||
− | vertical-align: top; |
||
− | text-align: right; |
||
⚫ | |||
⚫ | |||
.infobox { |
.infobox { |
||
Line 21: | Line 11: | ||
} |
} |
||
− | .infobox- |
+ | .infobox-item { |
− | width: |
+ | width:20em; |
⚫ | |||
− | height: auto; |
||
+ | |||
− | max-width: 15em; |
||
⚫ | |||
− | min-width: 15em; |
||
⚫ | |||
− | object-fit: contain; |
||
⚫ | |||
+ | |||
+ | |||
⚫ | |||
+ | |||
⚫ | |||
+ | |||
} |
} |
||
.infobox-illustration img { |
.infobox-illustration img { |
||
+ | |||
− | width: auto; |
||
− | height: auto; |
||
max-width: 30em; |
max-width: 30em; |
||
+ | |||
− | min-width: 30em; |
||
+ | |||
− | object-fit: contain; |
||
} |
} |
||
.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;
}