mirror of
https://github.com/lekrsu/shfw-walkthrough.git
synced 2024-11-30 17:24:31 +01:00
57 lines
1.1 KiB
CSS
57 lines
1.1 KiB
CSS
body {
|
|
font-family: Arial, sans-serif;
|
|
background-color: #121212;
|
|
color: white;
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.container {
|
|
max-width: 600px;
|
|
margin: 20px auto;
|
|
padding: 0 15px;
|
|
/* Add horizontal padding here */
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.input-section label {
|
|
display: block;
|
|
margin-top: 20px;
|
|
}
|
|
|
|
.input-section input,
|
|
button {
|
|
width: 100%;
|
|
/* Full width */
|
|
padding: 10px;
|
|
margin-bottom: 20px;
|
|
/* Spacing between elements */
|
|
background-color: #333;
|
|
border: 1px solid #444;
|
|
/* Subtle border */
|
|
color: white;
|
|
box-sizing: border-box;
|
|
/* Include padding and border in the element's total width and height */
|
|
}
|
|
|
|
button {
|
|
cursor: pointer;
|
|
display: block;
|
|
/* Ensure it's block-level */
|
|
}
|
|
|
|
/* 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;
|
|
}
|
|
} |