Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update styles.css #176

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
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
38 changes: 26 additions & 12 deletions styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -118,20 +118,34 @@ body {

}

.badge {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
.badge-card {
background-color: white;
border: 1px solid #ddd;
border-radius: 10px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
height: calc(100vh - 60px);
width: 90%; /* Reduced width */
display: grid;
place-items: center;
max-width: 220px; /* Reduced max-width */
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
text-align: center;
padding: 15px; /* Adjusted padding for smaller size */
transition: transform 0.3s ease;
}

.badge img {
width: 250px;
height: 210px; /* reduce the height of badge image for better user experience */
transition: transform 0.3s ease; /* Smooth transition */
.badge-card img {
max-width: 80px; /* Reduced image size */
margin-bottom: 10px; /* Adjusted spacing */
}

.badge-card h3 {
font-size: 1.1em; /* Reduced heading size */
color: #3a3a3a;
margin-bottom: 8px; /* Adjusted spacing */
}

.badge-card p {
font-size: 0.85em; /* Reduced paragraph size */
color: #2b2b2b;
}


Expand Down Expand Up @@ -584,4 +598,4 @@ footer a {
}


}
}