Branchwell

Become a Pro / website · becomeapro.ai / src / app / practice / practice.module.css

Raw 2.5 KB on 0104128d30a01b5156cca2446fd234b2f1fa3673
1.page { width: min(100% - 2rem, 65rem); margin: auto; padding: 2.5rem 0 5rem; }
2.crumb { color: var(--ash); font-size: .875rem; }
3.crumb a, .back a { text-decoration: underline; }
4.intro { padding: clamp(2rem, 6vw, 4rem) 0 2rem; max-width: 42rem; }
5.kicker { font-size: .76rem; font-weight: 650; letter-spacing: .12em; text-transform: uppercase; color: var(--ash); margin-bottom: .5rem; }
6.intro h1 { font-size: clamp(2.5rem, 8vw, 5.25rem); font-weight: 760; letter-spacing: -.065em; line-height: .98; margin: .15em 0 .32em; }
7.intro > p:last-child { font-size: clamp(1.04rem, 2.2vw, 1.3rem); }
8.jump { display: flex; flex-wrap: wrap; column-gap: 1.5rem; border-block: 1px solid hsl(var(--border)); padding: .55rem 0; }
9.jump a { padding: .45rem 0; font-size: .94rem; text-decoration: underline; }
10.method { margin: 3.25rem 0; }
11.method h2, .group h2 { font-size: clamp(1.65rem, 4vw, 2.75rem); letter-spacing: -.045em; font-weight: 725; line-height: 1.1; }
12.method ol { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); margin-top: 1.1rem; border: 1px solid hsl(var(--border)); }
13.method li { padding: 1rem; min-width: 0; border-inline-end: 1px solid hsl(var(--border)); }
14.method li:last-child { border-inline-end: 0; }
15.method span { color: var(--ash); font-variant-numeric: tabular-nums; font-size: .78rem; }
16.method h3 { font-weight: 700; margin: .45rem 0 .3rem; }
17.method p, .description { color: var(--ash); font-size: .97rem; }
18.group { display: grid; grid-template-columns: minmax(180px, 30%) minmax(0, 1fr); gap: clamp(1.2rem, 5vw, 3.25rem); align-items: center; padding: 1.75rem 0; border-top: 1px solid hsl(var(--border)); scroll-margin-top: 1rem; }
19.group img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; }
20.description { margin: .65rem 0 .9rem; }
21.lessons li { border-top: 1px solid hsl(var(--border)); display: flex; gap: .7rem; justify-content: space-between; padding: .7rem 0; }
22.lessons a { font-weight: 650; text-decoration: underline; }
23.lessons p { font-size: .9rem; margin-top: .15rem; color: var(--ash); }
24.lessons span { font-size: .84rem; white-space: nowrap; color: var(--ash); padding-top: .2rem; }
25.back { margin-top: 2.25rem; }
26@media(max-width: 680px) {
27 .page { padding-top: 1.5rem; }
28 .method ol { grid-template-columns: repeat(2,minmax(0,1fr)); }
29 .method li:nth-child(2) { border-inline-end: 0; }
30 .method li:nth-child(-n+2) { border-bottom: 1px solid hsl(var(--border)); }
31 .group { grid-template-columns: 1fr; }
32 .group img { aspect-ratio: 3/2; height: auto; }
33}