website/assets/scss/markup/render-image.scss

16 lines
344 B
SCSS
Raw Normal View History

2023-01-15 01:59:37 +01:00
.md-img {
2023-01-16 15:28:03 +01:00
display: flex;
flex-direction: column;
margin: 3rem auto;
img {
border-radius: 1rem;
margin: 0 auto;
box-shadow: rgba(0, 0, 0, .25) 0 0 .5rem;
}
&.with-text img { margin-bottom: .5rem; }
2023-01-15 01:59:37 +01:00
&-text {
font-size: .8em;
font-weight: 300;
text-align: center;
}
}