1
0
mirror of https://github.com/kremalicious/portfolio.git synced 2024-06-13 07:53:23 +02:00
portfolio/src/components/atoms/ProjectImage.scss

23 lines
464 B
SCSS
Raw Normal View History

2018-04-20 19:59:27 +02:00
@import 'variables';
2018-05-04 01:58:43 +02:00
.project__image-wrap {
2018-04-20 19:59:27 +02:00
max-height: 100vh;
margin-left: auto;
margin-right: auto;
2018-05-04 01:58:43 +02:00
display: block;
2018-05-05 20:59:24 +02:00
box-shadow: 0 3px 5px rgba($brand-main, .15), 0 5px 16px rgba($brand-main, .15);
2018-04-20 19:59:27 +02:00
2018-05-04 14:00:21 +02:00
@media (min-width: $projectImageMaxWidth) {
max-width: $projectImageMaxWidth;
border-radius: .25rem;
overflow: hidden;
2018-04-20 19:59:27 +02:00
}
}
2018-05-04 01:58:43 +02:00
.project__image {
img {
max-height: 100vh;
display: block;
}
}