Merge pull request from superyu1337/web-rewrite

Update styles.css
This commit is contained in:
Janek 2024-01-02 01:31:17 +01:00 committed by GitHub
commit 50677fafef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1,19 +1,20 @@
body, html {
height: 100%;
body {
margin: 0;
overflow: hidden;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
background-color: #000000; /* Change the background color as needed */
}
#canvasContainer {
aspect-ratio: 1 / 1;
width: 100vh; /* Initial half-screen size */
position: relative;
overflow: hidden;
transition: width 0.5s ease; /* Smooth transition */
float: left;
object-fit: contain;
}
canvas {