57 lines
1.1 KiB
CSS
Raw Normal View History

2024-03-24 14:53:43 +01:00
body {
font-family: Arial, sans-serif;
background-color: #121212;
2024-03-26 10:11:11 +01:00
color: white;
2024-03-24 14:53:43 +01:00
margin: 0;
2024-03-26 10:11:11 +01:00
padding: 0;
box-sizing: border-box;
2024-03-24 14:53:43 +01:00
}
.container {
max-width: 600px;
2024-03-26 10:11:11 +01:00
margin: 20px auto;
padding: 0 15px;
/* Add horizontal padding here */
box-sizing: border-box;
2024-03-24 14:53:43 +01:00
}
.input-section label {
display: block;
2024-03-26 10:11:11 +01:00
margin-top: 20px;
2024-03-24 14:53:43 +01:00
}
2024-03-26 10:11:11 +01:00
.input-section input,
button {
2024-03-24 14:53:43 +01:00
width: 100%;
2024-03-26 10:11:11 +01:00
/* Full width */
2024-03-24 14:53:43 +01:00
padding: 10px;
margin-bottom: 20px;
2024-03-26 10:11:11 +01:00
/* Spacing between elements */
2024-03-24 14:53:43 +01:00
background-color: #333;
2024-03-26 10:11:11 +01:00
border: 1px solid #444;
/* Subtle border */
color: white;
box-sizing: border-box;
/* Include padding and border in the element's total width and height */
2024-03-24 14:53:43 +01:00
}
button {
cursor: pointer;
2024-03-26 10:11:11 +01:00
display: block;
/* Ensure it's block-level */
2024-03-24 14:53:43 +01:00
}
2024-03-26 10:11:11 +01:00
/* Responsive adjustments for mobile devices */
@media (max-width: 768px) {
.container {
margin: 10px;
/* Smaller margin on smaller screens */
}
/* Inputs and button fill the width minus the container's padding */
.input-section input,
button {
margin-left: auto;
margin-right: auto;
}
}