Update project cards style

This commit is contained in:
TheThomaas 2025-06-03 21:09:32 +02:00
parent 1a19666952
commit b0ed278a52

View file

@ -1,14 +1,14 @@
.project-grid {
grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
gap: 1rem;
display: grid;
}
.project-grid li {
.project-grid > li {
border-radius: var(--border-radius);
overflow: hidden;
}
.card {
--background: url(https://placehold.co/200x150);
--background: linear-gradient(45deg, var(--color-neutral-100) 30%, var(--color-neutral-300) 100%);
z-index: 1;
background: var(--background);
background-repeat: no-repeat;
@ -45,4 +45,7 @@
}
.card .content {
padding: 1rem 0.4rem 0;
}
.card .list-inline {
gap: 0.5ch;
}