finish twiddling with figures

This commit is contained in:
Lorin Werthen 2017-06-14 13:44:39 +02:00
parent a4cb82791d
commit 4d0cb1ffbc
No known key found for this signature in database
GPG key ID: F11FFC921E0E08E0

View file

@ -182,14 +182,16 @@ footer.footer {
figure { figure {
position: relative; position: relative;
display: inline-flex; img {
display: block;
}
figcaption { figcaption {
position: absolute; position: absolute;
background-color: rgba(0,0,0,.7); background-color: rgba(0,0,0,.7);
color: white; color: white;
bottom: 0; bottom: 0;
width: 100%; width: 100%;
padding: 10px; padding: 10px 20px;
transition: all .1s; transition: all .1s;
} }