-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
125 lines (108 loc) · 2.18 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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
* {
font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif, serif;
box-sizing: border-box;
}
body {
margin: 0px;
width: 99%;
display: flex;
height: 97vh;
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
background-color: rgba(240, 187, 25, 0.633);
}
.choose {
display: flex;
flex-direction: column;
margin-top: 20px;
}
.frame {
display: flex;
flex-direction: row;
}
.contentBox {
margin-top: 0px;
display: flex;
flex-direction: column;
width: 90%;
align-items: center;
}
.currentPlayer {
padding-bottom: 1rem;
display: flex;
justify-content: space-around;
width: 500px;
}
.form-control {
border-radius: 12px;
background-color: rgb(255, 235, 205);
padding: 5px;
}
.choose label {
margin-bottom: 0.5rem;
}
#selectGame {
font-family: 'Times New Roman', Times, serif;
}
#winner {
margin-bottom: 0;
}
#startButton {
border: 1px solid black;
background-color: rgb(255, 235, 205);
border-radius: 12px;
width: 200px;
position: absolute;
z-index: 2;
padding: 5px;
}
#playAgain {
border: 1px solid black;
background-color: rgb(255, 235, 205);
border-radius: 12px;
width: 200px;
position: relative;
padding: 5px;
}
.boardContainer {
height: 70%;
width: 850px;
display: flex;
justify-content: center;
align-content: center;
background: url("images/frame.png") repeat 0 0;
background-size: 885px 885px;
background-position: absolute;
background-position-y: -128px;
padding-bottom: 100px;
margin: 0;
}
.board {
margin-top: 150px;
margin-left: 30px;
width: 360px;
height: 360px;
display: flex;
flex-direction: row;
flex-wrap: wrap;
z-index: 1;
position: relative;
}
.cell {
flex: 0 0 120px;
display: flex;
align-items: center;
justify-content: center;
position: relative;
font-size: 50px;
}
.cell:nth-child(3n+2) {
border-left: 5px solid black;
border-right: 5px solid black;
}
.cell:nth-child(n+4):nth-child(-n+6) {
border-top: 5px solid black;
border-bottom: 5px solid black;
}