dieren: image figures captioned by names
[sheet.git] / base.css
index 3dc2fac4254818448c17d84582eb19f1d6146e77..3c00aa43f290c3f9f83e59f00ea0d716ee609cd2 100644 (file)
--- a/base.css
+++ b/base.css
@@ -662,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 {