Repository navigation
Commit e7f4349
authored
style: bring the homepage sections into the new hero's style (#98)
Follows #97. That PR redid the hero, and this one carries the same style
through the rest of the homepage, in both the light and the dark scheme.
No copy changes.
## What changes
- **Section labels and headings**: the labels above headings drop the
spaced mono capitals (`WHERE IT RUNS`) for a small sans label with a
square mark. The second half of each two-part heading steps back in grey
on its own line, as the hero headline does.
- **Where it runs**: the five cards lose their hover lift and solid Ink
icon tiles and get outlined icons instead. The suggested card (GitHub
App) gets a Signal Blue hairline and a faint wash instead of a 2px frame
with a glow.
- **Action demo**: the selected tab is lit like the primary button
(near-white) instead of Signal Blue. The `main` and `feature/add-login`
chips in the PR window were turning dark in the dark scheme, so they now
stay light.
- **Rules**: the ✖/✔ examples sit on faint tints instead of solid pink
and green blocks, which glared in the dark scheme.
- **Pricing**: the Team card drops its dashed frame.
- **FAQ**: a plain list between hairlines instead of a stack of boxes.
- **Accessibility** (carried from CodeRabbit's review of #97): each row
in the hero's PR panel now tells screen readers whether it passed or
failed, and the project names under the stage meet contrast on white.
## Before / after
Light:


Dark:


`mkdocs build --strict` passes. Checked on a 390px phone in both
schemes. The screenshots were added in one commit and removed in the
next.1 parent fb4ee56 commit e7f4349
2 files changed
Lines changed: 86 additions & 51 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
69 | | - | |
| 69 | + | |
70 | 70 | | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
| |||
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
85 | | - | |
| 85 | + | |
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
| |||
146 | 146 | | |
147 | 147 | | |
148 | 148 | | |
149 | | - | |
| 149 | + | |
150 | 150 | | |
151 | 151 | | |
152 | 152 | | |
| |||
373 | 373 | | |
374 | 374 | | |
375 | 375 | | |
376 | | - | |
| 376 | + | |
377 | 377 | | |
378 | 378 | | |
379 | 379 | | |
| |||
423 | 423 | | |
424 | 424 | | |
425 | 425 | | |
426 | | - | |
| 426 | + | |
427 | 427 | | |
428 | 428 | | |
429 | 429 | | |
| |||
456 | 456 | | |
457 | 457 | | |
458 | 458 | | |
459 | | - | |
| 459 | + | |
460 | 460 | | |
461 | 461 | | |
462 | 462 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
216 | 216 | | |
217 | 217 | | |
218 | 218 | | |
219 | | - | |
220 | | - | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
221 | 223 | | |
222 | | - | |
223 | | - | |
224 | 224 | | |
225 | 225 | | |
226 | 226 | | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
227 | 246 | | |
228 | 247 | | |
229 | 248 | | |
| |||
891 | 910 | | |
892 | 911 | | |
893 | 912 | | |
894 | | - | |
| 913 | + | |
895 | 914 | | |
896 | 915 | | |
897 | 916 | | |
898 | 917 | | |
899 | 918 | | |
900 | 919 | | |
901 | | - | |
902 | 920 | | |
903 | 921 | | |
| 922 | + | |
| 923 | + | |
904 | 924 | | |
905 | | - | |
906 | | - | |
907 | | - | |
| 925 | + | |
| 926 | + | |
908 | 927 | | |
909 | 928 | | |
910 | 929 | | |
911 | 930 | | |
912 | 931 | | |
913 | 932 | | |
914 | | - | |
915 | | - | |
916 | | - | |
917 | | - | |
918 | | - | |
| 933 | + | |
| 934 | + | |
| 935 | + | |
| 936 | + | |
| 937 | + | |
| 938 | + | |
919 | 939 | | |
920 | 940 | | |
921 | 941 | | |
922 | | - | |
923 | | - | |
| 942 | + | |
924 | 943 | | |
925 | 944 | | |
926 | 945 | | |
927 | | - | |
928 | | - | |
| 946 | + | |
| 947 | + | |
929 | 948 | | |
930 | 949 | | |
931 | 950 | | |
| |||
1070 | 1089 | | |
1071 | 1090 | | |
1072 | 1091 | | |
1073 | | - | |
| 1092 | + | |
1074 | 1093 | | |
1075 | 1094 | | |
1076 | 1095 | | |
| 1096 | + | |
1077 | 1097 | | |
1078 | | - | |
1079 | | - | |
1080 | | - | |
| 1098 | + | |
| 1099 | + | |
| 1100 | + | |
1081 | 1101 | | |
1082 | 1102 | | |
1083 | 1103 | | |
| |||
1272 | 1292 | | |
1273 | 1293 | | |
1274 | 1294 | | |
1275 | | - | |
| 1295 | + | |
| 1296 | + | |
1276 | 1297 | | |
1277 | 1298 | | |
1278 | 1299 | | |
| |||
2092 | 2113 | | |
2093 | 2114 | | |
2094 | 2115 | | |
2095 | | - | |
2096 | | - | |
| 2116 | + | |
| 2117 | + | |
2097 | 2118 | | |
2098 | 2119 | | |
2099 | 2120 | | |
2100 | | - | |
| 2121 | + | |
2101 | 2122 | | |
2102 | 2123 | | |
2103 | 2124 | | |
| 2125 | + | |
| 2126 | + | |
| 2127 | + | |
| 2128 | + | |
| 2129 | + | |
| 2130 | + | |
| 2131 | + | |
| 2132 | + | |
| 2133 | + | |
| 2134 | + | |
2104 | 2135 | | |
2105 | 2136 | | |
2106 | 2137 | | |
| |||
2299 | 2330 | | |
2300 | 2331 | | |
2301 | 2332 | | |
2302 | | - | |
2303 | | - | |
2304 | | - | |
| 2333 | + | |
2305 | 2334 | | |
2306 | 2335 | | |
2307 | 2336 | | |
2308 | | - | |
2309 | | - | |
| 2337 | + | |
2310 | 2338 | | |
2311 | 2339 | | |
2312 | 2340 | | |
| |||
2361 | 2389 | | |
2362 | 2390 | | |
2363 | 2391 | | |
| 2392 | + | |
2364 | 2393 | | |
2365 | | - | |
2366 | | - | |
2367 | | - | |
| 2394 | + | |
| 2395 | + | |
| 2396 | + | |
| 2397 | + | |
2368 | 2398 | | |
2369 | | - | |
| 2399 | + | |
2370 | 2400 | | |
2371 | | - | |
| 2401 | + | |
| 2402 | + | |
| 2403 | + | |
| 2404 | + | |
| 2405 | + | |
2372 | 2406 | | |
2373 | 2407 | | |
2374 | 2408 | | |
2375 | 2409 | | |
2376 | | - | |
| 2410 | + | |
2377 | 2411 | | |
2378 | 2412 | | |
2379 | | - | |
2380 | | - | |
| 2413 | + | |
| 2414 | + | |
2381 | 2415 | | |
2382 | 2416 | | |
2383 | 2417 | | |
| |||
2391 | 2425 | | |
2392 | 2426 | | |
2393 | 2427 | | |
2394 | | - | |
| 2428 | + | |
| 2429 | + | |
2395 | 2430 | | |
2396 | 2431 | | |
2397 | 2432 | | |
| |||
2787 | 2822 | | |
2788 | 2823 | | |
2789 | 2824 | | |
2790 | | - | |
| 2825 | + | |
2791 | 2826 | | |
2792 | 2827 | | |
2793 | 2828 | | |
| |||
0 commit comments