[wip] Rework Shop
- Change strategy for content fetching - Add a route per page instead of using __layout for all - Change the behaviors of the posters section (add a carousel on small screens) - Change Poster buttons styling and make interactions only for desktop
This commit is contained in:
@@ -142,7 +142,7 @@
|
||||
width: 100%;
|
||||
|
||||
.container {
|
||||
padding: 0 16px 24px;
|
||||
padding: 0 0 24px;
|
||||
|
||||
@include bp (md) {
|
||||
display: grid;
|
||||
@@ -166,10 +166,18 @@
|
||||
|
||||
// Navigation
|
||||
nav {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
|
||||
ul {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
overflow: auto;
|
||||
|
||||
@include bp (sm) {
|
||||
justify-content: center;
|
||||
overflow: hidden;
|
||||
}
|
||||
}
|
||||
li {
|
||||
display: block;
|
||||
@@ -199,4 +207,11 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Cart button
|
||||
.button-cart {
|
||||
@include bp (sm, max) {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user