eny.space Landingpage
1/* Variables */
2:root {
3 --body-color: #050505;
4 --body-text-color: #f5f5f5;
5 --checkout-color: #8f6ed5;
6 --elements-color: #7c7cff;
7 --h1-color: #f9fafb;
8 --h2-color: #e5e7eb;
9 --h3-color: #9ca3af;
10 --radius: 6px;
11 --container-width-max: 1280px;
12 --page-width-max: 600px;
13 --transition-duration: 2s;
14}
15
16body {
17 margin: 0;
18 padding: 0;
19 background: var(--body-color);
20 color: var(--body-text-color);
21 overflow-y: scroll;
22}
23
24* {
25 box-sizing: border-box;
26 -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
27}
28
29#__next {
30 display: flex;
31 justify-content: center;
32}
33
34.container {
35 max-width: var(--container-width-max);
36 padding: 45px 25px;
37 display: flex;
38 flex-direction: row;
39}
40
41.page-container {
42 padding-bottom: 60px;
43 max-width: var(--page-width-max);
44}
45
46h1 {
47 font-weight: 600;
48 color: var(--h1-color);
49 margin: 6px 0 12px;
50 font-size: 27px;
51 line-height: 32px;
52}
53
54h1 span.light {
55 color: var(--h3-color);
56}
57
58h2 {
59 color: var(--h2-color);
60 margin: 8px 0;
61}
62
63h3 {
64 font-size: 17px;
65 color: var(--h3-color);
66 margin: 8px 0;
67}
68
69a {
70 color: #ffffff;
71 text-decoration: none;
72}
73
74header {
75 position: relative;
76 flex: 0 0 250px;
77 padding-right: 48px;
78}
79
80.header-content {
81 position: sticky;
82 top: 45px;
83}
84
85.logo img {
86 height: 20px;
87 margin-bottom: 52px;
88}
89
90ul,
91li {
92 list-style: none;
93 padding: 0;
94 margin: 0;
95}
96
97.card-list {
98 display: flex;
99 flex-wrap: wrap;
100 align-content: flex-start;
101 padding-top: 64px;
102}
103
104.card {
105 display: block;
106 border-radius: 10px;
107 position: relative;
108 padding: 12px;
109 height: 320px;
110 flex: 0 0 33%;
111 min-width: 304px;
112 width: 33%;
113 margin: 0 20px 20px 0;
114 text-decoration: none;
115 box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6),
116 0 0 0 1px rgba(255, 255, 255, 0.08);
117 background: #0b0b0f;
118}
119.card h2 {
120 color: #fff;
121}
122.card h2.bottom {
123 position: absolute;
124 bottom: 10px;
125}
126
127.card img {
128 width: 80%;
129 position: absolute;
130 top: 50%;
131 left: 50%;
132 transform: translate(-50%, -50%);
133}
134
135.error-message {
136 color: #ef2961;
137}
138
139.FormRow,
140fieldset,
141input[type="number"],
142input[type="text"] {
143 border-radius: var(--radius);
144 padding: 5px 12px;
145 width: 100%;
146 background: #111827;
147 color: var(--body-text-color);
148 appearance: none;
149 font-size: 16px;
150 margin-top: 10px;
151}
152
153input[type="range"] {
154 margin: 5px 0;
155 width: 100%;
156}
157
158button {
159 border-radius: var(--radius);
160 color: white;
161 font-size: larger;
162 border: 0;
163 padding: 12px 16px;
164 margin-top: 10px;
165 font-weight: 600;
166 cursor: pointer;
167 transition: all 0.2s ease;
168 display: block;
169 width: 100%;
170}
171button:disabled {
172 opacity: 0.5;
173 cursor: not-allowed;
174}
175
176.elements-style {
177 color: var(--elements-color);
178 border: 1px solid var(--elements-color);
179}
180.elements-style-background {
181 background: var(--elements-color);
182 transition: box-shadow var(--transition-duration);
183}
184.card.elements-style-background:hover {
185 box-shadow: 20px 20px 60px #464e9c, -20px -20px 60px #8896ff;
186}
187.checkout-style {
188 color: var(--checkout-color);
189 border: 1px solid var(--checkout-color);
190}
191.checkout-style-background {
192 background: #000000;
193 color: #ffffff;
194 border: 1px solid #ffffff;
195 transition: box-shadow var(--transition-duration), transform 0.15s ease;
196}
197.card.checkout-style-background:hover {
198 box-shadow: 0 0 0 2px #ffffff;
199 transform: translateY(-2px);
200}
201
202/* Test card number */
203.test-card-notice {
204 display: block;
205 margin-block-start: 1em;
206 margin-block-end: 1em;
207 margin-inline-start: 0px;
208 margin-inline-end: 0px;
209}
210.card-number {
211 display: inline;
212 white-space: nowrap;
213 font-family: Menlo, Consolas, monospace;
214 color: #3c4257;
215 font-weight: 500;
216}
217.card-number span {
218 display: inline-block;
219 width: 4px;
220}
221
222/* Code block */
223code,
224pre {
225 font-family: "SF Mono", "IBM Plex Mono", "Menlo", monospace;
226 font-size: 12px;
227 background: rgba(255, 255, 255, 0.04);
228 padding: 12px;
229 border-radius: var(--radius);
230 max-height: 500px;
231 width: var(--page-width-max);
232 overflow: auto;
233}
234
235.banner {
236 max-width: 825px;
237 margin: 0 auto;
238 font-size: 14px;
239 background: #111827;
240 color: #e5e7eb;
241 border-radius: 50px;
242 box-shadow: 0 12px 30px rgba(0, 0, 0, 0.8),
243 0 0 0 1px rgba(255, 255, 255, 0.08);
244 display: flex;
245 align-items: center;
246 box-sizing: border-box;
247 padding: 15px;
248 line-height: 1.15;
249 position: fixed;
250 bottom: 2vh;
251 left: 0;
252 right: 0;
253 text-align: center;
254 justify-content: center;
255}
256
257@media only screen and (max-width: 980px) {
258 .container {
259 flex-direction: column;
260 }
261
262 .header-content {
263 max-width: 280px;
264 position: relative;
265 top: 0;
266 }
267
268 .card {
269 margin: 0 20px 20px 0;
270 box-shadow: none;
271 }
272
273 .card-list {
274 padding-top: 0;
275 }
276
277 .banner {
278 box-shadow: none;
279 bottom: 0;
280 }
281}
282
283@media only screen and (max-width: 600px) {
284 .container {
285 flex-direction: column;
286 }
287
288 .card {
289 display: block;
290 border-radius: 8px;
291 flex: 1 0 100%;
292 max-width: 100%;
293 padding-left: 0;
294 padding-right: 0;
295 margin: 0 0 20px 0;
296 box-shadow: none;
297 }
298
299 .card-list {
300 padding-top: 0;
301 }
302
303 code,
304 pre,
305 h3 {
306 display: none;
307 }
308
309 .banner {
310 box-shadow: none;
311 bottom: 0;
312 }
313}