-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
80 lines (70 loc) · 1.3 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
body {
text-align: center;
font-family: Arial, Helvetica, sans-serif;
height: 95vh;
}
.game-title {
font-size: 50px;
font-weight: bold;
}
.game-board {
display: inline-grid;
grid-template-columns: auto auto auto;
background-color: grey;
padding: 10px;
}
.cell {
background-color: white;
border: 1px solid black;
padding: 30px;
font-size: 70px;
text-align: center;
height: 100px;
width: 100px;
cursor: pointer;
}
.game-info {
font-size: 30px;
font-weight: bold;
}
.game-info-button {
background-color: transparent;
border: 2px solid black;
border-radius: 16px;
padding: 8px 16px;
cursor: pointer;
font-size: 20px;
font-weight: bold;
}
.green {
background-color: green;
}
.popup {
/* center the popup in the middle of the page*/
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
/* style the popup */
background-color: grey;
border: 1px solid black;
border-radius: 16px;
padding: 16px;
width: 300px;
height: 200px;
text-align: center;
}
.popup-title {
font-size: 30px;
font-weight: bold;
}
.popup-button {
background-color: white;
border: 2px solid black;
border-radius: 16px;
padding: 8px 16px;
cursor: pointer;
font-size: 20px;
font-weight: bold;
margin: 0 auto;
}