personal-website/_sass/_gallery.scss

42 lines
593 B
SCSS

figure > img {
display: block;
}
figcaption {
font-size: $small-font-size;
}
.blankbox {
background: $theme-color;
}
.img_row {
/*height: $img-height;*/
width: 100%;
overflow: hidden;
box-sizing:border-box;
}
.col {
width: 100%;
height: 100%;
object-fit: cover;
box-sizing:border-box;
/*padding: $img-spacing;*/
}
.one {
width:33.33%;
}
.two {
width: 66.66%;
}
.three {
width: 100%;
}
.caption {
height: 100%;
color: $caption-color;
text-align: center;
vertical-align: middle;
font-size: $caption-font-size;
}