Spaces:
Running
Running
Download shared/lesson.css from iurbinah/teaching-materials: direct link, hf CLI and curl.
- Browser
- Download file 2.56 kB
-
https://huggingface.co/spaces/iurbinah/teaching-materials/resolve/main/shared/lesson.css
- Command line
-
hf download hf://spaces/iurbinah/teaching-materials/shared/lesson.css
-
curl -L -o lesson.css https://huggingface.co/spaces/iurbinah/teaching-materials/resolve/main/shared/lesson.css
2.56 kB
| /* Base page for lesson sections that were written as D2L page bodies, plus the shared self-check widget. */ | |
| *{box-sizing:border-box} | |
| body{margin:0;padding:8px 16px 32px;font-family:'Segoe UI',Roboto,system-ui,-apple-system,sans-serif;font-size:16px;line-height:1.6;color:#2d3748;background:#fff} | |
| img,iframe,video{max-width:100%} | |
| h1{font-size:1.75rem;font-weight:600;color:#1a202c;line-height:1.3} | |
| .lesson-card{background:#fff;border-radius:12px;box-shadow:0 2px 8px rgba(0,0,0,.08);padding:24px 28px;max-width:800px;margin:16px auto} | |
| .lesson-card blockquote{margin:16px 0;padding:14px 18px;background:#f7fafc;border-left:4px solid #4299e1;border-radius:0 8px 8px 0} | |
| .lesson-card blockquote p{margin:0} | |
| .lesson-callout{background:#f7fafc;border-left:4px solid #4299e1;padding:16px 20px;margin:0 0 4px;border-radius:0 8px 8px 0} | |
| .lesson-callout p{margin:0;color:#4a5568} | |
| .lesson-callout .lesson-kicker{font-size:1.1rem;font-weight:600;color:#2d3748;margin:0 0 8px} | |
| .lq{margin:16px 0 8px} | |
| .lq-hint{margin:0 0 8px;font-size:.9rem;color:#718096} | |
| .lq-options{list-style:none;margin:0;padding:0;display:grid;gap:10px} | |
| .lq-options li{margin:0} | |
| .lq-options label{display:flex;gap:12px;align-items:flex-start;padding:12px 16px;border:1px solid #e2e8f0;border-radius:8px;background:#f7fafc;cursor:pointer;color:#2d3748;transition:border-color .15s,background-color .15s} | |
| .lq-options label:hover{border-color:#90cdf4;background:#ebf8ff} | |
| .lq-options input{margin:5px 0 0;flex:none;width:16px;height:16px;accent-color:#3182ce} | |
| .lq-letter{flex:none;font-weight:700;color:#4a5568} | |
| .lq-text{flex:1;min-width:0;overflow-wrap:anywhere} | |
| .lq-options li.is-correct label{border-color:#38a169;background:#f0fff4} | |
| .lq-options li.is-wrong label{border-color:#e53e3e;background:#fff5f5} | |
| .lq-check{margin-top:14px;padding:9px 18px;border:0;border-radius:8px;background:#3182ce;color:#fff;font:inherit;font-weight:600;cursor:pointer} | |
| .lq-check:hover{background:#2b6cb0} | |
| .lq-check:disabled{background:#a0aec0;cursor:default} | |
| .lq-feedback{margin-top:12px;padding:12px 16px;border-radius:0 8px 8px 0;border-left:4px solid} | |
| .lq-feedback p{margin:8px 0 0} | |
| .lq-feedback.correct{background:#f0fff4;border-color:#38a169;color:#22543d} | |
| .lq-feedback.incorrect{background:#fff5f5;border-color:#e53e3e;color:#742a2a} | |
| .lq-solution{max-width:800px;margin:16px auto;padding:12px 16px;border:1px solid #e2e8f0;border-radius:8px;background:#f7fafc} | |
| .lq-solution summary{cursor:pointer;font-weight:600;color:#2b6cb0} | |
| @media(max-width:600px){body{padding:4px 8px 24px}.lesson-card{padding:18px 16px}} | |