sc: indicate type by m/o text, no icon images
[sheet.git] / sc.plp
diff --git a/sc.plp b/sc.plp
index 0c584a74cf5825b13dff0a197546b883dcbe38be..c6f75c261021b986396f091f099f6829728fb49e 100644 (file)
--- a/sc.plp
+++ b/sc.plp
@@ -106,12 +106,6 @@ Unit properties as seen or measured in Brood War
                text-align: right;
        }
 
-       .legend dl {
-               text-align: left;
-               column-width: 20em;
-               -moz-column-width: 20em;
-               -webkit-column-width: 20em;
-       }
        .legend dt {
                float: none;
                text-align: left;
@@ -127,6 +121,15 @@ Unit properties as seen or measured in Brood War
                break-before: avoid;
                -webkit-column-break-before: avoid;
        }
+
+       .units, .legend {
+               display: table-cell;
+       }
+       .legend {
+               min-width: 15em;
+               padding-left: 2em;
+               text-align: left;
+       }
 </style>
 
 <:
@@ -270,10 +273,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},