Skip to content

Commit 5a33b9f

Browse files
committed
Fix project cards
1 parent 370d568 commit 5a33b9f

1 file changed

Lines changed: 17 additions & 3 deletions

File tree

‎index.html‎

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@
66
<meta name="description" content="Portfolio of Ronan Roberts - Software Engineer specializing in Mobile and Web Development">
77
<title>Ronan Roberts | Software Engineer</title>
88

9+
<!-- FAVICON (Browser Tab Icon) -->
10+
<link rel="icon" type="image/svg+xml" href="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232563EB' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='16 18 22 12 16 6'%3E%3C/polyline%3E%3Cpolyline points='8 6 2 12 8 18'%3E%3C/polyline%3E%3C/svg%3E">
11+
912
<!-- Google Fonts -->
1013
<link rel="preconnect" href="https://fonts.googleapis.com">
1114
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
@@ -352,7 +355,7 @@
352355
font-size: 0.95rem;
353356
}
354357

355-
/* --- PROJECTS --- */
358+
/* --- PROJECTS SECTION --- */
356359
.projects {
357360
padding: 100px 0;
358361
}
@@ -369,6 +372,10 @@
369372
overflow: hidden;
370373
border: 1px solid var(--border);
371374
transition: 0.3s;
375+
/* Flex properties for equal height */
376+
display: flex;
377+
flex-direction: column;
378+
height: 100%;
372379
}
373380

374381
.project-card:hover {
@@ -383,6 +390,7 @@
383390
align-items: center;
384391
justify-content: center;
385392
color: #333;
393+
flex-shrink: 0;
386394
}
387395

388396
.project-image i {
@@ -392,6 +400,9 @@
392400

393401
.project-info {
394402
padding: 30px;
403+
display: flex;
404+
flex-direction: column;
405+
flex-grow: 1;
395406
}
396407

397408
.project-info h3 {
@@ -407,8 +418,10 @@
407418

408419
.stack-list {
409420
display: flex;
421+
flex-wrap: wrap;
410422
gap: 10px;
411423
margin-bottom: 25px;
424+
margin-top: auto;
412425
}
413426

414427
.stack-item {
@@ -418,13 +431,15 @@
418431
color: var(--primary);
419432
border-radius: 4px;
420433
font-weight: 600;
434+
white-space: nowrap;
421435
}
422436

423437
.project-links {
424438
display: flex;
425439
gap: 20px;
426440
border-top: 1px solid var(--border);
427441
padding-top: 20px;
442+
margin-top: auto;
428443
}
429444

430445
.project-links a {
@@ -1001,5 +1016,4 @@ <h4>Location</h4>
10011016
});
10021017
</script>
10031018
</body>
1004-
1005-
</html>
1019+
</html>

0 commit comments

Comments
 (0)