CKS_FINALE
This commit is contained in:
278
assets/course.css
Normal file
278
assets/course.css
Normal file
@@ -0,0 +1,278 @@
|
||||
:root {
|
||||
color-scheme: light;
|
||||
--ink: #14213d;
|
||||
--muted: #5f6b7a;
|
||||
--paper: #fffdf8;
|
||||
--canvas: #eef3f8;
|
||||
--line: #d9e1ea;
|
||||
--accent: #087e8b;
|
||||
--accent-dark: #075a63;
|
||||
--warm: #ffb703;
|
||||
--code: #101827;
|
||||
--code-ink: #e6edf7;
|
||||
--shadow: 0 24px 70px rgba(20, 33, 61, 0.12);
|
||||
font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
|
||||
}
|
||||
|
||||
* { box-sizing: border-box; }
|
||||
|
||||
html { scroll-behavior: smooth; }
|
||||
|
||||
body {
|
||||
margin: 0;
|
||||
color: var(--ink);
|
||||
background:
|
||||
radial-gradient(circle at 5% 0%, rgba(8, 126, 139, 0.12), transparent 28rem),
|
||||
linear-gradient(180deg, #f7fafc 0%, var(--canvas) 100%);
|
||||
line-height: 1.65;
|
||||
}
|
||||
|
||||
.page {
|
||||
width: min(1120px, calc(100% - 32px));
|
||||
margin: 32px auto 72px;
|
||||
}
|
||||
|
||||
.hero {
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
padding: clamp(32px, 6vw, 72px);
|
||||
color: #fff;
|
||||
background: linear-gradient(135deg, #14213d 0%, #0e5262 68%, #087e8b 100%);
|
||||
border-radius: 28px;
|
||||
box-shadow: var(--shadow);
|
||||
}
|
||||
|
||||
.hero::after {
|
||||
content: "";
|
||||
position: absolute;
|
||||
width: 290px;
|
||||
height: 290px;
|
||||
right: -105px;
|
||||
top: -135px;
|
||||
border: 36px solid rgba(255, 183, 3, 0.2);
|
||||
border-radius: 50%;
|
||||
}
|
||||
|
||||
.eyebrow {
|
||||
margin: 0 0 12px;
|
||||
color: #9fe7e9;
|
||||
font-size: 0.78rem;
|
||||
font-weight: 800;
|
||||
letter-spacing: 0.16em;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
h1, h2, h3 {
|
||||
line-height: 1.15;
|
||||
text-wrap: balance;
|
||||
}
|
||||
|
||||
h1 {
|
||||
max-width: 760px;
|
||||
margin: 0;
|
||||
font-family: Georgia, "Times New Roman", serif;
|
||||
font-size: clamp(2.25rem, 6vw, 5rem);
|
||||
font-weight: 700;
|
||||
letter-spacing: -0.045em;
|
||||
}
|
||||
|
||||
.deck {
|
||||
max-width: 700px;
|
||||
margin: 22px 0 0;
|
||||
color: #d9f1f2;
|
||||
font-size: clamp(1rem, 2vw, 1.2rem);
|
||||
}
|
||||
|
||||
.meta {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 10px;
|
||||
margin-top: 28px;
|
||||
}
|
||||
|
||||
.pill {
|
||||
padding: 7px 12px;
|
||||
color: #fff;
|
||||
background: rgba(255,255,255,0.1);
|
||||
border: 1px solid rgba(255,255,255,0.22);
|
||||
border-radius: 999px;
|
||||
font-size: 0.86rem;
|
||||
font-weight: 650;
|
||||
}
|
||||
|
||||
.layout {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(0, 1fr) 280px;
|
||||
gap: 24px;
|
||||
margin-top: 24px;
|
||||
align-items: start;
|
||||
}
|
||||
|
||||
.card {
|
||||
padding: clamp(24px, 4vw, 44px);
|
||||
background: var(--paper);
|
||||
border: 1px solid rgba(217, 225, 234, 0.9);
|
||||
border-radius: 22px;
|
||||
box-shadow: 0 12px 40px rgba(20, 33, 61, 0.07);
|
||||
}
|
||||
|
||||
.card + .card { margin-top: 20px; }
|
||||
|
||||
h2 {
|
||||
margin: 0 0 20px;
|
||||
font-family: Georgia, "Times New Roman", serif;
|
||||
font-size: clamp(1.55rem, 3vw, 2.2rem);
|
||||
letter-spacing: -0.02em;
|
||||
}
|
||||
|
||||
h3 {
|
||||
margin: 28px 0 10px;
|
||||
font-size: 1.02rem;
|
||||
}
|
||||
|
||||
p { margin: 0 0 16px; }
|
||||
|
||||
code {
|
||||
padding: 0.12em 0.35em;
|
||||
background: #e8f0f3;
|
||||
border-radius: 5px;
|
||||
font-family: "Cascadia Code", "SFMono-Regular", Consolas, monospace;
|
||||
font-size: 0.9em;
|
||||
}
|
||||
|
||||
pre {
|
||||
overflow-x: auto;
|
||||
margin: 18px 0;
|
||||
padding: 18px 20px;
|
||||
color: var(--code-ink);
|
||||
background: var(--code);
|
||||
border-radius: 14px;
|
||||
line-height: 1.55;
|
||||
}
|
||||
|
||||
pre code { padding: 0; color: inherit; background: transparent; }
|
||||
|
||||
table {
|
||||
width: 100%;
|
||||
margin: 20px 0;
|
||||
border-collapse: collapse;
|
||||
font-size: 0.95rem;
|
||||
}
|
||||
|
||||
th, td {
|
||||
padding: 12px 14px;
|
||||
text-align: left;
|
||||
border-bottom: 1px solid var(--line);
|
||||
}
|
||||
|
||||
th { color: var(--accent-dark); font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; }
|
||||
|
||||
.requirements {
|
||||
padding-left: 0;
|
||||
list-style: none;
|
||||
counter-reset: requirement;
|
||||
}
|
||||
|
||||
.requirements li {
|
||||
position: relative;
|
||||
min-height: 44px;
|
||||
margin: 0 0 12px;
|
||||
padding: 9px 8px 9px 54px;
|
||||
counter-increment: requirement;
|
||||
}
|
||||
|
||||
.requirements li::before {
|
||||
content: counter(requirement);
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 5px;
|
||||
display: grid;
|
||||
width: 36px;
|
||||
height: 36px;
|
||||
place-items: center;
|
||||
color: #fff;
|
||||
background: var(--accent);
|
||||
border-radius: 50%;
|
||||
font-weight: 800;
|
||||
}
|
||||
|
||||
.note {
|
||||
margin-top: 24px;
|
||||
padding: 16px 18px;
|
||||
background: #fff7df;
|
||||
border-left: 4px solid var(--warm);
|
||||
border-radius: 0 10px 10px 0;
|
||||
}
|
||||
|
||||
.rail { position: sticky; top: 24px; }
|
||||
|
||||
.rail h2 { font-size: 1.35rem; }
|
||||
.rail .eyebrow { color: var(--accent-dark); }
|
||||
|
||||
.steps {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
.steps li {
|
||||
position: relative;
|
||||
padding: 0 0 22px 28px;
|
||||
color: var(--muted);
|
||||
border-left: 2px solid var(--line);
|
||||
}
|
||||
|
||||
.steps li::before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
width: 10px;
|
||||
height: 10px;
|
||||
left: -6px;
|
||||
top: 6px;
|
||||
background: var(--paper);
|
||||
border: 2px solid #aeb9c7;
|
||||
border-radius: 50%;
|
||||
}
|
||||
|
||||
.steps li.active { color: var(--ink); font-weight: 750; }
|
||||
.steps li.active::before { background: var(--warm); border-color: var(--warm); }
|
||||
.steps li:last-child { padding-bottom: 0; border-left-color: transparent; }
|
||||
|
||||
.button {
|
||||
display: block;
|
||||
margin-top: 24px;
|
||||
padding: 13px 16px;
|
||||
color: #fff;
|
||||
background: var(--accent);
|
||||
border-radius: 10px;
|
||||
font-weight: 750;
|
||||
text-align: center;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.button:hover { background: var(--accent-dark); }
|
||||
|
||||
.small { color: var(--muted); font-size: 0.86rem; }
|
||||
|
||||
footer {
|
||||
padding: 28px 8px 0;
|
||||
color: var(--muted);
|
||||
text-align: center;
|
||||
font-size: 0.86rem;
|
||||
}
|
||||
|
||||
@media (max-width: 820px) {
|
||||
.layout { grid-template-columns: 1fr; }
|
||||
.rail { position: static; order: -1; }
|
||||
}
|
||||
|
||||
@media print {
|
||||
body { background: #fff; }
|
||||
.page { width: 100%; margin: 0; }
|
||||
.hero, .card { box-shadow: none; }
|
||||
.hero { color: var(--ink); background: #fff; border: 2px solid var(--ink); }
|
||||
.hero .deck, .hero .eyebrow { color: var(--ink); }
|
||||
.pill { color: var(--ink); border-color: var(--ink); }
|
||||
.layout { grid-template-columns: 1fr; }
|
||||
.rail, footer { display: none; }
|
||||
}
|
||||
Reference in New Issue
Block a user