/* Aczen SLM Evaluation Platform — Frontend Lead owns this file. * Refinements layered on top of Gradio's dark theme for a modern, * centered, ChatGPT-like layout. The theme provides the dark palette; * this file only tunes spacing, width, header and chat surfaces. */ /* Center the app in a comfortable reading column. */ .gradio-container { max-width: 1100px !important; margin: 0 auto !important; } /* --- Header --- */ .aczen-header { padding: 18px 4px 6px; border-bottom: 1px solid var(--border-color-primary); margin-bottom: 8px; } .aczen-header h1 { font-size: 1.45rem; font-weight: 700; margin: 0; background: linear-gradient(90deg, var(--primary-400), var(--primary-600)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; } .aczen-header .subtitle { color: var(--body-text-color-subdued); font-size: 0.88rem; margin-top: 2px; } /* --- Status bar --- */ #status-bar { font-size: 0.85rem; color: var(--body-text-color-subdued); padding: 4px 8px; min-height: 1.6em; } /* --- Chat surface --- */ #chatbot { border-radius: 14px; border: 1px solid var(--border-color-primary); } /* Code blocks: readable monospace + horizontal scroll instead of wrap. */ #chatbot pre, #chatbot code { font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace; } #chatbot pre { overflow-x: auto; border-radius: 10px; } /* --- Composer --- */ #composer textarea { border-radius: 12px !important; } #send-btn { border-radius: 12px; min-width: 96px; } /* --- Settings panel --- */ #settings-panel { border-radius: 14px; } /* --- Responsive: stack the settings under the chat on narrow screens --- */ @media (max-width: 820px) { .gradio-container { max-width: 100% !important; padding: 0 8px !important; } #chatbot { height: 60vh !important; } }