forked from jeffrileyjr/GameOfLife
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
76 lines (68 loc) · 1.26 KB
/
Copy pathstyle.css
File metadata and controls
76 lines (68 loc) · 1.26 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
/* border box declartion */
html {
box-sizing: border-box;
-webkit-tap-highlight-color: rgba(255, 255, 255, 0);
}
*,
*:before,
*:after {
box-sizing: inherit;
}
body {
margin: 0;
width: 100vw;
height: 100vh;
overflow-x: hidden;
}
.header {
width: 100%;
height: 50px;
background-color: rgb(132, 218, 125);
display: flex;
flex-direction: row;
justify-content: space-between;
align-items: center;
padding: 25px;
}
.title {
font-size: 1.5em;
}
.row {
display: flex;
}
.cell {
width: 10px;
height: 10px;
border: 1px solid black;
background-color: rgba(202, 199, 199, 0.973);
}
.alive {
background-color: rgb(21, 177, 29);
}
/* below is for modal */
.overlay {
max-width: 100vw;
max-height: 100vh;
position: fixed;
top: 0;
font-size: .75em;
bottom: 0;
left: 0;
right: 0;
background: rgba(170, 181, 216, 0.87);
visibility: hidden;
opacity: 0;
display: flex;
padding: 50px;
flex-direction: column;
justify-content: center;
align-items: center;
}
.showModal {
visibility: visible !important;
opacity: 100 !important;
}
.infoHeader {
display: flex;
justify-content: space-around;
}