countries: change antarctica class to .an
[sheet.git] / sc.plp
diff --git a/sc.plp b/sc.plp
index ede1e5a17a73e345f696ad498908d653a1c8635b..8251f7504db7e4b29853188c8daad820b1c936ef 100644 (file)
--- a/sc.plp
+++ b/sc.plp
@@ -28,6 +28,7 @@ Unit properties as seen or measured in Brood War
                border-collapse: separate;
                border-spacing: 0;
                margin: 0 auto;
+               white-space: nowrap;
        }
        .units th, .units td {
                border: 0;
@@ -145,8 +146,8 @@ sub coltoggle {
 <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>
@@ -273,10 +274,10 @@ sub showrange {
                        '<td class="val unit">' . join('',
                                $_->{unit} ? $_->{unit} == .5 ? '½' : $_->{unit} : '&nbsp;',
                                defined $_->{organic} && sprintf(
-                                       '<img class="unit-%s" src="s%s.png" alt="%s">',
+                                       '<span class="unit-%s" title="%s">%s</span>',
                                        $_->{organic} ? 'o' : 'u',
-                                       $_->{race} . ($_->{organic} ? 'o' : ''),
-                                       $_->{organic} ? 'o' : 'm'
+                                       $_->{organic} ? 'organic' : 'mechanic',
+                                       $_->{organic} ? 'o' : 'm',
                                ),
                        ),
                        '<td class="val unit-hp">' . $_->{hp},