2025 Design Refresh #5
2 changed files with 11 additions and 12 deletions
|
@ -7,25 +7,24 @@
|
|||
grid-gap: var(--spacing-2);
|
||||
|
||||
li {
|
||||
border: 1px solid var(--color-shadow);
|
||||
overflow: hidden;
|
||||
aspect-ratio: var(--aspect-ratio);
|
||||
display: grid;
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
|
||||
a {
|
||||
display: block;
|
||||
color: var(--color-white);
|
||||
|
||||
picture {
|
||||
border-radius: 0;
|
||||
height: 100%;
|
||||
border-radius: 0;
|
||||
}
|
||||
|
||||
img {
|
||||
aspect-ratio: var(--aspect-ratio);
|
||||
border-radius: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
transition: transform 0.3s ease;
|
||||
}
|
||||
img {
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
transition: transform 0.3s ease;
|
||||
}
|
||||
|
||||
.text-only {
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
.wrapper {
|
||||
container-type: inline-size;
|
||||
width: 90vw;
|
||||
width: clamp(16rem, 90vw, 80ch);
|
||||
width: clamp(16rem, 90vw, 72ch);
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
padding-left: 0.5rem;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue