-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
67 lines (59 loc) · 1.19 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
#gameCanvas {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
cursor: pointer;
}
#turn {
text-align: center;
font-size: 140px;
font-family: 'Antic Slab', serif;
color: darkgoldenrod;
}
#restart {
display: flex;
justify-content: center;
}
#restartbutton {
background-color: red;
border: none;
color: white;
padding: 15px 32px;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 16px;
}
.body {
background-image: url("DEEC84.jpg")
}
.winning-message {
position: fixed;
top: 0;
bottom: 0;
left: 0;
right: 0;
background-color: rgba(0, 0, 0, 0.8);
display: flex;
justify-content: center;
align-items: center;
color: white;
font-size: 5rem;
flex-direction: column;
}
.winning-message button{
font-size: 3rem;
background-color: white;
border: 1px solid black;
padding: .25em .5em;
cursor: pointer;
}
.winning-message button:hover {
background-color: balck;
color: white;
border-color: white;
}
.winning-message.show{
display: none;
}