-
Notifications
You must be signed in to change notification settings - Fork 0
/
ttt.css
78 lines (71 loc) · 1.33 KB
/
ttt.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
body {
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
background-color: #F8F4E1;
font-family: 'Arial', sans-serif;
margin: 0;
}
.container {
text-align: center;
}
h2{
font-family:"Pacifico", cursive ;
font-weight: 500;
font-size: 39px;
margin: 0;
color: #8c5200;
}
h1 {
color: #AF8F6F;
font-size: 48px;
margin-bottom: 30px;
margin-top: 0;
}
#board {
display: grid;
grid-template-columns: repeat(3, 100px);
grid-gap: 10px;
margin-bottom: 20px;
}
.cell {
width: 100px;
height: 100px;
background-color: #74512D;
color: #F8F4E1;
border: 2px solid #855700;
display: flex;
justify-content: center;
align-items: center;
font-size: 48px;
font-weight: 700;
cursor: pointer;
transition: 1.0s ease;
}
.cell:hover {
background-color: #AF8F6F;
color: #74512D;
transform: scale(1.1);
box-shadow: #1f1f1f8e 5px 5px 100px;
}
#restart {
padding: 10px 20px;
font-size: 18px;
background-color: #ffdcb9;
color: #470000;
border: none;
cursor: pointer;
border-radius: 5px;
transition: 0.5s ease;
}
#restart:hover {
background-color: #734900;
color:#AF8F6F;
transform: scale(1.2);
}
#status {
margin-top: 50px;
font-size: 30px;
color: #AF8F6F;
}