-
Notifications
You must be signed in to change notification settings - Fork 163
/
game.css
104 lines (87 loc) · 1.51 KB
/
game.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
* {
margin: 0;
padding: 0;
user-select: none;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
}
html, body {
overflow-x: hidden;
overflow-y: hidden;
height: 100%;
}
body {
width: 600px;
text-align: center;
position: relative;
font-family: sans-serif;
}
button {
font-size: 3em;
padding: 0.1em 0.25em;
background-color: gray;
border-radius: 4px;
box-shadow: 0 0 5px #333;
border: 2px solid #222;
}
#holder {
max-width: 600px;
margin-left: auto;
margin-right: auto;
border: 1px solid black;
height: 100%;
}
.screen {
display: flex;
width: 100%;
height: 100%;
flex-direction: column;
align-items: center;
background-color: #fffacd;
}
.title {
margin-top: 4vh;
font-size: 6em;
color: #222;
text-shadow: 0 0 7px #444;
font-family: serif;
margin-bottom: 15vh;
font-weight: bold;
}
.credits {
margin-top: auto;
margin-bottom: 1vh;
font-size: 1.5em;
color: #777;
}
#start-screen > button {
margin-top: 3vh;
}
.actions > button {
margin: 1vh;
vertical-align: center;
}
.actions {
margin-top: 6vh;
}
.stats-info {
border-radius: 10px;
}
.stats-info > div {
padding: 0.2em 0.2em;
font-size: 1.7em;
}
.stats-info > div:last-child {
border-bottom: none;
}
.stats {
font-family: monospace;
font-weight: bold;
font-size: 1.5em;
color: #333;
}
.setting > label {
font-size: 2em;
margin-top: 1vh;
}