forked from wdi-sg/tictactoe
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
82 lines (68 loc) · 973 Bytes
/
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
body {
display: flex;
flex-direction: column;
align-items: center;
font-family: Pangolin;
font-size: 20px;
box-sizing: border-box;
}
input {
font-family: Pangolin;
}
.ttt-board{
margin: 10px;
min-width: 300px;
}
.ttt-row {
display: flex;
justify-content: center;
}
.tile {
width: 85px;
height: 85px;
border: 1px solid black;
display: flex;
justify-content: center;
align-items: center;
font-size: 50px;
background-color: white;
}
.user-input{
text-align: center;
}
.user-input *{
margin: 5px;
}
.player-input{
text-align: center;
width: 45%;
min-width: 150px;
display: inline-block;
}
.hide {
display: none;
}
.turn-tracker {
margin: 5px;
font-size: 25px;
font-weight: bold;
}
.timer {
font-size: 25px;
}
.result {
margin: 5px;
padding: 5px;
font-size: 30px;
}
.win-tracker *{
width: 150px;
display: inline-block;
margin: 3px;
}
.player1-wins{
background-color: lightblue;
}
.player2-wins{
background-color: lightgreen;
}