Spaces:
Sleeping
Sleeping
| body { | |
| background-color: #f8f9fa; | |
| } | |
| .container { | |
| margin-top: 30px; | |
| } | |
| .card { | |
| margin-bottom: 20px; | |
| } | |
| .video-thumbnail { | |
| width: 100%; | |
| height: auto; | |
| cursor: pointer; | |
| } | |
| .footer { margin-top: 20px; font-size: 14px; } | |
| .video-container img { max-width: 100%; height: auto; border-radius: 8px; margin-top: 10px; } | |
| .header, .footer { background-color: #2c3e50; color: white; text-align: center; padding: 15px 0; } | |
| .Dictionary { | |
| width: 50%; | |
| margin: 50px auto; | |
| background: white; | |
| padding: 20px; | |
| border-radius: 10px; | |
| box-shadow: 0px 0px 10px gray; | |
| } | |
| input { | |
| width: 60%; | |
| padding: 10px; | |
| margin: 10px 10px 20px 0; | |
| border-radius: 5px; | |
| border: 1px solid gray; | |
| font-size: 16px; | |
| } | |
| button { | |
| padding: 10px 15px; | |
| border: none; | |
| background-color: blue; | |
| color: white; | |
| cursor: pointer; | |
| border-radius: 5px; | |
| font-size: 16px; | |
| } | |
| button:hover { | |
| background-color: darkblue; | |
| } | |
| #result { | |
| margin-top: 20px; | |
| font-size: 18px; | |
| } | |
| audio { | |
| margin-top: 10px; | |
| } | |
| /* Custom styling for search box */ | |
| .navbar { | |
| background-color: #f8f9fa ; | |
| } | |
| .form-control { | |
| width: 200px; | |
| } | |
| .btn-outline-success { | |
| border-radius: 5px; | |
| } | |
| .navbar { | |
| background-color: #f8f9fa; | |
| padding: 10px; | |
| } | |
| .navbar-nav .nav-link { | |
| color: #333; | |
| font-size: 18px; | |
| margin-right: 10px; | |
| } | |
| .navbar-nav .nav-link:hover { | |
| color: #007bff; | |
| } | |
| .btn-outline-success { | |
| border-color: #28a745; | |
| color: #28a745; | |
| } | |
| .btn-outline-success:hover { | |
| background-color: #28a745; | |
| color: white; | |
| } | |
| /* Speech Recognition + Text-to-Speech */ | |
| .styled-btn, .read-btn { | |
| background-color: #007BFF; | |
| color: white; | |
| border: none; | |
| padding: 10px 15px; | |
| border-radius: 20px; | |
| cursor: pointer; | |
| font-size: 16px; | |
| transition: background 0.3s, transform 0.2s; | |
| } | |
| .styled-btn:hover, .read-btn:hover { | |
| background-color: #0056b3; | |
| transform: scale(1.05); | |
| } | |
| .read-btn { | |
| margin-left: 10px; | |
| font-size: 14px; | |
| background-color: #28a745; | |
| } | |
| .read-btn:hover { | |
| background-color: #218838; | |
| } | |
| /* Footer fixed at the bottom */ | |
| .footer { | |
| text-align: center; | |
| padding: 10px; | |
| width: 100%; | |
| position: relative; | |
| bottom: 0; | |
| } | |