arizso / customcss1.py
Imtaiz's picture
Upload customcss1.py with huggingface_hub
7db5170 verified
Raw History Blame Contribute Delete
2.9 kB
CUSTOM_CSS = """
/* Hide default elements */
header {visibility: hidden;}
footer {visibility: hidden;}
#MainMenu {visibility: hidden;}
/* Basic resets and container setup */
.reportview-container .main .block-container {
padding-top: 0;
max-width: 700px;
padding-right: 1rem;
padding-left: 1rem;
}
/* Animations */
@keyframes fadeIn {
0% {opacity: 0;}
100% {opacity: 1;}
}
/* Logo and header styling */
.logo-container {
display: flex;
flex-direction: column;
align-items: center;
margin-top: 0;
padding-top: 0.5rem;
}
.round-logo {
width: 120px;
height: 120px;
border-radius: 50%;
margin-top: 0.5rem;
padding: 2px;
opacity: 0;
animation: fadeIn 1.5s ease-out forwards;
object-fit: cover;
aspect-ratio: 1 / 1;
overflow: hidden;
}
.concierge-header {
font-size: 1.25rem;
text-align: center;
margin-top: 0.5rem;
margin-bottom: 0;
font-weight: 500;
}
.concierge-subtitle {
text-align: center;
font-size: 0.9rem;
margin-top: 0.25rem;
margin-bottom: 0.5rem;
padding: 4px 12px;
border-radius: 4px;
animation: highlightText 7s ease-in-out infinite;
display: inline-block;
}
/* Chat styling */
.chat-container {
display: flex;
flex-direction: column;
gap: 1rem;
padding-bottom: 70px;
}
.stChatMessage {
background-color: #ffffff;
border-radius: 15px;
padding: 1.5rem !important;
margin-bottom: 1rem;
box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}
.assistant-message {
width: 100% !important;
max-width: 100% !important;
word-break: break-word !important;
white-space: pre-wrap !important;
}
/* Button styling */
.stButton > button {
background-color: #ffffff !important;
color: #1E88E5 !important;
border: 1px solid #E3E3E3 !important;
border-radius: 8px !important;
padding: 10px 20px !important;
font-size: 0.9rem !important;
font-weight: normal !important;
width: 90% !important;
margin: 0 auto !important;
box-shadow: none !important;
transition: all 0.2s ease;
}
.stButton > button:hover {
background-color: #FF7F50 !important;
color: white !important;
border-color: #FF7F50 !important;
transform: translateY(-1px);
}
/* Chat input styling */
.stChatInput {
position: fixed;
bottom: 0;
left: 0;
right: 0;
background: white;
padding: 1rem;
border-top: none !important;
box-shadow: none !important;
}
"""