working version

This commit is contained in:
Matteo Rosati
2026-01-20 09:46:21 +01:00
commit 6546853464
11 changed files with 767 additions and 0 deletions

37
static/css/main.css Normal file
View File

@@ -0,0 +1,37 @@
textarea {
width: 100%;
height: 80px;
}
#messages {
display: flex;
flex-direction: column;
gap: 10px;
padding: 20px;
}
.message {
max-width: 70%;
padding: 10px 15px;
border-radius: 15px;
font-family: sans-serif;
line-height: 1.4;
}
.sent {
max-width: 70%;
background-color: lightgreen;
padding: 10px 15px;
border-radius: 15px;
font-family: sans-serif;
line-height: 1.4;
align-self: flex-end;
border-bottom-right-radius: 2px;
}
.received {
align-self: flex-start;
background-color: #e5e5ea;
color: black;
border-bottom-left-radius: 2px;
}