unicode: general invisibility marker, not just space glyphs
authorMischa POSLAWSKY <perl@shiar.org>
Tue, 11 Jan 2011 22:35:23 +0000 (23:35 +0100)
committerMischa POSLAWSKY <perl@shiar.org>
Tue, 11 Jan 2011 22:41:38 +0000 (23:41 +0100)
base.css

index 206ee8a242159464efc71756f7e3a9078f1797e7..d223cb3fe04d95e17f31264d3b8bf7dd21491356 100644 (file)
--- a/base.css
+++ b/base.css
@@ -300,6 +300,7 @@ table.dimap {
 #digraphs .Xz {color: #D00} /* proposed */
 
 .Lm, .Mc, .Me, .Zl, .Zp {background: #F00} /* unstyled */
 #digraphs .Xz {color: #D00} /* proposed */
 
 .Lm, .Mc, .Me, .Zl, .Zp {background: #F00} /* unstyled */
+.X > span               {background: #888} /* invisible contents */
 
 /* letter scripts */
 .Armenian,
 
 /* letter scripts */
 .Armenian,
@@ -331,7 +332,6 @@ table.dimap {
 .Mn                   {background: #ACC} /* modifier */
 .Cc, .Cf {color: #666; background: #BBB} /* control */
 .Zs                   {background: #ACB} /* space */
 .Mn                   {background: #ACC} /* modifier */
 .Cc, .Cf {color: #666; background: #BBB} /* control */
 .Zs                   {background: #ACB} /* space */
-.Zs span              {background: #EEE}
 .Co                   {background: #DCC} /* private */
 .Xi, .Cs              {background: #CCC} /* invalid */
 .Xd                   {color: #844} /* deprecated */
 .Co                   {background: #DCC} /* private */
 .Xi, .Cs              {background: #CCC} /* invalid */
 .Xd                   {color: #844} /* deprecated */
@@ -385,6 +385,7 @@ table.dimap {
 /* hover effects */
 .u-di,
 .X:hover {cursor: help}
 /* hover effects */
 .u-di,
 .X:hover {cursor: help}
+.X:hover > span                            {background: #FFF} /* whitespace marker */
 .Greek:hover, .Armenian:hover              {background: #FA8}
 .Cyrillic:hover                            {background: #FB7}
 .Latin:hover                               {background: #EE4}
 .Greek:hover, .Armenian:hover              {background: #FA8}
 .Cyrillic:hover                            {background: #FB7}
 .Latin:hover                               {background: #EE4}