Skip to content

Commit 7c550ba

Browse files
Add styles for project cards in main.scss
1 parent 2d9ab0c commit 7c550ba

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

assets/css/main.scss

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,3 +33,19 @@ search: false
3333
padding: 1rem;
3434
border-radius: 5px;
3535
}
36+
37+
.project-cards .card {
38+
display: inline-block;
39+
margin: 10px;
40+
padding: 10px 20px;
41+
background: #111;
42+
color: #0ff;
43+
border: 1px solid #0ff;
44+
text-decoration: none;
45+
box-shadow: 0 0 10px #0ff;
46+
transition: transform 0.2s;
47+
}
48+
.project-cards .card:hover {
49+
transform: scale(1.05);
50+
box-shadow: 0 0 20px #0ff;
51+
}

0 commit comments

Comments
 (0)