-
Notifications
You must be signed in to change notification settings - Fork 0
/
Tictactoe.css
96 lines (87 loc) · 1.9 KB
/
Tictactoe.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
@import url("https://fonts.googleapis.com/css2?family=Finger+Paint&display=swap");
:root{
--orange:#e16309;
--box:#b81528;
}
body {
background:#5a5759;
display: flex;
justify-content: center;
align-items: center;
margin: 0;
font-family: 'Roboto', sans-serif;
color:#f2c14e;
overflow: hidden;
}
input[type=text] {
width: 100%;
padding: 12px 20px;
margin: 8px 0;
box-sizing: border-box;
border: 3px solid#37505c;
-webkit-transition: 0.5s;
transition: 0.5s;
outline: none;
font-family: 'Roboto', sans-serif;
}
input[type=text]:focus {
border: 3px solid #2d414b;
}
#game{
display:none;
}
#login{
padding-top: 100px;
}
.container {
text-align: center;
}
.board {
display: grid;
grid-template-columns: repeat(3, 100px);
grid-gap: 10px;
margin: 20px 0;
}
.cell {
width: 100px;
height: 100px;
border: 2px solid var(--orange);
font-size: 36px;
display: flex;
justify-content: center;
align-items: center;
cursor: pointer;
}
.cell:hover {
background-color: var(--box);
}
.status {
font-size: 24px;
margin-bottom: 20px;
}
.reset-button,
.restart-button {
font-size: 18px;
padding: 10px 20px;
background-color: var(--orange);
color: #37505c;
border: none;
border-radius: 50px;
cursor: pointer;
font-family: 'Roboto', sans-serif;
}
.reset-button:hover,
.restart-button:hover {
background-color: #f0b733;
transition: 0.3s linear;
}
#start-btn{
font-size: 15px;
padding: 10px 20px;
background-color: var(--orange);
color: #37505c;
border: none;
border-radius: 50px;
cursor: pointer;
font-family: 'Roboto', sans-serif;
}