-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
95 lines (83 loc) · 1.26 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
header {
font-size: 56px;
}
body {
margin: 0;
background-color: white;
font-family : 'Montserrat', sans-serif;
text-align: center;
}
#board {
width: 450px;
height: 450px;
margin: 15px auto;
padding: 0;
display: flex;
flex-wrap: wrap;
justify-content: space-between;
}
.square {
width: 32%;
height: 32%;
line-height: 144px;
background-color: #F5F1F0;
border-radius: 5px;
display: table-cell;
vertical-align: middle;
text-align: center;
cursor: pointer;
}
.square:hover {
background-color: pink;
}
.game-over {
visibility: hidden;
position: absolute;
left: 0;
right: 0;
top: 0;
bottom: 0;
}
.mask {
background-color: grey;
opacity: 0.4;
position: absolute;
left: 0;
right: 0;
top: 0;
bottom: 0;
}
.content {
position: absolute;
left: 0;
right: 0;
top: 0;
bottom: 0;
display: flex;
align-items: center;
justify-content: center;
}
.winner-container {
width: 250px;
height: 200px;
background-color: pink;
}
.winner-text {
margin-top: 25%;
}
#restart {
border-radius: 5px;
padding: 5px 5px;
margin-top: 25px;
color: #B5AEB5;
background: #F5F1F0;
font-size: 12px;
border:none;
cursor: pointer;
}
#restart:focus {
outline: none;
}
#restart:hover {
background-color: grey;
}