Spaces:
Sleeping
Sleeping
File size: 1,877 Bytes
ab4cc8e | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 | /* 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;
}
}
|