|
1 | 1 | :root { |
2 | | - color: #e7edf7; |
3 | | - background: #101722; |
4 | | - font-family: Arial, sans-serif; |
| 2 | + --canvas: #313338; |
| 3 | + --surface-1: #2b2d31; |
| 4 | + --surface-2: #1e1f22; |
| 5 | + --blurple: #5865f2; |
| 6 | + --blurple-hover: #4752c4; |
| 7 | + --ink: #dbdee1; |
| 8 | + --muted: #949ba4; |
| 9 | + --border: #3f4147; |
| 10 | + --green: #23a55a; |
| 11 | + --yellow: #f0b232; |
| 12 | + --red: #f23f43; |
| 13 | + --r-md: 8px; |
| 14 | + --r-lg: 16px; |
| 15 | + --shadow: 0 8px 16px rgb(0 0 0 / 0.24); |
| 16 | + color: var(--ink); |
| 17 | + background: var(--canvas); |
| 18 | + font-family: GGSans, Inter, -apple-system, sans-serif; |
| 19 | +} |
| 20 | +* { |
| 21 | + box-sizing: border-box; |
5 | 22 | } |
6 | 23 | body { |
7 | | - max-width: 900px; |
8 | | - margin: auto; |
| 24 | + margin: 0; |
9 | 25 | padding: 48px 24px; |
10 | 26 | } |
| 27 | +main { |
| 28 | + max-width: 960px; |
| 29 | + margin: auto; |
| 30 | + display: grid; |
| 31 | + gap: 24px; |
| 32 | +} |
11 | 33 | h1 { |
12 | | - font-size: 42px; |
13 | | - max-width: 650px; |
| 34 | + margin: 0; |
| 35 | + font-size: clamp(2.25rem, 6vw, 2.5rem); |
| 36 | + line-height: 1.1; |
| 37 | + letter-spacing: -0.02em; |
| 38 | +} |
| 39 | +h2 { |
| 40 | + margin: 0 0 16px; |
| 41 | +} |
| 42 | +p { |
| 43 | + line-height: 1.375; |
| 44 | +} |
| 45 | +a { |
| 46 | + color: var(--ink); |
| 47 | +} |
| 48 | +.hero { |
| 49 | + display: grid; |
| 50 | + gap: 12px; |
| 51 | + max-width: 680px; |
14 | 52 | } |
15 | | -header p, |
16 | | -small { |
17 | | - color: #9cadc3; |
| 53 | +.hero.compact { |
| 54 | + max-width: none; |
18 | 55 | } |
19 | | -.calibration { |
| 56 | +.hero nav, |
| 57 | +.picker-heading, |
| 58 | +.pr-heading { |
20 | 59 | display: flex; |
| 60 | + align-items: center; |
21 | 61 | justify-content: space-between; |
22 | | - padding: 20px; |
23 | | - background: #1b2636; |
24 | | - border-radius: 10px; |
| 62 | + gap: 16px; |
| 63 | +} |
| 64 | +.eyebrow, |
| 65 | +small, |
| 66 | +.empty { |
| 67 | + color: var(--muted); |
| 68 | +} |
| 69 | +.eyebrow { |
| 70 | + margin: 0; |
| 71 | + font-weight: 700; |
| 72 | +} |
| 73 | +.panel { |
| 74 | + background: var(--surface-1); |
| 75 | + border: 1px solid var(--border); |
| 76 | + border-radius: var(--r-lg); |
| 77 | + box-shadow: var(--shadow); |
| 78 | + padding: 24px; |
| 79 | +} |
| 80 | +.button, |
| 81 | +.repo-card { |
| 82 | + min-height: 44px; |
| 83 | + border-radius: var(--r-md); |
| 84 | + border: 1px solid var(--border); |
| 85 | + padding: 10px 16px; |
| 86 | + font: inherit; |
| 87 | + font-weight: 700; |
| 88 | + cursor: pointer; |
| 89 | + transition: background 200ms cubic-bezier(0.4, 0, 0.2, 1); |
| 90 | +} |
| 91 | +.button { |
| 92 | + background: var(--surface-2); |
| 93 | + color: var(--ink); |
25 | 94 | } |
26 | | -ol { |
| 95 | +.button.primary { |
| 96 | + background: var(--blurple); |
| 97 | + border-color: var(--blurple); |
| 98 | + color: white; |
| 99 | +} |
| 100 | +.button.primary:hover { |
| 101 | + background: var(--blurple-hover); |
| 102 | +} |
| 103 | +.button:focus-visible, |
| 104 | +.repo-card:focus-visible, |
| 105 | +a:focus-visible { |
| 106 | + outline: 2px solid var(--blurple); |
| 107 | + outline-offset: 2px; |
| 108 | + box-shadow: 0 0 0 4px white; |
| 109 | +} |
| 110 | +ol, |
| 111 | +.repo-grid { |
| 112 | + margin: 0; |
27 | 113 | padding: 0; |
28 | 114 | list-style: none; |
29 | 115 | } |
30 | | -li { |
31 | | - margin: 16px 0; |
32 | | - padding: 20px; |
33 | | - border: 1px solid #304159; |
34 | | - border-radius: 10px; |
35 | | -} |
36 | | -li div { |
37 | | - display: flex; |
38 | | - justify-content: space-between; |
| 116 | +.timeline { |
| 117 | + display: grid; |
39 | 118 | gap: 16px; |
40 | 119 | } |
41 | | -small { |
42 | | - display: block; |
43 | | - margin-top: 6px; |
| 120 | +.timeline li { |
| 121 | + margin: 0; |
44 | 122 | } |
45 | 123 | .tier { |
| 124 | + display: inline-block; |
| 125 | + border-radius: 9999px; |
46 | 126 | padding: 4px 8px; |
47 | | - border-radius: 20px; |
| 127 | + font-size: 0.8125rem; |
| 128 | + font-weight: 700; |
48 | 129 | white-space: nowrap; |
49 | | - font-size: 13px; |
50 | 130 | } |
51 | 131 | .auto-mergeable { |
52 | | - background: #155e42; |
| 132 | + background: var(--green); |
| 133 | + color: #111214; |
53 | 134 | } |
54 | 135 | .quick-glance { |
55 | | - background: #795415; |
| 136 | + background: var(--yellow); |
| 137 | + color: #111214; |
56 | 138 | } |
57 | 139 | .deep-review { |
58 | | - background: #7f2430; |
| 140 | + background: var(--red); |
| 141 | + color: white; |
59 | 142 | } |
60 | | -.empty { |
61 | | - color: #9cadc3; |
62 | | - padding: 32px 0; |
| 143 | +.outcome { |
| 144 | + color: var(--yellow); |
| 145 | + font-weight: 700; |
| 146 | +} |
| 147 | +.picker { |
| 148 | + display: grid; |
| 149 | + gap: 24px; |
| 150 | +} |
| 151 | +.repo-grid { |
| 152 | + display: grid; |
| 153 | + grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); |
| 154 | + gap: 16px; |
| 155 | +} |
| 156 | +.repo-card { |
| 157 | + display: block; |
| 158 | + background: var(--surface-2); |
| 159 | + text-decoration: none; |
| 160 | +} |
| 161 | +.repo-card:hover { |
| 162 | + background: var(--border); |
| 163 | +} |
| 164 | +@media (prefers-reduced-motion: reduce) { |
| 165 | + *, |
| 166 | + *::before, |
| 167 | + *::after { |
| 168 | + transition: none; |
| 169 | + } |
63 | 170 | } |
64 | | -em { |
65 | | - color: #f2bb61; |
| 171 | +@media (max-width: 600px) { |
| 172 | + body { |
| 173 | + padding: 24px 16px; |
| 174 | + } |
| 175 | + .hero nav, |
| 176 | + .picker-heading, |
| 177 | + .pr-heading { |
| 178 | + align-items: flex-start; |
| 179 | + flex-direction: column; |
| 180 | + } |
66 | 181 | } |
0 commit comments