This repository was archived by the owner on Jun 5, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathglobal.css
More file actions
82 lines (67 loc) · 1.41 KB
/
Copy pathglobal.css
File metadata and controls
82 lines (67 loc) · 1.41 KB
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
@tailwind base;
@tailwind components;
@tailwind utilities;
@layer base {
.text-edge-outline {
-webkit-text-stroke: 1px rgba(255, 255, 255, 0.3);
}
}
@keyframes ricochet {
0% {
transform: translateX(0);
}
50% {
transform: translateX(100%);
}
100% {
transform: translateX(0);
}
}
.green-gradient {
background: linear-gradient(to right, green 25%, green 50%, transparent 60%, transparent 90%);
background-size: 200% 100%;
background-position: right;
transition: background-position 0.3s ease-in-out;
}
.green-gradient:hover {
background-position: left;
}
.red-gradient {
background: linear-gradient(to right, red 25%, red 45%, transparent 60%, transparent 90%);
background-size: 200% 100%;
background-position: right;
transition: background-position 0.3s ease-in-out;
}
.red-gradient:hover {
background-position: left;
}
.animate-bar {
width: 50%;
animation: ricochet 2s infinite;
}
@media screen and (max-width: 1100px) {
div {
flex-direction: column;
}
#home {
margin-left: 20px;
margin-right: 20px;
}
#space {
margin-top: 30px;
}
#space2 {
margin-top: 32%;
}
body {
min-width: 500px;
}
#phone-space {
margin-top: 24%;
}
}
@media screen and (max-width: 760px) {
#phone-space {
margin-top: 35%;
}
}