Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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