Spaces:
Sleeping
Sleeping
/* Custom theme colors */ | |
:root { | |
--primary-color: #0000d3; | |
--secondary-color: #c3c3f5; | |
--background-color: #f8fafc; | |
--text-color: white; | |
--text-secondary: #000050; | |
} | |
@media (prefers-color-scheme: dark) { | |
:root { | |
--primary-color: #c3c3f5; | |
--secondary-color: #0000d3; | |
--background-color: #1e1e2e; | |
--text-color: white; | |
--text-secondary: #000050; | |
} | |
.chat-interface { | |
background: rgba(30, 30, 46, 0.8) ; | |
} | |
.message { | |
background: rgba(40, 40, 56, 0.8) ; | |
color: var(--text-color) ; | |
} | |
.input-box { | |
background: rgba(30, 30, 46, 0.9) ; | |
color: var(--text-color) ; | |
} | |
} | |
/* Main container styling */ | |
.gradio-container { | |
/* background-color: var(--background-color) !important */ | |
background-image: url('https://gradientsss.app/mesh.svg'); | |
background-attachment: fixed; | |
background-size: cover; | |
} | |
/* Chat interface styling */ | |
.chat-interface { | |
max-width: 800px; | |
margin: 0 auto; | |
padding: 2rem; | |
border-radius: 1rem; | |
background: rgba(255, 255, 255, 0.8); | |
backdrop-filter: blur(10px); | |
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); | |
} | |
@media (prefers-color-scheme: dark) { | |
.chat-interface { | |
background: rgba(30, 30, 46, 0.8) ; | |
} | |
.gradio-container { | |
background-color: #1e1e2e ; | |
} | |
.message-wrap { | |
background: rgba(40, 40, 56, 0.8) ; | |
} | |
} | |
/* Title styling */ | |
.title { | |
color: var(--primary-color); | |
font-size: 2.5rem; | |
font-weight: bold; | |
text-align: center; | |
margin-bottom: 1rem; | |
} | |
.title span { | |
font-size: 24px; | |
font-weight: 600; | |
} | |
/* Message container */ | |
.message { | |
padding: 1rem; | |
margin: 0.5rem 0; | |
border-radius: 0.5rem; | |
color: var(--text-color) ; | |
} | |
/* Input box styling */ | |
.input-box { | |
border: 2px solid var(--primary-color); | |
border-radius: 0.5rem; | |
padding: 0.75rem; | |
background: white; | |
} | |
/* Button styling */ | |
button { | |
background: var(--primary-color) ; | |
color: var(--text-color) ; | |
border-radius: 0.5rem ; | |
padding: 0.75rem 1.5rem ; | |
transition: all 0.3s ease ; | |
} | |
button p { | |
color: var(--text-color) ; | |
} | |
button:hover { | |
background: var(--secondary-color) ; | |
transform: translateY(-2px); | |
} | |
button:hover p { | |
color: var(--text-secondary) ; | |
} | |
/* footer {visibility: hidden} */ |