Spaces:
Sleeping
Sleeping
/* styles.css */ | |
body { | |
font-family: Arial, sans-serif; | |
margin: 0; | |
padding: 0; | |
} | |
h1 { | |
text-align: center; | |
} | |
/* General Styles */ | |
#forms-container { | |
max-width: 600px; | |
margin: 0 auto; | |
padding: 20px; | |
background-color: #f5f5f5; | |
border-radius: 5px; | |
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); | |
} | |
form { | |
padding: 20px; | |
background-color: #fff; | |
border-radius: 5px; | |
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); | |
} | |
.form-title { | |
text-align: center; | |
margin-bottom: 20px; | |
color: #333; | |
} | |
label { | |
display: block; | |
margin-bottom: 5px; | |
font-weight: bold; | |
color: #555; | |
} | |
input[type="text"], | |
input[type="number"], | |
input[type="file"] { | |
width: 100%; | |
padding: 10px; | |
border: 1px solid #ccc; | |
border-radius: 3px; | |
box-sizing: border-box; | |
margin-bottom: 15px; | |
} | |
button[type="submit"] { | |
background-color: #4caf50; | |
color: #fff; | |
padding: 10px 20px; | |
border: none; | |
border-radius: 3px; | |
cursor: pointer; | |
transition: background-color 0.3s ease; | |
} | |
button[type="submit"]:hover { | |
background-color: #45a049; | |
} | |
/* Form Specific Styles */ | |
#basic-form { | |
border: 2px solid #2196f3; | |
} | |
#subway-form { | |
border: 2px solid #f44336; | |
} | |
#minecraft-form { | |
border: 2px solid #8bc34a; | |
} | |
#video-cutter-form { | |
border: 2px solid #ff9800; | |
} | |
.input-group { | |
margin-bottom: 10px; | |
} | |
.input-group label { | |
display: inline-block; | |
width: 100px; | |
} | |
.input-group input[type="text"], | |
.input-group input[type="number"], | |
.input-group input[type="file"] { | |
width: calc(100% - 110px); /* Adjust the width based on label width */ | |
padding: 5px; | |
border-radius: 5px; | |
border: 1px solid #ccc; | |
} | |
button[type="submit"] { | |
display: block; | |
width: 100%; | |
padding: 10px; | |
margin-top: 10px; | |
background-color: #007bff; | |
color: #fff; | |
border: none; | |
border-radius: 5px; | |
cursor: pointer; | |
} | |
button[type="submit"]:hover { | |
background-color: #0056b3; | |
} | |
button:disabled { | |
background-color: #ccc; | |
cursor: not-allowed; | |
} | |
ul { | |
list-style-type: none; | |
padding: 0; | |
} | |
ul li { | |
display: inline-block; | |
margin-right: 10px; | |
} | |
ul li button { | |
padding: 5px 10px; | |
background-color: #007bff; | |
color: #fff; | |
border: none; | |
border-radius: 5px; | |
cursor: pointer; | |
} | |
ul li button:hover { | |
background-color: #0056b3; | |
} | |
span.error { | |
color: red; | |
text-align: center; | |
display: block; | |
font-size: 1.5em; | |
} | |
.form-buttons { | |
display: flex; | |
justify-content: center; | |
} | |
select { | |
width: 100%; | |
padding: 10px; | |
border: 1px solid #ccc; | |
border-radius: 3px; | |
box-sizing: border-box; | |
margin-bottom: 15px; | |
background-color: #fff; | |
color: #555; | |
font-size: 16px; | |
} | |
option { | |
background-color: #fff; | |
color: #555; | |
padding: 5px 10px; | |
} | |
option:checked { | |
background-color: #007bff; | |
color: #fff; | |
} | |
.active-option { | |
background-color: #1f5792; | |
color: #fff; | |
} | |
.clr-field { | |
margin-bottom: 15px; | |
} | |
.reference { | |
margin-top: 20px; | |
text-align: center; | |
} | |
.reference a { | |
color: #007bff; | |
font-weight: bold; | |
transition: color 0.3s ease; | |
} | |
.reference a:hover { | |
color: #0056b3; | |
} | |
.hidden { | |
display: none; | |
} | |