X-Git-Url: http://git.shiar.net/sheet.git/blobdiff_plain/0abdb278ad76957a309e4fa9da436be73070c595..8ed7634d0fa3b7154275c14477b361b358ee783f:/base.css diff --git a/base.css b/base.css index cc3625f..31429aa 100644 --- 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 { @@ -677,7 +682,7 @@ figure { margin: 0; position: relative; } -img { +figure img { vertical-align: bottom; width: 100%; } @@ -731,7 +736,7 @@ img { } @media (min-width: 603px) and (min-height: 400px) { /* fit 3 cells of 200x133 */ - .gallery > ul > li:first-child > figure, + .gallery > li:first-child > figure, .gallery li.huge > figure { grid-row: span 3; grid-column: span 3;