Added padding to placegrid.
This commit is contained in:
parent
5844871862
commit
178394ed10
@ -1,93 +1,95 @@
|
|||||||
.LP-PlaceTeaser{
|
.LP-PlaceTeaser{
|
||||||
width: 280px;
|
width: 280px;
|
||||||
|
|
||||||
.LP-PlaceTeaser__Image{
|
.LP-PlaceTeaser__Image{
|
||||||
height: 165px;
|
height: 165px;
|
||||||
width: 280px;
|
width: 280px;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
|
||||||
.LP-Image{
|
.LP-Image{
|
||||||
max-width:unset;
|
max-width:unset;
|
||||||
max-height:unset;
|
max-height:unset;
|
||||||
object-fit: cover;
|
object-fit: cover;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.LP-PlaceTeaser__Meta{
|
.LP-PlaceTeaser__Meta{
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
padding-bottom: 10px;
|
padding: 5px;
|
||||||
|
padding-bottom: 10px;
|
||||||
|
padding-top: 10px;
|
||||||
|
|
||||||
.LP-Paragraph{
|
.LP-Paragraph{
|
||||||
font-family: $-primary-sans-serif-font;
|
font-family: $-primary-sans-serif-font;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
margin-top: 5px;
|
margin-top: 5px;
|
||||||
font-size: 0.9rem;
|
font-size: 0.9rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.LP-Headline{
|
.LP-Headline{
|
||||||
font-family: $-primary-sans-serif-font;
|
font-family: $-primary-sans-serif-font;
|
||||||
color: $-grey;
|
color: $-grey;
|
||||||
font-size: 1rem;
|
font-size: 1rem;
|
||||||
padding: 0px;
|
padding: 0px;
|
||||||
margin: 0px;
|
margin: 0px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.LP-PlaceTeaser__Description{
|
.LP-PlaceTeaser__Description{
|
||||||
font-family: $-primary-sans-serif-accent-font;
|
font-family: $-primary-sans-serif-accent-font;
|
||||||
color: $-grey;
|
color: $-grey;
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@media(min-width: $-viewport-small){
|
@media(min-width: $-viewport-small){
|
||||||
.LP-PlaceTeaser--extended{
|
.LP-PlaceTeaser--extended{
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
width: auto;
|
width: auto;
|
||||||
padding-right: 25px;
|
padding-right: 25px;
|
||||||
height: 165px;
|
height: 165px;
|
||||||
|
|
||||||
.LP-PlaceTeaser__Meta{
|
.LP-PlaceTeaser__Meta{
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 5px;
|
padding: 5px;
|
||||||
padding-left: 25px;
|
padding-left: 25px;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
align-items: flex-start;
|
align-items: flex-start;
|
||||||
|
|
||||||
.LP-PlaceTeaser__Info{
|
.LP-PlaceTeaser__Info{
|
||||||
.LP-Headline{
|
.LP-Headline{
|
||||||
font-size: 28px;
|
font-size: 28px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.LP-PlaceTeaser__Icons{
|
.LP-PlaceTeaser__Icons{
|
||||||
margin-top: auto;
|
margin-top: auto;
|
||||||
|
|
||||||
ul{
|
ul{
|
||||||
padding: 0;
|
padding: 0;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.LP-PlaceTeaser__Description{
|
.LP-PlaceTeaser__Description{
|
||||||
display: block;
|
display: block;
|
||||||
max-height: 55px;
|
max-height: 55px;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
.LP-PlaceTeaser__Image{
|
.LP-PlaceTeaser__Image{
|
||||||
height:165px;
|
height:165px;
|
||||||
width: 280px;
|
width: 280px;
|
||||||
flex-shrink: 0;
|
flex-shrink: 0;
|
||||||
flex-grow: 0;
|
flex-grow: 0;
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -179,7 +179,9 @@ body {
|
|||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
padding-bottom: 10px; }
|
padding: 5px;
|
||||||
|
padding-bottom: 10px;
|
||||||
|
padding-top: 10px; }
|
||||||
.LP-PlaceTeaser .LP-PlaceTeaser__Meta .LP-Paragraph {
|
.LP-PlaceTeaser .LP-PlaceTeaser__Meta .LP-Paragraph {
|
||||||
font-family: Montserrat, Helvetica, sans-serif;
|
font-family: Montserrat, Helvetica, sans-serif;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user