From: Mischa POSLAWSKY Date: Mon, 10 Apr 2017 15:23:55 +0000 (+0200) Subject: latin: half deck row with playing cards glyphs X-Git-Tag: v1.10~182 X-Git-Url: http://git.shiar.nl/sheet.git/commitdiff_plain/53686d73c4a758bc3ca80e2f0def103f37e37fa3?ds=sidebyside latin: half deck row with playing cards glyphs Simple substitution but interesting because the 13 cards match 26 letters exactly once for each colour. --- diff --git a/base.css b/base.css index f3c0355..0c135b3 100644 --- a/base.css +++ b/base.css @@ -464,6 +464,9 @@ table.dimap { .sy-error { font-weight: bold; background-color: #F00; color: #FFF } .sy-todo { background-color: #FF0 } +/* boolean alternate */ +.glyphs i { font-variant: normal; color: #800 } + /* hover effects */ .X:hover {cursor: help} .X:hover > span {background: #FFF} /* whitespace marker */ diff --git a/dark.css b/dark.css index 69a8f10..acce64b 100644 --- a/dark.css +++ b/dark.css @@ -20,7 +20,8 @@ dl.legend dt, } dl.legend-options dt {background: #333} -/* code syntax */ +/* syntax highlighting */ + .sy-comment { color: #888 } .sy-constant { color: #8AC } .sy-type, @@ -29,6 +30,8 @@ dl.legend-options dt {background: #333} .sy-error { font-weight: bold; background-color: #800; color: #EEE } .sy-todo { background-color: #880 } +.glyphs i { color: #C44 } + /* character properties */ th, td { diff --git a/mono.css b/mono.css index f6ba3c5..cff7b1f 100644 --- a/mono.css +++ b/mono.css @@ -72,6 +72,8 @@ body .keys td.new { .sy-error { font-weight: bold; background-color: #000; color: #FFF } .sy-todo { background-color: #CCC } +.glyphs i { color: #777 } + /* continents */ .c-af {background: #000; color: #FFF} /* .g4 */ .c-eu {background: #333; color: #FFF} /* .g5 */ diff --git a/red.css b/red.css index 73d27eb..6bd9e89 100644 --- a/red.css +++ b/red.css @@ -145,6 +145,8 @@ tbody, colgroup, th { .sy-error { font-weight: bold; background-color: #A00; color: #EEE } .sy-todo { background-color: #400 } +.glyphs i { color: #C44 } + #browser td > a:not(:hover):not(:active) { color: inherit; } diff --git a/writing-latn.inc.pl b/writing-latn.inc.pl index c7ed2dd..3b5e5ab 100644 --- a/writing-latn.inc.pl +++ b/writing-latn.inc.pl @@ -89,6 +89,11 @@ my $U = 0; # optional unicode alternatives 11 12 13 14 21 22 23 20 > 31 -13 32 33 30 41 42 -13 43 40 10 51 52 53 50 -31 -40 })], +'Half deck' => [ + # A 2-10 J Q K + (map { chr( 0x1F0A0 + $_ ) } 1 .. 11, 13, 14), # spades + (map { "$_" } map { chr( 0x1F0B0 + $_ ) } 1 .. 11, 13, 14), # hearts +], 'Maritime flags' => [ # International Code of Signals, SVG fills map { ''.s/\n?\t+//gr.'' }