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