refactor: add HTML/CSS prefixes to German module titles and improve UI

- Shorten German module titles with consistent HTML/CSS prefixes
- Add .completion-badge styling for the lesson title completion badge
- Make sidebar lessons section fill available height on desktop
- Improve flexbox lesson descriptions with more context
This commit is contained in:
2025-12-30 20:38:41 +01:00
parent 2cab401597
commit a359900d6e
15 changed files with 56 additions and 35 deletions

View File

@@ -259,6 +259,20 @@ code, kbd {
margin-bottom: var(--spacing-sm);
}
.completion-badge {
display: inline-block;
margin-left: 0.5rem;
padding: 0.15rem 0.5rem;
background: var(--success-color);
color: white;
font-size: 0.7rem;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.5px;
border-radius: var(--border-radius-sm);
vertical-align: middle;
}
.lesson-description {
font-size: 0.95rem;
line-height: 1.6;
@@ -645,6 +659,13 @@ code, kbd {
border-bottom: none;
}
/* Make the lessons nav section fill available space */
nav.sidebar-section {
flex: 1;
overflow-y: auto;
min-height: 0;
}
.sidebar-section h4 {
font-size: 0.75rem;
text-transform: uppercase;