-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgamestyle.css
More file actions
71 lines (58 loc) · 871 Bytes
/
Copy pathgamestyle.css
File metadata and controls
71 lines (58 loc) · 871 Bytes
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
html, body, canvas {
margin: 0px;
padding: 0px;
}
body {
background: black;
}
canvas {
border: 4px solid black;
}
.over {
border: 4px solid red;
}
/* GAME UI */
#dialog {
display: none;
position: absolute;
top: 30%;
color: green;
border: 3px solid green;
padding: 20px;
text-align: center;
font-size: 28px;
}
@media screen and (max-width: 800px) {
#dialog {
left: 32.5%;
width: 35%;
}
}
@media screen and (min-width: 800px) {
#dialog {
left: 36%;
width: 28%;
}
}
button {
display: block;
position: relative;
width: 80px;
margin: 10px auto;
padding: 5px;
background: black;
color: green;
border: 1px solid green;
font-size: 18px;
}
button:hover {
cursor: pointer;
cursor: hand;
background: #303030;
}
a, a:hover {
text-decoration: none;
}
.underline {
text-decoration: underline;
}