Files
web-chat/frontend/stylesheet/chat.css
2024-09-10 21:27:45 +02:00

138 lines
2.4 KiB
CSS

/* CSS BY chatGPT ( */
body, html, form, button, input {
font-family: "Lucida Console", "Lucida Sans Typewriter", monaco, "Bitstream Vera Sans Mono", monospace;
}
#input::placeholder, #recipient::placeholder {
font-family: "Lucida Console", "Lucida Sans Typewriter", monaco, "Bitstream Vera Sans Mono", monospace;
color: #999;
}
body {
margin: 0;
padding-bottom: 3rem;
background-color: #121212;
color: #e0e0e0;
}
#form, #recipientForm {
background: rgba(30, 30, 30, 0.95);
padding: 0.5rem;
display: flex;
align-items: center;
box-sizing: border-box;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
backdrop-filter: blur(10px);
z-index: 1000;
}
#form {
position: fixed;
bottom: 0;
left: 0;
right: 0;
}
#recipientForm {
position: fixed;
top: 0;
left: 0;
right: 0;
}
#input, #recipient {
border: 1px solid #555;
padding: 0.5rem 1rem;
flex-grow: 1;
border-radius: 20px;
margin-right: 0.5rem;
font-size: 1rem;
transition: border-color 0.3s ease;
background-color: #1f1f1f;
color: #e0e0e0;
}
#input:focus, #recipient:focus {
outline: none;
border-color: #1a73e8;
}
button {
font-family: "Lucida Console";
background-color: #2c7a2e;
color: #e0e0e0;
padding: 10px 15px;
border: none;
border-radius: 4px;
cursor: pointer;
font-size: 16px;
margin: 0 10px;
}
button:hover {
background-color: #368f39;
}
#form #recipientForm {
background: #1a73e8; /
border: none;
padding: 0.5rem 1rem;
margin: 0.25rem;
border-radius: 20px;
color: #e0e0e0;
font-size: 1rem;
cursor: pointer;
transition: background-color 0.3s ease;
}
#form #recipientForm:hover {
background-color: #155bb5;
}
#settings {
background-color: #1a73e8;
}
#settings:hover {
background-color: #1a73e8;
}
#error {
color: red;
}
#messages {
font-weight: lighter;
list-style-type: none;
margin: 5rem 0 3rem 0;
padding: 0;
max-width: 800px;
margin-left: auto;
margin-right: auto;
}
#messages > li {
padding: 0.75rem 1.5rem;
margin: 0.5rem 0;
border-radius: 20px;
background: #1e1e1e;
max-width: 80%;
word-wrap: break-word;
}
#messages > li:nth-child(odd) {
background: #2c7a2e;
}
p {
text-align: center;
font-size: 20px;
color: #e0e0e0;
}
#messageBox {
color: red;
}
#contacts > li {
color: white;
}