-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindex.css
383 lines (379 loc) · 9.06 KB
/
index.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
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
*{
margin: 0px;
padding: 0px;
color: white;
}
body{
background-attachment: scroll;
background-color: #330033;
font-family: "Londrina Solid";
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400' viewBox='0 0 800 800'%3E%3Cg fill='none' stroke='%23404' stroke-width='1'%3E%3Cpath d='M769 229L1037 260.9M927 880L731 737 520 660 309 538 40 599 295 764 126.5 879.5 40 599-197 493 102 382-31 229 126.5 79.5-69-63'/%3E%3Cpath d='M-31 229L237 261 390 382 603 493 308.5 537.5 101.5 381.5M370 905L295 764'/%3E%3Cpath d='M520 660L578 842 731 737 840 599 603 493 520 660 295 764 309 538 390 382 539 269 769 229 577.5 41.5 370 105 295 -36 126.5 79.5 237 261 102 382 40 599 -69 737 127 880'/%3E%3Cpath d='M520-140L578.5 42.5 731-63M603 493L539 269 237 261 370 105M902 382L539 269M390 382L102 382'/%3E%3Cpath d='M-222 42L126.5 79.5 370 105 539 269 577.5 41.5 927 80 769 229 902 382 603 493 731 737M295-36L577.5 41.5M578 842L295 764M40-201L127 80M102 382L-261 269'/%3E%3C/g%3E%3Cg fill='%23505'%3E%3Ccircle cx='769' cy='229' r='5'/%3E%3Ccircle cx='539' cy='269' r='5'/%3E%3Ccircle cx='603' cy='493' r='5'/%3E%3Ccircle cx='731' cy='737' r='5'/%3E%3Ccircle cx='520' cy='660' r='5'/%3E%3Ccircle cx='309' cy='538' r='5'/%3E%3Ccircle cx='295' cy='764' r='5'/%3E%3Ccircle cx='40' cy='599' r='5'/%3E%3Ccircle cx='102' cy='382' r='5'/%3E%3Ccircle cx='127' cy='80' r='5'/%3E%3Ccircle cx='370' cy='105' r='5'/%3E%3Ccircle cx='578' cy='42' r='5'/%3E%3Ccircle cx='237' cy='261' r='5'/%3E%3Ccircle cx='390' cy='382' r='5'/%3E%3C/g%3E%3C/svg%3E");
}
/* Top Navigational Bar */
nav{
margin: 0px;
position: fixed;
padding: 5px;
width: 100%;
color: white;
display: flex;
gap: 50px;
flex-direction: row;
justify-content: flex-end;
font-size: 50px;
background-color: rgba(255,255,255,0.1);
z-index: 4;
}
/* Right Content Bar*/
.contents{
display: flex;
position: fixed;
width: 5%;
height: 85.4vh;
flex-direction: column;
right:0px;
bottom:0px;
transition: width 0.4s;
padding:10px;
gap:20px;
z-index: 5;
white-space: nowrap;
}
/* Icons for content Bar */
.web_nav::before{
content: url(icons_pics/web_nav.png);
padding: 10px 10px 10px 0px;
vertical-align: middle;
}
.cont_nav::before{
content: url(icons_pics/code.png);
padding: 10px 10px 10px 0px;
vertical-align: middle;
}
.prog_nav::before{
content: url(icons_pics/prog_nav.png);
padding: 10px 10px 10px 0px;
vertical-align: middle;
}
.app_nav::before{
content: url(icons_pics/app_nav.png);
padding: 10px 10px 10px 0px;
vertical-align: middle;
}
.contents:hover {
background-color: #30336b;
z-index: 5;
width:30%;
font-size: 45px;
height:100vh;
}
/* Login Button */
.login{
position: relative;
right:20px;
padding:3px;
font-size: 40px;
border: 2px solid whitesmoke;
border-radius: 10px;
padding-left: 10px;
padding-right: 10px;
box-shadow: 1px 1px 5px rgba(0,0,0,0.5);
}
.login::before{
content: url(icons_pics/login_logo.png);
padding: 10px 10px 10px 0px;
vertical-align: middle;
}
.home_text p{
position: relative;
color: whitesmoke;
font-size: 200px;
font-family: "Mountains of Christmas";
transform:translate(35%,40%);
text-shadow: 5px 5px rgb(139, 79, 79);
}
.mobile{
display:none;
}
.world{
position: relative;
top: -100px;
left: 200px;
}
.home{
overflow: hidden;
width: 100%;
height: 100vh;
}
a{
text-decoration: none;
}
article{
width: 90%;
margin:auto;
margin: 1%;
text-align: center;
font-family: 'Gentium Book Basic', serif;
font-size: 64px;
}
.web{
text-shadow: 3px 3px 2px rgb(0,0,0);
}
.web::before{
content: url(icons_pics/browser.png);
padding: 10px 10px 10px 0px;
vertical-align: middle;
}
.logo{
background-color: rgba(0,0,0,0.4);
border-radius: 30px;
box-shadow: 2px 2px 5px rgba(0,0,0,1),-2px -2px 5px rgba(0,0,0,0.2);
display: inline-block;
width:30%;
padding: 5px;
box-shadow: rgba(0,0,0,0.5);
}
.logo img{
width:100%;
}
.content{
font-size: 25px;
}
.prog{
text-shadow: 3px 3px 2px rgb(0,0,0);
}
.prog::before{
content:url(icons_pics/coding.png);
padding: 10px 10px 10px 0px;
vertical-align: middle;
}
.app::before{
content: url(icons_pics/app_logo.png);
padding: 10px 10px 10px 0px;
vertical-align: middle;
}
.app{
text-shadow: 3px 3px 2px rgb(0,0,0);
margin: 5px;
}
#ref{
width: 89%;
margin:auto;
margin: 1%;
text-align: center;
background-color: rgba(0,0,0,0.5);
border-radius: 15px;
padding: 15px;
font-size: 25px;
line-height: 35px;
box-shadow: 3px 3px 5px rgba(0,0,0,1);
}
.ref::before{
content: url(icons_pics/ref_logo.png);
vertical-align: middle;
padding: 10px;
}
#ref a{
text-decoration: underline;
}
li{
list-style: none;
}
#about{
width: 91.5%;
box-sizing: border-box;
margin:auto;
margin: 1%;
text-align: center;
background-color: rgba(0,0,0,0.5);
border-radius: 15px;
padding: 40px;
font-size: 25px;
line-height: 35px;
box-shadow: 3px 3px 5px rgba(0,0,0,1);
}
.abt::before{
content: url(icons_pics/about_logo.png);
vertical-align: middle;
padding: 10px;
}
#contact{
display: flex;
flex-direction: column;
width: 90%;
margin:auto;
margin: 1%;
background-color: rgba(0,0,0,0.5);
border-radius: 15px;
padding:13px;
box-shadow: 3px 3px 5px rgba(0,0,0,1);
align-items: flex-end;
gap:5px;
font-size: 30px;
}
#ctme{
align-self: center;
font-size: 50px;
}
#ctme::before{
content: url(icons_pics/contact_logo.png);
padding: 10px;
vertical-align: middle;
}
#sololearn::before{
content: url(icons_pics/sololearn_logo.png);
padding: 10px;
vertical-align: middle;
}
#mail::before{
content: url(icons_pics/gmail_logo.png);
padding: 10px;
vertical-align: middle;
}
#wa::before{
content: url(icons_pics/wa_logo.png);
padding: 10px;
vertical-align: middle;
}
#github::before{
content: url(icons_pics/github_logo.png);
padding: 10px;
vertical-align: middle;
}
a:hover{
color:rgb(153, 151, 151);
}
/* animation for orange */
.home_bg_orange{
position:absolute;
background-color: #ffaf40;
height:800px;
width:800px;
border-radius: 50%;
top:-190px;
left:-360px;
animation-name: ball;
animation-duration: 2s;
animation-timing-function: cubic-bezier(0.68, -0.55, 0.36, 1.55);
animation-fill-mode: both;
box-shadow: 5px 2px 5px rgba(10, 5, 5, 0.705);
}
@keyframes ball {
0%{
position:absolute;
top:-100px;
width:130%;
height: 150vh;
border-radius: 50%;
}
}
@media screen and (max-width: 500px) {
.navi{
padding-top: 4%;
font-size: 0.7em;
height:2em;
gap:2em;
background-color: rgba(255,255,255,0.5);
}
.mobile{
display:block;
position:relative;
top: 50%;
font-size: 1.5em;
margin: 10%;
}
.code{
font-size: 1.4em !important;
position:relative;
left:-20px;
top: 9em;
}
.login{
font-size: 0.9em;
}
.login:before{
display:none;
}
.home_bg_orange{
display:none;
}
.logo{
display: block;
width:80%;
margin:auto;
margin:4%;
margin-bottom: 10px;
}
.home_text p{
font-size: 6em;
position:relative;
top: 1em;
left:-20px;
transform: translate(10%);
}
.hello{
font-size: medium;
}
.world{
font-size: medium;
position: relative;
top:5px;
left: 100px;
}
header p{
position: relative;
top: 100px;
}
.contents{
width:10%;
height: 90vh;
}
.contents:hover{
width:80%;
font-size: 1.2em;
}
.content{
font-size: 0.3em;
}
.web {
font-size: 0.6em;
}
.prog{
font-size: 0.6em;
}
.app{
font-size: 0.6em;
}
#ref{
display: block;
width:70%;
margin:auto;
margin:4%;
margin-bottom: 10px;
font-size: 0.67em;
line-height: 2em;
}
#about{
display: block;
width:75%;
margin:auto;
margin:4%;
line-height: 2em;
margin-bottom: 10px;
font-size: 0.6em;
}
#contact{
width:70%;
margin:4%;
font-size: 0.67em;
}
#ctme{
font-size: 2.5em;
}
.abt{
font-size: 3em !important;
}
.ref{
font-size: 2.5em !important;
}
}