-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
120 lines (98 loc) · 1.69 KB
/
styles.css
File metadata and controls
120 lines (98 loc) · 1.69 KB
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
.block {
border: 3px solid black;
background-color: white;
position: absolute;
}
#gameContainer {
width: 100%;
height: 100%;
}
.textBackground {
width: 300px;
height: 100px;
background-color: grey;
display: flex;
align-items: center;
justify-content: center;
margin: 0;
}
#blockContainer {
position: absolute;
margin: 10px;
}
#overlay {
margin: 4px;
position: absolute;
z-index: 10;
/*makes background transparent grey*/
background-color: rgba(169, 169, 169, 0.4);
/*centers content within the div*/
display: flex;
align-items: center;
justify-content: center;
/*overlay is made visibile when paused or the game is over*/
visibility: hidden;
}
#restartButton {
width: 120px;
height: 40px;
background-color: grey;
font-family: Arial;
display: flex;
align-items: center;
justify-content: center;
}
.overlayHeading {
font-size: 48px;
font-family: Arial;
color: white;
position: absolute;
margin: 0;
}
#columnContainer {
position: relative;
}
#column1 {
position: absolute;
top: 0;
left: 0;
width: 300;
}
#column2 {
position: absolute;
top: 0;
left: 300;
}
#column3 {
position: absolute;
top: 0;
left: 800;
}
#infoContainer {
position: absolute;
top: 0;
left: 0;
}
#nextBlockContainer {
position: absolute;
top: 100;
left: 0;
}
#storageBlockContainer {
position: absolute;
top: 100;
left: 100;
}
#scoreContainer {
position: absolute;
top: 550;
left: 0;
}
.scoreHeading {
font-size: 48px;
font-family: Arial;
}
p {
font-family: Arial;
margin: 10;
}