Update main.css

This commit is contained in:
maru21 2024-08-24 21:18:20 +02:00
parent 03e970b5bd
commit 2d83a9c52f

View File

@ -0,0 +1,47 @@
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;
}