114 lines
2.1 KiB
CSS
114 lines
2.1 KiB
CSS
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;
|
|
}
|
|
body {
|
|
margin: 0;
|
|
padding-bottom: 3rem;
|
|
background-color: #f9f9f9;
|
|
color: #333;
|
|
}
|
|
|
|
#form, #recipientForm {
|
|
background: rgba(255, 255, 255, 0.9);
|
|
padding: 0.5rem;
|
|
display: flex;
|
|
align-items: center;
|
|
box-sizing: border-box;
|
|
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
|
|
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 #ddd;
|
|
padding: 0.5rem 1rem;
|
|
flex-grow: 1;
|
|
border-radius: 20px;
|
|
margin-right: 0.5rem;
|
|
font-size: 1rem;
|
|
transition: border-color 0.3s ease;
|
|
}
|
|
|
|
#input:focus, #recipient:focus {
|
|
outline: none;
|
|
border-color: #007bff;
|
|
}
|
|
|
|
button {
|
|
font-family: "Lucida Console" ;
|
|
background-color: #349237;
|
|
color: white;
|
|
padding: 10px 15px;
|
|
border: none;
|
|
border-radius: 4px;
|
|
cursor: pointer;
|
|
font-size: 16px;
|
|
margin: 0 10px; /* Add margin to separate buttons */
|
|
}
|
|
|
|
button:hover {
|
|
background-color: #45a049;
|
|
}
|
|
#form #recipientForm {
|
|
background: #007bff;
|
|
border: none;
|
|
padding: 0.5rem 1rem;
|
|
margin: 0.25rem;
|
|
border-radius: 20px;
|
|
color: #fff;
|
|
font-size: 1rem;
|
|
cursor: pointer;
|
|
transition: background-color 0.3s ease;
|
|
}
|
|
|
|
#form #recipientForm {
|
|
background-color: #0056b3;
|
|
}
|
|
|
|
#logout {
|
|
background-color: #dc3545;
|
|
}
|
|
|
|
#logout:hover {
|
|
background-color: #c82333;
|
|
}
|
|
|
|
#messages {
|
|
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: #e9ecef;
|
|
max-width: 80%;
|
|
}
|
|
|
|
#messages > li:nth-child(odd) {
|
|
background: #d4edda;
|
|
}
|