lostplaces-frontend/components/02_Molecules/placeTeaser/_placeTeaser.scss

95 lines
2.1 KiB
SCSS
Raw Normal View History

2020-08-01 10:30:38 +02:00
.LP-PlaceTeaser{
2020-08-05 20:44:52 +02:00
width: 280px;
2020-08-01 00:27:38 +02:00
2020-08-01 10:30:38 +02:00
.LP-PlaceTeaser__Image{
2020-08-05 20:44:52 +02:00
height: 165px;
width: 280px;
overflow: hidden;
2020-08-01 10:27:50 +02:00
2020-08-05 20:44:52 +02:00
.LP-Image{
max-width:unset;
max-height:unset;
object-fit: cover;
}
2020-07-17 17:55:46 +02:00
}
2020-08-01 10:30:38 +02:00
.LP-PlaceTeaser__Meta{
2020-07-17 17:55:46 +02:00
display: flex;
align-items: center;
justify-content: space-between;
2020-08-05 20:44:52 +02:00
padding: 5px;
padding-bottom: 10px;
padding-top: 10px;
.LP-Paragraph{
font-family: $-primary-sans-serif-font;
padding: 0;
margin: 0;
margin-top: 5px;
font-size: 0.9rem;
}
2020-08-01 09:29:27 +02:00
2020-08-05 20:44:52 +02:00
.LP-Headline{
font-family: $-primary-sans-serif-font;
color: $-grey;
font-size: 1rem;
padding: 0px;
margin: 0px;
}
2020-07-17 17:55:46 +02:00
}
2020-08-05 20:44:52 +02:00
.LP-PlaceTeaser__Description{
font-family: $-primary-sans-serif-accent-font;
color: $-grey;
display: none;
}
2020-08-01 11:04:49 +02:00
}
2020-07-17 17:55:46 +02:00
2020-08-01 11:04:49 +02:00
@media(min-width: $-viewport-small){
2020-08-05 20:44:52 +02:00
.LP-PlaceTeaser--extended{
display: flex;
flex-direction: row;
width: auto;
padding-right: 25px;
height: 165px;
2020-08-01 10:57:00 +02:00
2020-08-05 20:44:52 +02:00
.LP-PlaceTeaser__Meta{
margin: 0;
padding: 5px;
padding-left: 25px;
display: flex;
flex-direction: column;
justify-content: space-between;
align-items: flex-start;
2020-08-01 10:57:00 +02:00
2020-08-05 20:44:52 +02:00
.LP-PlaceTeaser__Info{
.LP-Headline{
font-size: 28px;
}
}
2020-08-01 10:57:00 +02:00
2020-08-05 20:44:52 +02:00
.LP-PlaceTeaser__Icons{
margin-top: auto;
ul{
padding: 0;
margin: 0;
}
}
}
2020-08-01 10:57:00 +02:00
2020-08-05 20:44:52 +02:00
.LP-PlaceTeaser__Description{
display: block;
max-height: 55px;
overflow: hidden;
}
2020-08-01 10:57:00 +02:00
2020-08-05 20:44:52 +02:00
.LP-PlaceTeaser__Image{
height:165px;
width: 280px;
flex-shrink: 0;
flex-grow: 0;
}
}
2020-07-17 17:55:46 +02:00
}