Skip to content

Commit 8d67a10

Browse files
committed
Add dividers and whitespace between projects
1 parent 204cbeb commit 8d67a10

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

src/components/projects/item-card.astro

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,16 @@ if ((image.width / image.height).toFixed(2) !== "1.78") {
3030
margin-bottom: v-size(10);
3131
text-align: center;
3232
}
33+
li:where(:last-child) {
34+
margin-bottom: v-size(16);
35+
}
36+
li:not(:last-child)::after {
37+
content: "";
38+
height: calc(v-size(1) / 3);
39+
width: 30vw;
40+
margin: v-size(6) auto auto;
41+
background-color: var(--c-accent);
42+
}
3343
h2 {
3444
margin-bottom: 0;
3545
font-weight: 500;
@@ -41,8 +51,12 @@ if ((image.width / image.height).toFixed(2) !== "1.78") {
4151
grid-template-columns: 1fr 1fr;
4252
grid-template-rows: auto auto 1fr;
4353
column-gap: v-size(5);
54+
margin-bottom: v-size(20);
4455
text-align: left;
4556
}
57+
li::after {
58+
display: none;
59+
}
4660
picture {
4761
grid-area: picture;
4862
}

0 commit comments

Comments
 (0)