-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
125 lines (94 loc) · 1.48 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
117
118
119
120
121
122
123
124
125
/* Generic Styles */
html, body {
margin: 0;
padding: 0;
}
h1, h2, h3, h4, h5 {
font-family: Georgia, 'Times New Roman', Times, serif;
line-height: normal;
}
h1 {
font-size: 3rem;
font-weight: 800;
}
h2 {
font-size: 2.5rem;
font-weight: 600;
}
h3 {
font-size: 2rem;
font-weight: 400;
}
h4 {
font-size: 1.5rem;
font-weight: 400;
}
p {
font-family: Verdana, Geneva, Tahoma, sans-serif;
font-size: 1.125rem;
line-height: normal;
font-weight: 300;
}
button {
display: block;
margin: auto;
padding: 1rem;
text-align: center;
font-size: 1.5rem;
width: auto;
}
button:hover {
cursor: pointer;
}
/* -------- */
/* Game styles */
main {
text-align: center;
}
/* Header */
.header {
margin: 3rem;
}
.header h2 {
font-size: 1.5rem;
}
.header h1, h2{
margin: 0.5rem;
}
/* About Section */
.about {
margin: 3rem;
}
.about h3, p {
margin: 0.5rem;
}
/* Start Button */
button#start {
background-color: #bfbfbf;
border-radius: 0.75rem;
border: 1px solid white;
}
/* Result */
#result-section {
display: none;
position: absolute;
top: 16rem;
left: 0;
right: 0;
}
#result-section button {
border: 1px solid;
border-radius: 0.25rem;
box-shadow: none;
}
#result {
font-size: 4rem;
margin-bottom: 1.5rem;
}
/* Canvas Styles */
canvas {
display: none;
background-color: antiquewhite;
border: 1px solid black;
margin: auto;
}