Spaces:
Sleeping
Sleeping
File size: 2,642 Bytes
5bab31c 155198f 5bab31c 155198f 5bab31c 7090472 155198f 5bab31c 155198f 5bab31c 155198f 5bab31c 155198f 5bab31c 558f996 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 |
/* 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;
}
|