Create style.css

This commit is contained in:
Voxel 2025-04-14 16:29:47 -04:00 committed by GitHub
parent 4f265053e5
commit fed17909a1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -0,0 +1,69 @@
body {
margin: 0;
padding: 0;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
background: linear-gradient(to right, #141e30, #243b55);
color: white;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
}
.screen {
display: none;
text-align: center;
background: rgba(255, 255, 255, 0.05);
padding: 30px;
border-radius: 15px;
box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
width: 300px;
}
.screen.active {
display: block;
}
input[type="text"],
input[type="number"] {
padding: 8px;
width: 80%;
margin-bottom: 10px;
border: none;
border-radius: 5px;
outline: none;
}
button {
padding: 10px 20px;
margin: 5px;
border: none;
border-radius: 5px;
background-color: #4CAF50;
color: white;
cursor: pointer;
transition: background-color 0.3s ease;
}
button:hover {
background-color: #45a049;
}
#xp-bar {
background: rgba(255, 255, 255, 0.2);
border-radius: 5px;
overflow: hidden;
height: 20px;
margin-bottom: 15px;
}
#xp-progress {
background: #4CAF50;
height: 100%;
width: 0%;
transition: width 0.3s ease;
}
.hidden {
display: none;
}