-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.css
338 lines (297 loc) · 6.44 KB
/
main.css
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
body {
background-image: linear-gradient(45deg, #000, #000);
min-height: 100vh;
overflow-x: hidden;
}
#result {
margin-top: 50px;
margin-left: 20px; margin-right: 20px;
text-align: center;
border-radius: 20px;
display: none;
transition: 1s;
transform: scale(0);
}
#alias {
font-family: "DM Sans";
}
#myself {
transition: 1s;
transform: scale(1);
}
#en {
color: #fdaf01;
border: 1px solid #fdaf01;
display: inline-block;
border-radius: 20px;
padding: 20px;
margin-bottom: 40px;
font-weight: bold;
margin: 0px;
}
h1 {
color: #fdaf01;
text-align: center;
font-family: "DM Sans";
font-size: 3rem;
margin-bottom: 60px;
animation: 4s atten infinite;
}
.timeslot {
color: black;
text-align: center;
font-family: "DM Sans";
font-size: 2rem;
}
h3 {
font-family: "DM Sans";
color: #fdaf01;
text-align: center;
animation: 4s movee infinite;
}
h4 {
text-align: center;
color: #104768;
font-size: 1.3rem;
}
#i-one {
font-family: 'DM Sans', serif;
font-weight: 400;
color: #ffffff;
}
#i-two {
color: #fdaf01;
font-family: 'DM Sans', serif;
font-weight: 700;
text-decoration: underline;
}
button {
height: 30px;
text-align: center;
background-color: transparent;
color: #fdaf01;
cursor: pointer;
border: 1px solid #fdaf01;
border-radius: 20px;
margin: 20px; padding-left: 15px; padding-right: 15px;
font-weight: bold;
font-size: 1rem;
outline: 0 none;
align-self: center;
}
select {
height: 30px;
align-self: center;
padding-left: 10px;
padding-right: 10px;
margin-left: 20px;
margin-bottom: 30px;
border-radius: 20px;
border: none;
text-align: center;
background-color: #fdaf01;
color: black;
font-weight: 700;
font-size: 1rem;
font-family: 'DM Sans';
outline: 0 none;
}
::-webkit-input-placeholder { /* WebKit, Blink, Edge */
color: black;
}
:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
color: black;
opacity: 1;
}
::-moz-placeholder { /* Mozilla Firefox 19+ */
color: black;
opacity: 1;
}
:-ms-input-placeholder { /* Internet Explorer 10-11 */
color: black;
}
::-ms-input-placeholder { /* Microsoft Edge */
color: black;
}
::placeholder { /* Most modern browsers support this now. */
color: black;
}
input {
height: 30px; width: 30vw;
margin-bottom: 30px; padding: 10px;
border-radius: 20px;
border: none;
text-align: center;
font-size: 1rem;
background-color: #fdaf01;
color: black;
font-weight: bold;
font-family: 'DM Sans';
outline: 0 none;
}
select option {
color: #104768;
text-align: center;
background-color: white;
font-weight: 400;
}
@keyframes atten {
10% {
transform: scale(1);
}
17% {
transform: scale(1.2);
}
24% {
transform: scale(1) rotate(0deg);
}
40% {
transform: rotate(0deg);
}
47% {
transform: rotate(-20deg);
}
54% {
transform: rotate(20deg);
}
61% {
transform: rotate(0deg);
}
}
@keyframes movee {
40% {
transform: translateX(0);
}
47% {
transform: translateX(-20px);
}
54% {
transform: translateX(20px);
}
61% {
transform: translateX(0);
}
}
* {
box-sizing: border-box;
}
/* Set a background color */
body {
background-color: #474e5d;
font-family: "DM Sans", sans-serif;
}
/* The actual timeline (the vertical ruler) */
.timeline {
position: relative;
max-width: 1200px;
margin: 0 auto;
padding-top: 40px;
}
/* The actual timeline (the vertical ruler) */
.timeline::after {
content: '';
position: absolute;
width: 6px;
background-color: white;
top: 0;
bottom: 0;
left: 50%;
margin-left: -3px;
}
/* Container around content */
.container {
padding: 10px 40px;
position: relative;
background-color: inherit;
width: 50%;
}
/* The circles on the timeline */
.container::after {
content: '';
position: absolute;
width: 25px;
height: 25px;
right: -17px;
background-color: #fdaf01;
border: 4px solid #fdaf01;
top: 15px;
border-radius: 50%;
z-index: 1;
}
/* Place the container to the left */
.left {
left: 0;
}
/* Place the container to the right */
.right {
left: 50%;
}
/* Add arrows to the left container (pointing right) */
.left::before {
content: " ";
height: 0;
position: absolute;
top: 22px;
width: 0;
z-index: 1;
right: 30px;
border: medium solid #fdaf01;
border-width: 10px 0 10px 10px;
border-color: transparent transparent transparent #fdaf01;
}
/* Add arrows to the right container (pointing left) */
.right::before {
content: " ";
height: 0;
position: absolute;
top: 22px;
width: 0;
z-index: 1;
left: 30px;
border: medium solid #fdaf01;
border-width: 10px 10px 10px 0;
border-color: transparent #fdaf01 transparent transparent;
}
/* Fix the circle for containers on the right side */
.right::after {
left: -16px;
}
/* The actual content */
.content {
padding: 20px 30px;
background-color: #fdaf01;
position: relative;
border-radius: 6px;
}
/* Media queries - Responsive timeline on screens less than 600px wide */
@media screen and (max-width: 600px) {
/* Place the timelime to the left */
.timeline::after {
left: 31px;
}
/* Full-width containers */
.container {
width: 100%;
padding-left: 70px;
padding-right: 25px;
}
/* Make sure that all arrows are pointing leftwards */
.container::before {
left: 60px;
border: medium solid #fdaf01;
border-width: 10px 10px 10px 0;
border-color: transparent #fdaf01 transparent transparent;
}
/* Make sure all circles are at the same spot */
.left::after, .right::after {
left: 15px;
}
/* Make all right containers behave like the left ones */
.right {
left: 0%;
}
}
a {
color: inherit;
text-decoration: inherit;
}