border-collapse: separate;
border-spacing: 0;
margin: 0 auto;
+ white-space: nowrap;
}
.units th, .units td {
border: 0;
margin: 0;
text-align: center;
}
- .units th.cat {
- font-size: 70%;
- text-transform: uppercase;
- }
.units thead th, .units tfoot th {
font-size: 70%;
font-weight: normal;
<thead><tr>
<th></th>
<th><:= coltoggle('name', '') :></th>
- <th class="val min"><img src="minerals.png" alt="min"></th>
- <th class="val gas"><img src="gas.png" alt="gas"></th>
+ <th class="val min"><img src="/minerals.png" alt="min"></th>
+ <th class="val gas"><img src="/gas.png" alt="gas"></th>
<th class="val time"><:= coltoggle(qw'build cost') :></th>
<th class="unit" colspan="2"><:= coltoggle(qw'size size') :></th>
<th class="val unit-hp">HP</th>
}
my $units = do 'sc-units.inc.pl';
- die "Cannot open unit data: $_\n" for $! || $@ || ();
+ die "Cannot open unit data: $_\n" for $@ || $! || ();
my $grouped = !exists $get{order};
if (exists $get{order}) {
$get{order} ||= '';