forked from harsh4870/snake-game-tensorflow-docker
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathstyle.css
82 lines (70 loc) · 1.23 KB
/
style.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
body {
font-family: 'Roboto', sans-serif;
background-color: #f4f4f9;
color: #333;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
margin: 0;
}
.game-container {
text-align: center;
width: 450px;
}
.top-bar {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 20px;
}
.controls {
display: flex;
align-items: center;
}
.label {
font-size: 16px;
margin-right: 10px;
}
.dropdown, .btn, .file-input {
padding: 10px 15px;
font-size: 16px;
margin: 5px;
border-radius: 5px;
border: 1px solid #ccc;
cursor: pointer;
}
.dropdown {
background-color: #fff;
color: #333;
}
.btn {
background-color: #6200ea;
color: #fff;
border: none;
transition: background-color 0.3s ease;
}
.btn:hover {
background-color: #3700b3;
}
.file-input {
display: inline-block;
margin-top: 10px;
color: #333;
}
.scoreboard {
display: flex;
justify-content: space-around;
align-items: center;
gap: 20px;
}
.scoreboard h2 {
font-size: 20px;
margin: 0;
color: #6200ea;
padding: 10px;
}
canvas {
border: 2px solid #6200ea;
background-color: #fff;
}