Spaces:
Sleeping
Sleeping
| :root { | |
| --primary-color: #4a90e2; | |
| --secondary-color: #f5a623; | |
| --background-color: #f7f9fc; | |
| --text-color: #333333; | |
| --border-color: #e0e0e0; | |
| } | |
| body { | |
| font-family: 'Roboto', sans-serif; | |
| background-color: var(--background-color); | |
| color: var(--text-color); | |
| margin: 0; | |
| padding: 0; | |
| line-height: 1.6; | |
| } | |
| .container { | |
| max-width: 1200px; | |
| margin: 40px auto; | |
| background-color: #ffffff; | |
| padding: 30px; | |
| border-radius: 8px; | |
| box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); | |
| } | |
| h1 { | |
| text-align: center; | |
| color: var(--primary-color); | |
| font-size: 2.5rem; | |
| margin-bottom: 30px; | |
| } | |
| .form-container { | |
| display: flex; | |
| gap: 40px; | |
| } | |
| .image-preview { | |
| flex: 1; | |
| min-height: 300px; | |
| max-height: 600px; | |
| display: flex; | |
| flex-direction: column; | |
| align-items: center; | |
| justify-content: center; | |
| background-color: var(--background-color); | |
| border-radius: 8px; | |
| padding: 20px; | |
| } | |
| #preview-container { | |
| display: flex; | |
| flex-wrap: wrap; | |
| justify-content: center; | |
| gap: 15px; | |
| max-height: 500px; | |
| overflow-y: auto; | |
| } | |
| #preview-container img { | |
| max-width: 100%; | |
| max-height: 300px; | |
| border-radius: 4px; | |
| box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); | |
| } | |
| #preview-text { | |
| color: #888; | |
| font-style: italic; | |
| } | |
| .form-fields { | |
| flex: 1; | |
| } | |
| .form-group { | |
| margin-bottom: 20px; | |
| } | |
| label { | |
| display: block; | |
| font-weight: 500; | |
| margin-bottom: 8px; | |
| color: var(--primary-color); | |
| } | |
| input[type="text"], | |
| select { | |
| width: 100%; | |
| padding: 10px; | |
| border: 1px solid var(--border-color); | |
| border-radius: 4px; | |
| font-size: 16px; | |
| transition: border-color 0.3s ease; | |
| } | |
| input[type="text"]:focus, | |
| select:focus { | |
| outline: none; | |
| border-color: var(--primary-color); | |
| } | |
| .file-input-wrapper { | |
| position: relative; | |
| display: inline-block; | |
| width: 100%; | |
| } | |
| .btn-file-input { | |
| background-color: var(--primary-color); | |
| color: #fff; | |
| padding: 10px 15px; | |
| border: none; | |
| border-radius: 4px; | |
| cursor: pointer; | |
| font-size: 16px; | |
| transition: background-color 0.3s ease; | |
| } | |
| .btn-file-input:hover { | |
| background-color: darken(var(--primary-color), 10%); | |
| } | |
| .file-name { | |
| margin-left: 10px; | |
| color: #888; | |
| } | |
| input[type="range"] { | |
| width: 100%; | |
| margin-top: 10px; | |
| } | |
| button[type="submit"] { | |
| background-color: var(--secondary-color); | |
| color: #fff; | |
| padding: 12px 24px; | |
| border: none; | |
| border-radius: 4px; | |
| cursor: pointer; | |
| font-size: 18px; | |
| transition: background-color 0.3s ease; | |
| width: 100%; | |
| margin-top: 20px; | |
| } | |
| button[type="submit"]:hover { | |
| background-color: darken(var(--secondary-color), 10%); | |
| } | |
| .results-container { | |
| display: flex; | |
| flex-direction: column; | |
| gap: 30px; | |
| margin-top: 40px; | |
| } | |
| .thumbnail h2, | |
| .actions h2 { | |
| color: var(--primary-color); | |
| font-size: 1.8rem; | |
| margin-bottom: 20px; | |
| } | |
| .image-gallery { | |
| display: grid; | |
| grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); | |
| gap: 20px; | |
| } | |
| .image-gallery img { | |
| width: 100%; | |
| height: auto; | |
| border-radius: 4px; | |
| box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); | |
| } | |
| .actions { | |
| display: flex; | |
| justify-content: center; | |
| gap: 20px; | |
| } | |
| .action-button { | |
| background-color: var(--primary-color); | |
| color: #fff; | |
| padding: 12px 24px; | |
| border: none; | |
| border-radius: 4px; | |
| text-decoration: none; | |
| font-size: 16px; | |
| transition: background-color 0.3s ease; | |
| text-align: center; | |
| } | |
| .action-button:hover { | |
| background-color: darken(var(--primary-color), 10%); | |
| } | |
| .upload-more { | |
| text-align: center; | |
| margin-top: 40px; | |
| } | |
| @media (max-width: 768px) { | |
| .form-container { | |
| flex-direction: column; | |
| } | |
| .container { | |
| padding: 20px; | |
| } | |
| .image-gallery { | |
| grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); | |
| } | |
| } |