Difference between revisions of "Template:Infobox Building"
Jump to navigation
Jump to search
m |
m |
||
| Line 1: | Line 1: | ||
<style> | |||
.infobox_building { | .infobox_building { | ||
width: 260px; | width: 260px; | ||
| Line 48: | Line 49: | ||
width: 100%; | width: 100%; | ||
} | } | ||
</style> | |||
Revision as of 15:32, 11 April 2025
<style> .infobox_building {
width: 260px; float: right; margin: 10px; clear: both; --margin-v: 10px; --margin-h: 10px;
}
.infobox_building-title {
font-size: 1.5em; font-weight: bold; text-align: center;
}
.infobox_building-caption {
display: block; text-align: center;
}
.infobox_building-header {
width: 100%; text-align: center; font-size: 1.25em; font-weight: bold;
}
.infobox_building-label {
display: flex; width: 50%;
}
.infobox_building-data-section {
display: flex; flex-direction: row;
}
.infobox_building-data {
width: 50%;
}
.infobox_building-label, .infobox_building-data {
font-size: 0.75em; padding: calc(var(--margin-v) /2) calc(var(--margin-h)/2);
}
.infobox_building-data-section:nth-of-type(odd):last-child {
width: 100%;
} </style>