perl: resize date subtitles to normal
[sheet.git] / base.css
index dab95d708c53d3ce7bf3e5eccd693ada49316764..6f34ef15ef0fd9084760593d57d0672f7a1fca6e 100644 (file)
--- a/base.css
+++ b/base.css
@@ -123,8 +123,13 @@ h1 small,
 h2 small {
        position: absolute; /* side note; do not influence alignment */
        margin-left: 1em;
-       font-size: 80%;
-       line-height: 175%;
+       font-weight: normal;
+       font-size: 50%; /* 1rem */
+       padding-top: 1.75ex; /* align baseline with container */
+}
+h2 small {
+       font-size: 90.9%;
+       padding-top: .17ex;
 }
 
 dl > dt {
@@ -254,6 +259,12 @@ td.joinl {
        border-left: none;
 }
 
+thead {
+       position: sticky;
+       top: 0;
+       background: #DDD8;
+}
+
 /* character table */
 
 .glyphs thead th, .glyphs td {
@@ -671,7 +682,7 @@ figure {
        margin: 0;
        position: relative;
 }
-img {
+figure img {
        vertical-align: bottom;
        width: 100%;
 }