-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtictactoe.css
More file actions
95 lines (83 loc) · 1.67 KB
/
tictactoe.css
File metadata and controls
95 lines (83 loc) · 1.67 KB
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
:root {
/* Colors */
--clr-white: hsl(0, 0%, 100%);
--clr-black: hsl(0, 0%, 0%);
--clr-violet: rgb(138, 43, 226);
--clr-gray: #c1c5e2;
/* Typography */
--fw-regular: 400;
--fw-semibold: 600;
}
body {
background-color: #e2eafc;
font-family: 'Rubik', sans-serif;
font-weight: var(--fw-semibold);
font-size: 30px;
color:var(--clr-violet);
}
.cell {
/* background-color: #abc4ff; */
background-color: rgb(184, 192, 255);
margin-bottom: 60px;
cursor: pointer;
}
tr,
td {
border: 1px solid black;
width: 180px;
height: 180px;
text-align: center;
}
#container {
/* position: absolute; */
display: flex;
flex-direction: column;
padding-top: 50px;
justify-content: space-around;
align-items: center;
height: 89%;
width: 100%;
}
div.container-info {
position: relative;
display: flex;
flex-direction: column;
width: 50%;
justify-content: space-between;
align-items: center;
gap:1rem;
}
.board {
margin: 50px 0 25px 0;
}
#turn {
text-align: center;
padding: 1rem;
border-radius: 0.5rem;
background-color: #c1c5e2;
}
/* #winner {
color: blueviolet;
background-color: #c1c5e2;
text-align: center;
padding: 1rem;
} */
.reset-btn {
background-color: #c1c5e2;
border-radius: 5px;
width: 80px;
height: 40px;
cursor: pointer;
border: none;
border-bottom: 2px #a1a5c8;
}
.reset-btn:hover {
background-color: rgb(184, 192, 255);
opacity: 0.6;
box-shadow: 0px 5px 10px rgba(54, 60, 62, 0.5);
}
.reset-btn::after {
content: "Reset";
font-size: 1rem;
font-weight: 600 lighter;
}