Difference between revisions of "Template:Infobox Building"
Jump to navigation
Jump to search
m (Blanked the page) Tag: Blanking |
m |
||
| Line 1: | Line 1: | ||
.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%; | |||
} | |||
Revision as of 15:31, 11 April 2025
.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%;
}