Files
housesof/src/style/organisms/_locations.scss
Félix Péault 720ca69902
All checks were successful
continuous-integration/drone/push Build is passing
Add a newsletter subscription form below locations
- One component used below Locations list and in the Pagination when all photos has been loaded
- Keep the subscribe page with the column display
2020-05-06 23:06:26 +02:00

70 lines
1.5 KiB
SCSS

.browse {
width: 100%;
overflow: hidden;
margin-bottom: 56px;
@include breakpoint (sm) {
margin-top: 120px;
}
// Description
&__description {
margin-left: auto;
margin-right: auto;
margin-bottom: 32px;
@include breakpoint (sm) {
margin-bottom: 40px;
}
}
// Continents
&__continents {
display: flex;
flex-flow: row wrap;
justify-content: center;
margin-bottom: 8px;
li {
display: block;
margin: 0 4px;
@include breakpoint (sm) {
margin: 0 8px;
}
}
}
// Locations
&__locations {
min-height: 120px;
margin-top: 72px;
@include breakpoint (600px) {
display: grid;
grid-template-columns: repeat(2, 1fr);
}
@include breakpoint (sm) {
grid-template-columns: repeat(3, 1fr);
grid-column-gap: pxVW(96);
grid-row-gap: pxVW(96);
min-height: 200px;
margin-top: 112px;
margin-bottom: pxVW(72);
}
@include breakpoint (xl) {
grid-column-gap: 96px;
grid-row-gap: 96px;
max-width: 1024px;
margin-left: auto;
margin-right: auto;
margin-bottom: 72px;
// To apply when having 4 locations:
// grid-template-columns: repeat(4, 1fr);
// grid-column-gap: 120px;
// grid-row-gap: 120px;
}
}
}