-
Notifications
You must be signed in to change notification settings - Fork 0
/
homepage.css
115 lines (104 loc) · 1.84 KB
/
homepage.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
:root {
--orange: #e06c00;
--teal: #23b4b4;
--dark-blue: #081f54;
--dark: #212121;
--deep-purple: #252539;
--deep-blue: #202043;
--mohsreg-blue: #003366;
--complement: var(--teal);
--bg-color: var(--deep-blue);
}
body {
background-color: var(--bg-color);
font-family: "Karla", sans-serif;
font-size: 20;
color: white;
padding-top: 120px;
line-height: 1.4;
}
.intro-header {
font-family: "Epilogue", sans-serif;
font-weight: 400;
color: var(--complement);
animation: fadeUpText 1s ease-in-out 0.5s;
-webkit-animation: fadeUpText 1s ease-in-out;
text-align: center;
}
@keyframes fadeUpText {
0% {
opacity: 0%;
transform: translateY(100%);
}
100% {
opacity: 100%;
transform: translateY(0%);
}
}
@-webkit-keyframes fadeUpText {
0% {
opacity: 0%;
transform: translateY(100%);
}
100% {
opacity: 100%;
transform: translateY(0%);
}
}
.casual-text,
.casual-text p,
.casual-text a {
animation: fadeUpText 1s ease-in-out 1s;
-webkit-animation: fadeUpText 1.2s ease-in-out;
text-align: center;
color: white;
}
.mohsregAnimated {
width: 300px;
height: 300px;
margin: auto;
}
.mohsregAnimated img {
width: auto;
height: 100%;
-webkit-mask-image: -webkit-linear-gradient(
right,
rgba(0, 0, 0, 1) 50%,
rgba(0, 0, 0, 0) 90%
);
pointer-events: none;
user-select: none;
animation: slideInRight 1.3s ease-in-out;
}
@keyframes slideInRight {
0% {
transform: translateX(-110vw);
}
100% {
transform: translateX(0px);
}
}
.typewriter-div {
width: 100%;
display: flex;
align-items: center;
align-content: center;
justify-content: center;
}
.typewriter-div h1 {
font-size: 30px;
font-family: "JetBrains Mono";
font-weight: 750;
text-align: center;
}
.auto-type {
color: var(--complement);
}
.twitch-embed {
height: 480px;
position: absolute;
margin: auto;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}