-
Notifications
You must be signed in to change notification settings - Fork 2
/
style.css
116 lines (98 loc) · 1.65 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
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
/*
* Surds - Style.css
*/
* {
margin: 0;
padding: 0;
}
ul li {
list-style: none;
display: inline-block;
}
body {
position: relative;
font-family: 'Open Sans', sans-serif;
}
body > canvas {
margin: auto;
border: 4px solid #80CBC4;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
#gamebar {
display: flex;
margin: 1rem 5rem;
font-family: 'Black Han Sans', sans-serif;
}
#mission {
margin-right: 1em;
}
#mission li, #collection li {
padding: 0.1rem 0.5rem;
color: #FFF;
}
.button {
text-align: center;
margin-top: 0.3rem;
}
.start {
background: #f44336;
padding: 0.5em 1em;
border: 0;
color: #FFF;
text-transform: uppercase;
letter-spacing: 1px;
}
canvas { background: #eee; }
.game-over {
display: none;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
background: #333;
color: #FFF;
padding: 3em;
text-align: center;
}
.game-over button {
background: #FFF;
color: #333;
padding: 0.5em 2em;
margin: 0.5em auto;
text-align: center;
border: 0;
}
.game-settings {
background: #FFF;
padding: 2em;
text-align: center;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
.setting-form div {
margin: 1em 0;
}
input, select {
background: #eee;
border: 0;
margin-top: 1em;
padding: 0.5em;
width: 100%;
}
.game-settings-list p {
border-bottom: 1px solid;
border-color: #eee;
padding-bottom: 1em;
}
.instruction {
text-align: center;
margin: 0.5rem auto 0 auto;
}
.instruction p {
font-size: 0.8rem;
}