-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
94 lines (78 loc) · 1.38 KB
/
styles.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
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
background-color: #f0f0f0;
}
.container {
text-align: center;
}
.game-board {
position: relative;
display: inline-block;
border: 2px solid #333;
background-color: lightgray;
width: 25vw;
height: 50vw;
font-size: 0;
}
.cell {
display: inline-block;
background-color: #fff;
box-sizing: border-box;
border: 1px solid #333;
margin: -1px;
z-index: 1;
}
.cell.filled {
background-color: dodgerblue;
}
.cell.filled.cyan {
background-color: cyan;
}
.cell.filled.purple {
background-color: purple;
}
.cell.filled.orange {
background-color: orange;
}
.cell.filled.blue {
background-color: blue;
}
.cell.filled.green {
background-color: green;
}
.cell.filled.yellow {
background-color: yellow;
}
.cell.filled.red {
background-color: red;
}
.start-button-container{
margin-top: 20px;
display: flex;
justify-content: center;
}
#start {
width: 10vw;
height: 5vw;
background-color: mediumspringgreen;
font-size: 2vw;
}
.score {
margin-top: 20px;
font-size: 24px;
}
#lose{
position: absolute;
top: 0;
left: 0;
width: 25vw;
height: 50vw;
background-color: rgba(0, 0, 0, 0.85);
z-index: 5;
}