trwnh.com/unified.test.hugo/assets/styles/layouts/_default/_markup/render-image.scss

17 lines
264 B
SCSS
Raw Normal View History

figure.image {
margin-block: 2em;
margin-inline: 0;
width: 100%;
img {
width: 100%;
margin-block-end: -0.125em;
}
img ~ figcaption {
background: #212121;
color: white;
font-style: italic;
padding: 1em;
font-size: 0.8em;
line-height: 1.2;
}
}