-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
120 lines (111 loc) · 2.05 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
/* @import url('https://fonts.googleapis.com/css2?family=Permanent+Marker&display=swap'); */
@import url("https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap");
* {
box-sizing: border-box;
}
html {
padding: 0;
margin: 0;
width: 100vw;
height: auto;
color: #0df205;
background-color: black;
font-family: "Press Start 2P", cursive;
/* put in font family here when the time comes */
}
body {
display: flex;
flex-direction: column;
align-items: center;
justify-content: flex-start;
margin: 0;
width: 100%;
}
#players {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
button {
text-decoration: none;
font-family: "Press Start 2P", cursive;
color: #0df205;
background-color: black;
border: 2px solid #067302;
margin: 5px;
padding: 5px;
}
button:hover {
background-color: #067302;
color: black;
border: 2px solid #067302;
cursor: pointer;
}
body > * {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
width: 100%;
padding: 1rem;
}
h1 {
width: 100%;
text-align: center;
}
.player1 {
margin-top: 4px;
margin-bottom: 4px;
}
.player2 {
margin-top: 4px;
margin-bottom: 4px;
}
input {
background-color: #067302;
padding: 3px;
font-family: "Press Start 2P", cursive;
}
#board {
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: center;
margin: 3em;
width: 300px;
/* may need to adjust these 2 */
height: 300px;
}
.cell {
display: flex;
align-items: center;
justify-content: center;
width: 100px;
height: 100px;
border: 5px solid #0df205;
cursor: pointer;
line-height: 100px;
font-size: 60px;
/* font-family: font-family: 'Permanent Marker', cursive; */
}
.cell:nth-child(3n + 2) {
border-left: none;
border-right: none;
}
.cell:nth-child(n + 4) {
border-bottom: none;
}
.cell:nth-child(-n + 6) {
border-top: none;
}
.cell:nth-child(3n + 1) {
border-left: none;
}
.cell:nth-child(3n + 3) {
border-right: none;
}
#gameStatus {
margin: 4px;
padding: 5px;
}