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

17 lines
372 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 {
2023-03-15 14:21:14 +01:00
border-radius: 0.5rem;
2023-01-16 15:28:03 +01:00
margin: 0 auto;
box-shadow: rgba(0, 0, 0, .25) 0 0 .5rem;
2023-03-15 14:21:14 +01:00
max-width: 100%;
2023-01-16 15:28:03 +01:00
}
2023-03-15 14:21:14 +01:00
&.with-text img { margin-bottom: .75rem; }
2023-01-15 01:59:37 +01:00
&-text {
font-size: .8em;
font-weight: 300;
text-align: center;
}
}