1
0
mirror of https://github.com/kremalicious/blog.git synced 2024-12-23 01:30:01 +01:00

restrict height of photos in portrait orientation

This commit is contained in:
Matthias Kretschmann 2014-04-06 15:26:03 +02:00
parent 3f423c2fda
commit e8b9931263

View File

@ -128,6 +128,8 @@
figcaption {
margin-bottom: 0;
}
img { max-height: 540px }
figcaption {
position: absolute;
@ -167,6 +169,8 @@
padding-bottom: @line-height-computed*6;
}
figure img { max-height: none }
figcaption {
opacity: 1;
.translate(0,0);