diff --git a/index.html b/index.html index e70eacb5..adf65010 100644 --- a/index.html +++ b/index.html @@ -117,12 +117,13 @@

Code Run
Contribute

-
+
-
-
-
+
+
+
+
Frontend Challenges
@@ -145,9 +146,10 @@
Frontend Challenges
-
-
-
+
+
+
+
JavaScript Logics
@@ -169,9 +171,9 @@
JavaScript Logics
-
-
-
+
+
+
Backend Basics
@@ -194,9 +196,9 @@
Backend Basics
-
-
-
+
+
+
UI Design Tasks
@@ -217,9 +219,9 @@
UI Design Tasks
-
-
-
+
+
+
Open Source Challenges
@@ -230,7 +232,7 @@
Open Source Challenges

Practice real world contribution workflows using Git and GitHub. You'll learn how to contribute to projects, manage pull requests.

-
+ diff --git a/styles.css b/styles.css index 3f821f22..c9a15bf2 100644 --- a/styles.css +++ b/styles.css @@ -417,7 +417,7 @@ body { } /* Card Styles */ -.card { +/* .card { width: 100%; max-width: 300px; min-width: 200px; @@ -435,6 +435,40 @@ body { align-items: center; flex-direction: column; cursor: pointer; +} */ +.card { + flex: 1; + /* width: 100%; */ + display: flex; + justify-content: space-between; + flex-direction: column; + max-width: 300px; + /* min-width: 200px; */ + height: 100%; + min-height: 350px; + background-color: var(--background-color, #292929); + margin: 10px; + border-radius: 10px; + box-shadow: 0 2px 10px rgba(0, 0, 0, 0.24); + border: 2px solid rgba(7, 7, 7, 0.12); + font-size: 16px; + transition: all 0.3s ease; + position: relative; + align-items: stretch; + cursor: pointer; +} +.card-body { + display: flex; + flex-direction: column; + flex: 1; /* Makes card-body take all available space */ + padding: 20px; +} + +.card-CTAButton { + margin-top: auto; /* Push the button to the bottom */ +} +.challengeContainer > .col-md-4 { + display: flex; } [data-theme="dark"] .card {