lostplaces-frontend/components/04_Templates/placeDetail/_placeDetail.scss

38 lines
823 B
SCSS
Raw Normal View History

2020-08-09 23:44:23 +02:00
.LP-PlaceDetail{
.LP-PlaceDetail__Image{
2020-09-29 21:48:20 +02:00
max-width: 700px;
max-height: 500px;
width: 50%;
box-shadow: 0 0 10px $-grey;
object-fit: cover;
object-position: 0 0;
2020-08-09 23:44:23 +02:00
margin: 0;
padding: 0;
2020-08-09 23:44:23 +02:00
float: right;
2020-09-29 21:52:09 +02:00
margin-left: $-spacing-medium;
margin-bottom: $-spacing-medium;
margin-right: $-spacing-medium;
overflow: hidden;
}
2020-08-09 23:44:23 +02:00
}
@media (max-width: $-viewport-medium){
2020-08-09 23:44:23 +02:00
.LP-PlaceDetail{
.LP-PlaceDetail__Header{
.LP-PlaceDetail__Image{
float: none;
width: 100%;
2020-09-29 21:48:20 +02:00
max-width: unset;
2020-08-09 23:44:23 +02:00
height: auto;
margin: 0;
padding: 0;
margin-bottom: 25px;
2020-08-09 23:44:23 +02:00
}
}
}
2021-10-02 07:19:34 +02:00
}