gistfile1.txt
· 1.6 KiB · Text
Raw
#chat {
filter: drop-shadow(2px 2px 0.2rem black);
overflow-wrap: anywhere;
bottom: 0;
position: absolute;
padding-left: 12px;
padding-bottom: 6px;
overflow: hidden;
word-break: break-word;
width: 100%;
}
.chat_line {
display: flex;
align-items: center;
margin-bottom: 8px;
animation: anim 30400ms;
animation-fill-mode: forwards;
}
.username {
font-weight: 700;
margin-right: 8px;
font-size: 28px;
line-height: 1.2;
text-shadow: -1px -1px 1px #000, 1px 1px 2px #000;
-webkit-text-stroke: 0.5px black;
}
.message {
font-size: 28px;
font-family: "Open Sans", sans-serif;
line-height: 38px;
color: white;
font-weight: 400;
text-shadow: -1px -1px 1px #000, 1px 1px 2px #000;
margin-left: 5px;
}
.badge {
width: 24px;
height: 24px;
margin-right: 8px;
border-radius: 6px;
}
.emote {
max-width: 83px;
max-height: 33px;
margin-right: 6px;
vertical-align: middle;
}
.colon {
margin-right: 8px;
color: #fff;
}
@keyframes anim {
0% {
opacity: 0;
transform: translateY(16px);
}
1% {
opacity: 1;
transform: translateY(0);
}
99% {
opacity: 1;
transform: translateY(0);
}
100% {
opacity: 0;
transform: translateY(-16px);
}
}
/* Cores e estilos para diferentes tipos de usuários */
.username.vip {
color: #9147ff;
}
.username.mod {
color: #00ff7f;
}
.username.sub {
color: #1e90ff;
}
.username.normal {
color: #ffffff;
}
/* Ajuste para o corpo */
body {
width: calc(100% - 20px);
margin: 0;
height: 100vh;
background-color: transparent;
font-family: "Open Sans", sans-serif;
}
1 | #chat { |
2 | filter: drop-shadow(2px 2px 0.2rem black); |
3 | overflow-wrap: anywhere; |
4 | bottom: 0; |
5 | position: absolute; |
6 | padding-left: 12px; |
7 | padding-bottom: 6px; |
8 | overflow: hidden; |
9 | word-break: break-word; |
10 | width: 100%; |
11 | } |
12 | |
13 | .chat_line { |
14 | display: flex; |
15 | align-items: center; |
16 | margin-bottom: 8px; |
17 | animation: anim 30400ms; |
18 | animation-fill-mode: forwards; |
19 | } |
20 | |
21 | .username { |
22 | font-weight: 700; |
23 | margin-right: 8px; |
24 | font-size: 28px; |
25 | line-height: 1.2; |
26 | text-shadow: -1px -1px 1px #000, 1px 1px 2px #000; |
27 | -webkit-text-stroke: 0.5px black; |
28 | } |
29 | |
30 | .message { |
31 | font-size: 28px; |
32 | font-family: "Open Sans", sans-serif; |
33 | line-height: 38px; |
34 | color: white; |
35 | font-weight: 400; |
36 | text-shadow: -1px -1px 1px #000, 1px 1px 2px #000; |
37 | margin-left: 5px; |
38 | } |
39 | |
40 | .badge { |
41 | width: 24px; |
42 | height: 24px; |
43 | margin-right: 8px; |
44 | border-radius: 6px; |
45 | } |
46 | |
47 | .emote { |
48 | max-width: 83px; |
49 | max-height: 33px; |
50 | margin-right: 6px; |
51 | vertical-align: middle; |
52 | } |
53 | |
54 | .colon { |
55 | margin-right: 8px; |
56 | color: #fff; |
57 | } |
58 | |
59 | @keyframes anim { |
60 | 0% { |
61 | opacity: 0; |
62 | transform: translateY(16px); |
63 | } |
64 | 1% { |
65 | opacity: 1; |
66 | transform: translateY(0); |
67 | } |
68 | 99% { |
69 | opacity: 1; |
70 | transform: translateY(0); |
71 | } |
72 | 100% { |
73 | opacity: 0; |
74 | transform: translateY(-16px); |
75 | } |
76 | } |
77 | |
78 | /* Cores e estilos para diferentes tipos de usuários */ |
79 | .username.vip { |
80 | color: #9147ff; |
81 | } |
82 | |
83 | .username.mod { |
84 | color: #00ff7f; |
85 | } |
86 | |
87 | .username.sub { |
88 | color: #1e90ff; |
89 | } |
90 | |
91 | .username.normal { |
92 | color: #ffffff; |
93 | } |
94 | |
95 | /* Ajuste para o corpo */ |
96 | body { |
97 | width: calc(100% - 20px); |
98 | margin: 0; |
99 | height: 100vh; |
100 | background-color: transparent; |
101 | font-family: "Open Sans", sans-serif; |
102 | } |