-
Notifications
You must be signed in to change notification settings - Fork 0
/
FAQ.html
408 lines (304 loc) · 11.6 KB
/
FAQ.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
</head>
<body>
<div class="card-wrapper | content-cc">
<div class="faq-card">
<div class="faq-ilustrations">
<!-- mobile -->
<img class="profile-circle" src="img/PyHack Logos/PyHack Logo.jpg">
</img>
<!-- mobile -->
</div>
<main class="faq-content">
<h1>FAQ</h1>
<div class="faq-articles">
<article class="faq-accordion">
<input type="checkbox" class="tgg-title" id="tgg-title-1">
<div class="faq-accordion-title">
<label for="tgg-title-1">
<h2> How do I participate in the PYHACK 2.O?</h2>
<span class="arrow-icon">
<img src="https://raw.githubusercontent.com/Romerof/FAQ-accordion-card/main/images/icon-arrow-down.svg">
</span>
</label>
</div>
<div class="faq-accordion-content">
<p>Register your team! <br> Form a group of 2 to 4 members from your school/university and make sure to register in advance to secure your spot.</p>
</div>
</article> <!-- faq accordion -->
<article class="faq-accordion">
<input type="checkbox" class="tgg-title" id="tgg-title-2">
<div class="faq-accordion-title">
<label for="tgg-title-2">
<h2>
Can I choose how to participate?
</h2>
<span class="arrow-icon">
<img src="https://raw.githubusercontent.com/Romerof/FAQ-accordion-card/main/images/icon-arrow-down.svg">
</span>
</label>
</div>
<div class="faq-accordion-content">
<p>Absolutely! You have the option to participate either in person at the IIT Computing School or virtually from any location that suits you best.</p>
</div>
</article> <!-- faq accordion -->
<article class="faq-accordion">
<input class="tgg-title" type="checkbox" id="tgg-title-3">
<div class="faq-accordion-title">
<label for="tgg-title-3">
<h2>
Will the challenges be Python-focused?
</h2>
<span class="arrow-icon">
<img src="https://raw.githubusercontent.com/Romerof/FAQ-accordion-card/main/images/icon-arrow-down.svg">
</span>
</label>
</div>
<div class="faq-accordion-content">
<p>Yes, the challenges are exclusively in Python for school candidates.</p>
</div>
</article> <!-- faq accordion -->
</article> <!-- faq accordion -->
<article class="faq-accordion">
<input class="tgg-title" type="checkbox" id="tgg-title-3">
<div class="faq-accordion-title">
<label for="tgg-title-3">
<h2>
Should I bring my own laptop?
</h2>
<span class="arrow-icon">
<img src="https://raw.githubusercontent.com/Romerof/FAQ-accordion-card/main/images/icon-arrow-down.svg">
</span>
</label>
</div>
<div class="faq-accordion-content">
<p>If participating in person, bring your own laptop. <br>If not, let us know in
advance for arrangements.</p>
</div>
</article> <!-- faq accordion -->
<article class="faq-accordion">
<input class="tgg-title" type="checkbox" id="tgg-title-4">
<div class="faq-accordion-title">
<label for="tgg-title-4">
<h2>
Is this contest focused on problem-solving skills?
</h2>
<span class="arrow-icon">
<img src="https://raw.githubusercontent.com/Romerof/FAQ-accordion-card/main/images/icon-arrow-down.svg">
</span>
</label>
</div>
<div class="faq-accordion-content">
<p>
Yes! analyze the challenges thoroughly, plan your approach strategically, and manage your time effectively to crack the problem.</p>
</div>
</article> <!-- faq accordion -->
<article class="faq-accordion">
<input class="tgg-title" type="checkbox" id="tgg-title-5">
<div class="faq-accordion-title">
<label for="tgg-title-5">
<h2>
What platform will I use for coding and submissions??
</h2>
<span class="arrow-icon">
<img src="https://raw.githubusercontent.com/Romerof/FAQ-accordion-card/main/images/icon-arrow-down.svg">
</span>
</label>
</div>
<div class="faq-accordion-content">
<p> Use "HackerRank" platform for your coding and submission needs.</p>
</div>
</article> <!-- faq accordion -->
<article class="faq-accordion">
<input class="tgg-title" type="checkbox" id="tgg-title-4">
<div class="faq-accordion-title">
<label for="tgg-title-4">
<h2>
How should I submit my work?
</h2>
<span class="arrow-icon">
<img src="https://raw.githubusercontent.com/Romerof/FAQ-accordion-card/main/images/icon-arrow-down.svg">
</span>
</label>
</div>
<div class="faq-accordion-content">
<p>
Document your code meticulously and adhere to the submission instructions provided. Attention to detail is key!Document your code and follow submission instructions carefully.</p>
</div>
</article> <!-- faq accordion -->
<article class="faq-accordion">
<input class="tgg-title" type="checkbox" id="tgg-title-4">
<div class="faq-accordion-title">
<label for="tgg-title-4">
<h2>
Are there any workshops available?
</h2>
<span class="arrow-icon">
<img src="https://raw.githubusercontent.com/Romerof/FAQ-accordion-card/main/images/icon-arrow-down.svg">
</span>
</label>
</div>
<div class="faq-accordion-content">
<p>
Absolutely yes! Exclusive workshops are offered for school candidates. <br>You'll have the opportunity to attend three insightful workshops conducted by an experienced Python lecturer. These workshops are designed to prepare you for the exciting challenges that await.</p>
</div>
</article> <!-- faq accordion -->
</div> <!-- faq articles -->
</main> <!-- faq -->
</div> <!-- faq card -->
</div> <!-- card wrapper -->
<footer class="attribution">
Challenge by <a href="https://www.frontendmentor.io?ref=challenge" target="_blank">Frontend Mentor</a>.
Coded by <a href="https://www.frontendmentor.io/profile/Romerof/bookmarks">Javier Romero</a> 🔥. *movile version* See full <a href="https://github.com/Romerof/FAQ-accordion-card" target="_blank">Gitbhub</a>
</footer>
<style>
@import url('https://fonts.googleapis.com/css2?family=Kumbh+Sans:wght@400;700&display=swap');
:root{
--principal-font: 'Kumbh Sans', sans-serif;
--font-size: 12px;
--bg-gradient: linear-gradient(to bottom, hsl(273, 75%, 66%), hsl(240, 73%, 65%));
--primary-dark-color: hsl(0, 0%, 100%);
--primary-soft-color: hsl(84, 100%, 50%);
--neutral-dark-color: hsl(0, 0%, 100%);
--neutral-soft-color: hsl(0, 0%, 100%);
}
html {
box-sizing: border-box;
}
* {box-sizing: inherit;}
.attribution {
font-size: 11px; text-align: center;
background-color: hsl(240, 5%, 91%);
padding: 8px 0 5px;
position: fixed;
bottom: 0;
left: 0;
right: 0;
width: 100%;
}
/* delete this part */
.attribution a { color: hsla(116, 100%, 45%, 0.911); }
/* global */
/*================================================*/
body {
margin:0;
font-family: var(--principal-font);
font-size: 12px;
color: var(--neutral-dark-color);
background: var(--bg-gradient);
background-size: cover;
}
.card-wrapper {
min-height: 100vh;
padding-bottom: 50px; /* footer fixed */
padding-top: 25px;
}
p {
margin: 0 0 12px;
line-height: 1.5;
}
h2 {
margin: 12px 0;
}
/* generics */
/*================================================*/
.content-cc{
display: flex;
justify-content: center;
align-items: center;
}
/* FAQ card */
/*================================================*/
.faq-card {
background-color: #ffffff56;
border-radius: 20px;
max-width: 310px;
margin-top: 90px;
box-shadow: 0px 60px 50px -25px rgba(0, 0, 0, 0.35);
}
/* FAQ card: imagenes */
/*================================================*/
.faq-ilustrations{
position: relative;
}
.faq-ilustrations .mobile.ilust{
position: absolute;
top:-110px;
left:-30px;
right: 0;
}
.mobile{
display: block;
margin: 0 auto;
}
/* FAQ card: main */
/*================================================*/
.faq-content {
padding: 9px 25px 3rem;
}
.faq-content h1 {
font-size: 32px;
text-align: center;
color: var(--primary-dark-color);
}
.faq-accordion {
padding: 8px 0;
border-bottom: 1px solid hsla(240, 4%, 91%, 0.32);
}
/* FAQ card: main title */
/*================================================*/
/* checkbox tgg-title*/
input.tgg-title {
appearance: unset;
all:unset;
}
.faq-accordion-title label{
display: flex;
align-items: center;
cursor: pointer;
}
.faq-accordion-title h2{
font-size: 12px /*var(--font-size)*/;
font-weight: 400;
color: var(--neutral-dark-color);
}
.faq-accordion-title span{
margin-left: auto;
transition: transform .4s ease-in-out;
}
/* FAQ card: main content */
/*================================================*/
.faq-accordion-content {
color: var(--neutral-soft-color);
overflow: hidden;
max-height: 0;
transition: max-height .4s ease-in-out;
}
/* Effects */
/*================================================*/
/* main title, accordion title effects */
.faq-accordion-title:hover h2{
color: var(--primary-soft-color)
}
/* onclick "" */
.faq-accordion .tgg-title:checked + div>label>h2 {
font-weight: 700;
color: var(--primary-soft-color)
}
.faq-accordion .tgg-title:checked + div>label>span {
will-change: transform;
transform: rotate(180deg);
}
/* main content, acordion text effect */
.faq-accordion .tgg-title:checked ~ .faq-accordion-content{
will-change: max-height;
max-height: 80px;
}
</style>
</body>
</html>