From 12cb206ab5a8d8a37c78e98fb627edc388e6c1c9 Mon Sep 17 00:00:00 2001 From: Mischa POSLAWSKY Date: Fri, 19 Jun 2015 08:07:02 +0200 Subject: [PATCH] sc: colourise shield column to match bonus indicator style --- sc.css | 6 ++++++ sc.plp | 1 + 2 files changed, 7 insertions(+) diff --git a/sc.css b/sc.css index 424d482..6da59ad 100644 --- a/sc.css +++ b/sc.css @@ -58,8 +58,14 @@ td .unit-jump, } td.hurtrel { padding-left: 1em; +} +td.unit-shield, +td.hurtrel { font-size: 70%; } +tbody .unit-shield { + color: #46A; +} .unit-splash { color: #4A0; } diff --git a/sc.plp b/sc.plp index e5a5b44..237ba71 100644 --- a/sc.plp +++ b/sc.plp @@ -131,6 +131,7 @@ sub showrange { $_ eq 'armored' ? 'unit-l' : $_ eq 'organic' ? 'unit-o' : $_ =~ /^massive/ ? 'unit-h' : + $_ eq 'shields' ? 'unit-shield' : '', } join '_', keys %{ $attack->{bonus} }), join(', ', map {( -- 2.30.0