mirror of
https://gitlab.wasp.best/sel/web.git
synced 2026-09-13 08:40:16 +02:00
feat: tweaked the css of the buttons section
This commit is contained in:
parent
b37a64da1c
commit
df32651d0d
1 changed files with 7 additions and 6 deletions
|
|
@ -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 {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue