-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
87 lines (75 loc) · 1.14 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
body {
background-color: rgb(37, 37, 53);
font-family: monospace;
font-size: large;
color: antiquewhite;
}
main {
display: flex;
flex-direction: column;
justify-items: center;
align-items: center;
}
button {
margin: 1rem;
font-size: xx-large;
border: rgb(0, 0, 0, 0) 3px solid;
}
button:hover {
border: rgb(0, 0, 0) 3px solid;
background-color: aquamarine;
}
table {
background-color: white;
margin-top: 2rem;
margin-left: auto;
margin-right: auto;
border: solid black 5px;
}
td {
background-color: #dfe0e4;
border: 1px solid rgb(0, 0, 0);
width: 10px;
height: 10px;
}
li {
padding: 0.2rem;
}
.alive {
background-color: #1f7035;
animation: random 4s infinite;
}
.hidden {
display: none;
}
.pulse {
animation: pulse 2s infinite;
}
@keyframes pulse {
0% {
transform: scale(0.9);
}
70% {
transform: scale(1);
}
100% {
transform: scale(0.9);
}
}
@keyframes random {
15% {
background-color: #144621;
}
30% {
background-color: #1a5e2c;
}
45% {
background-color: #289144;
}
60% {
background-color: #2eaa4f;
}
75% {
background-color: #36c75d;
}
}