-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
106 lines (95 loc) · 1.51 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
96
97
98
99
100
101
102
103
104
105
*{
box-sizing: border-box;
margin: 0;
padding: 0;
}
body{
display: flex;
color: grey;
font-family: 'Baloo Bhai 2', cursive;
justify-content: center;
}
.container{
background-color: black;
margin: 50px;
padding: 50px;
border-radius: 30px;
justify-content: space-around;
}
.title{
text-align: center;
}
.action{
margin: 25px;
display: flex;
justify-content: space-around;
height: 30px;
}
.status span{
color: white;
}
.reset{
cursor: pointer;
}
.reset:hover{
text-decoration: underline;
color: white;
}
.grid{
background: rgb(121, 114, 114);
display: grid;
grid-template-columns: repeat(3,1fr);
grid-template-rows: repeat(3,1fr);
grid-gap: 20px;
margin-top: 50px;
}
.cell{
background: black;
display: flex;
justify-content: center;
align-items: center;
cursor: pointer;
height: 200px;
width: 200px;
}
.x::after{
color: whitesmoke;
content: 'x';
font-size: 200px;}
.o::after{
color: whitesmoke;
content: 'o';
font-size: 200px;
}
@media only screen and (max-width: 1024px) {
.grid {
margin-top: 25px;
grid-gap: 10px;
}
.cell {
height: 150px;
width: 150px;
}
.x::after {
font-size: 150px;
}
.o::after {
font-size: 175px;
}
}
@media only screen and (max-width: 540px) {
.container {
margin: 25px;
padding: 25px;
}
.cell {
height: 100px;
width: 100px;
}
.x::after {
font-size: 100px;
}
.o::after {
font-size: 125px;
}
}