67 lines
1.4 KiB
CSS
67 lines
1.4 KiB
CSS
body {
|
|
margin: 0;
|
|
overflow: hidden;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
height: 100vh;
|
|
background-color: #000000; /* Change the background color as needed */
|
|
background-image: url('assets/image/background.png');
|
|
background-repeat: repeat;
|
|
background-size: 128px 128px;
|
|
}
|
|
|
|
#canvasContainer {
|
|
width: 100vmin;
|
|
height: 100vmin;
|
|
position: relative;
|
|
overflow: hidden;
|
|
float: left;
|
|
object-fit: contain;
|
|
}
|
|
|
|
canvas {
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
#settingsHolder {
|
|
visibility: visible;
|
|
position: fixed;
|
|
top: 50%;
|
|
left: 0;
|
|
transform: translateY(-50%);
|
|
width: auto;
|
|
height: auto;
|
|
z-index: 100;
|
|
}
|
|
|
|
#settingsHolder .settings {
|
|
display: flex;
|
|
flex-direction: column;
|
|
font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
|
|
color: white;
|
|
visibility: visible;
|
|
opacity: 0.8;
|
|
padding: 10px;
|
|
background-color: rgba(25, 25, 25, 0.7);
|
|
border-radius: 5px;
|
|
transition: opacity 0.3s ease;
|
|
}
|
|
|
|
#settingsHolder:hover .settings {
|
|
opacity: 1;
|
|
}
|
|
|
|
.settings {
|
|
display: flex;
|
|
flex-direction: column;
|
|
|
|
font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
|
|
color: white;
|
|
visibility: visible;
|
|
opacity: 0;
|
|
padding: 10px;
|
|
background-color: rgba(25, 25, 25, 0.7); /* Semi-transparent white background */
|
|
transition: opacity 0.3s ease; /* Smooth transition */
|
|
} |