some more info and some difficulty added!

This commit is contained in:
2025-08-12 18:56:52 +02:00
parent 0bffdf612c
commit c7c1b8ecd6
8 changed files with 116 additions and 43 deletions

View File

@@ -73,6 +73,9 @@ header p {
.problems-list .problem-item {
padding: 8px;
border-bottom: 1px solid #e5e7eb;
display: flex;
justify-content: space-between;
align-items: center;
}
.problem-item:last-child {
border-bottom: none;
@@ -82,6 +85,28 @@ header p {
color: #0077ff;
font-weight: 600;
}
/* Difficulty badge */
.difficulty {
display: inline-flex;
align-items: center;
padding: 0.25em 0.6em;
border-radius: 10px;
font-size: 0.85em;
font-weight: bold;
text-transform: uppercase;
color: white;
white-space: nowrap;
}
.difficulty[data-difficulty="easy"] {
background-color: #4CAF50; /* Green */
}
.difficulty[data-difficulty="medium"] {
background-color: #FFC107; /* Amber */
color: #333;
}
.difficulty[data-difficulty="hard"] {
background-color: #F44336; /* Red */
}
/* Leaderboard */
.leaderboard-head {
display: flex;
@@ -155,6 +180,6 @@ header p {
@media (max-width: 800px) {
.content { grid-template-columns: 1fr; }
.leaderboard-controls {
flex-direction: column;
flex-direction: column;
}
}
}