make rules for unicode-char.inc.pl and ttfsupport/
[sheet.git] / base.css
index 206ee8a242159464efc71756f7e3a9078f1797e7..37a5716f37fe44da368f6740a6e8ebe13caf6a6c 100644 (file)
--- a/base.css
+++ b/base.css
@@ -147,7 +147,7 @@ ul.keys li b {
        line-height: 2.5ex; /* inherits otherwise */
        padding-left: 2px;
 }
-ul.keys.omni li { /* omni-present esc */
+.row0 ul.keys li { /* omni-present esc */
        width: 8.5em;
 }
 
@@ -263,9 +263,14 @@ table.dimap {
 
 .diinfo {
        -moz-column-width: 24em;
+       -webkit-column-width: 24em;
+       column-width: 24em;
 }
 .diinfo > div {
        overflow: hidden;
+       column-break-inside: avoid;
+       -webkit-column-break-inside: avoid;
+       position: relative; z-index: 1; /* webkit bug */
 }
 
 /* glyph cell overlay (digraph labels) */
@@ -300,6 +305,7 @@ table.dimap {
 #digraphs .Xz {color: #D00} /* proposed */
 
 .Lm, .Mc, .Me, .Zl, .Zp {background: #F00} /* unstyled */
+.X > span               {background: #888} /* invisible contents */
 
 /* letter scripts */
 .Armenian,
@@ -331,7 +337,6 @@ table.dimap {
 .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 */
@@ -385,6 +390,7 @@ table.dimap {
 /* 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}
@@ -544,7 +550,6 @@ dl.legend dt {
        margin: 0 0 1px; /* distinct keys */
        height: auto; /* not key-height */
        padding: 2px 0;
-       width: auto; /* not center-aligned */
 }
 dl.legend dd {
        margin: 3px 0.4em 0; /* align text (add dt border+padding height) */