-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
149 lines (130 loc) · 2.59 KB
/
Copy pathstyles.css
File metadata and controls
149 lines (130 loc) · 2.59 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
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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
font-family: 'Arial', sans-serif;
}
.container {
display: flex;
flex-direction: column;
align-items: center;
gap: 20px;
background: rgba(0, 0, 0, 0.9);
padding: 30px;
border-radius: 15px;
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}
h1 {
color: #00ff00;
text-shadow: 0 0 10px #00ff00;
margin-bottom: 20px;
}
.game-info {
display: flex;
gap: 40px;
justify-content: center;
color: #00ff00;
font-size: 18px;
font-weight: bold;
text-shadow: 0 0 5px #00ff00;
margin-bottom: 10px;
}
#gameCanvas {
border: 3px solid #00ff00;
background: #0a0a0a;
box-shadow: 0 0 20px rgba(0, 255, 0, 0.5);
display: block;
}
.controls {
display: flex;
flex-direction: column;
align-items: center;
gap: 15px;
color: #00ff00;
text-shadow: 0 0 5px #00ff00;
}
.controls p {
font-size: 14px;
text-align: center;
}
.controls strong {
color: #ffff00;
text-shadow: 0 0 5px #ffff00;
}
button {
padding: 10px 20px;
margin: 5px;
background: #00ff00;
color: #000;
border: none;
border-radius: 5px;
font-weight: bold;
cursor: pointer;
font-size: 16px;
transition: all 0.3s ease;
text-shadow: 0 0 5px rgba(0, 255, 0, 0.5);
}
button:hover {
background: #00dd00;
box-shadow: 0 0 15px rgba(0, 255, 0, 0.8);
transform: scale(1.05);
}
button:active {
transform: scale(0.95);
}
.modal {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.8);
display: flex;
justify-content: center;
align-items: center;
z-index: 1000;
}
.modal.hidden {
display: none;
}
.modal-content {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
padding: 40px;
border-radius: 15px;
text-align: center;
border: 3px solid #00ff00;
box-shadow: 0 0 30px rgba(0, 255, 0, 0.8);
}
.modal-content h2 {
color: #ffff00;
font-size: 32px;
margin-bottom: 20px;
text-shadow: 0 0 10px #ffff00;
}
.modal-content p {
color: #00ff00;
font-size: 20px;
margin-bottom: 20px;
text-shadow: 0 0 5px #00ff00;
}
.modal-content button {
padding: 12px 30px;
font-size: 18px;
}
@media (max-width: 900px) {
#gameCanvas {
width: 90vw;
height: auto;
}
.game-info {
gap: 20px;
font-size: 16px;
}
}