image stuffs
parent
faae4b5b24
commit
bb06568d57
@ -0,0 +1 @@
|
||||
images/
|
@ -0,0 +1,62 @@
|
||||
/* 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;
|
||||
}
|
Loading…
Reference in New Issue