finish twiddling with figures
This commit is contained in:
parent
a4cb82791d
commit
4d0cb1ffbc
1 changed files with 4 additions and 2 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue