71 lines
1.5 KiB
SCSS
71 lines
1.5 KiB
SCSS
Chat {
|
|
position: absolute;
|
|
top: 100px;
|
|
left: 200px;
|
|
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: Poppins;
|
|
gap: 10px;
|
|
|
|
.output {
|
|
flex-grow: 1;
|
|
flex-direction: column;
|
|
justify-content: flex-end;
|
|
align-items: stretch;
|
|
gap: 5px;
|
|
|
|
.chat_entry {
|
|
padding: 2px;
|
|
gap: 10px;
|
|
text-shadow: 2px 2px 2px #000a;
|
|
|
|
.avatar {
|
|
width: 32px;
|
|
height: 32px;
|
|
background-position: center;
|
|
background-size: cover;
|
|
border-radius: 4px;
|
|
aspect-ratio: 1;
|
|
min-width: 32px;
|
|
max-width: 32px;
|
|
}
|
|
|
|
.author {
|
|
color: #2d95ce;
|
|
white-space: nowrap;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.message {
|
|
color: #fff;
|
|
}
|
|
}
|
|
}
|
|
|
|
.input {
|
|
color: white;
|
|
|
|
.textentry {
|
|
align-items: flex-start;
|
|
white-space: normal;
|
|
}
|
|
}
|
|
|
|
&.open {
|
|
.input {
|
|
border-radius: 8px;
|
|
background-color: rgba(0,0,0,0.2);
|
|
backdrop-filter: blur(10px);
|
|
padding: 8px;
|
|
pointer-events: all;
|
|
}
|
|
}
|
|
}
|