-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
288 lines (234 loc) · 5.3 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
body, html {
font-family: Arial, sans-serif;
text-align: center;
background-color: #F5Dfe6; /* Set a pastel pink background color */
height: 100%;
margin: 0;
padding: 0;
}
body {
background: -webkit-linear-gradient(45deg, #f5dfe3 25%, #f7e5e8 25%, #f7e5e8 50%, #f5dfe3 50%, #f5dfe3 75%, #f7e5e8 75%, #f7e5e8);
background: -moz-linear-gradient(45deg, #f5dfe3 25%, #f7e5e8 25%, #f7e5e8 50%, #f5dfe3 50%, #f5dfe3 75%, #f7e5e8 75%, #f7e5e8);
background: -o-linear-gradient(45deg, #f5dfe3 25%, #f7e5e8 25%, #f7e5e8 50%, #f5dfe3 50%, #f5dfe3 75%, #f7e5e8 75%, #f7e5e8);
background: linear-gradient(45deg, #f5dfe3 25%, #f7e5e8 25%, #f7e5e8 50%, #f5dfe3 50%, #f5dfe3 75%, #f7e5e8 75%, #f7e5e8);
background-size: 100px 100px;
}
/* okay so far */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
.heart {
position: fixed;
top: -3vh;
transform: translateY(-6vh);
animation: fall 2s linear forwards;
opacity: 0.3;
}
@keyframes fall {
to {
transform: translateY(105vh);
}
}
/* mouse star*/
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@100&display=swap');
.star {
transform-style: preserve-3d;
width: 1px;
height: 1px;
position: absolute;
color: red;
}
.star:before {
position: absolute;
content: '\2726';
color: inherit;
inset: 0;
//box-shadow: 0 0 1em .5em #a3c2;
//filter: drop-shadow(0 0 .5em white);
text-shadow: 0 0 .8em #fff5;
}
/* button */
@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@400;700&display=swap');
a{
position: relative;
display: inline-block;
padding: 30px 30px;
margin: 40px 0;
color: #ff66b2;
text-decoration: none;
text-transform: uppercase;
transition: 0.5s;
letter-spacing: 4px;
overflow: hidden;
}
a:hover{
background: #ff66b2;
color: #050801;
box-shadow: 0 0 5px #ff66b2,
0 0 25px #ff66b2,
0 0 50px #ff66b2,
0 0 200px #ff66b2;
-webkit-box-reflect:below 1px linear-gradient(transparent, #0005);
}
a:nth-child(1){
filter: hue-rotate(270deg);
}
a:nth-child(2){
filter: hue-rotate(110deg);
}
a span{
position: absolute;
display: block;
opacity: 0;
}
a:hover span{
opacity: 1;
}
a span:nth-child(1){
top: 0;
left: 0;
width: 100%;
height: 2px;
background: linear-gradient(90deg,transparent,#ff0000);
animation: animate1 1s linear infinite;
}
@keyframes animate1{
0%{
left: -100%;
}
50%,100%{
left: 100%;
}
}
a span:nth-child(2){
top: -100%;
right: 0;
width: 2px;
height: 100%;
background: linear-gradient(180deg,transparent,#ff0000);
animation: animate2 1s linear infinite;
animation-delay: 0.25s;
}
@keyframes animate2{
0%{
top: -100%;
}
50%,100%{
top: 100%;
}
}
a span:nth-child(3){
bottom: 0;
right: 0;
width: 100%;
height: 2px;
background: linear-gradient(270deg,transparent,#ff0000);
animation: animate3 1s linear infinite;
animation-delay: 0.50s;
}
@keyframes animate3{
0%{
right: -100%;
}
50%,100%{
right: 100%;
}
}
a span:nth-child(4){
bottom: -100%;
left: 0;
width: 2px;
height: 100%;
background: linear-gradient(360deg,transparent,#ff0000);
animation: animate4 1s linear infinite;
animation-delay: 0.75s;
}
@keyframes animate4{
0%{
bottom: -100%;
}
50%,100%{
bottom: 100%;
}
}
/* everything above works */
/*cursor pink shit */
:root {
--glow-rgb: 239 42 201;
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
.glow-point {
position: absolute;
box-shadow: 0rem 0rem 1.2rem 0.6rem rgb(var(--glow-rgb));
pointer-events: none;
}
.star {
transform-style: preserve-3d;
width: 1px;
height: 1px;
position: absolute;
color: red;
}
.star:before {
position: absolute;
content: '\2726';
color: inherit;
inset: 0;
/* box-shadow: 0 0 1em .5em #a3c2; */
/* filter: drop-shadow(0 0 .5em white); */
text-shadow: 0 0 .8em #fff5;
}
@keyframes fall-1 {
0% {
transform: translate(0px, 0px) rotateX(45deg) rotateY(30deg) rotateZ(0deg) scale(0.25);
opacity: 0;
}
5% {
transform: translate(10px, -10px) rotateX(45deg) rotateY(30deg) rotateZ(0deg) scale(1);
opacity: 1;
}
100% {
transform: translate(25px, 200px) rotateX(180deg) rotateY(270deg) rotateZ(90deg) scale(1);
opacity: 0;
}
}
@keyframes fall-2 {
0% {
transform: translate(0px, 0px) rotateX(-20deg) rotateY(10deg) scale(0.25);
opacity: 0;
}
10% {
transform: translate(-10px, -5px) rotateX(-20deg) rotateY(10deg) scale(1);
opacity: 1;
}
100% {
transform: translate(-10px, 160px) rotateX(-90deg) rotateY(45deg) scale(0.25);
opacity: 0;
}
}
@keyframes fall-3 {
0% {
transform: translate(0px, 0px) rotateX(0deg) rotateY(45deg) scale(0.5);
opacity: 0;
}
15% {
transform: translate(7px, 5px) rotateX(0deg) rotateY(45deg) scale(1);
opacity: 1;
}
100% {
transform: translate(20px, 120px) rotateX(-180deg) rotateY(-90deg) scale(0.5);
opacity: 0;
}
}
/* so far works */
/* i love you */
#randomTextContainer {
margin-top: 30px;
font-family: 'cursive', sans-serif; /* Use the cursive font, fallback to a generic sans-serif font if not available */
}