Skip to content

Commit

Permalink
update style.css
Browse files Browse the repository at this point in the history
  • Loading branch information
TarnaWijaya committed Jan 31, 2025
1 parent c493f14 commit fe9ddc1
Showing 1 changed file with 127 additions and 0 deletions.
127 changes: 127 additions & 0 deletions style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,127 @@
/* styles.css */
body {
font-family: Arial, sans-serif;
background-color: #1e1e2f;
margin: 0;
padding: 0;
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
color: #fff;
}

.chat-container {
width: 100%;
height: 100%;
background-color: #2a2a40;
border-radius: 10px;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
overflow: hidden;
display: flex;
flex-direction: column;
}

.chat-header {
background-color: #6200ea;
color: #fff;
padding: 15px;
text-align: center;
}

.chat-header .logo {
width: 40px;
height: 40px;
vertical-align: middle;
margin-right: 10px;
}

.chat-box {
flex: 1;
padding: 15px;
overflow-y: auto;
border-bottom: 1px solid #444;
}

.message {
margin-bottom: 15px;
display: flex;
align-items: flex-start;
}

.message img {
width: 30px;
height: 30px;
border-radius: 50%;
margin-right: 10px;
}

.message.user img {
background-color: #6200ea;
}

.message.bot img {
background-color: #03dac6;
}

.message-content {
background-color: #444;
padding: 10px;
border-radius: 10px;
max-width: 70%;
word-wrap: break-word;
}

.message.user .message-content {
background-color: #6200ea;
color: #fff;
margin-left: auto;
}

.chat-input {
display: flex;
padding: 10px;
background-color: #1e1e2f;
}

.chat-input textarea {
flex: 1;
padding: 10px;
border: 1px solid #444;
border-radius: 5px;
resize: none;
margin-right: 10px;
background-color: #2a2a40;
color: #fff;
}

.chat-input button {
background-color: #6200ea;
color: #fff;
border: none;
padding: 10px 15px;
border-radius: 5px;
cursor: pointer;
}

.chat-input button:hover {
background-color: #3700b3;
}

.message-actions {
margin-top: 5px;
display: flex;
gap: 5px;
}

.message-actions button {
background: none;
border: none;
color: #fff;
cursor: pointer;
font-size: 12px;
}

.message-actions button:hover {
color: #03dac6;
}

0 comments on commit fe9ddc1

Please sign in to comment.