-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
105 lines (88 loc) · 1.64 KB
/
styles.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
* {
font-family: 'Open Sans', sans-serif;
margin: 0;
padding: 0;
text-align: center;
}
body {
display: flex;
justify-content: space-between;
min-height: 100vh;
}
.left-section, .right-section {
align-items: center;
background-image: url("assets/xo-background.png");
background-size: cover;
display: flex;
justify-content: center;
flex-direction: column;
font-size: x-large;
font-weight: bolder;
width: 25%;
}
.left-player::after {
content: "\1F646";
font-size: 100px;
}
.right-player::after {
content: "\1F645";
font-size: 100px;
}
h1, h2 {
background-color: white;
border: 5px solid black;
border-radius: 10px;
font-size: xx-large;
padding: 7px;
}
.middle-section {
display: flex;
flex-direction: column;
justify-content: space-evenly;
}
.game-board {
display: grid;
grid-template-columns: repeat(3, 1fr);
height: 430px;
width: 430px;
}
button {
background-color: transparent;
border-color: black;
border-style: solid;
border-width: medium;
font-size: xx-large;
height: 148px;
width: 145px;
}
.top-left-button {
border-top: none;
border-left: none;
}
.top-center-button {
border-top: none;
}
.top-right-button {
border-top: none;
border-right: none;
}
.middle-left-button {
border-left: none;
}
.middle-right-button {
border-right: none;
}
.bottom-left-button {
border-left: none;
border-bottom: none;
}
.bottom-center-button {
border-bottom: none;
}
.bottom-right-button {
border-bottom: none;
border-right: none;
}
.disable {
pointer-events: none;
}