-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
109 lines (86 loc) · 1.54 KB
/
style.css
File metadata and controls
109 lines (86 loc) · 1.54 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
@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap');
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
min-height: 100vh;
width: auto;
display: flex;
justify-content: center;
align-items: center;
background-color: #1C1C1C;
overflow: hidden;
}
#canvas {
background-color: #1C1C1C;
border: 7px solid white ;
}
.menuBoard {
padding-left: 2%;
height: 350px;
color: white;
font-family: 'Press Start 2P';
display: flex;
flex-direction: column;
align-items: center;
justify-content: space-around;
}
#gameStatus {
cursor: pointer;
}
.score {
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
line-height: 1.2;
}
.score h4 {
padding-top: 8%;
}
#colorPicker {
color: white;
cursor: pointer;
}
#dropdown {
position: relative;
display: inline-block;
}
#dropdown-content {
padding-top: 10px;
display: none;
position: absolute;
z-index: 1;
}
#dropdown-content a {
cursor: pointer;
padding: 5px 5px;
text-decoration: none;
font-size: 12px;
display: block;
}
#dropdown-content a:hover {background-color: rgb(92, 92, 92);}
#dropdown-content a:active {background-color: rgb(56, 56, 56);}
#dropdown:hover #dropdown-content {display: block;}
@media only screen and (max-width: 480px) {
body {
justify-content: space-around;
}
.menuBoard {
padding-left: 0;
}
h2 {
font-size: 18px;
}
h1 {
font-size: 24px;
}
h3, h4, h5 {
font-size: 9px;
}
.dropdown-content a {
font-size: 8px;
}
}