451 lines
20 KiB
CSS
451 lines
20 KiB
CSS
:root {
|
|
color-scheme: light;
|
|
--ink: #172126;
|
|
--muted: #617077;
|
|
--paper: #f5f3ec;
|
|
--surface: #fffdf8;
|
|
--surface-strong: #ffffff;
|
|
--line: #dcded8;
|
|
--accent: #d8f26a;
|
|
--accent-strong: #93ad20;
|
|
--blue: #1c5166;
|
|
--blue-soft: #dbeaf0;
|
|
--danger: #b64d3c;
|
|
--shadow: 0 18px 55px rgba(37, 48, 52, .09);
|
|
--radius: 22px;
|
|
}
|
|
|
|
:root[data-theme="dark"] {
|
|
color-scheme: dark;
|
|
--ink: #f2f4ec;
|
|
--muted: #aab6b8;
|
|
--paper: #101719;
|
|
--surface: #172124;
|
|
--surface-strong: #1d292d;
|
|
--line: #304044;
|
|
--accent: #d8f26a;
|
|
--accent-strong: #bfd94f;
|
|
--blue: #8fc5d6;
|
|
--blue-soft: #223a42;
|
|
--danger: #f28f7d;
|
|
--shadow: 0 18px 55px rgba(0, 0, 0, .24);
|
|
}
|
|
|
|
* { box-sizing: border-box; }
|
|
|
|
html { scroll-behavior: smooth; }
|
|
|
|
body {
|
|
margin: 0;
|
|
min-height: 100vh;
|
|
color: var(--ink);
|
|
background:
|
|
radial-gradient(circle at 87% 7%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 26rem),
|
|
var(--paper);
|
|
font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Tahoma, Arial, sans-serif;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
button, input { font: inherit; }
|
|
|
|
button, a { -webkit-tap-highlight-color: transparent; }
|
|
|
|
a { color: inherit; }
|
|
|
|
.sr-only {
|
|
position: absolute;
|
|
width: 1px;
|
|
height: 1px;
|
|
padding: 0;
|
|
margin: -1px;
|
|
overflow: hidden;
|
|
clip: rect(0, 0, 0, 0);
|
|
white-space: nowrap;
|
|
border: 0;
|
|
}
|
|
|
|
.topbar {
|
|
max-width: 1240px;
|
|
margin: 0 auto;
|
|
padding: 24px 28px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.brand {
|
|
display: inline-flex;
|
|
gap: 12px;
|
|
align-items: center;
|
|
color: var(--ink);
|
|
font-weight: 750;
|
|
text-decoration: none;
|
|
letter-spacing: -.02em;
|
|
}
|
|
|
|
.brand-mark {
|
|
display: grid;
|
|
place-items: center;
|
|
width: 36px;
|
|
height: 36px;
|
|
border-radius: 12px;
|
|
color: #142024;
|
|
background: var(--accent);
|
|
box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08);
|
|
}
|
|
|
|
.icon-button {
|
|
width: 42px;
|
|
height: 42px;
|
|
border: 1px solid var(--line);
|
|
border-radius: 14px;
|
|
color: var(--ink);
|
|
background: var(--surface);
|
|
cursor: pointer;
|
|
transition: transform .18s ease, border-color .18s ease;
|
|
}
|
|
|
|
.icon-button:hover { transform: translateY(-2px); border-color: var(--accent-strong); }
|
|
.icon-button:focus-visible, .filter-chip:focus-visible, .action-button:focus-visible, input:focus-visible, .complete-check:focus-visible { outline: 3px solid color-mix(in srgb, var(--blue) 35%, transparent); outline-offset: 2px; }
|
|
|
|
main {
|
|
width: min(1184px, calc(100% - 40px));
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.hero, .course-hero {
|
|
position: relative;
|
|
overflow: hidden;
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 1fr) auto;
|
|
gap: 48px;
|
|
align-items: center;
|
|
min-height: 330px;
|
|
margin-top: 24px;
|
|
padding: clamp(34px, 6vw, 72px);
|
|
border-radius: 34px;
|
|
color: #f7fbf8;
|
|
background: #163b49;
|
|
box-shadow: var(--shadow);
|
|
}
|
|
|
|
.hero::after, .course-hero::after {
|
|
content: "";
|
|
position: absolute;
|
|
width: 260px;
|
|
height: 260px;
|
|
right: -65px;
|
|
bottom: -120px;
|
|
border: 42px solid rgba(216, 242, 106, .16);
|
|
border-radius: 50%;
|
|
}
|
|
|
|
.hero h1, .course-hero h1 {
|
|
max-width: 760px;
|
|
margin: 7px 0 16px;
|
|
font-size: clamp(2.5rem, 6vw, 5.2rem);
|
|
line-height: .98;
|
|
letter-spacing: -.065em;
|
|
}
|
|
|
|
.course-hero h1 { font-size: clamp(2.15rem, 5vw, 4.2rem); }
|
|
|
|
.eyebrow {
|
|
margin: 0;
|
|
color: var(--accent-strong);
|
|
font-size: .75rem;
|
|
font-weight: 850;
|
|
letter-spacing: .16em;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.hero .eyebrow, .course-hero .eyebrow { color: var(--accent); }
|
|
|
|
.hero-copy {
|
|
max-width: 650px;
|
|
margin: 0;
|
|
color: rgba(247, 251, 248, .72);
|
|
font-size: clamp(1rem, 2vw, 1.18rem);
|
|
}
|
|
|
|
#coursePdf[hidden] { display: none; }
|
|
|
|
.study-guide { display:flex; align-items:center; gap:28px; position:relative; overflow:hidden; margin-top:24px; padding:26px 32px; border:1px solid var(--line); border-radius:24px; background:linear-gradient(115deg, var(--surface), color-mix(in srgb, var(--accent) 13%, var(--surface))); text-decoration:none; transition:box-shadow .2s, border-color .2s; }
|
|
.study-guide:hover { border-color:var(--accent-strong); box-shadow:var(--shadow); }
|
|
.study-guide:focus-visible, .guide-card-link:focus-visible { outline:3px solid var(--blue); outline-offset:4px; }
|
|
.guide-cover { flex-shrink:0; display:flex; flex-direction:column; justify-content:space-between; width:88px; height:116px; padding:14px 12px 10px 17px; border-radius:3px 9px 9px 3px; background:#1c5166; color:#f5f3ec; box-shadow:-4px 0 0 #123a4b, 3px 3px 0 #dedfd4, 7px 10px 18px #17212620; transform:rotate(-6deg); transition:transform .2s; border-left:2px solid #ffffff25; }
|
|
.study-guide:hover .guide-cover { transform:rotate(-2deg) translateY(-2px); }
|
|
.guide-cover-label { font-size:11px; line-height:1.3; font-weight:850; letter-spacing:.08em; }
|
|
.guide-cover-lines { width:42px; height:16px; background:repeating-linear-gradient(to bottom, #d8f26a 0 2px, transparent 2px 7px); }
|
|
.guide-cover-format { align-self:flex-end; font-size:9px; font-weight:800; letter-spacing:.12em; color:#d8f26a; }
|
|
.guide-copy { display:grid; gap:6px; flex:1; min-width:0; }
|
|
.guide-eyebrow { color:var(--blue); font-size:.65rem; font-weight:850; letter-spacing:.14em; }
|
|
.guide-copy strong { font-size:clamp(1.3rem, 3vw, 1.8rem); line-height:1.25; letter-spacing:-.04em; }
|
|
.guide-description { color:var(--muted); font-size:.88rem; }
|
|
.guide-meta { color:var(--muted); font-size:.73rem; margin-top:5px; }
|
|
.guide-action { display:flex; gap:20px; align-items:center; padding:12px 18px; border-radius:12px; background:var(--ink); color:var(--paper); font-size:.8rem; font-weight:750; white-space:nowrap; }
|
|
.guide-card-link { display:flex; align-items:center; gap:12px; margin-top:18px; padding:12px; border:1px solid var(--line); border-radius:12px; text-decoration:none; background:color-mix(in srgb, var(--accent) 10%, var(--surface)); }
|
|
.guide-card-link > span:nth-child(2) { flex:1; display:grid; gap:2px; }
|
|
.guide-card-link strong { font-size:.8rem; }
|
|
.guide-card-link small { font-size:.68rem; color:var(--muted); }
|
|
.guide-mini-icon { display:grid; place-items:center; width:32px; height:38px; border-radius:5px; background:var(--blue-soft); color:var(--blue); font-size:22px; }
|
|
@media(max-width:700px) { .study-guide { gap:20px; padding:22px; flex-wrap:wrap; } .guide-action { margin-left:108px; } }
|
|
@media(max-width:420px) { .guide-cover { width:64px; height:94px; padding:10px; } .guide-cover-label { font-size:9px; } .guide-description { font-size:.78rem; } .guide-action { margin-left:84px; padding:10px 12px; } }
|
|
@media(prefers-reduced-motion:reduce) { .guide-cover, .study-guide { transition:none; } }
|
|
|
|
.hero-source {
|
|
display: inline-flex;
|
|
margin-top: 22px;
|
|
color: var(--accent);
|
|
font-size: .86rem;
|
|
font-weight: 800;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.hero-orbit {
|
|
position: relative;
|
|
z-index: 1;
|
|
display: grid;
|
|
place-items: center;
|
|
align-content: center;
|
|
width: 190px;
|
|
aspect-ratio: 1;
|
|
border: 1px solid rgba(255, 255, 255, .2);
|
|
border-radius: 50%;
|
|
background: rgba(255, 255, 255, .06);
|
|
backdrop-filter: blur(12px);
|
|
}
|
|
|
|
.orbit-number { font-size: 3.2rem; font-weight: 800; letter-spacing: -.06em; }
|
|
.orbit-label { max-width: 100px; color: rgba(255,255,255,.65); font-size: .75rem; text-align: center; }
|
|
|
|
.stat-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(4, 1fr);
|
|
gap: 14px;
|
|
margin: 16px 0 76px;
|
|
}
|
|
|
|
.stat-card {
|
|
min-height: 118px;
|
|
padding: 24px;
|
|
border: 1px solid var(--line);
|
|
border-radius: var(--radius);
|
|
background: var(--surface);
|
|
}
|
|
|
|
.stat-label { display: block; color: var(--muted); font-size: .82rem; }
|
|
.stat-card strong { display: block; margin-top: 8px; font-size: 1.8rem; letter-spacing: -.04em; }
|
|
|
|
.library-section { margin-bottom: 70px; }
|
|
|
|
.section-heading {
|
|
display: flex;
|
|
align-items: end;
|
|
justify-content: space-between;
|
|
gap: 24px;
|
|
margin-bottom: 26px;
|
|
}
|
|
|
|
.section-heading h2 { margin: 5px 0 0; font-size: clamp(1.8rem, 4vw, 3rem); letter-spacing: -.045em; }
|
|
|
|
.search-box {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
min-width: min(330px, 100%);
|
|
padding: 0 15px;
|
|
border: 1px solid var(--line);
|
|
border-radius: 15px;
|
|
color: var(--muted);
|
|
background: var(--surface);
|
|
}
|
|
|
|
.search-box input {
|
|
width: 100%;
|
|
padding: 13px 0;
|
|
border: 0;
|
|
outline: 0;
|
|
color: var(--ink);
|
|
background: transparent;
|
|
}
|
|
|
|
.course-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
|
|
|
|
.course-card {
|
|
display: flex;
|
|
flex-direction: column;
|
|
min-height: 300px;
|
|
padding: 26px;
|
|
border: 1px solid var(--line);
|
|
border-radius: 26px;
|
|
background: var(--surface);
|
|
box-shadow: 0 6px 24px rgba(37,48,52,.04);
|
|
transition: transform .2s ease, box-shadow .2s ease;
|
|
}
|
|
|
|
.course-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
|
|
.course-card-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
|
|
.course-code { color: var(--muted); font-size: .75rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
|
|
.course-badge { padding: 5px 9px; border-radius: 999px; color: var(--blue); background: var(--blue-soft); font-size: .72rem; font-weight: 750; }
|
|
.course-card h3 { margin: 36px 0 10px; font-size: 1.4rem; line-height: 1.28; letter-spacing: -.025em; }
|
|
.course-card-meta { margin: 0; color: var(--muted); font-size: .85rem; }
|
|
.course-state-line { margin: 8px 0 0; color: var(--muted); font-size: .76rem; }
|
|
.course-card-bottom { margin-top: auto; }
|
|
|
|
.progress-track { height: 7px; margin: 28px 0 12px; overflow: hidden; border-radius: 99px; background: var(--line); }
|
|
.progress-track span { display: block; width: var(--progress); height: 100%; border-radius: inherit; background: var(--accent-strong); }
|
|
.progress-copy { display: flex; justify-content: space-between; color: var(--muted); font-size: .78rem; }
|
|
.course-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; color: var(--ink); font-weight: 800; text-decoration: none; }
|
|
.course-link span { transition: transform .18s ease; }
|
|
.course-link:hover span { transform: translateX(4px); }
|
|
|
|
.breadcrumbs { display: flex; gap: 9px; margin: 24px 4px 14px; color: var(--muted); font-size: .85rem; }
|
|
.breadcrumbs a { text-decoration: none; }
|
|
|
|
.course-hero { min-height: 300px; margin-top: 0; }
|
|
.course-heading { position: relative; z-index: 1; }
|
|
.learning-states { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 2px; }
|
|
.learning-states span { padding: 7px 10px; border: 1px solid rgba(255,255,255,.18); border-radius: 10px; color: rgba(255,255,255,.68); font-size: .72rem; }
|
|
.learning-states strong { color: #fff; font-variant-numeric: tabular-nums; }
|
|
.progress-panel { position: relative; z-index: 1; display: flex; align-items: center; gap: 18px; min-width: 250px; }
|
|
.progress-panel > div:last-child { display: grid; }
|
|
.progress-panel span { color: rgba(255,255,255,.62); font-size: .78rem; }
|
|
.progress-ring {
|
|
display: grid;
|
|
place-items: center;
|
|
width: 100px;
|
|
aspect-ratio: 1;
|
|
border-radius: 50%;
|
|
background: radial-gradient(circle closest-side, #163b49 78%, transparent 80% 100%), conic-gradient(var(--accent) calc(var(--progress) * 1%), rgba(255,255,255,.14) 0);
|
|
}
|
|
.progress-ring span { color: #fff; font-size: 1.25rem; font-weight: 850; }
|
|
|
|
.course-toolbar {
|
|
position: sticky;
|
|
top: 12px;
|
|
z-index: 5;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
gap: 18px;
|
|
margin: 22px 0 34px;
|
|
padding: 13px;
|
|
border: 1px solid var(--line);
|
|
border-radius: 20px;
|
|
background: color-mix(in srgb, var(--paper) 84%, transparent);
|
|
backdrop-filter: blur(18px);
|
|
}
|
|
|
|
.resource-search { flex: 1; max-width: 420px; }
|
|
.filter-group { display: flex; gap: 7px; overflow-x: auto; }
|
|
.filter-chip { padding: 10px 14px; border: 1px solid var(--line); border-radius: 12px; color: var(--muted); background: var(--surface); cursor: pointer; white-space: nowrap; }
|
|
.filter-chip.active { border-color: var(--ink); color: var(--paper); background: var(--ink); }
|
|
|
|
.section-list { display: grid; gap: 30px; margin-bottom: 70px; }
|
|
.resource-section { overflow: hidden; border: 1px solid var(--line); border-radius: 24px; background: var(--surface); }
|
|
.resource-section-header { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 7px 16px; padding: 22px 24px; border-bottom: 1px solid var(--line); }
|
|
.resource-section-header h2 { margin: 0; font-size: 1.12rem; }
|
|
.resource-section-header span { color: var(--muted); font-size: .8rem; }
|
|
.section-summary { grid-column: 1 / -1; max-width: 850px; margin: 0; color: var(--muted); font-size: .82rem; }
|
|
.resource-list { display: grid; }
|
|
|
|
.resource-row {
|
|
display: grid;
|
|
grid-template-columns: 38px minmax(0, 1fr) auto auto auto;
|
|
gap: 16px;
|
|
align-items: center;
|
|
min-height: 88px;
|
|
padding: 14px 22px;
|
|
border-bottom: 1px solid var(--line);
|
|
}
|
|
.resource-row:last-child { border-bottom: 0; }
|
|
.resource-row:hover { background: color-mix(in srgb, var(--blue-soft) 34%, transparent); }
|
|
.resource-index { color: var(--muted); font-size: .75rem; font-variant-numeric: tabular-nums; }
|
|
.resource-main { min-width: 0; }
|
|
.resource-title { display: block; overflow: hidden; font-weight: 730; text-overflow: ellipsis; white-space: nowrap; }
|
|
.resource-file-line { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; margin-top: 4px; }
|
|
.resource-file { display: block; overflow: hidden; color: var(--muted); font-size: .78rem; text-overflow: ellipsis; white-space: nowrap; }
|
|
.current-version-badge { padding: 3px 6px; border-radius: 6px; color: var(--accent-strong); background: color-mix(in srgb, var(--accent) 22%, var(--surface)); font-size: .6rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
|
|
.resource-description { display: -webkit-box; overflow: hidden; margin-top: 5px; color: var(--muted); font-size: .76rem; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
|
|
.artifact-actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 9px; }
|
|
.artifact-button { padding: 5px 9px; border: 1px solid color-mix(in srgb, var(--blue) 24%, var(--line)); border-radius: 8px; color: var(--blue); background: var(--blue-soft); cursor: pointer; font-size: .7rem; font-weight: 750; }
|
|
.artifact-button:hover { border-color: var(--blue); }
|
|
.version-history { max-width: 680px; margin-top: 9px; color: var(--muted); font-size: .72rem; }
|
|
.version-history summary { width: max-content; cursor: pointer; color: color-mix(in srgb, var(--ink) 62%, #c48600); font-weight: 750; }
|
|
.version-list { display: grid; gap: 6px; margin-top: 7px; }
|
|
.version-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 7px 9px; border: 1px solid color-mix(in srgb, #c48600 32%, var(--line)); border-radius: 9px; background: color-mix(in srgb, #c48600 9%, var(--surface)); }
|
|
.version-info { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
.version-action { flex: 0 0 auto; padding: 4px 7px; border: 0; border-radius: 6px; color: color-mix(in srgb, var(--ink) 70%, #a76c00); background: color-mix(in srgb, #c48600 18%, var(--surface-strong)); cursor: pointer; font: inherit; font-weight: 750; text-decoration: none; }
|
|
.state-chips { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 9px; }
|
|
.state-chip { padding: 4px 7px; border-radius: 7px; color: var(--muted); background: var(--surface-strong); font-size: .65rem; font-weight: 700; text-transform: capitalize; }
|
|
.state-chip.complete { color: var(--accent-strong); background: color-mix(in srgb, var(--accent-soft) 78%, transparent); }
|
|
.state-chip.partial, .state-chip.stale { color: #9a6500; background: #fff2c7; }
|
|
.state-chip.error, .state-chip.missing { color: var(--danger); background: color-mix(in srgb, var(--danger) 10%, transparent); }
|
|
.resource-meta { display: flex; gap: 8px; align-items: center; color: var(--muted); font-size: .74rem; white-space: nowrap; }
|
|
.type-pill { padding: 4px 8px; border-radius: 8px; color: var(--blue); background: var(--blue-soft); font-weight: 750; }
|
|
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent-strong); }
|
|
.status-dot.missing { background: var(--danger); }
|
|
.status-dot.online { background: var(--blue); }
|
|
.action-button { min-width: 70px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 11px; color: var(--ink); background: var(--surface-strong); cursor: pointer; font-weight: 750; text-align: center; text-decoration: none; }
|
|
.action-button[aria-disabled="true"] { color: var(--muted); cursor: not-allowed; opacity: .6; }
|
|
|
|
.complete-check { width: 20px; height: 20px; accent-color: var(--accent-strong); cursor: pointer; }
|
|
.resource-row.completed .resource-title { color: var(--muted); text-decoration: line-through; }
|
|
|
|
.empty-state { padding: 60px 24px; border: 1px dashed var(--line); border-radius: var(--radius); color: var(--muted); text-align: center; }
|
|
.empty-state strong, .empty-state span { display: block; }
|
|
.empty-state strong { color: var(--ink); font-size: 1.1rem; }
|
|
|
|
.media-dialog { width: min(1000px, calc(100% - 30px)); padding: 20px; border: 1px solid var(--line); border-radius: 24px; color: var(--ink); background: var(--surface); box-shadow: 0 30px 100px rgba(0,0,0,.4); }
|
|
.media-dialog::backdrop { background: rgba(8, 15, 17, .76); backdrop-filter: blur(7px); }
|
|
.dialog-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 16px; }
|
|
.dialog-heading h2 { margin: 4px 0 0; font-size: 1.2rem; }
|
|
.media-dialog video { display: block; width: 100%; max-height: 72vh; border-radius: 15px; background: #000; }
|
|
.artifact-dialog { width: min(920px, calc(100% - 30px)); max-height: min(88vh, 1000px); padding: 22px; border: 1px solid var(--line); border-radius: 24px; color: var(--ink); background: var(--surface); box-shadow: 0 30px 100px rgba(0,0,0,.4); }
|
|
.artifact-dialog::backdrop { background: rgba(8, 15, 17, .76); backdrop-filter: blur(7px); }
|
|
.artifact-content { overflow: auto; max-height: calc(88vh - 105px); padding: 4px 10px 24px; line-height: 1.85; }
|
|
.artifact-content h1, .artifact-content h2, .artifact-content h3, .artifact-content h4 { margin: 1.5em 0 .55em; line-height: 1.35; }
|
|
.artifact-content h1:first-child, .artifact-content h2:first-child { margin-top: .4em; }
|
|
.artifact-content p, .artifact-content li { font-size: .94rem; }
|
|
.artifact-content blockquote { margin: 1em 0; padding: 10px 16px; border-inline-start: 4px solid var(--blue); color: var(--muted); background: var(--blue-soft); }
|
|
.artifact-content code { padding: 2px 5px; border-radius: 5px; background: var(--paper); font-size: .88em; }
|
|
.artifact-content table { width: 100%; margin: 18px 0; border-collapse: collapse; font-size: .86rem; }
|
|
.artifact-content th, .artifact-content td { padding: 9px 11px; border: 1px solid var(--line); text-align: start; vertical-align: top; }
|
|
.artifact-content th { background: var(--surface-strong); }
|
|
.transcript-text { margin: 0; font: inherit; line-height: 2; white-space: pre-wrap; word-break: break-word; }
|
|
.artifact-loading { color: var(--muted); }
|
|
|
|
footer { width: min(1184px, calc(100% - 40px)); margin: 0 auto; padding: 28px 0 40px; display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: .78rem; }
|
|
footer a { text-decoration: none; font-weight: 700; }
|
|
|
|
@media (max-width: 900px) {
|
|
.hero, .course-hero { grid-template-columns: 1fr; gap: 28px; }
|
|
.hero-orbit { width: 145px; }
|
|
.stat-grid, .course-grid { grid-template-columns: repeat(2, 1fr); }
|
|
.course-toolbar { position: static; flex-direction: column; }
|
|
.resource-search { max-width: none; }
|
|
.resource-row { grid-template-columns: 30px minmax(0, 1fr) auto auto; }
|
|
.resource-meta { display: none; }
|
|
}
|
|
|
|
@media (max-width: 600px) {
|
|
.topbar { padding: 18px 20px; }
|
|
main { width: min(100% - 24px, 1184px); }
|
|
.hero, .course-hero { min-height: auto; padding: 34px 24px; border-radius: 24px; }
|
|
.hero h1, .course-hero h1 { letter-spacing: -.045em; }
|
|
.stat-grid { grid-template-columns: repeat(2, 1fr); margin-bottom: 54px; }
|
|
.stat-card { min-height: 100px; padding: 18px; }
|
|
.section-heading { align-items: stretch; flex-direction: column; }
|
|
.course-grid { grid-template-columns: 1fr; }
|
|
.progress-panel { min-width: 0; }
|
|
.course-toolbar { border-radius: 17px; }
|
|
.resource-row { grid-template-columns: 24px minmax(0, 1fr) auto; gap: 10px; padding: 13px 14px; }
|
|
.complete-check { display: none; }
|
|
.action-button { min-width: 58px; }
|
|
footer { width: calc(100% - 28px); flex-direction: column; }
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
*, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
|
|
}
|