All checks were successful
continuous-integration/drone/push Build is passing
- One component used below Locations list and in the Pagination when all photos has been loaded - Keep the subscribe page with the column display
70 lines
1.5 KiB
SCSS
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;
|
|
}
|
|
}
|
|
}
|