Added UI and painted pendulum in different colors
This commit is contained in:
1 parent
5721b2e48e
commit
34148aade2
9 files changed
+227
-52
No files matched your search
+7
-3
@@ -262,13 +262,13 @@ a {
|
||||
}
|
||||
}
|
||||
|
||||
.grid-size {
|
||||
.input-container {
|
||||
display: flex;
|
||||
gap: 0.75rem;
|
||||
align-items: center;
|
||||
flex-wrap: wrap;
|
||||
|
||||
.grid-field {
|
||||
.input-field {
|
||||
width: 150px;
|
||||
}
|
||||
}
|
||||
@@ -301,6 +301,10 @@ canvas {
|
||||
&.path { background-color: gold; }
|
||||
&.empty { background-color: lightgray; }
|
||||
&.alive { background-color: black; }
|
||||
&.L1 { background-color: yellow; }
|
||||
&.L2 { background-color: magenta; }
|
||||
&.M1 { background-color: red; }
|
||||
&.M2 { background-color: green; }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -339,4 +343,4 @@ canvas {
|
||||
background-color: #4caf50; /* Green for sorted */
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user