| body { | |
| font-family: Arial, sans-serif; | |
| background-color: #1e1e1e; | |
| color: #e0e0e0; | |
| margin: 0; | |
| padding: 0; | |
| } | |
| .container { | |
| width: 80%; | |
| margin: 0 auto; | |
| padding: 20px; | |
| } | |
| header { | |
| text-align: center; | |
| margin-bottom: 20px; | |
| } | |
| h1 { | |
| font-size: 2.5em; | |
| color: #ffffff; | |
| } | |
| p { | |
| font-size: 1.2em; | |
| } | |
| form { | |
| display: flex; | |
| justify-content: center; | |
| align-items: center; | |
| flex-direction: column; | |
| } | |
| input[type="file"] { | |
| margin-bottom: 10px; | |
| padding: 10px; | |
| border: 1px solid #444; | |
| border-radius: 5px; | |
| background-color: #333; | |
| color: #e0e0e0; | |
| } | |
| button { | |
| padding: 10px 20px; | |
| background-color: #007bff; | |
| color: #ffffff; | |
| border: none; | |
| border-radius: 5px; | |
| cursor: pointer; | |
| } | |
| button:hover { | |
| background-color: #0056b3; | |
| } | |
| .result { | |
| display: flex; | |
| flex-direction: column; | |
| align-items: center; | |
| margin-top: 20px; | |
| } | |
| #maskImage { | |
| max-width: 100%; | |
| height: auto; | |
| border: 1px solid #444; | |
| border-radius: 5px; | |
| } | |
| #classLabel, #probability { | |
| font-size: 1.2em; | |
| margin-top: 10px; | |
| } | |