Spaces:
Runtime error
Runtime error
| /* upload.css */ | |
| .upload-section { | |
| background-color: #f5f5f5; | |
| text-align: center; | |
| padding: 20px; | |
| border-radius: 10px; | |
| box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1); | |
| opacity: 0.9; /* Adjust the opacity value as needed */ | |
| } | |
| #imageUpload { | |
| display: block; | |
| margin: 0 auto; | |
| padding: 10px; | |
| border: 2px dashed #ccc; | |
| border-radius: 10px; | |
| background-color: #fff; | |
| cursor: pointer; | |
| } | |
| #imageUpload:hover { | |
| border-color: #1b2850; | |
| } | |
| #imageUploadLabel { | |
| display: block; | |
| font-weight: bold; | |
| margin-top: 10px; | |
| } | |
| #imagePreview { | |
| max-width: 100%; | |
| margin-top: 20px; | |
| border-radius: 10px; | |
| } | |
| /* custom.css */ | |
| /* Style for the image preview container */ | |
| #imagePreviewContainer { | |
| display: none; | |
| text-align: center; | |
| background-color: rgba(255, 255, 255, 0.9); /* Semi-transparent white background */ | |
| border-radius: 10px; | |
| padding: 20px; | |
| margin-top: 20px; | |
| box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3); | |
| } | |
| /* Style for the h2 element within the image preview container */ | |
| #imagePreviewContainer h2 { | |
| color: #1b2850; /* Text color similar to the GSFC University style */ | |
| font-size: 24px; | |
| font-weight: bold; | |
| } | |
| /* Style for the image within the image preview container */ | |
| #imagePreview { | |
| max-width: 100%; | |
| height: auto; | |
| margin-top: 10px; | |
| border: 2px solid #1b2850; /* Border color similar to the GSFC University style */ | |
| border-radius: 5px; | |
| } | |
| /* custom.css */ | |
| /* Style for the "Preview" button */ | |
| #previewButton { | |
| background-color: #1b2850; /* Background color similar to the GSFC University style */ | |
| color: #fff; /* Text color */ | |
| border: none; | |
| padding: 10px 20px; | |
| font-size: 16px; | |
| font-weight: bold; | |
| border-radius: 5px; | |
| cursor: pointer; | |
| transition: background-color 0.3s ease; | |
| } | |
| #previewButton:hover { | |
| background-color: #ff5733; /* Change background color on hover */ | |
| } | |