Harveyntt's picture
Upload style.css
a5229df verified
.card-row {
display: flex;
gap: 1.5rem; /* This creates the space between cards */
margin-bottom: 1.5rem; /* This creates space between the rows */
}
.info-card {
background-color: #FFFFFF;
border: 1px solid #E0E0E0;
border-radius: 12px;
padding: 20px 25px 25px 25px;
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
height: 100%; /* This tells the card to fill the now equal-height column */
}
.card {
background-color: #ffffff;
padding: 20px;
border-radius: 10px;
box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
transition: 0.3s;
height: 100%; /* Ensures cards in the same row have equal height */
display: flex;
flex-direction: column;
justify-content: space-between;
min-height: 240px; /* Ensure both cards match the taller content */
}
.card:hover {
box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
}
/* Leaderboard table styles */
.leaderboard-card {
padding: 12px 18px;
}
.leaderboard-card table {
width: 100%;
border-collapse: collapse;
}
.leaderboard-card th, .leaderboard-card td {
border: 1px solid #e0e0e0;
padding: 8px 10px;
text-align: left;
}
.leaderboard-card th {
background-color: #f7f9fb;
color: #003a63;
}