feat: tweaked the css of the buttons section

This commit is contained in:
sel 2026-08-09 13:21:01 +02:00
parent b37a64da1c
commit df32651d0d
Signed by: sel
SSH key fingerprint: SHA256:33R/4Rx5Lu4o81LyJyXdMrmP5CJ6j7j1Soo0Dn7mKc0

View file

@ -129,17 +129,18 @@ section > div.buttons {
.buttons > p { .buttons > p {
display: grid; display: grid;
grid-template-columns: repeat(auto-fit, minmax(88px, 20%)); justify-content: center;
justify-content: start; grid-template-columns: repeat(auto-fill, minmax(clamp(176px, 20vw, 440px), 1fr));
gap: 0; gap: 0.5rem;
} }
.buttons > p > img, .buttons img {
.buttons > p > a > img {
width: 100%; width: 100%;
height: auto; height: clamp(88px, auto, 440px);
image-rendering: pixelated; image-rendering: pixelated;
object-fit: cover;
display: block; display: block;
border-radius: 0.25rem;
} }
main { main {