-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
61 lines (54 loc) · 1.16 KB
/
styles.css
File metadata and controls
61 lines (54 loc) · 1.16 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
/* Made by ChatGPT - GPT-4 */
body {
font-family: 'Roboto Mono', monospace;
background-image: url(bgweb.jpg);
background-size: cover;
background-position: center;
background-attachment: fixed;
margin: 0;
color: white;
display: flex;
justify-content: center;
align-items: center;
backdrop-filter: blur(15px);
height: 100vh;
-webkit-backdrop-filter: blur(15px);
}
.container {
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
}
canvas {
box-shadow: 0px 0px 15px 5px rgba(98, 0, 255, 0.75);
border: 1px solid #eee;
background-color: #222;
}
#game-board {
border: 1px solid black;
}
/* Add responsive styles for smaller screens */
@media (max-width: 600px) {
#game-board {
width: 100vw;
height: 100vw;
}
}
/* Add responsive styles for larger screens */
@media (min-width: 601px) {
#game-board {
width: 600px;
height: 600px;
}
body {
overflow: hidden;
}
}
/* Add styles for score and high-score */
#score,
#high-score {
font-size: 1.5em;
text-align: center;
margin-bottom: 20px;
}