-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
144 lines (131 loc) · 2.55 KB
/
styles.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
body {
padding: 0;
margin: 0;
box-sizing: border-box;
background-color: rgb(17, 38, 59);
}
.main::before {
content: "";
position: absolute;
top: 48.8%;
left: 50.1%;
transform: translate(-50%, -50%);
width: 132px;
height: 180px;
box-shadow: 0 0 1px 2px rgba(255, 255, 255, 0.524);
border-radius: 45px;
animation: glowGlass 2.5s ease-in-out forwards;
}
@keyframes glowGlass {
0% {
box-shadow: 0 0 2px 3px rgba(255, 255, 255, 0.5);
}
}
.top {
position: absolute;
top: -37px;
left: 20%;
width: 69px;
height: 35px;
border: 2.5px solid white;
border-radius: 10px;
border-bottom: 1px solid white;
animation: glow 1.5s ease-in-out forwards;
box-shadow: 0 0 1px 1px rgba(255, 255, 255, 0.5);
}
@keyframes glow {
0% {
box-shadow: 0 0 1px 2px rgba(255, 255, 255, 0.5);
}
}
.line-1,
.line-2 {
position: absolute;
top: 60%;
left: 0%;
width: 70.5px;
border: 0.8px solid white;
box-shadow: 0 0 0.5px 1px rgba(255, 255, 255, 0.524);
}
.line-2 {
top: 37.3%;
}
.line-3 {
position: absolute;
top: 130%;
left: -12%;
height: 160px;
width: 100px;
border-right: 2px solid rgba(255, 255, 255, 0.49);
border-radius: 30px;
}
.glass {
position: absolute;
top: 49%;
left: 50.1%;
transform: translate(-50%, -50%);
width: 130px;
height: 180px;
border: 4px solid white;
border-top: 0px solid transparent;
border-radius: 45px;
background: url(./water.png);
background-size: contain;
background-repeat: no-repeat;
background-position: bottom;
box-shadow: 0px 2px 8px black;
animation: animate 4s ease-in-out infinite;
}
.glass::before {
content: "";
position: absolute;
top: 49%;
left: 50.1%;
transform: translate(-50%, -50%);
width: 130px;
height: 180px;
border-top: 0px solid transparent;
border-radius: 45px;
}
@keyframes animate {
0% {
background-color: rgba(148, 212, 241, 0.137);
background-position: 0 200px;
}
50% {
background-position: 0 50px;
}
100% {
background-position: 0 200px;
}
}
.text {
position: fixed;
display: inline-block;
top: 95%;
left: -115%;
color: rgb(130, 219, 255);
font-size: 2.5rem;
letter-spacing: 7px;
font-family: monospace;
font-weight: bold;
border-right: 5px solid;
width: 470px;
white-space: nowrap;
overflow: hidden;
font-family: "Fuzzy Bubbles", sans-serif;
animation: typing 4s steps(20) infinite,
cursor 0.2s step-end infinite alternate;
}
/* cursor blinking */
@keyframes cursor {
50% {
border-color: transparent;
}
}
/* typing */
@keyframes typing {
from {
width: 0;
}
}