-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
96 lines (83 loc) · 1.38 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
/* import from google font - Eczar */
@import url("https://fonts.googleapis.com/css2?family=Eczar&display=swap");
* {
padding: 0;
margin: 0;
box-sizing: border-box;
}
html,
body {
font-family: "Eczar", serif;
}
.hide {
display: none;
}
#wrapper {
width: 100%;
min-height: 100vh;
height: auto;
background: #202022;
display: flex;
align-items: center;
justify-content: center;
}
.app-container {
min-width: 300px;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
.title {
color: white;
letter-spacing: 4px;
font-size: 33px;
font-weight: bold;
}
.player-turn {
font-size: 20px;
padding: 8px;
color: white;
letter-spacing: 1px;
}
.player-X {
color: #09c372;
}
.player-O {
color: #498afb;
}
.tile-container {
width: 100%;
border: 1px solid white;
display: grid;
grid-template-columns: repeat(3, 1fr);
margin: 10px 0;
}
.tile {
width: 100px;
height: 100px;
border: 1px solid white;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
font-size: 30px;
}
.game-status {
padding: 10px 0;
color: white;
font-size: 18px;
letter-spacing: 1px;
}
.btn-reset {
outline: none;
padding: 15px 20px;
border-radius: 5px;
font-size: 15px;
font-weight: bold;
cursor: pointer;
letter-spacing: 1px;
background: darkorange;
color: white;
border: none;
}