Spaces:
Running
Running
| /* General styling */ | |
| * { | |
| margin: 0; | |
| padding: 0; | |
| box-sizing: border-box; | |
| } | |
| body { | |
| font-family: Arial, sans-serif; | |
| display: flex; | |
| flex-direction: row; | |
| min-height: 100vh; | |
| background-color: #000; | |
| color: #fff; | |
| } | |
| /* Sidebar styling */ | |
| .sidebar { | |
| width: 60px; | |
| background-color: #333; | |
| color: white; | |
| display: flex; | |
| flex-direction: column; | |
| align-items: center; | |
| padding: 10px 0; | |
| gap: 20px; | |
| } | |
| .prompt-icon, .video-icon { | |
| cursor: pointer; | |
| text-align: center; | |
| display: flex; | |
| flex-direction: column; | |
| align-items: center; | |
| gap: 5px; | |
| } | |
| .prompt-icon img, .video-icon img { | |
| width: 36px; | |
| height: 36px; | |
| transition: transform 0.2s ease, filter 0.2s ease; | |
| } | |
| .prompt-icon img:hover, .video-icon img:hover { | |
| transform: scale(1.2); | |
| filter: brightness(1.2); | |
| } | |
| .prompt-icon span, .video-icon span { | |
| font-size: 12px; | |
| } | |
| /* Main content styling */ | |
| .container { | |
| flex: 1; | |
| position: relative; | |
| display: flex; | |
| flex-direction: column; | |
| align-items: center; | |
| justify-content: center; | |
| } | |
| .top-bar { | |
| position: absolute; | |
| top: 0; | |
| width: 100%; | |
| background-color: #444; | |
| color: white; | |
| text-align: center; | |
| padding: 10px; | |
| z-index: 10; | |
| display: flex; | |
| align-items: center; | |
| justify-content: space-between; | |
| } | |
| .top-bar h1 { | |
| flex: 1; | |
| text-align: center; | |
| } | |
| .nav-buttons { | |
| display: flex; | |
| gap: 10px; | |
| } | |
| .nav-buttons button { | |
| background-color: #666; | |
| color: white; | |
| border: none; | |
| padding: 10px; | |
| font-size: 18px; | |
| cursor: pointer; | |
| } | |
| .nav-buttons button:hover { | |
| background-color: #888; | |
| } | |
| .main { | |
| display: flex; | |
| height: 100%; | |
| } | |
| .content { | |
| flex: 1; | |
| display: flex; | |
| justify-content: center; | |
| align-items: center; | |
| position: relative; | |
| background-color: #000; | |
| } | |
| .content img { | |
| max-width: 100%; | |
| max-height: 100%; | |
| object-fit: contain; | |
| display: block; | |
| } | |
| /* Prompt box styling */ | |
| .prompt-box { | |
| position: absolute; | |
| top: 10%; | |
| left: 10%; | |
| background-color: rgba(255, 255, 255, 0.9); | |
| color: #333; | |
| padding: 15px; | |
| border: 1px solid #ccc; | |
| border-radius: 5px; | |
| box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); | |
| display: none; | |
| z-index: 20; | |
| } | |
| .prompt-box textarea { | |
| width: 100%; | |
| height: 60px; | |
| margin-bottom: 10px; | |
| padding: 10px; | |
| font-size: 14px; | |
| border: 1px solid #ccc; | |
| border-radius: 5px; | |
| } | |
| .prompt-box button { | |
| padding: 5px 10px; | |
| font-size: 14px; | |
| background-color: #007bff; | |
| color: white; | |
| border: none; | |
| border-radius: 5px; | |
| cursor: pointer; | |
| } | |
| /* Response box styling */ | |
| .response-box { | |
| position: absolute; | |
| top: 30%; | |
| left: 10%; | |
| background-color: rgba(255, 255, 255, 0.9); | |
| color: #333; | |
| padding: 15px; | |
| border: 1px solid #ccc; | |
| border-radius: 5px; | |
| box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); | |
| display: none; | |
| z-index: 20; | |
| } | |
| /* Video overlay */ | |
| .video-overlay { | |
| position: fixed; | |
| top: 0; | |
| left: 0; | |
| width: 100%; | |
| height: 100%; | |
| background-color: rgba(0, 0, 0, 0.8); | |
| display: flex; | |
| justify-content: center; | |
| align-items: center; | |
| z-index: 30; | |
| } | |
| .video-overlay iframe { | |
| width: 80%; | |
| height: 80%; | |
| border: none; | |
| } | |
| .video-overlay .close-button { | |
| position: absolute; | |
| top: 20px; | |
| right: 20px; | |
| font-size: 24px; | |
| color: white; | |
| cursor: pointer; | |
| background: none; | |
| border: none; | |
| z-index: 31; | |
| } | |
| .video-overlay .close-button:hover { | |
| color: red; | |
| } | |