center the figures
This commit is contained in:
parent
d41bea427b
commit
8e8e7ba42c
1 changed files with 6 additions and 0 deletions
|
@ -148,6 +148,12 @@ a:hover, .item a:hover, .medium a:hover, a:hover figcaption {
|
||||||
height: 230px;
|
height: 230px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
figure {
|
||||||
|
position: relative;
|
||||||
|
top: 50%;
|
||||||
|
transform: translateY(-50%);
|
||||||
|
}
|
||||||
|
|
||||||
figure img {
|
figure img {
|
||||||
display: block;
|
display: block;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
|
|
Loading…
Reference in a new issue