-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathstyles.css
71 lines (65 loc) · 1.71 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
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700&display=swap');
.cyberpunk {
width: 400px;
background: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
color: #00ffcc;
text-align: center;
border-radius: 4px;
padding: 10px;
box-shadow: 0 0 15px rgba(0, 255, 204, 0.7);
font-family: 'Orbitron', sans-serif;
font-size: 12px;
letter-spacing: 1px;
position: absolute;
z-index: 1000; /* Ensure it appears above other elements */
opacity: 1; /* Fully visible */
animation: cyberpunk-glow 2s infinite alternate;
}
.cyberpunk-popup {
width: 300px;
background: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
color: #00ffcc;
text-align: center;
border-radius: 4px;
padding: 10px;
box-shadow: 0 0 15px rgba(0, 255, 204, 0.7);
font-family: 'Orbitron', sans-serif;
font-size: 12px;
letter-spacing: 1px;
animation: cyberpunk-glow 2s infinite alternate;
opacity: 1; /* Fully visible */
}
/* Glowing border effect */
@keyframes cyberpunk-glow {
0% {
box-shadow: 0 0 10px rgba(0, 255, 204, 0.4), 0 0 20px rgba(0, 255, 204, 0.2);
}
100% {
box-shadow: 0 0 20px rgba(0, 255, 204, 0.8), 0 0 40px rgba(0, 255, 204, 0.6);
}
}
/* Optional glitch effect */
@keyframes glitch {
0% {
transform: translate(0);
}
20% {
transform: translate(-2px, -2px);
}
40% {
transform: translate(2px, 2px);
}
60% {
transform: translate(-2px, 2px);
}
80% {
transform: translate(2px, -2px);
}
100% {
transform: translate(0);
}
}
/* Apply glitch effect if needed */
.cyberpunk.glitch {
animation: glitch 1s infinite;
}