-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
93 lines (79 loc) · 1.21 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
body {
background: #1c1b1b;
color: #666;
font-family: "Arial", sans-serif;
}
h1 {
text-align: center;
color: #fff;
}
#container {
width: 400px;
overflow: auto;
margin: 40px auto;
background: #666;
padding-bottom: 40px;
border-radius: 10px;
}
#board {
display: flex;
flex-wrap: wrap;
}
#board li {
margin: 10px;
padding-top: 20px;
height: 70px;
width: 90px;
font-size: 48px;
font-weight: 800;
background: #333;
color: #ccc;
list-style: none;
text-align: center;
border-radius: 5px;
}
#board li:hover,
#reset:hover {
cursor: pointer;
background: #000;
}
#reset {
border: 0;
background: #444;
color: #fff;
width: 70%;
padding: 15px;
border-radius: 5px;
font-size: 25px;
}
.o {
color: green !important;
}
.x {
color: red !important;
}
footer {
display: block;
text-align: center;
padding-top: 15px;
}
.button--win {
display: flex;
justify-content: space-between;
align-items: center;
gap: 0.5rem;
width: 70%;
margin: 1rem;
padding: 1rem;
}
#win_O, #win_X {
padding: 0.5rem 1rem;
border-radius: 5px;
font-size: 20px;
}
#win_O {
background-color: rgb(144, 238, 144, 0.5)
}
#win_X {
background-color: rgba(240, 118, 128, 0.726)
}