-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.css
122 lines (104 loc) · 1.97 KB
/
index.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
* {
font-family: poppins;
}
body {
display: flex;
flex-direction: column;
align-items: center;
background-color: rgb(64, 60, 68);
}
header {
margin-top: 20px;
text-align: center;
font-weight: bold;
display: flex;
justify-content: space-around;
flex-direction: row;
align-items: center;
width: 80vw;
background-color: aliceblue;
border-radius: 20px;
}
h1 {
font-size: 40px;
}
button {
border-radius: 5px;
}
.score {
font-size: 40px;
}
#playerX {
color: red
}
#playerO {
color: blue
}
main {
margin-top: 40px;
padding: 20px;
display: flex;
flex-direction: column;
align-items: center;
border-radius: 20px;
background-color: aliceblue;
box-shadow: 0 0 20px 10px rgba(0, 0, 0, 0.4);
max-width: 700px;
}
.main-div {
height: inherit;
display: grid;
grid-template-columns: 160px 160px 160px;
grid-template-rows: 160px 160px 160px;
position: relative;
padding: 40px;
}
div.square {
height: 160px;
display: flex;
align-items: center;
justify-content: center;
font-size: 100px;
}
button {
margin: 20px;
position: relative;
padding: 10px;
}
.buttons {
width: 100%;
display: flex;
flex-direction: row;
justify-content: space-around;
margin-top: 20px;
box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.4);
border-radius: 10px;
background-color: rgb(56, 56, 58);
}
#completeBox {
width: 80vw;
height: 40vw;
background-color: rgb(7, 7, 7);
position: absolute;
display: none;
flex-direction: column;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
border-radius: 10px;
box-shadow: 10px 10px 20px 0px rgba(0, 0, 0, 0.6);
align-items: center;
justify-content: center;
font-size: 60px;
color: white;
}
div.vert {
border-right: 1px solid black;
}
div.hori {
border-bottom: 1px solid black;
}
div.scoreBox {
border-radius: 50px;
padding: 20px;
}