-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathstyle.css
65 lines (57 loc) · 1.22 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
#canvas {
background-image: url('images/inside.png');
}
#game {
text-align: center;
}
body {
color: black;
background-image: url('images/outside.png');
font-family: 'Bitter', serif;
font-weight: 700;
}
header {
display: flex;
justify-content: space-between;
align-items: center;
width: 900px;
margin: 20px auto 10px auto;
}
header img {
height: 30px;
margin-right: 10px;
}
#score, #time {
font-size: 20px;
}
button {
margin-top: 30px;
padding: 20px 30px;
font-size: 20px;
border-radius: 60px;
border: 5px solid #ffc04b;
font-family: 'Bitter', serif;
color: white;
background: linear-gradient(to bottom, #275786, #0e234d);
text-shadow: 3px 3px 5px rgba(0, 0, 0, 0.4);
box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.4);
}
#end {
width: 300px;
height: 300px;
border-radius: 10px;
color: white;
background-color: #28529d;
border: 5px solid #ffc04b;
font-size: 20px;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
text-align: center;
display: none;
}
#content {
text-align: center;
line-height: 1.5;
}