Download light_mode_chatter_owl.css from ankban/CommTutor: direct link, hf CLI and curl.
- Browser
- Download file 4.3 kB
-
https://huggingface.co/spaces/ankban/CommTutor/resolve/main/light_mode_chatter_owl.css
- Command line
-
hf download hf://spaces/ankban/CommTutor/light_mode_chatter_owl.css
-
curl -L -o light_mode_chatter_owl.css https://huggingface.co/spaces/ankban/CommTutor/resolve/main/light_mode_chatter_owl.css
4.3 kB
| :root { | |
| --primary-color: #FFA726; | |
| --text-color: #333333; | |
| --bg-color: #ffffff; | |
| --card-bg: #f9f9f9; | |
| --border-radius: 12px; | |
| --shadow: 0 4px 12px rgba(0, 0, 0, 0.1); | |
| } | |
| body, html { | |
| margin: 0; | |
| padding: 0; | |
| width: 100%; | |
| overflow-x: hidden; | |
| } | |
| .gradio-container { | |
| background-color: var(--bg-color); | |
| max-width: 100% ; | |
| font-family: 'Segoe UI', 'Helvetica Neue', sans-serif; | |
| color: var(--text-color); | |
| padding: 1.5em; | |
| } | |
| #top-bar { | |
| display: flex; | |
| justify-content: space-between; | |
| align-items: center; | |
| height: 48px; | |
| padding: 0 20px; | |
| background-color: var(--bg-color); | |
| border-bottom: 1px solid #ddd; | |
| position: fixed; | |
| top: 0; | |
| left: 250px; | |
| right: 0; | |
| z-index: 1000; | |
| font-size: 1.2em; | |
| font-weight: bold; | |
| } | |
| #collapse-left, #dark-toggle { | |
| cursor: pointer; | |
| color: var(--text-color); | |
| user-select: none; | |
| } | |
| #collapse-left:hover, | |
| #dark-toggle:hover { | |
| color: var(--primary-color); | |
| } | |
| #sidebar { | |
| position: fixed; | |
| top: 0; | |
| left: 0; | |
| width: 250px; | |
| height: 100vh; | |
| background-color: #f7f7f7; | |
| padding: 20px; | |
| overflow-y: auto; | |
| border-right: 1px solid #ddd; | |
| z-index: 999; | |
| font-size: 0.95em; | |
| font-family: 'Segoe UI', sans-serif; | |
| } | |
| #sidebar h1, #sidebar h2, #sidebar h3 { | |
| font-size: 1.2em; | |
| margin-bottom: 1em; | |
| font-weight: 600; | |
| color: var(--primary-color); | |
| } | |
| .sidebar-btn { | |
| display: block; | |
| width: 100%; | |
| margin-bottom: 10px; | |
| padding: 10px 14px; | |
| text-align: left; | |
| border: none; | |
| background-color: #fff; | |
| color: var(--text-color); | |
| font-weight: 500; | |
| border-radius: 8px; | |
| box-shadow: 0 1px 2px rgba(0,0,0,0.05); | |
| transition: all 0.2s ease; | |
| } | |
| .sidebar-btn:hover { | |
| background-color: #ffe3c1; | |
| } | |
| .sidebar-btn.active { | |
| background-color: var(--primary-color); | |
| color: #fff; | |
| font-weight: bold; | |
| box-shadow: none; | |
| } | |
| #main-column { | |
| padding: 0; | |
| } | |
| .main-content { | |
| margin-left: 250px; | |
| padding: 0; | |
| } | |
| #module-wrapper { | |
| box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05); | |
| border-radius: 8px; | |
| padding: 16px; | |
| background-color: white; | |
| } | |
| .gr-box { | |
| box-shadow: 0 1px 5px rgba(0, 0, 0, 0.05); | |
| border-radius: 12px; | |
| padding: 16px; | |
| margin-bottom: 20px; | |
| background-color: white; | |
| } | |
| /* Text Inputs */ | |
| .text_area { | |
| font-size: 16px; | |
| line-height: 1.6; | |
| font-family: Arial, sans-serif; | |
| } | |
| .high-contrast { | |
| color: white; | |
| background-color: black; | |
| } | |
| /* Dark Mode */ | |
| body.dark-mode { | |
| --bg-color: #1e1e1e; | |
| --text-color: #f0f0f0; | |
| --card-bg: #2a2a2a; | |
| --primary-color: #ffb74d; | |
| } | |
| body.dark-mode, | |
| body.dark-mode .main-content, | |
| body.dark-mode .gradio-container { | |
| background-color: var(--bg-color) ; | |
| color: var(--text-color) ; | |
| } | |
| body.dark-mode .gr-box, | |
| body.dark-mode #module-wrapper { | |
| background-color: var(--card-bg); | |
| color: var(--text-color); | |
| } | |
| body.dark-mode textarea, | |
| body.dark-mode input[type="text"], | |
| body.dark-mode .gr-textbox textarea { | |
| background-color: var(--card-bg); | |
| color: var(--text-color); | |
| border: 1px solid #555; | |
| } | |
| body.dark-mode .gr-button { | |
| background-color: var(--primary-color); | |
| color: black; | |
| border: none; | |
| } | |
| body.dark-mode select, | |
| body.dark-mode .gr-dropdown select, | |
| body.dark-mode .gr-checkbox label { | |
| background-color: var(--card-bg); | |
| color: var(--text-color); | |
| } | |
| body.dark-mode .gr-audio, | |
| body.dark-mode .gr-plot { | |
| background-color: var(--card-bg); | |
| } | |
| body.dark-mode #top-bar { | |
| background-color: var(--card-bg); | |
| border-color: #444; | |
| } | |
| #chat-input { | |
| width: 100%; | |
| position: relative; | |
| padding-right: 2.5em; | |
| } | |
| #chat-send-btn { | |
| position: absolute; | |
| right: 10px; | |
| top: 6px; | |
| background: none; | |
| border: none; | |
| font-size: 1.2em; | |
| box-shadow: none; | |
| z-index: 10; | |
| padding: 2px 6px; | |
| cursor: pointer; | |
| } | |
| /* Plot responsiveness */ | |
| .gr-plot, .gr-plot canvas { | |
| width: 100% ; | |
| height: auto ; | |
| } | |
| /* Brand Header */ | |
| #brand-header { | |
| text-align: center; | |
| margin-bottom: 1.5em; | |
| } | |
| #brand-header h1 { | |
| font-size: 1.6em; | |
| margin: 0; | |
| color: var(--primary-color); | |
| font-weight: 700; | |
| font-family: 'Segoe UI', 'Helvetica Neue', sans-serif; | |
| letter-spacing: 0.5px; | |
| } | |
| #brand-header img { | |
| border-radius: 50%; | |
| box-shadow: var(--shadow); | |
| } | |
| @keyframes float { | |
| 0% { transform: translateY(0px); } | |
| 50% { transform: translateY(-8px); } | |
| 100% { transform: translateY(0px); } | |
| } |