Spaces:
Sleeping
Sleeping
| html { | |
| font-family: "Quicksand", sans-serif; | |
| } | |
| .camera-container { | |
| display: flex; | |
| flex-direction: column; | |
| align-items: center; | |
| margin-bottom: 20px; | |
| } | |
| .results-container { | |
| margin-top: 20px; | |
| display: flex; | |
| flex-direction: column; | |
| align-items: center; | |
| justify-content: center; | |
| } | |
| #camera { | |
| width: 100%; | |
| max-width: 600px; | |
| border: 2px solid #ccc; | |
| } | |
| #results { | |
| width: 100%; | |
| max-width: 600px; | |
| border: 2px solid #ccc; | |
| } | |
| .btn-container { | |
| display: flex; | |
| justify-content: center; | |
| margin-top: 20px; | |
| } | |
| .btn { | |
| margin: 5px; | |
| padding: 10px 20px; | |
| background-color: #1864ab; | |
| color: white; | |
| border: none; | |
| cursor: pointer; | |
| border-radius: 12px; | |
| } | |
| #uploadForm { | |
| display: flex; | |
| justify-content: center; | |
| align-items: center; | |
| } | |
| .btn:hover { | |
| background-color: #45a049; | |
| } | |
| .upload-form { | |
| display: flex; | |
| justify-content: center; | |
| margin-top: 20px; | |
| align-items: center; | |
| } | |
| .custom-file-input { | |
| position: relative; | |
| overflow: hidden; | |
| display: inline-block; | |
| } | |
| #imageInput { | |
| position: absolute; | |
| left: 0; | |
| top: 0; | |
| opacity: 0; | |
| cursor: pointer; | |
| height: 100%; | |
| width: 100%; | |
| } | |
| .choose-file-btn { | |
| margin-right: 10px; | |
| padding: 10px 20px; | |
| background-color: #1864ab; | |
| color: white; | |
| border: none; | |
| cursor: pointer; | |
| border-radius: 12px; | |
| } | |
| .choose-file-btn:hover { | |
| background-color: #45a049; | |
| } | |
| /* Hide camera functionality on small screens */ | |
| @media (max-width: 768px) { | |
| .camera-container { | |
| display: none; | |
| } | |
| .mobile-message { | |
| display: block; | |
| text-align: center; | |
| margin-top: 20px; | |
| } | |
| } | |
| /* Hide mobile message on larger screens */ | |
| @media (min-width: 769px) { | |
| .mobile-message { | |
| display: none; | |
| } | |
| } | |