termcol: float text samples in cells
[sheet.git] / base.css
index 7b8586ec4d436b058e5e3eb1a2d384488434c3e8..fa7d04a7d40310bfe8ca9436c66f520c7486f52e 100644 (file)
--- a/base.css
+++ b/base.css
@@ -232,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 */
@@ -256,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 {