|
|
| Line 1: |
Line 1: |
| <style>
| | {{Infobox |
| .infobox_building {
| | | title = {{{title|{{PAGENAME}}}}} |
| width: 260px;
| | | image = {{{image|}}} |
| float: right;
| | |header1 = Prerequisites |
| margin: 10px;
| | |label1 = Prerequisites |
| clear: both;
| | | splendour = {{prerequisites|}}} |
| --margin-v: 10px;
| | |header2 = Production |
| --margin-h: 10px;
| | |label2 = Workers |
| }
| | | workers = {{workers|}}} |
| | | |label3 = Best suited to: |
| .infobox_building-title {
| | | class = {{worker class|}}} |
| font-size: 1.5em;
| | |label4 = Consumes |
| font-weight: bold;
| | | input = {{input|}}} |
| text-align: center;
| | |label5 = Produces |
| } | | | output = {{output|}}} |
| | | |label6 = Monthly maintenance |
| .infobox_building-caption {
| | | maintenance = {{maintenance|}}} |
| display: block;
| | | header3 = Construction Requirements |
| text-align: center;
| | | construction = {{construction|}}} |
| } | | }} |
| | |
| .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>
| |