diff options
| author | LalleSX | 2026-10-24 14:58:21 +0200 |
|---|---|---|
| committer | LalleSX | 2026-10-24 14:58:21 +0200 |
| commit | 73b09270c54acab810c10a80bed1d77c1a7bb2ab (patch) | |
| tree | e5bae1180c9a76345cc7779a24988875542d2dd9 /src/style.css | |
| parent | Add tests for math rendering and interactive scenes; update navigation and viewport handling (diff) | |
| download | 3D-Electrophysics-main.tar.gz 3D-Electrophysics-main.zip | |
Diffstat (limited to 'src/style.css')
| -rw-r--r-- | src/style.css | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/style.css b/src/style.css index 1e8542b..f494d8e 100644 --- a/src/style.css +++ b/src/style.css @@ -79,8 +79,10 @@ button:hover { border-color: var(--mint); } .challenge > p:not(.eyebrow) { color: #cad8e4; } details { margin-top: 20px; } summary { color: var(--muted); font-size: 11px; cursor: pointer; } -.collections { display: flex; gap: 5px; margin-left: auto; padding: 4px; background: #0c151f; border: 1px solid var(--border); border-radius: 8px; flex-shrink: 0; } +.collections { display: flex; align-items: center; gap: 5px; margin-left: auto; padding: 4px; background: #0c151f; border: 1px solid var(--border); border-radius: 8px; flex-shrink: 0; } .collections a { color: var(--muted); text-decoration: none; font-size: 12px; padding: 10px 13px; border-radius: 5px; } +.language-picker { display: flex; align-items: center; gap: 8px; margin-left: 6px; padding: 0 8px 0 10px; border-left: 1px solid var(--border); color: var(--muted); font-size: 12px; } +.language-picker select { width: auto; margin: 0; padding: 8px 8px; } .collections a[aria-current] { background: #234139; color: #b0f3dc; } .test-overview { display: flex; justify-content: space-between; align-items: center; gap: 32px; padding: 30px 34px; background: radial-gradient(ellipse at 80% 0%, #20413988, transparent 65%), #121d29; border-bottom: 1px solid var(--border); } .test-overview .eyebrow { font-size: 9px; margin-bottom: 10px; } @@ -134,8 +136,9 @@ summary { color: var(--muted); font-size: 11px; cursor: pointer; } } @media (max-width: 600px) { .app-header { padding: 16px 20px; } - .collections { width: 100%; margin: 0; } + .collections { width: 100%; margin: 0; flex-wrap: wrap; } .collections a { flex: 1; text-align: center; } + .language-picker { flex: 1 0 100%; margin: 4px 0 0; padding: 8px 4px 4px; border-left: 0; border-top: 1px solid var(--border); } .test-overview { align-items: flex-start; flex-direction: column; gap: 18px; padding: 24px 20px; } .test-score { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; } .test-score > span { font-size: 9px; } |