-
Notifications
You must be signed in to change notification settings - Fork 1
/
portfolio.html
498 lines (453 loc) · 16.9 KB
/
portfolio.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
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
<!DOCTYPE html>
<html lang="en">
<meta charset="utf-8">
<meta name="description" content="With love, from Sweden">
<meta name="author" content="Blackbeard">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<head>
<title>Portfolio</title>
<link href="https://fonts.googleapis.com/css?family=Hind|Montserrat|Nunito+Sans&display=swap" rel="stylesheet">
<style>
body {
color: white;
font-family: "Nunito Sans", "Hind", "Montserrat", sans-serif;
font-weight: 400;
cursor: default;
}
.page-container {
background: linear-gradient(45deg, #3494E6, #EC6EAD);
top: 0;
left: 0;
bottom: 0;
right: 0;
position: fixed;
}
.mouse-blocker {
display: none;
background: rgba(255, 255, 255, 0);
top: 0;
left: 0;
bottom: 0;
right: 0;
position: fixed;
z-index: 10000000;
}
.ui-container {
color: #FFFFFF;
display: flex;
position: fixed;
flex-direction: column;
justify-content: center;
align-items: center;
text-align: center;
top: 0;
left: 0;
bottom: 0;
right: 0;
overflow-x: scroll;
z-index: -98;
}
.anim-container {
color: #FFFFFF;
display: flex;
position: fixed;
flex-direction: column;
justify-content: center;
align-items: center;
text-align: center;
top: 0;
left: 0;
bottom: 0;
right: 0;
background: rgba(255, 255, 255, 0);
overflow: hidden;
z-index: -99;
}
.ui-title {
font-size: 2em;
margin-bottom: 30px;
}
.content-header{
font-weight: bold;
font-size: 1.5em;
}
.ui-buttons-container {
display: flex;
flex-direction: row;
justify-content: center;
align-items: center;
text-align: center;
}
.ui-button-1,
.ui-button-2,
.ui-button-3 {
position: relative;
width: 120px;
height: 120px;
border-radius: 60px;
background-color: #0B3954;
transition: all 0.25s;
margin: 10px;
text-align: center;
cursor: pointer;
font-size: 0.6em;
text-transform: uppercase;
z-index: 2;
}
.ui-button-1:hover,
.ui-button-2:hover,
.ui-button-3:hover {
transform: scale(1.25);
transform-origin: center;
background-color: #4DCCBD;
margin: 20px;
line-height: 4.5em;
color: black;
}
.icon {
width: 80px;
height: 80px;
transform-origin: center;
transform: translate(25%, 20%);
}
.ui-footer {
margin-top: 20px;
}
.expand-circle {
display: block;
position: relative;
opacity: 0;
width: 100px;
height: 100px;
border-radius: 50px;
background-color: #0B3954;
transform: translate(10%, -70%) scale(0.1);
z-index: -99;
}
.expand {
animation: expand 2s;
animation-fill-mode: forwards;
}
@keyframes expand {
0% {
transform: translate(10%, -70%) scale(0.0);
opacity: 0;
}
1% {
transform: translate(10%, -70%) scale(0.0);
opacity: 1;
}
100% {
transform: translate(10%, -70%) scale(200);
opacity: 1;
}
}
.shrink {
animation: shrink 0.75s;
animation-fill-mode: forwards;
}
@keyframes shrink {
0% {
transform: scale(1.0);
}
100% {
transform: scale(0.0);
opacity: 0;
}
}
.warn-noscript {
color: #ffffff;
display: flex;
position: fixed;
flex-direction: column;
justify-content: center;
align-items: center;
text-align: center;
top: 0;
left: 0;
bottom: 0;
right: 0;
overflow: hidden;
z-index: 99999;
background-color: rgb(0, 0, 0);
transition: all 0.5s;
opacity: 1;
line-height: auto;
}
.rotate-screen {
display: none;
}
.error-icon {
margin-bottom: 30px;
}
.intro-elem {
display: flex;
flex-direction: row;
}
.anim-intro {
animation: intro 2s;
animation-fill-mode: forwards;
}
.image-container {
display: flex;
flex-direction: row;
gap: 15px;
}
.pictview {
width: 200px;
height: 200px;
}
@keyframes intro {
0% {
transform: scale(100);
opacity: 0;
}
20% {
transform: scale(1);
opacity: 1;
}
80% {
transform: scale(1);
opacity: 1;
}
100% {
transform: scale(1);
opacity: 1;
}
}
.fade {
animation: fade 0.7s;
animation-fill-mode: forwards;
}
@keyframes fade {
0% {
opacity: 1;
}
100% {
opacity: 0;
}
}
.hide {
display: none;
transform: scale(0);
}
.flash {
animation: flash 2s infinite;
animation-timing-function: steps(1);
}
@keyframes flash {
0% {
opacity: 1;
}
50% {
opacity: 0;
}
100% {
opacity: 0;
}
}
.logo {
min-width: 300px;
max-width: 400px;
}
@media only screen and (max-width: 439px) {
.screen-rotate {
color: #ffffff;
display: flex;
position: fixed;
flex-direction: row;
justify-content: center;
align-items: center;
text-align: center;
top: 0;
left: 0;
bottom: 0;
right: 0;
overflow: hidden;
z-index: 999999;
background: rgb(0, 0, 0);
line-height: 0.4em;
}
.intro-container {
display: none;
}
}
@media only screen and (min-width: 440px) {
.screen-rotate {
display: none;
transform: translate(99999px);
}
.rotate-icon {
display: none;
}
}
</style>
</head>
<body>
<div class="page-container">
<div class="mouse-blocker" id="curtain"></div>
<div class="screen-rotate">
<div class="rotate-icon flash">
<svg xmlns="http://www.w3.org/2000/svg" width="128px" height="128px" viewBox="0 0 98.666 98.666">
<g fill="currentColor">
<path d="M84.271,42.357c-0.158,0.604-0.626,1.08-1.229,1.246c-0.153,0.041-0.31,0.062-0.465,0.062
c-0.453,0-0.896-0.177-1.229-0.504L70.201,32.163c-0.445-0.439-0.623-1.083-0.465-1.688s0.626-1.08,1.229-1.246l1.562-0.429
c-4.002-4.794-10.006-7.688-16.308-7.806c-0.954-0.018-1.717-0.797-1.717-1.75v-6.956c0-0.468,0.188-0.916,0.521-1.245
s0.798-0.48,1.252-0.504c11.136,0.152,21.165,5.863,26.968,15.313l2.825-0.777c0.603-0.165,1.248,0.004,1.692,0.441
c0.445,0.439,0.623,1.083,0.465,1.688L84.271,42.357z" />
<path d="M0.105,2v73.701c0,1.104,0.896,2,2,2h18.754l-0.001,18.681c-0.013,0.093-0.02,0.188-0.02,0.284c0,1.104,0.896,2,2,2
c0.006,0,0.013,0,0.02,0h73.703c1.104,0,2-0.896,2-2V50.105c0-1.104-0.896-2-2-2H50.666V2c0-1.104-0.896-2-2-2H2.105
C1.001,0,0.105,0.896,0.105,2z M29.796,89.729V57.043h59.827v32.686H29.796z M20.859,50.105v18.658H9.042V8.937h32.686v39.169
H22.859C21.755,48.106,20.859,49.002,20.859,50.105z" />
</g>
</svg>
</div>
</div>
<noscript>
<div class="warn-noscript">
<div class="error-icon flash">
<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewbox="12 12 90 90">
<g fill="currentColor" fill-rule="evenodd" clip-rule="evenodd">
<path d="M63.67 97.86c-9.32 0-18.64.12-27.95-.03-8.85-.15-11.9-5.55-7.53-13.21a7411.4 7411.4 0 0 1 28.13-48.85c4.44-7.63 10.72-7.57 15.24.16A6890.23 6890.23 0 0 1 99.79 84.7c4.42 7.7 1.33 13-7.68 13.13-9.48.13-18.96.02-28.44.02zm.13-3.78c9.33 0 18.66.1 27.98-.03 6.28-.08 7.6-2.36 4.5-7.77A7673.77 7673.77 0 0 0 68.54 38.3c-3.25-5.58-6.04-5.56-9.3.04-9.18 15.84-18.32 31.7-27.42 47.59-3.22 5.62-1.88 8.04 4.5 8.11 9.16.11 18.33.03 27.48.04z" />
<path d="M35.26 88.97L63.94 39.3l28.72 49.67h-57.4zm26.3-30.31v16.67l4.65-.32V58.66h-4.64zm-1 25.6h6.36V77.8h-6.36v6.46z" />
</g>
</svg>
</div>
<p>The page uses JavaScript. Please enable JavaScript to view the page.</p>
<p>Did you know? Enabling JavaScript has been proven to increase the enjoyment of this page by a factor of 10.</p>
<p>https://unforeseenocean.github.io</p>
</div>
</noscript>
<div class="ui-container">
<div class="ui-title">Portfolio<noscript>, but you hate JavaScript. Am I that untrustworthy?</noscript></div>
<div class="ui-buttons-container">
<div class="ui-button-1" title="Back" id="portfolio-btn" onclick="expand();">
<div class="icon" id="back-icon">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512">
<path fill="currentColor" d="M257.5 445.1l-22.2 22.2c-9.4 9.4-24.6 9.4-33.9 0L7 273c-9.4-9.4-9.4-24.6 0-33.9L201.4 44.7c9.4-9.4 24.6-9.4 33.9 0l22.2 22.2c9.5 9.5 9.3 25-.4 34.3L136.6 216H424c13.3 0 24 10.7 24 24v32c0 13.3-10.7 24-24 24H136.6l120.5 114.8c9.8 9.3 10 24.8.4 34.3z">
</path>
</svg>
</div>
<div class="expand-circle" id="expand"></div>
</div>
</div>
<div class="content-container">
<div class="content-box" id="box-1">
<div class="content-header">
Electronics - General
</div>
<div class="content-paragraph">
<div class="image-container">
<div class="image-elem">
<img class="pictview" src="img/elec/elec1.png" alt="picture">
<p>First image</p>
</div>
<div class="image-elem">
<img class="pictview" src="img/elec/elec2.png" alt="picture">
<p>Second image</p>
</div>
<div class="image-elem">
<img class="pictview" src="img/elec/elec3.png" alt="picture">
<p>Third image</p>
</div>
<div class="image-elem">
<img class="pictview" src="img/elec/elec4.png" alt="picture">
<p>Fourth image</p>
</div>
<div class="image-elem">
<img class="pictview" src="img/elec/elec5.png" alt="picture">
<p>Fifth image</p>
</div>
<div class="image-elem">
<img class="pictview" src="img/elec/elec6.png" alt="picture">
<p>Sixth image</p>
</div>
</div>
</div>
</div>
<div class="content-box" id="box-2">
<div class="content-header">
Electronics - Special Purpose
</div>
<div class="image-container">
<div class="image-elem">
<img class="pictview" src="img/desi/desi1.png" alt="picture">
<p>Witty Description</p>
</div>
<div class="image-elem">
<img class="pictview" src="img/desi/desi2.png" alt="picture">
<p>Fantastic Description</p>
</div>
<div class="image-elem">
<img class="pictview" src="img/desi/desi3.png" alt="picture">
<p>Smart Description</p>
</div>
<div class="image-elem">
<img class="pictview" src="img/desi/desi4.png" alt="picture">
<p>Ideal Description</p>
</div>
<div class="image-elem">
<img class="pictview" src="img/desi/desi5.png" alt="picture">
<p>Sufficient Description</p>
</div>
<div class="image-elem">
<img class="pictview" src="img/desi/desi6.png" alt="picture">
<p>Proper Description</p>
</div>
</div>
</div>
<div class="content-box" id="box-3">
<div class="content-header">
Designs
</div>
<div class="content-paragraph">
<div class="image-container">
<div class="image-elem">
<img class="pictview" src="img/grap/grap1.png" alt="picture">
<p>Beautiful Image</p>
</div>
<div class="image-elem">
<img class="pictview" src="img/grap/grap2.png" alt="picture">
<p>Energetic Image</p>
</div>
<div class="image-elem">
<img class="pictview" src="img/grap/grap3.png" alt="picture">
<p>Action-filled Image</p>
</div>
<div class="image-elem">
<img class="pictview" src="img/grap/grap4.png" alt="picture">
<p>Exciting Image</p>
</div>
<div class="image-elem">
<img class="pictview" src="img/grap/grap5.png" alt="picture">
<p>Serene Image</p>
</div>
<div class="image-elem">
<img class="pictview" src="img/grap/grap6.png" alt="picture">
<p>The Image With A Plan</p>
</div>
</div>
</div>
</div>
</div>
<div class="ui-footer">© 2023 Blackbeard. All rights reserved.
</div>
</div>
</div>
</body>
<script>
function expand() {
// Get DOM for each function
// Block mouse input by spawning an invisible div that covers the entire screen
var block = document.getElementById("curtain");
// Spawn blocker
block.style.display = "block";
setTimeout(function() {
document.getElementById("expand").classList.add("expand");
setTimeout(function() {
window.location.href = "index.html"
}, 500);
}, 250);
}
</script>
</html>