diff --git a/assets/style/style.css b/assets/style/style.css index 1004763..8764680 100644 --- a/assets/style/style.css +++ b/assets/style/style.css @@ -338,14 +338,33 @@ height: auto; font-optical-sizing: auto; font-style: normal; } + +.competition-card .card-img-div { + position: relative; +} + +.competition-card .card-img-div .card-img{ + display: block; + width: 100%; +} + +.competition-card .card-img-div .image-overlay { + position: absolute; + top: 0; + right: 0; + bottom: 0; + left: 0; + background: linear-gradient(180deg, transparent -20%, #131B27 90%); + pointer-events: none; /* Ensure the overlay does not interfere with other elements */ +} .card-img{ width: 100%; height: 300px; object-fit: cover; margin-bottom: 20px; scale: 1.0; - } + #competitions .card:hover{ scale: 1.04; transition: 0.5s; diff --git a/competitions.html b/competitions.html index 72553db..898ebaf 100644 --- a/competitions.html +++ b/competitions.html @@ -28,6 +28,7 @@

+
@@ -54,6 +55,7 @@

Web Design

+
@@ -80,6 +82,7 @@

Photo Manipulation

+
@@ -106,6 +109,7 @@

Poster Design

+
@@ -132,6 +136,7 @@

Logo Design

+
@@ -158,6 +163,7 @@

Presentation

+
@@ -184,6 +190,7 @@

3D Design

+
@@ -210,6 +217,7 @@

Video Editing

+
@@ -236,6 +244,7 @@

Game Development

+
@@ -282,7 +291,6 @@
(INTER-SCHOOL ONLY)
AOS.init(); -