countries: change antarctica class to .an
authorMischa POSLAWSKY <perl@shiar.org>
Sun, 1 Feb 2015 09:03:18 +0000 (10:03 +0100)
committerMischa POSLAWSKY <perl@shiar.org>
Sun, 1 Feb 2015 17:34:57 +0000 (18:34 +0100)
Apparently more widely used, including in geonames data, saving conversion.

base.css
circus.css
countries.plp
dark.css
darklite.css
lite.css
mono.css
red.css
tools/mkcountries-geonames

index c53f11e747373e4e6c2883fb4f2f9b679557c4e3..e2f9bac7eeb509c8c37ec68842cf26b958b7a232 100644 (file)
--- a/base.css
+++ b/base.css
@@ -458,7 +458,7 @@ table.dimap {
 .c-as,
 .mo,
 .g6 {background: #FCC} /* red: mode */
 .c-as,
 .mo,
 .g6 {background: #FCC} /* red: mode */
-.c-aa,
+.c-an,
 .mv,
 .g7 {background: #ECE} /* purple: visual (g6+) */
 .c-oc,
 .mv,
 .g7 {background: #ECE} /* purple: visual (g6+) */
 .c-oc,
@@ -484,7 +484,7 @@ table.dimap {
 .c-as:hover,
 .mo a:hover, .mo[onclick]:hover,
 .g6 a:hover, .g6[onclick]:hover {background: #F88}
 .c-as:hover,
 .mo a:hover, .mo[onclick]:hover,
 .g6 a:hover, .g6[onclick]:hover {background: #F88}
-.c-aa:hover,
+.c-an:hover,
 .mv a:hover, .mv[onclick]:hover,
 .g7 a:hover, .g7[onclick]:hover {background: #D9D}
 .c-oc:hover,
 .mv a:hover, .mv[onclick]:hover,
 .g7 a:hover, .g7[onclick]:hover {background: #D9D}
 .c-oc:hover,
index 8f2c85c254fd682902ab8096e8177015f53be3ae..afc5cb13664674c0ffd30368fccad5887b2859b0 100644 (file)
@@ -45,7 +45,7 @@
 .c-as,
 .mo,
 .g6 {background: #F77}
 .c-as,
 .mo,
 .g6 {background: #F77}
-.c-aa,
+.c-an,
 .mv,
 .g7 {background: #E8E}
 .c-oc,
 .mv,
 .g7 {background: #E8E}
 .c-oc,
@@ -73,7 +73,7 @@
 .c-as:hover,
 .mo a:hover, .mo[onclick]:hover,
 .g6 a:hover, .g6[onclick]:hover {background: #000; color: #F77}
 .c-as:hover,
 .mo a:hover, .mo[onclick]:hover,
 .g6 a:hover, .g6[onclick]:hover {background: #000; color: #F77}
-.c-aa:hover,
+.c-an:hover,
 .mv a:hover, .mv[onclick]:hover,
 .g7 a:hover, .g7[onclick]:hover {background: #000; color: #E8E}
 .c-oc:hover,
 .mv a:hover, .mv[onclick]:hover,
 .g7 a:hover, .g7[onclick]:hover {background: #000; color: #E8E}
 .c-oc:hover,
index 3019a292a1143fd6ba754c4795fa82678ddaa18b..575aa8bb2c40be3c67eb89e495f1e64c54a7d0ad 100644 (file)
@@ -58,7 +58,7 @@ my $cc = do 'countries.inc.pl';
        <td class="X c-af">africa
        <td class="X c-eu">europe
        <td class="X c-as">asia
        <td class="X c-af">africa
        <td class="X c-eu">europe
        <td class="X c-as">asia
-       <td class="X c-aa">antarctica
+       <td class="X c-an">antarctica
        <td class="X c-oc">oceania
        <td class="X c-sa">south america
        <td class="X c-na">north america
        <td class="X c-oc">oceania
        <td class="X c-sa">south america
        <td class="X c-na">north america
index 2cfc111278eb2a6fe2e6931d4f17fffa75541d54..835d32d0332f94998c36ecd1b8dac6311dfa70a2 100644 (file)
--- a/dark.css
+++ b/dark.css
@@ -92,7 +92,7 @@ th, td {
 .c-as,
 .mo,
 .g6 {background: #500}
 .c-as,
 .mo,
 .g6 {background: #500}
-.c-aa,
+.c-an,
 .mv,
 .g7 {background: #503}
 .c-oc,
 .mv,
 .g7 {background: #503}
 .c-oc,
index 0fdfcf6d36a03c6403f3288c67f9fa7415eb4ce3..d57f249177e6df157fc09173de3d8ed6e47d8894 100644 (file)
@@ -23,7 +23,7 @@ th, td {
 .Xr {background: #111} /* reverse */
 .Co {background: #181111} /* private */
 
 .Xr {background: #111} /* reverse */
 .Co {background: #181111} /* private */
 
-.me, .c-aa  .g8     {background: #102}
+.me, .c-an  .g8     {background: #102}
 .mv, .c-oc  .g7     {background: #012}
 .mo, .c-as, .g6 .l1 {background: #200}
 .mi         .g5     {}
 .mv, .c-oc  .g7     {background: #012}
 .mo, .c-as, .g6 .l1 {background: #200}
 .mi         .g5     {}
index d82fa4c6208ccd133eefc09fdfabbd165a911c96..9074b75e3783ad5cf4a0c25dde29d5fabef37ae4 100644 (file)
--- a/lite.css
+++ b/lite.css
@@ -7,6 +7,6 @@
 .cp, td.c-eu       {background: #FED}
 .mi                {background: #FDC}
 .mo, td.c-as       {background: #FDD}
 .cp, td.c-eu       {background: #FED}
 .mi                {background: #FDC}
 .mo, td.c-as       {background: #FDD}
-.mv, td.c-aa       {background: #EEDDF4}
+.mv, td.c-an       {background: #EEDDF4}
 .me, td.c-oc       {background: #E3E8FF}
 
 .me, td.c-oc       {background: #E3E8FF}
 
index 32a8733d5919c0c0178a4d372e6f7f52e81b0785..d6eaeba4387e119f9da97f690d2a8ecfc53e2a01 100644 (file)
--- a/mono.css
+++ b/mono.css
@@ -75,7 +75,7 @@ body ul.keys li.new {
 .c-af {background: #000; color: #FFF} /* .g3 */
 .c-eu {background: #333; color: #FFF} /* .g4 */
 .c-as {background: #666; color: #FFF} /* .g6 */
 .c-af {background: #000; color: #FFF} /* .g3 */
 .c-eu {background: #333; color: #FFF} /* .g4 */
 .c-as {background: #666; color: #FFF} /* .g6 */
-.c-aa {background: #999; color: #FFF} /* .g7 */
+.c-an {background: #999; color: #FFF} /* .g7 */
 .c-oc {background: #BBB}              /* .g8 */
 .c-sa {background: #999}              /* .g0 */
 .c-na {background: #666}              /* .g1 */
 .c-oc {background: #BBB}              /* .g8 */
 .c-sa {background: #999}              /* .g0 */
 .c-na {background: #666}              /* .g1 */
diff --git a/red.css b/red.css
index f3698cc7bef47d3ff7cc9cfa6361e5dc76b4d310..48f8fcf9b3c1c1bd385bc11e50cf7a9c46fe188e 100644 (file)
--- a/red.css
+++ b/red.css
@@ -123,7 +123,7 @@ tbody, colgroup, th {
 .c-af     {background: #100; color: #FFF}
 .c-eu     {background: #300; color: #FFF}
 .c-as     {background: #500; color: #FFF}
 .c-af     {background: #100; color: #FFF}
 .c-eu     {background: #300; color: #FFF}
 .c-as     {background: #500; color: #FFF}
-.c-aa     {background: #400; color: #8BC}
+.c-an     {background: #400; color: #8BC}
 .c-oc     {background: #100; color: #8BC}
 .c-sa     {background: #100; color: #DD6}
 .c-na     {background: #300; color: #DD6}
 .c-oc     {background: #100; color: #8BC}
 .c-sa     {background: #100; color: #DD6}
 .c-na     {background: #300; color: #DD6}
index b10bb83705bf8c2d3c3ce77314a44db65902be60..325379ce7eb8591c4795198175f6a51f6382035b 100755 (executable)
@@ -53,7 +53,6 @@ my %cc;  # map of country code to info array
 while (<>) {
        /^#/ and next;  # skip comments
        my ($iso, $name, $cont) = (split /\t/)[0, 4, 8];
 while (<>) {
        /^#/ and next;  # skip comments
        my ($iso, $name, $cont) = (split /\t/)[0, 4, 8];
-       $cont =~ s/\AAN\z/aa/;  # different antarctica abbreviation
        my $class = "c-\L$cont";
        $cc{ lc $iso } = [ $name, $class ];
 }
        my $class = "c-\L$cont";
        $cc{ lc $iso } = [ $name, $class ];
 }