48 lines
761 B
CSS
48 lines
761 B
CSS
body {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
height: 100vh;
|
|
margin: 0;
|
|
font-family: Arial, sans-serif;
|
|
background-color: #f0f0f0;
|
|
}
|
|
|
|
h1 {
|
|
margin-bottom: 20px;
|
|
color: #333;
|
|
}
|
|
|
|
#myCanvas {
|
|
background-color: #ffffff;
|
|
border-radius: 10px;
|
|
box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
#pauseButton,
|
|
#speedInput {
|
|
margin-top: 20px;
|
|
padding: 10px 20px;
|
|
font-size: 16px;
|
|
border: none;
|
|
border-radius: 5px;
|
|
cursor: pointer;
|
|
box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
|
|
transition: background-color 0.3s ease;
|
|
}
|
|
|
|
#pauseButton {
|
|
color: #fff;
|
|
background-color: #007bff;
|
|
}
|
|
|
|
#pauseButton:hover {
|
|
background-color: #0056b3;
|
|
}
|
|
|
|
#speedInput {
|
|
width: 100px;
|
|
text-align: center;
|
|
}
|