From: Mischa POSLAWSKY Date: Sat, 15 Jun 2024 02:53:49 +0000 (+0200) Subject: sc: minimal mono style of significant colour distinctions X-Git-Tag: v1.20~15 X-Git-Url: http://git.shiar.net/sheet.git/commitdiff_plain/2c71866982200bc4c9be7c9dbb63f1a3fded70d4 sc: minimal mono style of significant colour distinctions --- diff --git a/sc.plp b/sc.plp index e784cbd..753ea4c 100644 --- a/sc.plp +++ b/sc.plp @@ -52,8 +52,8 @@ Html({ $scver{major} < 2 ? qw' bw broodwar brood war ' : qw' starcraft2 lotv hots wol ', ], - stylesheet => [qw( light dark )], - raw => '', + stylesheet => [qw( light dark mono )], + raw => '', data => ["$datafile.inc.pl"], }); diff --git a/style/sc.scss b/style/sc.scss index 6f88251..62f5807 100644 --- a/style/sc.scss +++ b/style/sc.scss @@ -308,3 +308,46 @@ body .magic-perma { -webkit-text-decoration-color: #460; } } + +.s-mono { + .unit-min {color: #000} + .unit-gas {color: #888} + + .unit-o {color: #888} + .unit-u {color: #444} + .unit-p {color: #666} + .unit-supply {color: #888} + + // distinctions significant in bonus damage + .unit-air {color: #AAA} + .unit-x {color: #000; text-shadow: #888 0 0 .1em} + .unit-s {color: #888} + .unit-m {color: #444} + .unit-l {color: #222} + .unit-h {color: #000} + + tbody .unit-shield { + color: #888; + } + .unit-pdd { + color: #666; + } + .unit-splash { + color: #444; + } + .hurt-a { + color: #000; + } + .hurt-g { + color: #000; + } + .unit-massive { + color: #444; + } + .unit-detect::before { + color: #888; + } + .unit-jump { + color: #222; + } +}