-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathstyles.css
129 lines (108 loc) · 2.19 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
/* Custom Neon Colors */
:root {
--neon-green: #39ff14;
--neon-red: #ff3131;
}
.text-neon-green {
color: var(--neon-green);
text-shadow: 0 0 10px rgba(57, 255, 20, 0.5);
}
.text-neon-red {
color: var(--neon-red);
text-shadow: 0 0 10px rgba(255, 49, 49, 0.5);
}
/* Curve Animation */
@keyframes riseCurve {
from {
height: 0%;
}
to {
height: 100%;
}
}
#multiplierCurve {
background: linear-gradient(to right,
rgba(57, 255, 20, 0.2),
rgba(57, 255, 20, 0.5)
);
animation: riseCurve linear;
transform-origin: bottom;
}
/* Button Hover Effects */
.btn-success:hover, .btn-warning:hover {
transform: scale(1.05);
box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
}
/* Responsive Adjustments */
@media (max-width: 768px) {
.game-container {
padding: 1rem;
}
#multiplierText {
font-size: 3rem;
}
}
/* Fade In/Out Animations */
@keyframes fadeIn {
from { opacity: 0; }
to { opacity: 1; }
}
@keyframes fadeOut {
from { opacity: 1; }
to { opacity: 0; }
}
.fade-in {
animation: fadeIn 0.5s ease-in;
}
.fade-out {
animation: fadeOut 0.5s ease-out;
}
/* Countdown Animation */
@keyframes countdown {
from { transform: scale(1); opacity: 1; }
to { transform: scale(1.5); opacity: 0; }
}
#countdownOverlay {
transition: opacity 0.3s ease;
}
#gameStateMessage {
background-color: rgba(0, 0, 0, 0.7);
color: var(--neon-green);
opacity: 0;
transition: opacity 0.3s ease;
}
.game-state-visible {
opacity: 1;
}
/* Dark Mode Support */
body {
transition: background-color 0.3s, color 0.3s;
}
body.dark-mode {
background-color: #121212;
color: #e0e0e0;
}
body.dark-mode .game-container {
background-color: #1e1e1e;
border-color: #333;
}
.settings-container {
position: fixed;
top: 10px;
right: 10px;
display: flex;
gap: 10px;
z-index: 1000;
}
.settings-container button {
background-color: #4CAF50;
color: white;
border: none;
padding: 10px 15px;
border-radius: 5px;
cursor: pointer;
transition: background-color 0.3s;
}
.settings-container button:hover {
background-color: #45a049;
}