You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
62 lines
970 B
CSS
62 lines
970 B
CSS
![]()
3 months ago
|
/* Image sizes */
|
||
|
|
||
|
figure{
|
||
|
margin: 5mm 0;
|
||
|
}
|
||
|
.full-image{
|
||
|
break-before: right;
|
||
|
height: 186mm;
|
||
|
width: 133mm;
|
||
|
margin: -13mm 0 0 -30mm;
|
||
|
position: relative;
|
||
|
object-fit: cover;
|
||
|
}
|
||
|
.full-image figure{
|
||
|
margin: 0;
|
||
|
}
|
||
|
.full-image figcaption{
|
||
|
position: absolute;
|
||
|
bottom: 15mm;
|
||
|
left: 30mm;
|
||
|
z-index: 10;
|
||
|
padding-right: 20mm;
|
||
|
}
|
||
|
.full-image img{
|
||
|
height: 186mm;
|
||
|
width: 133mm;
|
||
|
object-fit: cover;
|
||
|
}
|
||
|
|
||
|
.small-images figure{
|
||
|
margin: 1mm;
|
||
|
}
|
||
|
.small-images figcaption{
|
||
|
margin-top: -2mm;
|
||
|
}
|
||
|
.small-images img{
|
||
|
width: 70mm;
|
||
|
}
|
||
|
|
||
|
.white-caption + figcaption{
|
||
|
color: #fff;
|
||
|
}
|
||
|
|
||
|
|
||
|
.centered-image, .centered-text{
|
||
|
break-before: right;
|
||
|
height: 186mm;
|
||
|
width: 133mm;
|
||
|
margin: -13mm 0 0 -30mm;
|
||
|
position: relative;
|
||
|
object-fit: cover;
|
||
|
display: flex;
|
||
|
align-items: center;
|
||
|
}
|
||
|
.centered-image figure{
|
||
|
margin: 0 0 0 30mm;
|
||
|
width: 90mm;
|
||
|
}
|
||
|
.centered-text > *{
|
||
|
width: 100%;
|
||
|
text-align: center;
|
||
|
}
|