Update project cards style
This commit is contained in:
parent
1a19666952
commit
b0ed278a52
|
|
@ -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;
|
||||
}
|
||||
Loading…
Reference in a new issue