|
1 | | -.page { |
2 | | - --gray-rgb: 0, 0, 0; |
3 | | - --gray-alpha-200: rgba(var(--gray-rgb), 0.08); |
4 | | - --gray-alpha-100: rgba(var(--gray-rgb), 0.05); |
5 | | - |
6 | | - --button-primary-hover: #383838; |
7 | | - --button-secondary-hover: #f2f2f2; |
8 | | - |
9 | | - display: grid; |
10 | | - grid-template-rows: 20px 1fr 20px; |
11 | | - align-items: center; |
12 | | - justify-items: center; |
13 | | - min-height: 100svh; |
14 | | - padding: 80px; |
15 | | - gap: 64px; |
16 | | - font-synthesis: none; |
17 | | -} |
18 | | - |
19 | | -@media (prefers-color-scheme: dark) { |
20 | | - .page { |
21 | | - --gray-rgb: 255, 255, 255; |
22 | | - --gray-alpha-200: rgba(var(--gray-rgb), 0.145); |
23 | | - --gray-alpha-100: rgba(var(--gray-rgb), 0.06); |
24 | | - |
25 | | - --button-primary-hover: #ccc; |
26 | | - --button-secondary-hover: #1a1a1a; |
27 | | - } |
28 | | -} |
29 | | - |
30 | | -.main { |
31 | | - display: flex; |
32 | | - flex-direction: column; |
33 | | - gap: 32px; |
34 | | - grid-row-start: 2; |
35 | | -} |
36 | | - |
37 | | -.main ol { |
38 | | - font-family: var(--font-geist-mono); |
39 | | - padding-left: 0; |
40 | | - margin: 0; |
41 | | - font-size: 14px; |
42 | | - line-height: 24px; |
43 | | - letter-spacing: -0.01em; |
44 | | - list-style-position: inside; |
45 | | -} |
46 | | - |
47 | | -.main li:not(:last-of-type) { |
48 | | - margin-bottom: 8px; |
49 | | -} |
50 | | - |
51 | | -.main code { |
52 | | - font-family: inherit; |
53 | | - background: var(--gray-alpha-100); |
54 | | - padding: 2px 4px; |
55 | | - border-radius: 4px; |
56 | | - font-weight: 600; |
57 | | -} |
58 | | - |
59 | | -.ctas { |
60 | | - display: flex; |
61 | | - gap: 16px; |
62 | | -} |
63 | | - |
64 | | -.ctas a { |
65 | | - appearance: none; |
66 | | - border-radius: 128px; |
67 | | - height: 48px; |
68 | | - padding: 0 20px; |
69 | | - border: none; |
70 | | - font-family: var(--font-geist-sans); |
71 | | - border: 1px solid transparent; |
72 | | - transition: background 0.2s, color 0.2s, border-color 0.2s; |
73 | | - cursor: pointer; |
74 | | - display: flex; |
75 | | - align-items: center; |
76 | | - justify-content: center; |
77 | | - font-size: 16px; |
78 | | - line-height: 20px; |
79 | | - font-weight: 500; |
80 | | -} |
81 | | - |
82 | | -a.primary { |
83 | | - background: var(--foreground); |
84 | | - color: var(--background); |
85 | | - gap: 8px; |
86 | | -} |
87 | | - |
88 | | -a.secondary { |
89 | | - border-color: var(--gray-alpha-200); |
90 | | - min-width: 180px; |
91 | | -} |
92 | | - |
93 | | -button.secondary { |
94 | | - appearance: none; |
95 | | - border-radius: 128px; |
96 | | - height: 48px; |
97 | | - padding: 0 20px; |
98 | | - border: none; |
99 | | - font-family: var(--font-geist-sans); |
100 | | - border: 1px solid transparent; |
101 | | - transition: background 0.2s, color 0.2s, border-color 0.2s; |
102 | | - cursor: pointer; |
103 | | - display: flex; |
104 | | - align-items: center; |
105 | | - justify-content: center; |
106 | | - font-size: 16px; |
107 | | - line-height: 20px; |
108 | | - font-weight: 500; |
109 | | - background: transparent; |
110 | | - border-color: var(--gray-alpha-200); |
111 | | - min-width: 180px; |
112 | | -} |
113 | | - |
114 | | -.footer { |
115 | | - font-family: var(--font-geist-sans); |
116 | | - grid-row-start: 3; |
117 | | - display: flex; |
118 | | - gap: 24px; |
119 | | -} |
120 | | - |
121 | | -.footer a { |
122 | | - display: flex; |
123 | | - align-items: center; |
124 | | - gap: 8px; |
125 | | -} |
126 | | - |
127 | | -.footer img { |
128 | | - flex-shrink: 0; |
129 | | -} |
130 | | - |
131 | | -/* Enable hover only on non-touch devices */ |
132 | | -@media (hover: hover) and (pointer: fine) { |
133 | | - a.primary:hover { |
134 | | - background: var(--button-primary-hover); |
135 | | - border-color: transparent; |
136 | | - } |
137 | | - |
138 | | - a.secondary:hover { |
139 | | - background: var(--button-secondary-hover); |
140 | | - border-color: transparent; |
141 | | - } |
142 | | - |
143 | | - .footer a:hover { |
144 | | - text-decoration: underline; |
145 | | - text-underline-offset: 4px; |
146 | | - } |
147 | | -} |
148 | | - |
149 | | -@media (max-width: 600px) { |
150 | | - .page { |
151 | | - padding: 32px; |
152 | | - padding-bottom: 80px; |
153 | | - } |
154 | | - |
155 | | - .main { |
156 | | - align-items: center; |
157 | | - } |
158 | | - |
159 | | - .main ol { |
160 | | - text-align: center; |
161 | | - } |
162 | | - |
163 | | - .ctas { |
164 | | - flex-direction: column; |
165 | | - } |
166 | | - |
167 | | - .ctas a { |
168 | | - font-size: 14px; |
169 | | - height: 40px; |
170 | | - padding: 0 16px; |
171 | | - } |
172 | | - |
173 | | - a.secondary { |
174 | | - min-width: auto; |
175 | | - } |
176 | | - |
177 | | - .footer { |
178 | | - flex-wrap: wrap; |
179 | | - align-items: center; |
180 | | - justify-content: center; |
181 | | - } |
182 | | -} |
183 | | - |
184 | | -@media (prefers-color-scheme: dark) { |
185 | | - .logo { |
186 | | - filter: invert(); |
187 | | - } |
188 | | -} |
0 commit comments