34109-vm/assets/css/custom.css
2025-09-16 17:43:57 +00:00

220 lines
3.6 KiB
CSS

body {
font-family: 'Roboto', sans-serif;
background: #FFFFFF;
color: #1A1E38;
min-height: 100vh;
}
.leaderboard-header {
color: #361C7A;
text-transform: uppercase;
letter-spacing: 2px;
}
.podium-card {
background: #F8F9FA;
border: 1px solid #E9ECEF;
border-radius: 0.75rem;
transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.podium-card:hover {
transform: translateY(-10px);
box-shadow: 0 0 20px rgba(54, 28, 122, 0.2);
}
.podium-rank {
font-size: 3rem;
font-weight: bold;
}
.podium-card.rank-1 .podium-rank {
color: #FFD700; /* Gold */
}
.podium-card.rank-2 .podium-rank {
color: #C0C0C0; /* Silver */
}
.podium-card.rank-3 .podium-rank {
color: #CD7F32; /* Bronze */
}
.podium-img {
width: 100px;
height: 100px;
border-radius: 50%;
border: 3px solid #361C7A;
object-fit: cover;
}
.podium-name {
font-size: 1.5rem;
font-weight: bold;
color: #1A1E38;
}
.podium-points {
font-size: 1.2rem;
color: #361C7A;
font-weight: bold;
}
.leaderboard-table-section {
border: 1px solid #E9ECEF;
border-radius: 0.75rem;
overflow: hidden;
}
.leaderboard-table {
background: #FFFFFF;
}
.leaderboard-table thead {
color: #361C7A;
text-transform: uppercase;
font-size: 0.8rem;
letter-spacing: 1px;
background-color: #F8F9FA;
}
.leaderboard-table tbody tr {
transition: background-color 0.2s ease;
}
.leaderboard-table tbody tr:hover {
background-color: #F1EEF6;
}
.leaderboard-table .player-name {
font-weight: bold;
}
.table > :not(caption) > * > * {
padding: 1rem 1rem;
vertical-align: middle;
}
.table thead th {
border-bottom-width: 1px;
}
.text-success {
color: #198754 !important;
}
.text-danger {
color: #DC3545 !important;
}
.text-warning {
color: #6E7191 !important;
}
/*
* Profile Card Styles
*/
.profile-card {
background: #FFFFFF;
border-radius: 0.75rem;
border: 1px solid #E9ECEF;
overflow: hidden;
max-width: 700px;
margin: auto;
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}
.profile-header {
background: #F8F9FA;
padding: 2rem;
text-align: center;
position: relative;
}
.back-link {
position: absolute;
top: 1rem;
left: 1rem;
color: #6E7191;
text-decoration: none;
font-size: 0.9rem;
}
.back-link:hover {
color: #361C7A;
}
.profile-avatar {
width: 120px;
height: 120px;
border-radius: 50%;
border: 4px solid #FFFFFF;
box-shadow: 0 0 10px rgba(54, 28, 122, 0.2);
margin-bottom: 1rem;
object-fit: cover;
}
.profile-name {
color: #1A1E38;
font-weight: 700;
font-size: 2rem;
margin: 0;
}
.profile-position {
color: #6E7191;
font-size: 1.1rem;
}
.profile-joined {
color: #6E7191;
font-size: 0.9rem;
margin-top: 0.5rem;
}
.profile-body {
padding: 2rem;
}
.stats-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
gap: 1.5rem;
text-align: center;
}
.stat-item {
background: #F8F9FA;
padding: 1rem;
border-radius: 0.5rem;
}
.stat-value {
font-size: 2rem;
font-weight: 700;
color: #361C7A;
}
.stat-label {
font-size: 0.8rem;
color: #6E7191;
text-transform: uppercase;
}
.profile-footer {
padding: 1.5rem 2rem;
background: #F8F9FA;
border-top: 1px solid #E9ECEF;
}
.btn-highlight {
background-color: #FFCB05;
color: #1A1E38;
font-weight: bold;
border: none;
transition: background-color 0.3s ease;
}
.btn-highlight:hover {
background-color: #e6b804;
color: #1A1E38;
}