feat: add module pill indicator and cross-module navigation
- Add module title pill above lesson title showing current category - Enable next/prev buttons to cross module boundaries - Automatically advance to next module when completing last lesson - Go to last lesson of previous module when navigating back
This commit is contained in:
13
src/main.css
13
src/main.css
@@ -208,6 +208,19 @@ code, kbd {
|
||||
border-bottom: 1px solid var(--border-color);
|
||||
}
|
||||
|
||||
.module-pill {
|
||||
display: inline-block;
|
||||
background: var(--primary-bg-medium);
|
||||
color: var(--primary-color);
|
||||
padding: 2px 10px;
|
||||
border-radius: 12px;
|
||||
font-size: 0.75rem;
|
||||
font-weight: 600;
|
||||
margin-bottom: var(--spacing-xs);
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.5px;
|
||||
}
|
||||
|
||||
#lesson-title {
|
||||
font-size: 1.25rem;
|
||||
color: var(--primary-dark);
|
||||
|
||||
Reference in New Issue
Block a user