73 lines
1.2 KiB
CSS
73 lines
1.2 KiB
CSS
html, body {
|
|
margin: 0;
|
|
height: 100%;
|
|
font-family: 'Courier New', Courier, monospace;
|
|
width: 100%;
|
|
max-width: 100%;
|
|
}
|
|
|
|
.username {
|
|
font-size: 20px;
|
|
margin-right: 10px;
|
|
}
|
|
|
|
.message {
|
|
text-decoration: none !important;
|
|
font-size: 15px;
|
|
word-wrap: break-word;
|
|
}
|
|
|
|
.message-fadein {
|
|
margin-top: 20px;
|
|
background-color: rgba(0, 0, 0, 0.5);
|
|
display: inline-block;
|
|
align-self: flex-end;
|
|
opacity: 0;
|
|
transition: 1s;
|
|
|
|
place-self: baseline;
|
|
|
|
max-width: 100%;
|
|
|
|
height: 0px;
|
|
max-height: 0px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.message-container {
|
|
margin-top: 20px;
|
|
background-color: rgba(0, 0, 0, 0.5);
|
|
color: white;
|
|
display: inline-block;
|
|
align-self: flex-end;
|
|
opacity: 1;
|
|
transition: 1s;
|
|
|
|
height: unset;
|
|
max-height: unset;
|
|
overflow: hidden;
|
|
|
|
place-self: baseline;
|
|
|
|
max-width: 100%;
|
|
}
|
|
|
|
.message-fadeout {
|
|
opacity: 0 !important;
|
|
transition: 1s !important;
|
|
}
|
|
|
|
#chatbox {
|
|
height: 100%;
|
|
align-content: end;
|
|
vertical-align: bottom;
|
|
display: flex;
|
|
|
|
justify-content: end;
|
|
flex-wrap: nowrap;
|
|
flex-direction: column;
|
|
}
|
|
|
|
badge {
|
|
margin-right: 10px;
|
|
} |