Template:Location/styles.css: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 5: | Line 5: | ||
.infobox-airfield { |
.infobox-airfield { |
||
width: 100%; |
width: 100%; |
||
+ | text-align: center; |
||
+ | vertical-align: top; |
||
+ | } |
||
+ | |||
+ | .infobox-airfield-head { |
||
text-align: center; |
text-align: center; |
||
vertical-align: top; |
vertical-align: top; |
||
background-color: #EAEAEA; |
background-color: #EAEAEA; |
||
+ | } |
||
+ | |||
+ | .infobox-airfield-content { |
||
+ | text-align: center; |
||
+ | vertical-align: top; |
||
} |
} |
||
Revision as of 16:43, 29 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-airfield {
width: 100%;
text-align: center;
vertical-align: top;
}
.infobox-airfield-head {
text-align: center;
vertical-align: top;
background-color: #EAEAEA;
}
.infobox-airfield-content {
text-align: center;
vertical-align: top;
}
.infobox {
max-width: 25em;
min-width: 25em;
width: 25em;
}
.infobox-illustration img {
width: auto;
height: auto;
max-width: 25em;
max-height: 25em;
object-fit: contain;
}
.infobox-full-width-content {
max-width: 25em;
}