termcol: rgb table columns from dark to light
[sheet.git] / base.css
index 788e992060a3a1b85f7c2d4604e111ad6ff5bbf0..fa7d04a7d40310bfe8ca9436c66f520c7486f52e 100644 (file)
--- a/base.css
+++ b/base.css
@@ -17,12 +17,6 @@ a:active, a:hover {
 
 /* common sections */
 
-h1 {
-       background-image: -moz-repeating-linear-gradient(top left -75deg,
-               rgba(255,0,0,.5), rgba(255,0,0,0) 1ex,
-               rgba(255,0,0,0) 2ex, rgba(255,0,0,.5) 3ex
-       );
-}
 h1, h2 {
        font-size: 200%;
        margin: 0;
@@ -238,7 +232,7 @@ th,
 tfoot td,
 thead td {
        border: 0;
-       background: transparent !important;
+       background: transparent;
 }
 .glyphs thead td {
        width: auto; /* no glyph cells in header */
@@ -262,6 +256,25 @@ tfoot .cat th {
        border-top: 1px solid #888;
 }
 
+/* colour map */
+
+table.color td {
+       border: 1px solid #555;
+       font-weight: normal;
+       padding: 0 8px;
+}
+table.color td samp {
+       margin: 0 -8px 0 8px;
+       font-family: inherit;
+       float: right;
+}
+table.color td samp ~ samp {
+}
+table.color td samp small {
+       font: 100% monospace;
+       padding: 0 .5ex;
+}
+
 /* digraphs map */
 
 table.dimap {
@@ -368,7 +381,7 @@ table.dimap {
 .Mn                   {background: #ACC} /* modifier */
 .Cc, .Cf {color: #666; background: #BBB} /* control */
 .Zs                   {background: #ACB} /* space */
-.Co                   {background: #DCC} /* private */
+.Co, .Xi.Co           {background: #DCC} /* private */
 .Xi, .Cs              {background: #CCC} /* invalid */
 .Xd                   {color: #844} /* deprecated */
 .Xr                   {color: #888} /* reserved (digraph reverse or proposal) */
@@ -448,6 +461,7 @@ table.dimap {
 .Cc:hover, .Cf:hover                       {background: #DDD} /* control */
 .Co:hover                                  {background: #A77} /* private */
 .Xr:hover                                  {background: #FFF} /* reserved */
+.Xi:hover                                  {background: #DDD} /* invalid */
 .Xa:hover {outline: 1px solid #0F0} /* ascii */
 .Xl:hover {outline: 1px solid #0C0} /* latin1 */
 .u-prop:hover {outline: 1px solid #F00} /* proposed */
@@ -461,55 +475,37 @@ table.dimap {
 /* key type colorization */
 
 .c-sa,
-.ci,
 .g1 {background: #BFE} /* cyan: info */
 .c-na,
-.pm,
 .g2 {background: #BFB} /* green: motion */
-.po,
 .g3 {background: #DFA} /* greenish: jump (g2+) */
 .c-af,
-.co,
 .g4 {background: #FFA} /* yellow: command */
 .c-eu,
-.cp,
 .g5 {background: #FDA} /* orangish: open (g6-) */
-.mi,
 .g6 {background: #FCA} /* orange: insert */
 .c-as,
-.mo,
 .g7 {background: #FCC} /* red: mode */
 .c-an,
-.mv,
 .g8 {background: #ECE} /* purple: visual (g7+) */
 .c-oc,
-.me,
 .g9 {background: #CCF} /* blue: prefix */
 
 .c-sa:hover,
-.ci a:hover, .ci[onclick]:hover,
 .g1 a:hover, .g1[onclick]:hover {background: #5ED}
 .c-na:hover,
-.pm a:hover, .pm[onclick]:hover,
 .g2 a:hover, .g2[onclick]:hover {background: #7E7}
-.po a:hover, .po[onclick]:hover,
 .g3 a:hover, .g3[onclick]:hover {background: #CE6}
 .c-af:hover,
-.co a:hover, .co[onclick]:hover,
 .g4 a:hover, .g4[onclick]:hover {background: #EE4}
 .c-eu:hover,
-.cp a:hover, .cp[onclick]:hover,
 .g5 a:hover, .g5[onclick]:hover {background: #FA6}
-.mi a:hover, .mi[onclick]:hover,
 .g6 a:hover, .g6[onclick]:hover {background: #F97}
 .c-as:hover,
-.mo a:hover, .mo[onclick]:hover,
 .g7 a:hover, .g7[onclick]:hover {background: #F88}
 .c-an:hover,
-.mv a:hover, .mv[onclick]:hover,
 .g8 a:hover, .g8[onclick]:hover {background: #D9D}
 .c-oc:hover,
-.me a:hover, .me[onclick]:hover,
 .g9 a:hover, .g9[onclick]:hover {background: #99F}
 
 .no {