X-Git-Url: http://git.shiar.net/sheet.git/blobdiff_plain/a276fd5a3ff11c8f203b1c6bb5c663f11894e41d..87d94e5fa2a28dac9f26632cc25a29fe088cb1e2:/base.css diff --git a/base.css b/base.css index 6476c81..3c00aa4 100644 --- a/base.css +++ b/base.css @@ -116,9 +116,12 @@ body > pre { white-space: pre; } +h1 small, h2 small { position: absolute; /* side note; do not influence alignment */ margin-left: 1em; + font-size: 80%; + line-height: 175%; } dl > dt { @@ -659,6 +662,24 @@ ul.legend-set li { padding: 0 0.2em; } +/* images */ + +figure { + margin: 0; + position: relative; +} +figcaption { + position: absolute; + padding: 0 1em; + background: rgba(0, 0, 0, .5); + right: 0; + bottom: 0; +} +img { + vertical-align: bottom; + width: 100%; +} + /* page-specific */ #browser td > a {