add: updated some stuff

This commit is contained in:
webfussel 2024-09-12 10:42:59 +02:00
parent 8ed351a419
commit f106c8c0f4
2 changed files with 31 additions and 25 deletions

View file

@ -4,14 +4,14 @@
background-repeat: no-repeat;
.service-list {
display: flex;
flex-wrap: wrap;
align-items: stretch;
display: grid;
grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
grid-template-rows: repeat(4, auto);
& article {
flex-grow: 1;
flex-shrink: 0;
flex-basis: clamp(350px, calc(33% - 3rem), 500px);
grid-row: span 4;
display: grid;
grid-template-rows: subgrid;
position: relative;
& .chip {
@ -52,20 +52,20 @@
}
}
@media (width < 1640px) {
.Services {
& .service-list article:last-child {
grid-column: 1/-1;
}
}
}
@media (width < 600px) {
.Services {
& .service-list {
width: 80vw;
& article {
flex-basis: 100%;
}
}
& .network-list {
--height: 380px;
& article {
flex-basis: 80vw;
flex-basis: 70vw;
}
}
}