☠️ RESET for v2
This commit is contained in:
@@ -1,73 +0,0 @@
|
||||
.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);
|
||||
max-width: 1200px;
|
||||
// grid-column-gap: 120px;
|
||||
// grid-row-gap: 120px;
|
||||
// Works well but fucks with the FLIP animations
|
||||
// grid-auto-flow: column;
|
||||
// grid-template-columns: repeat(auto-fit, minmax(min-content, 1fr));
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user