2024-10-24 01:57:58 +00:00
|
|
|
body {
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
2024-10-28 02:43:29 +00:00
|
|
|
background-color: #134115;
|
|
|
|
font-family: monospace;
|
2024-10-24 01:57:58 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
div {
|
|
|
|
box-sizing: border-box;
|
|
|
|
}
|
|
|
|
|
2024-10-29 01:47:30 +00:00
|
|
|
.container {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
height: 100vh;
|
|
|
|
}
|
|
|
|
|
2024-10-24 01:57:58 +00:00
|
|
|
.messages {
|
|
|
|
padding: 1em;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column-reverse;
|
2024-10-29 01:47:30 +00:00
|
|
|
flex-grow: 1;
|
2024-10-24 01:57:58 +00:00
|
|
|
overflow: auto;
|
2024-10-29 01:47:30 +00:00
|
|
|
position: relative;
|
2024-10-24 01:57:58 +00:00
|
|
|
}
|
|
|
|
|
2024-10-09 00:31:53 +00:00
|
|
|
.messages .message {
|
2024-10-28 02:43:29 +00:00
|
|
|
padding: 1em 1.25em;
|
|
|
|
border: 1px solid #020a03;
|
2024-10-09 00:31:53 +00:00
|
|
|
border-radius: 5px;
|
2024-10-28 02:43:29 +00:00
|
|
|
margin-bottom: 0.75em;
|
|
|
|
background-color: #fffefc;
|
|
|
|
font-family: monospace;
|
|
|
|
font-size: 14px;
|
|
|
|
color: #0c0b09;
|
2024-10-09 00:31:53 +00:00
|
|
|
}
|
2024-10-24 01:57:58 +00:00
|
|
|
|
2024-10-09 00:31:53 +00:00
|
|
|
.chatter {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
2024-10-24 01:57:58 +00:00
|
|
|
.chat-input {
|
|
|
|
width: 100%;
|
|
|
|
box-sizing: border-box;
|
|
|
|
border-top: 1px solid #ccc;
|
2024-10-28 02:43:29 +00:00
|
|
|
padding: 1em;
|
|
|
|
background-color: #f4efe6;
|
2024-10-29 01:47:30 +00:00
|
|
|
align-self: flex-end;
|
2024-10-24 01:57:58 +00:00
|
|
|
}
|
2024-10-09 00:31:53 +00:00
|
|
|
.chat-input > form {
|
|
|
|
display: flex;
|
|
|
|
width: 100%;
|
2024-10-24 01:57:58 +00:00
|
|
|
box-sizing: border-box;
|
2024-10-09 00:31:53 +00:00
|
|
|
}
|
2024-10-24 01:57:58 +00:00
|
|
|
.chat-input > form > input,
|
|
|
|
.chat-input > form > submit {
|
2024-10-28 02:43:29 +00:00
|
|
|
padding: 1em 1.25em;
|
|
|
|
margin-right: 1em;
|
2024-10-29 01:47:30 +00:00
|
|
|
box-sizing: border-box;
|
2024-10-30 01:17:49 +00:00
|
|
|
font-family: monospace !important;
|
2024-10-28 02:43:29 +00:00
|
|
|
}
|
2024-10-30 01:17:49 +00:00
|
|
|
.chat-input > form > input[type=submit] {
|
|
|
|
background-color: #dacaae;
|
|
|
|
border: 1px solid #010a02;
|
2024-10-28 02:43:29 +00:00
|
|
|
border-radius: 5px;
|
2024-10-30 01:17:49 +00:00
|
|
|
color: #0c0b09;
|
2024-10-28 02:43:29 +00:00
|
|
|
font-weight: bold;
|
|
|
|
padding: 0.75em 1em;
|
|
|
|
margin-right: 0;
|
2024-10-09 00:31:53 +00:00
|
|
|
}
|
2024-10-30 01:17:49 +00:00
|
|
|
|
2024-10-09 00:31:53 +00:00
|
|
|
.chat-input > form > input[name="chatter"] {
|
|
|
|
width: 20%;
|
2024-10-28 02:43:29 +00:00
|
|
|
border: 1px solid #020a03;
|
|
|
|
border-radius: 5px;
|
|
|
|
color: #0c0b09;
|
2024-10-09 00:31:53 +00:00
|
|
|
}
|
|
|
|
.chat-input > form > input[name="message"] {
|
|
|
|
width: 75%;
|
2024-10-28 02:43:29 +00:00
|
|
|
border: 1px solid #020a03;
|
|
|
|
border-radius: 5px;
|
|
|
|
color: #0c0b09;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media only screen and (max-width: 600px) {
|
|
|
|
.chat-input {
|
2024-10-29 01:47:30 +00:00
|
|
|
padding: 1em;
|
2024-10-28 02:43:29 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.chat-input > form {
|
|
|
|
display: flex;
|
2024-10-29 01:47:30 +00:00
|
|
|
flex-wrap: wrap;
|
2024-10-28 02:43:29 +00:00
|
|
|
width: 100%;
|
|
|
|
box-sizing: border-box;
|
|
|
|
}
|
|
|
|
|
2024-10-29 01:47:30 +00:00
|
|
|
.chat-input > form > input,
|
|
|
|
.chat-input > form > submit {
|
2024-10-28 02:43:29 +00:00
|
|
|
box-sizing: border-box;
|
2024-10-29 01:47:30 +00:00
|
|
|
margin: 0.25em;
|
|
|
|
font-size: 1em;
|
|
|
|
padding: 0.75em 1em;
|
|
|
|
border-radius: 0.25em;
|
|
|
|
width: 100%;
|
2024-10-28 02:43:29 +00:00
|
|
|
}
|
|
|
|
|
2024-10-29 01:47:30 +00:00
|
|
|
.chat-input > form > input[name="chatter"] {
|
2024-10-28 02:43:29 +00:00
|
|
|
width: 100%;
|
2024-10-29 01:47:30 +00:00
|
|
|
order: 1;
|
2024-10-28 02:43:29 +00:00
|
|
|
}
|
|
|
|
|
2024-10-29 01:47:30 +00:00
|
|
|
.chat-input > form > input[name="message"] {
|
2024-10-30 01:17:49 +00:00
|
|
|
width: 65%;
|
2024-10-29 01:47:30 +00:00
|
|
|
order: 2;
|
|
|
|
}
|
2024-10-28 02:43:29 +00:00
|
|
|
|
2024-10-29 01:47:30 +00:00
|
|
|
.chat-input > form > input[type=submit] {
|
2024-10-30 01:17:49 +00:00
|
|
|
width: 30%;
|
2024-10-29 01:47:30 +00:00
|
|
|
order: 3;
|
2024-10-28 02:43:29 +00:00
|
|
|
}
|
2024-10-05 02:57:21 +00:00
|
|
|
}
|