Created
March 30, 2025 02:40
-
-
Save rollendxavier/c7a495cf4b8ba4c4690386d864675b28 to your computer and use it in GitHub Desktop.
Create a file named style.css in static/css/ with this content to give your interface a dark, modern look:
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap'); | |
body { | |
font-family: 'Roboto', sans-serif; | |
background-color: #1e1e2f; | |
color: #ffffff; | |
margin: 0; | |
padding: 0; | |
display: flex; | |
justify-content: center; | |
align-items: center; | |
height: 100vh; | |
} | |
.chat-container { | |
width: 100%; | |
max-width: 600px; | |
background-color: #2c2c3c; | |
border-radius: 10px; | |
box-shadow: 0 0 20px rgba(0, 0, 0, 0.5); | |
display: flex; | |
flex-direction: column; | |
overflow: hidden; | |
} | |
.chat-header { | |
background-color: #3c3c4f; | |
padding: 20px; | |
text-align: center; | |
} | |
.chat-header h1 { | |
margin: 0; | |
font-size: 24px; | |
color: #ffffff; | |
} | |
.chat-box { | |
flex-grow: 1; | |
overflow-y: auto; | |
padding: 20px; | |
background-color: #2c2c3c; | |
} | |
.user-message { | |
text-align: right; | |
color: #00aaff; | |
margin: 5px 0; | |
font-weight: 500; | |
} | |
.ai-response { | |
text-align: left; | |
color: #00ff7f; | |
margin: 5px 0; | |
font-weight: 500; | |
} | |
.chat-input { | |
display: flex; | |
padding: 10px; | |
background-color: #3c3c4f; | |
} | |
#user-input { | |
flex-grow: 1; | |
padding: 10px; | |
border: 1px solid #444; | |
border-radius: 5px; | |
margin-right: 10px; | |
background-color: #1e1e2f; | |
color: #ffffff; | |
} | |
button { | |
padding: 10px 20px; | |
border: none; | |
border-radius: 5px; | |
background-color: #00aaff; | |
color: white; | |
cursor: pointer; | |
transition: background-color 0.3s ease; | |
} | |
button:hover { | |
background-color: #0088cc; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment