ui/chat.razor.scss
Chat {
position: absolute;
top: 100px;
left: 200px; // todo: move over if the player has a shitload of perks
bottom: 200px;
width: 600px;
justify-content: center;
align-items: center;
font-weight: bold;
//border-radius: 20px;
flex-direction: column;
align-items: stretch;
font-size: 17px;
font-family: Inter;
gap: 10px;
.output {
flex-grow: 1;
flex-direction: column;
justify-content: flex-end;
align-items: stretch;
gap: 5px;
.chat_entry {
//background-color: #00000055;
padding: 2px;
gap: 10px;
text-shadow: 2px 2px 2px #000a;
align-items: center;
flex-shrink: 0;
> i {
color: white;
font-size: 24px;
}
.avatar {
width: 32px;
height: 32px;
background-position: center;
background-size: cover;
//border-radius: 100px;
}
.author {
color: #2d95ce;
white-space: nowrap;
flex-shrink: 0;
}
.message {
color: #fff;
pointer-events: all;
font-size: 19px;
}
.system_author {
color: #ffff77;
white-space: nowrap;
flex-shrink: 0;
}
.system_message {
color: #999;
//font-style: italic;
font-weight: 500;
}
}
}
.input {
color: white;
flex-shrink: 0;
.textentry {
align-items: flex-start;
white-space: normal;
}
}
&.open {
.input {
background-color: #00000066;
}
}
}