-
Notifications
You must be signed in to change notification settings - Fork 0
/
bridgebbcc.css
271 lines (225 loc) · 4.69 KB
/
bridgebbcc.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
/*
* ========================================
* 폰트 설정
*
* 폰트 URL과 폰트명을 변경 하시면 됩니다.
* ========================================
*/
@import url(https://fonts.googleapis.com/earlyaccess/notosanskr.css);
@import url(https://cdn.rawgit.com/HelloWorld017/NanumBarunGothic/master/nanumbarungothic.css);
/* ====== 전체 폰트 ====== */
html {
font-family: 'Nanum Barun Gothic', sans-serif;
}
/* ===== 닉네임 폰트 ===== */
.chat_nickname_box {
font-family: 'Noto Sans KR', sans-serif;
}
/*
* ========================================
* 기능 토글
*
* 원치 않는 기능을 주석처리 하시면 됩니다.
* ========================================
*/
/* ===== 비트 배경색 ===== */
.chat_outer_box .chat_cheer_box::after {
content: '';
display: block;
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: transparent;
z-index: -1;
transition: all .6s ease;
}
.chat_outer_box:last-child .chat_cheer_box::after {
background: #f76262;
}
/* ===== 구독 배경색 ===== */
.chat_outer_box .chat_subscribe_box::after {
content: '';
display: block;
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: transparent;
z-index: -1;
transition: all .6s ease;
}
.chat_outer_box:last-child .chat_subscribe_box::after {
background: #fda403;
}
/* ===== 이모트 축약 ===== */
.chat_msg_box.image_only img.twitch_emote:nth-child(5) {
border-radius: 5px;
width: 15px;
height: 15px;
filter: contrast(0) brightness(1.91);
margin-left: 2px;
background: #000;
clip-path: polygon(45% 0, 55% 0, 55% 45%, 100% 45%, 100% 55%, 55% 55%,
55% 100%, 45% 100%, 45% 55%, 0% 55%, 0% 45%, 45% 45%);
}
.chat_msg_box.image_only img.twitch_emote:nth-child(n + 6) {
display: none;
}
/*
* ========================================
* Precip2
*
* 여기부터는 수정하시면 안됩니다.
* ========================================
*/
/* ======== 전체적인 레이아웃 ======== */
html {
overflow: hidden;
color: white;
}
body {
position: absolute;
margin: 0;
right: 0;
left: 0;
bottom: 0;
}
#background {
position: absolute;
left: 0;
right: 0;
top: 0;
bottom: 0;
}
/* ==== 트위치 이모티콘 및 디시콘 ==== */
img.twitch_emote {
max-height: 29px;
vertical-align: middle;
}
img.dccon {
max-height: 100px;
}
/* 이모티콘만 포함된 경우 */
.chat_msg_box.image_only {
display: flex;
}
.chat_msg_box.image_only img.twitch_emote {
max-height: 50px;
height: 50px;
position: relative;
}
/* ======== 구독 및 비트 후원 ======== */
.chat_subscribe_box,
.chat_cheer_box {
text-align: center;
animation: SubsAni 6 2s ease;
}
.chat_cheer_text {
color: #00bcd4;
display: inline-block;
}
.chat_cheer_text img.cheer_icon {
max-height: 1em;
vertical-align: middle;
}
@keyframes SubsAni {
50% {
color: rgba(255, 255, 255, .5);
}
}
/* ===== 채팅 버블 및 애니메이션 ===== */
.chat_outer_box {
position: relative;
z-index: 0;
overflow: hidden;
margin-top: 8px;
margin-left: 10px;
margin-right: 10px;
padding: 6px 15px;
opacity: .4;
transition: all .6s linear;
}
.chat_outer_box * {
transition: all .6s linear;
}
/* 마지막 채팅 강조 */
.chat_outer_box:not(:last-child) .chat_nickname_box {
color: #00bcd4 !important;
}
.chat_outer_box:last-child {
background: #00acc1;
}
.chat_outer_box:last-child .chat_cheer_text,
.chat_outer_box:last-child .chat_badge_box {
color: #f1f1f1 !important;
}
.chat_outer_box:last-child .chat_nickname_box {
color: rgba(0, 0, 0, .5) !important;
}
/* 최근 채팅은 불투명하게 */
.chat_outer_box:nth-last-child(-n + 3) {
opacity: 1;
}
/* ======= 사용자 이름 및 배지 ======= */
.chat_upper_box {
margin-right: 5px;
margin-bottom: 3px;
display: flex;
align-items: flex-start;
flex: 0 0 auto;
}
.chat_nickname_box {
font-size: 0.8em;
margin-top: 4px;
}
.chat_badge_box {
margin-left: 5px;
margin-top: 4px;
}
.chat_nickname_box,
.chat_badge_box {
display: inline-block;
font-weight: 700;
}
/* =========== 채팅 메시지 =========== */
.chat_outer_box .chat_msg_box,
.chat_lower_box {
clear: right;
}
.chat_msg_box {
white-space: pre-line;
word-break: break-word;
max-height: 100px;
padding: 3px;
}
/* === 클립을 포함하고 있는 메시지 === */
.clip_included .chat_msg_box {
max-height: 160px;
}
.chat_clip_box {
position: relative;
margin-top: 7px;
}
.chat_clip_box img {
height: 56px;
float: left;
}
.chat_clip_title {
line-height: 56px;
text-align: center;
white-space: pre;
overflow: hidden;
text-overflow: ellipsis;
}
.chat_clip_by {
position: absolute;
bottom: 0;
right: 0;
font-size: 0.7em;
}
.chat_clip_box.text_only {
text-align: center;
}