what the hell

This commit is contained in:
sageTheDM 2025-01-05 00:13:09 +01:00
parent ece497e2cf
commit c8ba7b494f
3 changed files with 113 additions and 61 deletions

View file

@ -4,46 +4,105 @@
box-sizing: border-box;
}
body {
font-family: 'Arial', sans-serif;
background-color: #f0f0f0;
color: #333;
body,
html {
height: 100%;
margin: 0;
padding: 0;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
background-color: #121212;
color: #e0e0e0;
}
#settings {
margin: 20px;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
text-align: center;
margin: auto;
background-color: #1e1e1e;
padding: 40px;
border-radius: 12px;
box-shadow: 0 6px 15px rgba(0, 0, 0, 0.5);
width: 100%;
max-width: 600px;
}
h1 {
font-size: 2.5em;
margin-bottom: 20px;
color: #007bff;
}
label {
margin-right: 10px;
margin-bottom: 12px;
font-size: 20px;
color: #d1d1d1;
}
input {
padding: 5px;
margin-right: 10px;
width: 60px;
input[type="number"],
input[type="range"] {
padding: 12px;
margin-bottom: 20px;
width: 100%;
max-width: 400px;
text-align: center;
border: 1px solid #444;
border-radius: 6px;
background-color: #333;
color: #e0e0e0;
font-size: 18px;
transition: border-color 0.3s ease;
}
input[type="number"]:focus,
input[type="range"]:focus {
border-color: #007bff;
outline: none;
}
button {
padding: 8px 16px;
padding: 12px 24px;
background-color: #007bff;
color: white;
border: none;
border-radius: 4px;
border-radius: 6px;
cursor: pointer;
transition: background-color 0.3s ease;
transition: background-color 0.3s ease, transform 0.2s ease;
font-size: 18px;
}
button:hover {
background-color: #0056b3;
transform: translateY(-2px);
}
button:active {
transform: translateY(0);
}
canvas {
display: none;
margin: 20px auto;
border: 1px solid #ccc;
height: 69vh;
}
@media(max-width: 600px) {
#settings {
font-size: 16px;
}
input[type="number"],
input[type="range"],
button {
width: 90%;
max-width: none;
}
canvas {
height: 50vh;
}
}