-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
1079 lines (955 loc) · 29.1 KB
/
style.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
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
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
/*
Andrew Deal
Professional Website
August 31, 2023
*/
:root {
/*--myBlue: #0ec0e4;*/
--myBlue: #0e9ccf;
/*Define left and right values for each element here*/
/*This makes changing them easier because it applies to original position + animations*/
--greetingTop: clamp(1vh, 10vw, 20vh);
--greetingLeft: 5vw;
--nameTop: clamp(1vh, 15vw, 30vh);
--nameLeft: 5vw;
--introTop: clamp(1vh, 27vw, 54vh);
--introLeft: 5vw;
--instructionsTop: clamp(1vh, 32.5vw, 65vh);
--instructionsLeft: 5vw;
--aboutMeTitleTop: clamp(1vh, 5vw, 10vh);
--aboutMeTitleLeft: 43vw;
--aboutMeParagraphTop: clamp(1vh, 12vw, 24vh);
--aboutMeParagraphLeft: 43vw;
--meTop: 0px;
--meLeft: 0px;
--projectsTitleTop: clamp(1vh, 3.5vw, 7vh);
--projectsTitleLeft: 0px;
--projectsInstructionsTop: clamp(1vh, 12vw, 23vh);
--projectsInstructionsLeft: 0px;
--projectsGalleryTop: clamp(1vh, 18vw, 32vh);
--projectsGalleryLeft: 0px;
--experienceTitleTop: clamp(1vh, 5vw, 10vh);
--experienceTitleLeft: 5vw;
--experienceDescriptionTop: clamp(1vh, 14vw, 27vh);
--experienceDescriptionLeft: 5vw;
--myResumeTop: clamp(1vh, 5vw, 10vh);
--myResumeLeft: 63vw;
--contactTitleTop: clamp(1vh, 5vw, 10vh);
--contactTitleLeft: 0px;
--contactBoxTop: clamp(1vh, 13.5vw, 27vh);
--contactBoxLeft: 15vw;
/*Hide scrollbars*/
scrollbar-width: none;
}
body {
/*background-color: #f0f8ff;*/
background: url("Images/backgroundSlower.gif");
background-repeat: no-repeat;
background-attachment: fixed;
background-size: cover;
margin: 0;
height: 99vh;
/*Overflow handling stops vertical scrolling but allows horizontal which helps on projects page*/
overflow-x: auto;
overflow-y: hidden;
/*Backup scrollbar hiding just to make sure it doesn't show up on any browser */
-ms-overflow-style: none; /* IE and Edge */
scrollbar-width: none; /* Firefox */
}
/*Backup scrollbar hiding just to make sure it doesn't show up on any browser */
body::-webkit-scrollbar {
display: none; /* Chrome, Safari and Opera */
}
h1, h2, h3 {
margin: 0;
}
/*Many elements from this point on have a "set position" property. These elements are the
elements and containers that are moved by the animations. Each "set position" element
has its position to fixed and its top and left set to predefined root variables
(the top and left of its position once opened) */
#greeting {
font-size: clamp(1px, 5vw, 10vh);
/*Set position*/
position: fixed;
top: var(--greetingTop);
left: var(--greetingLeft);
white-space: nowrap;
}
/*The animations are pretty repitive on how they work so there are comments
explaining this first one, the rest are just copy/pasted from this same logic*/
@keyframes shrinkAndMoveGreeting {
from {
top: var(--greetingTop); /*Start position when open*/
left: var(--greetingLeft); /*Start position when open*/
transform: scale(1); /*Start at 100% scale*/
transform-origin: center; /*Uses a changing transform origin because without it, the animation is not as smooth*/
}
to {
top: calc(var(--homeFolderY) - var(--greetingHeight)); /*Centers the height against the (center) Y of the folder*/
left: calc(var(--homeFolderX) - var(--greetingWidth)); /*Centers the width against the (center) X of the folder*/
transform: scale(0); /*Shrink to 0% scale*/
transform-origin: center;
}
}
@keyframes growAndMoveGreeting {
from {
top: calc(var(--homeFolderY) - var(--greetingHeight)); /*Start centered vertically and...*/
left: calc(var(--homeFolderX) - var(--greetingWidth)); /*...horizontally on the folder*/
transform: scale(0); /*Starts at 0% scale*/
transform-origin: top left; /*Note that shrinking and growing each have a transform origin that looks nicer for that animation,
center and top left respectively*/
}
to {
top: var(--greetingTop); /*move to the set position saved in the root variables*/
left: var(--greetingLeft); /*move to the set position saved in the root variables*/
transform: scale(1); /*Grow to full scale*/
transform-origin: top left;
}
}
#name {
font-family: monospace serif;
font-size: clamp(1px, 11vw, 22vh);
color: rgba(0, 0, 0, 0); /* Text is fully transparent */
-webkit-text-stroke: 0.1vw black; /* Outline width and color */
-webkit-text-fill-color: transparent;
font-weight: bold;
/*Setup for ".fancy" background moving animation*/
background: linear-gradient(
to right,
var(--myBlue),
var(--myBlue),
var(--myBlue),
var(--myBlue),
rgb(226, 87, 145),
rgb(226, 87, 145),
var(--myBlue)
);
background-size: 200%;
background-clip: auto; /*Unnecessary but gets rid of yellow squiggly line*/
-webkit-background-clip: text;
white-space: nowrap;
/*Set position*/
position: fixed;
top: var(--nameTop);
left: var(--nameLeft);
}
@keyframes shrinkAndMoveName {
from {
top: var(--nameTop);
left: var(--nameLeft);
transform: scale(1);
transform-origin: center;
}
to {
top: calc(var(--homeFolderY) - var(--myNameHeight));
left: calc(var(--homeFolderX) - var(--myNameWidth));
transform: scale(0);
transform-origin: center;
}
}
@keyframes growAndMoveName {
from {
top: calc(var(--homeFolderY) - var(--myNameHeight));
left: calc(var(--homeFolderX) - var(--myNameWidth));
transform: scale(0);
transform-origin: top left;
}
to {
top: var(--nameTop);
left: var(--nameLeft);
transform: scale(1);
transform-origin: top left;
}
}
/* For future mobile sizing
@media only screen and (max-width: 400px) {
#name {
color: var(--myBlue);
-webkit-text-stroke: 1px black; /* Outline width and color
font-size: 15vw;
left: 0px;
width: 100%;
text-align: center;
}
}*/
/*An animation for the h1 on the home page that is currently unused*/
/*.fancy {
background-clip: auto; /*Unnecessary but gets rid of yellow squiggly line
-webkit-background-clip: text;
white-space: nowrap;
}
@keyframes background-pan { /*Also has to keep it at its position
from {
background-position: -200% center;
top: var(--nameTop);
left: var(--nameLeft);
transform: scale(1);
}
to {
background-position: 0% center;
top: var(--nameTop);
left: var(--nameLeft);
transform: scale(1);
}
}
*/
#intro {
font-size: clamp(1px, 3vw, 6vh);
padding-bottom: 1vw;
border-bottom: clamp(0.1vh, 0.4vw, 0.6vh) solid var(--myBlue);
/*Set position*/
position: fixed;
top: var(--introTop);
left: var(--introLeft);
white-space: nowrap;
}
@keyframes shrinkAndMoveIntro {
from {
top: var(--introTop);
left: var(--introLeft);
transform: scale(1);
transform-origin: center;
}
to {
top: calc(var(--homeFolderY) - var(--introHeight));
left: calc(var(--homeFolderX) - var(--introWidth));
transform: scale(0);
transform-origin: center;
}
}
@keyframes growAndMoveIntro {
from {
top: calc(var(--homeFolderY) - var(--introHeight));
left: calc(var(--homeFolderX) - var(--introWidth));
transform: scale(0);
transform-origin: top left;
}
to {
top: var(--introTop);
left: var(--introLeft);
transform: scale(1);
transform-origin: top left;
}
}
#instructions {
font-size: clamp(1px, 3vw, 6vh);
white-space: nowrap;
/*set position*/
position: fixed;
top: var(--instructionsTop);
left: var(--instructionsLeft);
}
@keyframes shrinkAndMoveInstructions {
from {
top: var(--instructionsTop);
left: var(--instructionsLeft);
transform: scale(1);
transform-origin: center;
}
to {
top: calc(var(--homeFolderY) - var(--instructionsHeight));
left: calc(var(--homeFolderX) - var(--instructionsWidth));
transform: scale(0);
transform-origin: center;
}
}
@keyframes growAndMoveInstructions {
from {
top: calc(var(--homeFolderY) - var(--instructionsHeight));
left: calc(var(--homeFolderX) - var(--instructionsWidth));
transform: scale(0);
transform-origin: top left;
}
to {
top: var(--instructionsTop);
left: var(--instructionsLeft);
transform: scale(1);
transform-origin: top left;
}
}
.blueText { /*Used in a span to give the double-click instruction text a similar styling
as the main headings on each page to help with accessibility/visibilty */
color: rgba(0, 0, 0, 0);
-webkit-text-stroke: 0.1vw black;
background-clip: auto;
-webkit-background-clip: text;
font-weight: bold;
background-color: var(--myBlue);
white-space: nowrap;
}
#aboutMeTitle {
color: rgba(0, 0, 0, 0);
-webkit-text-stroke: 0.1vw black; /* Outline width and color */
background-clip: auto;
-webkit-background-clip: text;
font-weight: bold;
background-color: var(--myBlue); /*Change text color*/
font-size: clamp(1px, 8vw, 16vh);
white-space: nowrap;
/*set position*/
position: fixed;
top: var(--aboutMeTitleTop);
left: var(--aboutMeTitleLeft);
transform: scale(0);
}
@keyframes shrinkAndMoveAboutMeTitle {
from {
top: var(--aboutMeTitleTop);
left: var(--aboutMeTitleLeft);
transform: scale(1);
transform-origin: center;
}
to {
top: calc(var(--aboutMeFolderY) - var(--aboutMeTitleHeight));
left: calc(var(--aboutMeFolderX) - var(--aboutMeTitleWidth));
transform: scale(0);
transform-origin: center;
}
}
@keyframes growAndMoveAboutMeTitle {
from {
top: calc(var(--aboutMeFolderY) - var(--aboutMeTitleHeight));
left: calc(var(--aboutMeFolderX) - var(--aboutMeTitleWidth));
transform: scale(0);
transform-origin: top left;
}
to {
top: var(--aboutMeTitleTop);
left: var(--aboutMeTitleLeft);
transform: scale(1);
transform-origin: top left;
}
}
#aboutMeParagraph {
font-size: clamp(1px, 1.75vw, 3.5vh);
max-height: 60vh;
width: clamp(1vw, 55vw, 120vh);
padding-right: 5vw;
/*set position*/
position: fixed;
top: var(--aboutMeParagraphTop);
left: var(--aboutMeParagraphLeft);
transform: scale(0);
}
/*When screen gets to a weird aspect ratio (too short), about me paragraph is resized*/
@media (max-height: 250px), (min-aspect-ratio: 2/1) {
#aboutMeParagraph {
width: clamp(1vw, 45vw, 95vh);
max-height: 70vh;
}
}
@keyframes shrinkAndMoveAboutMeParagraph {
from {
top: var(--aboutMeParagraphTop);
left: var(--aboutMeParagraphLeft);
transform: scale(1);
transform-origin: center;
}
to {
top: calc(var(--aboutMeFolderY) - var(--aboutMeParagraphHeight));
left: calc(var(--aboutMeFolderX) - var(--aboutMeParagraphWidth));
transform: scale(0);
transform-origin: center;
}
}
@keyframes growAndMoveAboutMeParagraph {
from {
top: calc(var(--aboutMeFolderY) - var(--aboutMeParagraphHeight));
left: calc(var(--aboutMeFolderX) - var(--aboutMeParagraphWidth));
transform: scale(0);
transform-origin: top left;
}
to {
top: var(--aboutMeParagraphTop);
left: var(--aboutMeParagraphLeft);
transform: scale(1);
transform-origin: top left;
}
}
#me {
width: clamp(1vw, 40vw, 75vh);
/*max-height: 60vh; Commented out unitl I figure out a responsive height/sizing */
aspect-ratio: auto;
/*set position*/
position: fixed;
top: var(--meTop);
left: var(--meLeft);
transform: scale(0);
z-index: -9999999999999;
}
/*When screen gets to a weird aspect ratio (too short), make sure my img is full height*/
@media (max-height: 250px), (min-aspect-ratio: 2/1) {
#me {
height: 100vh;
width: auto;
aspect-ratio: auto;
}
}
@keyframes shrinkAndMoveMe {
from {
top: var(--meTop);
left: var(--meLeft);
transform: scale(1);
transform-origin: center;
}
to {
top: calc(var(--aboutMeFolderY) - var(--meHeight));
left: calc(var(--aboutMeFolderX) - var(--meWidth));
transform: scale(0);
transform-origin: center;
}
}
@keyframes growAndMoveMe {
from {
top: calc(var(--aboutMeFolderY) - var(--meHeight));
left: calc(var(--aboutMeFolderX) - var(--meWidth));
transform: scale(0);
transform-origin: top left;
}
to {
top: var(--meTop);
left: var(--meLeft);
transform: scale(1);
transform-origin: top left;
}
}
#projectsTitle {
color: rgba(0, 0, 0, 0);
-webkit-text-stroke: 0.1vw black; /* Outline width and color */
background-clip: auto;
-webkit-background-clip: text;
font-weight: bold;
background-color: var(--myBlue); /*Change text color*/
font-size: clamp(1px, 8vw, 16vh);
white-space: nowrap;
width: 100vw;
text-align: center;
/*set position*/
position: fixed;
top: var(--projectsTitleTop);
left: var(--projectsTitleLeft);
transform: scale(0);
}
@keyframes shrinkAndMoveProjectsTitle {
from {
top: var(--projectsTitleTop);
left: var(--projectsTitleLeft);
transform: scale(1);
transform-origin: center;
}
to {
top: calc(var(--projectsFolderY) - var(--projectsTitleHeight));
left: calc(var(--projectsFolderX) - var(--projectsTitleWidth));
transform: scale(0);
transform-origin: center;
}
}
@keyframes growAndMoveProjectsTitle {
from {
top: calc(var(--projectsFolderY) - var(--projectsTitleHeight));
left: calc(var(--projectsFolderX) - var(--projectsTitleWidth));
transform: scale(0);
transform-origin: top left;
}
to {
top: var(--projectsTitleTop);
left: var(--projectsTitleLeft);
transform: scale(1);
transform-origin: top left;
}
}
#projectsInstructions {
font-size: clamp(1px, 1.5vw, 3vh);
white-space: nowrap;
width: 100vw;
text-align: center;
/*set position*/
position: fixed;
top: var(--projectsInstructionsTop);
left: var(--projectsInstructionsLeft);
transform: scale(0);
}
@keyframes shrinkAndMoveProjectsInstructions {
from {
top: var(--projectsInstructionsTop);
left: var(--projectsInstructionsLeft);
transform: scale(1);
transform-origin: center;
}
to {
top: calc(var(--projectsFolderY) - var(--projectsInstructionsHeight));
left: calc(var(--projectsFolderX) - var(--projectsInstructionsWidth));
transform: scale(0);
transform-origin: center;
}
}
@keyframes growAndMoveProjectsInstructions {
from {
top: calc(var(--projectsFolderY) - var(--projectsInstructionsHeight));
left: calc(var(--projectsFolderX) - var(--projectsInstructionsWidth));
transform: scale(0);
transform-origin: top left;
}
to {
top: var(--projectsInstructionsTop);
left: var(--projectsInstructionsLeft);
transform: scale(1);
transform-origin: top left;
}
}
#projectsGallery {
/*background-color: rgb(112, 112, 112); unused styling for gallery, was too bold and loud
border-block: 5px solid var(--myBlue);*/
display: flex;
align-items: center;
min-width: 100%;
/*set position*/
position: absolute;
top: var(--projectsGalleryTop);
left: var(--projectsGalleryLeft);
transform: scale(0);
}
/*When screen gets to a weird aspect ratio (too short), gallery gets extra padding*/
@media (max-height: 250px), (min-aspect-ratio: 2/1) {
/*Add extra padding to make right side of projects gallery visible*/
#projectsGallery {
padding-right: 10vw;
}
}
.gallery {
border: 0.1vw solid #333;
float: left;
width: clamp(1vh, 45vw, 70vh);
margin: 1vw;
}
.gallery img {
width: 100%; /*Imgs inside gallery are sized based on the gallery element sizing*/
aspect-ratio: 16 / 9;
display: block;
}
.desc {
border-top: 0.1vw solid #333;
padding-inline: 2vw;
text-align: center;
background-color: #DDD;
display: flex;
justify-content: space-between;
align-items: center;
}
.desc p {
display: inline-block; /*in order to be inline with the tags*/
width: fit-content;
font-size: clamp(1px, 1.25vw, 2.5vh);
}
.tags {
display: flex;
gap: 0.5vw;
}
.tag {
color: white;
border: 0.1vw solid black;
border-radius: 0.5vw; /*Tags get rounded corners*/
padding: clamp(1px, 0.3vw, 0.6vh);
font-size: clamp(1px, 1vw, 2vh) !important;
}
/*Each tag has a different color, represented by classes*/
.html {
background-color: rgb(255, 94, 0);
}
.css {
background-color: rgb(0, 183, 255);
}
.js {
background-color: rgb(207, 1, 207);
}
.python {
background-color: rgb(4, 99, 0);
}
/*For the tags that show a use instead of a language, I chose to use black text to show the difference*/
.game {
background-color: rgb(238, 126, 163);
color: black !important;
}
.tool {
background-color: rgb(255, 237, 158);
color: black !important;
}
/* End of Tag Coloring section */
@keyframes shrinkAndMoveProjectsGallery {
from {
top: var(--projectsGalleryTop);
left: var(--projectsGalleryLeft);
transform: scale(1);
transform-origin: center;
}
to {
top: calc(var(--projectsFolderY) - var(--projectsGalleryHeight));
left: calc(var(--projectsFolderX) - var(--projectsGalleryWidth));
transform: scale(0);
transform-origin: center;
}
}
@keyframes growAndMoveProjectsGallery {
from {
top: calc(var(--projectsFolderY) - var(--projectsGalleryHeight));
left: calc(var(--projectsFolderX) - var(--projectsGalleryWidth));
transform: scale(0);
transform-origin: top left;
}
to {
top: var(--projectsGalleryTop);
left: var(--projectsGalleryLeft);
transform: scale(1);
transform-origin: top left;
}
}
#experienceTitle {
color: rgba(0, 0, 0, 0);
-webkit-text-stroke: 0.1vw black; /* Outline width and color */
background-clip: auto;
-webkit-background-clip: text;
font-weight: bold;
background-color: var(--myBlue); /*Change text color*/
font-size: clamp(1px, 8vw, 16vh);
white-space: nowrap;
/*set position*/
position: fixed;
top: var(--experienceTitleTop);
left: var(--experienceTitleLeft);
transform: scale(0);
}
@keyframes shrinkAndMoveExperienceTitle {
from {
top: var(--experienceTitleTop);
left: var(--experienceTitleLeft);
transform: scale(1);
transform-origin: center;
}
to {
top: calc(var(--experienceFolderY) - var(--experienceTitleHeight));
left: calc(var(--experienceFolderX) - var(--experienceTitleWidth));
transform: scale(0);
transform-origin: center;
}
}
@keyframes growAndMoveExperienceTitle {
from {
top: calc(var(--experienceFolderY) - var(--experienceTitleHeight));
left: calc(var(--experienceFolderX) - var(--experienceTitleWidth));
transform: scale(0);
transform-origin: top left;
}
to {
top: var(--experienceTitleTop);
left: var(--experienceTitleLeft);
transform: scale(1);
transform-origin: top left;
}
}
#experienceDescription {
font-size: clamp(1px, 1.4vw, 2.8vh);
/*set position*/
position: fixed;
top: var(--experienceDescriptionTop);
left: var(--experienceDescriptionLeft);
transform: scale(0);
}
#experienceDescription p {
font-weight: bolder;
text-decoration: underline;
/*Gives the paragraph elements (the section titles, in this container) extra weight and style*/
}
#experienceDescription li::marker {
/*Sets bullet points to symbols using Font Awesome*/
color: var(--myBlue);
content: '✧';
margin-right: 0.1vw;
}
@keyframes shrinkAndMoveExperienceDescription {
from {
top: var(--experienceDescriptionTop);
left: var(--experienceDescriptionLeft);
transform: scale(1);
transform-origin: center;
}
to {
top: calc(var(--experienceFolderY) - var(--experienceDescriptionHeight));
left: calc(var(--experienceFolderX) - var(--experienceDescriptionWidth));
transform: scale(0);
transform-origin: center;
}
}
@keyframes growAndMoveExperienceDescription {
from {
top: calc(var(--experienceFolderY) - var(--experienceDescriptionHeight));
left: calc(var(--experienceFolderX) - var(--experienceDescriptionWidth));
transform: scale(0);
transform-origin: top left;
}
to {
top: var(--experienceDescriptionTop);
left: var(--experienceDescriptionLeft);
transform: scale(1);
transform-origin: top left;
}
}
#myResume {
text-align: right;
/*set position*/
position: fixed;
top: var(--myResumeTop);
left: var(--myResumeLeft);
transform: scale(0);
}
/*When screen gets to a weird aspect ratio (too short), move resume a little bit away from right side*/
@media (max-height: 250px), (min-aspect-ratio: 2/1) {
:root {
--myResumeLeft: 58vw;
}
}
#resumeImg {
width: clamp(1vh, 28vw, 54vh);
/*max-height: 60vh; Commented out until I fix this height calculation for responsiveness*/
aspect-ratio: auto;
}
#myResume a {
font-size: clamp(1px, 1.25vw, 2.5vh);
}
@keyframes shrinkAndMoveMyResume {
from {
top: var(--myResumeTop);
left: var(--myResumeLeft);
transform: scale(1);
transform-origin: center;
}
to {
top: calc(var(--experienceFolderY) - var(--myResumeHeight));
left: calc(var(--experienceFolderX) - var(--myResumeWidth));
transform: scale(0);
transform-origin: center;
}
}
@keyframes growAndMoveMyResume {
from {
top: calc(var(--experienceFolderY) - var(--myResumeHeight));
left: calc(var(--experienceFolderX) - var(--myResumeWidth));
transform: scale(0);
transform-origin: top left;
}
to {
top: var(--myResumeTop);
left: var(--myResumeLeft);
transform: scale(1);
transform-origin: top left;
}
}
#contactTitle {
color: rgba(0, 0, 0, 0);
-webkit-text-stroke: 0.1vw black; /* Outline width and color */
background-clip: auto;
-webkit-background-clip: text;
font-weight: bold;
background-color: var(--myBlue); /*Change text color*/
font-size: clamp(1px, 7vw, 14vh);
white-space: nowrap;
width: 100vw;
text-align: center;
/*set position*/
position: fixed;
top: var(--contactTitleTop);
left: var(--contactTitleLeft);
transform: scale(0);
}
@keyframes shrinkAndMoveContactTitle {
from {
top: var(--contactTitleTop);
left: var(--contactTitleLeft);
transform: scale(1);
transform-origin: center;
}
to {
top: calc(var(--contactFolderY) - var(--contactTitleHeight));
left: calc(var(--contactFolderX) - var(--contactTitleWidth));
transform: scale(0);
transform-origin: center;
}
}
@keyframes growAndMoveContactTitle {
from {
top: calc(var(--contactFolderY) - var(--contactTitleHeight));
left: calc(var(--contactFolderX) - var(--contactTitleWidth));
transform: scale(0);
transform-origin: top left;
}
to {
top: var(--contactTitleTop);
left: var(--contactTitleLeft);
transform: scale(1);
transform-origin: top left;
}
}
#contactBox {
border: 0.1vw solid black;
/*border-bottom: none;*/
width: 70vw;
height: clamp(1vw, 45vh, 25vw);
border-radius: 1vw;
display: flex;
padding: 1vw;
background-color: white;
/*set position*/
position: fixed;
top: var(--contactBoxTop);
left: var(--contactBoxLeft);
transform: scale(0);
}
/*When screen gets to a weird aspect ratio (too short) and folders move to right side*/
@media (max-height: 250px), (min-aspect-ratio: 2/1) {
:root {
--contactTitleLeft: -6vw;
--contactBoxLeft: 9vw;
}
}
#contactLeftSide {
width: 59%;
display: inline-block;
border-right: 0.1vw solid black;
padding-right: 1vw;
}
#contactBox h2 {
font-size: clamp(1px, 2.5vw, 5vh);
}
#contactBox form {
display: flex;
flex-direction: column;
align-items: center;
gap: 0.25vw;
}
#nameInput, #emailInput {
display: block;
width: 90%;
border: none;
border-bottom: 0.1vw solid black;
color: black;
font-family: 'Courier New', Courier, monospace;
font-size: clamp(1px, 1.5vw, 3vh);
}
#messageInput {
display: block;
width: 90%;
height: clamp(1vw, 22vh, 11vw);
border: none;
border-bottom: 0.1vw solid black;
resize: none; /*I decided it was best not to allow any resizing of the message input, sacrificing a small amount of functionality for a more optimal visual*/
font-family: 'Courier New', Courier, monospace;
font-size: clamp(1px, 1.5vw, 3vh);
}
#submitContactForm {
margin-top: clamp(0.1vw, 0.3vh, 0.15vw);
padding: clamp(1vh, 1vw, 2vh);
background-color: var(--myBlue);
border: none;
border-radius: 1vw;
width: 10vw;
font-size: clamp(1px, 1.5vw, 3vh);
}
#contactRightSide {
width: 41%;
display: inline-block;
padding-left: 1vw;
}
#contactsFlex {
display: flex;
flex-direction: column;
}
.contactInfoDiv {
display: flex;
align-items: center;
margin-block: clamp(1vh, 1.5vw, 3vh);
}
.contactInfoDiv img { /*The images that are almost like bullet points - social media logos*/
width: clamp(1vh, 4vw, 8vh);
height: clamp(1vh, 4vw, 8vh);
display: inline-block;
margin-right: 1vw;
}
.contactInfoDiv p, .contactInfoDiv a { /*For the contact info I have linked, also styles p elements just in case I want one without a link*/
margin: 0;
font-size: clamp(1px, 2vw, 4vh);
text-align: left;
display: inline-block;
}
.contactInfoDiv a {
color: var(--myBlue);
}