common: sticky table header row
authorMischa POSLAWSKY <perl@shiar.org>
Tue, 1 Mar 2022 20:15:27 +0000 (21:15 +0100)
committerMischa POSLAWSKY <perl@shiar.org>
Tue, 1 Mar 2022 20:22:00 +0000 (21:22 +0100)
Keep column legends visible while scrolling through larger tables,
especially digraphs and font where cells are much alike.

base.css

index dab95d708c53d3ce7bf3e5eccd693ada49316764..cc3625f6efeeb34b071db322fc8d051c03df6582 100644 (file)
--- a/base.css
+++ b/base.css
@@ -254,6 +254,12 @@ td.joinl {
        border-left: none;
 }
 
+thead {
+       position: sticky;
+       top: 0;
+       background: #DDD8;
+}
+
 /* character table */
 
 .glyphs thead th, .glyphs td {