Merge branch 'master' of https://github.com/naturalcrit/homebrewery into refactor-navigation

This commit is contained in:
Víctor Losada Hernández
2026-10-13 18:59:18 +02:00
10 changed files with 414 additions and 188 deletions
@@ -335,7 +335,7 @@
}
//these media queries are just for the list layout and could be moved inside it, not sure it is a good idea
@media screen and (max-width : 1400px) {
@container (max-width : 1400px) {
.brewCollection .brewGroup.list {
.brewItem:not(.detailsOpen) {
.info {
@@ -361,7 +361,7 @@
}
}
}
@media screen and (max-width : 1200px) {
@container (max-width : 1200px) {
.brewCollection .brewGroup.list {
.brewItem:not(.detailsOpen) {
grid-template-columns : 35% 3fr 150px;
@@ -388,7 +388,7 @@
}
}
}
@media screen and (max-width : 800px) {
@container (max-width : 800px) {
.brewCollection .brewGroup.list {
.brewItem:not(.detailsOpen) {
.info {
@@ -443,7 +443,7 @@
}
}
}
@media screen and (max-width : 650px) {
@container (max-width : 650px) {
.brewCollection .brewGroup.list {
.brewItem:not(.detailsOpen) {
grid-template-columns : 3fr 2fr;
@@ -21,15 +21,16 @@
.sitePage.listPage {
--bg-clr : white;
container-type: inline-size;
.content {
padding : clamp(20px, 5vh, 200px) clamp(20px, 20vw, 200px);
padding : clamp(20px, 5vh, 200px) clamp(20px, 20cqi, 200px);
overflow-y : scroll;
scrollbar-gutter : stable;
@media screen and (max-width : 1200px) {
padding : clamp(20px, 5vh, 200px) clamp(20px, 10vw, 200px);
@container (max-width : 1200px) {
padding : clamp(20px, 5vh, 200px) clamp(20px, 10cqi, 200px);
}
@media screen and (max-width : 800px) {
padding : clamp(20px, 5vh, 200px) clamp(20px, 5vw, 200px);
@container (max-width : 800px) {
padding : clamp(20px, 5vh, 200px) clamp(20px, 5cqi, 200px);
}
&::-webkit-scrollbar {
@@ -53,6 +54,7 @@
color : white;
}
.brewCollection {
h1 {
width : fit-content;
margin-bottom : 20px;
@@ -97,9 +99,9 @@
gap : 20px;
justify-items : center;
@media screen and (max-width : 1700px) {--columns : 3;}
@media screen and (max-width : 1400px) {--columns : 2;}
@media screen and (max-width : 900px) {--columns : 1;}
@container (max-width : 1700px) {--columns : 3;}
@container (max-width : 1400px) {--columns : 2;}
@container (max-width : 900px) {--columns : 1;}
h1 { position : absolute; }
&:not(:has(.brewItem:last-child:nth-child(3n))) {