/* DIN Rail Modules are 17.5mm wide, but mounted with 18mm pitch to accomodate differences */
/* fonts */
-table,h1 { font-family: sans-serif; font-weight: normal; font-size: 3.8mm; line-height: 5.2mm; }
+table,h1 { font-family: sans-serif; font-weight: normal; font-size: 3.8mm; line-height: 4.7mm; }
small { font-size: 2.5mm; line-height: 2.5mm; }
small small { font-size: 2mm; line-height: 1.9mm; }
a { color: dark-grey; text-decoration: none; }
td * { display: block; }
td {
border: 1px solid black; width: 18mm; height: 16mm;
- text-align: center; padding: 0; overflow: hidden;
+ text-align: center; padding: 3px 0 0 0; overflow: hidden;
display: flex-wrap; float: left; margin-bottom: 4mm; box-sizing: border-box;
justify-content: center; /* align-items: center; */
white-space: pre-line;
position: relative;
}
+.square * td { height: 18mm; }
+.half * td { height: 9mm; }
td:not(:last-child) { border-right: 0px solid red; }
/* wide modules */
-<table class="indexed">
+<table class="indexed square">
<tr>
<td colspan="3">🔥<br />Kuchyně<br />Varná deska</td>
<td>🔌 📡<br />Předsíň Data</td>
<td>🔥<br />Kuchyně Trouba</td>
<td>🔌 ❄️<br />Kuchyně Lednice</td>
-<td>🔌 🔥<br />Kuchyně<small>Mikrovlnná Trouba</small></td>
+<td>🔌 🔥<br />Kuchyně <small>Mikrovlnná Trouba</small></td>
<td>🔌 💧<br />Kuchyně Myčka</td>
<td colspan="4">⚡ 💧<br />Proudový chránič</td>
<td>🔌 💧<br />Koupelna Pračka</td>
<td>🔌<br />Kuchyně Linka</td>
<td>🔌<br />Obývák Předsíň<small>Střed</small></td>
<td>🔌<br />Ložnice</td>
-<td>🔌 💡<br />Kuchyně Digestoř</td>
-<td>🔥<br />Koupelna Podlaha</td>
-<td>🔥<br />Koupelna Žebřík</td>
+<td>🔌 💡<br />Kuchyně Linka<small>Digestoř</small></td>
+<td>🔥<br />Koupelna <small>Topení</small>Podlaha</td>
+<td>🔥<br />Koupelna <small>Topení</small>Žebřík</td>
<td>🔌 💡<br />Koupelna</td>
<td></td>
<td></td>