From 2d83a9c52f7b4c6ba1dc3b87e9cbdb15f541040a Mon Sep 17 00:00:00 2001 From: maru21 Date: Sat, 24 Aug 2024 21:18:20 +0200 Subject: [PATCH] Update main.css --- main.css | 47 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) diff --git a/main.css b/main.css index e69de29..e89d3eb 100644 --- a/main.css +++ b/main.css @@ -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; + } \ No newline at end of file