Skip to content

Commit

Permalink
Changed the css for better look
Browse files Browse the repository at this point in the history
  • Loading branch information
Himanshu7980-code committed Oct 21, 2024
1 parent f731c64 commit 2b188e8
Showing 1 changed file with 11 additions and 9 deletions.
20 changes: 11 additions & 9 deletions styles.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
@import url('https://fonts.googleapis.com/css2?family=Playwrite+GB+S:ital,wght@0,100..400;1,100..400&family=Prociono&display=swap');


/* Reset styles */
* {
Expand Down Expand Up @@ -128,6 +130,8 @@ body {
height: calc(100vh - 60px);
}



.badge img {
width: 250px;
height: 210px; /* reduce the height of badge image for better user experience */
Expand Down Expand Up @@ -172,7 +176,6 @@ header {
}

nav {
font-size: 18px;
display: flex;
align-items: center;
}
Expand All @@ -186,7 +189,8 @@ nav {
}

.nav-links ul li {
margin-left: 20px;
margin-left: 25px;
font-family: "Prociono";
}

ul li a {
Expand All @@ -196,7 +200,7 @@ nav {
align-items: center;
text-decoration: none;
color: #dfe1e5;
font-size: 18px;
font-size: 22px;
transition: color 0.3s ease;
}

Expand Down Expand Up @@ -268,6 +272,7 @@ nav {
.badge-details {
text-align: center;
margin-top: 15px; /* Adjust spacing */
font-family: "Prociono";
}

.badge-details h2 {
Expand Down Expand Up @@ -523,12 +528,9 @@ footer a {
background: linear-gradient(135deg, #1c1f24, #2d3b45, #000000);
}

.badges-container {
display: grid;
grid-template-columns: repeat(3,1fr); /* Three equal-width columns */
gap: 30px; /* Space between cards */
justify-items: center;
align-items: center;
.badge-container:hover {
box-shadow: 0px 0px 30px beige;
transition: all 0.2s;
}

.badge-card {
Expand Down

0 comments on commit 2b188e8

Please sign in to comment.