-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy patheyecatcher.css
More file actions
120 lines (102 loc) · 1.82 KB
/
eyecatcher.css
File metadata and controls
120 lines (102 loc) · 1.82 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
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
.header-gradient {
font-size: 72px;
background: linear-gradient(
to right,
#fbff00 50%,
#ff6600 100%
);
-webkit-background-clip: text;
background-clip: text;
-webkit-text-fill-color: transparent;
background-size: 500% auto;
animation: textShine 3s ease-in-out infinite alternate;
}
.eyecatcher {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
#subheader {
text-align: center;
}
.star {
position: absolute;
width: 10px; /* Default width */
height: auto;
filter: drop-shadow(0 0 0 #fffdef);
z-index: -5;
transition: all 0.8s cubic-bezier(0, 0.4, 0, 1.01);
fill: rgb(255, 255, 85);
}
.star-1 {
top: 20%;
left: 20%;
width: 25px;
}
.star-2 {
top: 45%;
left: 45%;
width: 15px;
}
.star-3 {
top: 40%;
left: 40%;
width: 5px;
}
.star-4 {
top: 20%;
left: 40%;
width: 8px;
}
.star-5 {
top: 25%;
left: 45%;
width: 15px;
}
.star-6 {
top: 5%;
left: 50%;
width: 5px;
}
button:hover {
background: #000000;
color: #ffffff;
box-shadow: 0 0 30px rgb(43, 43, 43);
}
/* Hover effects for all stars */
button:hover .star {
filter: drop-shadow(0 0 10px yellow);
z-index: 2;
}
/* Individual hover overrides */
button:hover .star-1 {
top: -20%;
left: -20%;
width: 20px;
}
button:hover .star-2 {
top: 35%;
left: -25%;
width: 15px;
}
button:hover .star-3 {
top: 80%;
left: -10%;
width: 10px;
}
button:hover .star-4 {
top: -25%;
left: 105%;
width: 20px;
}
button:hover .star-5 {
top: 30%;
left: 115%;
width: 15px;
}
button:hover .star-6 {
top: 80%;
left: 105%;
width: 10px;
}