-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathchat.css
More file actions
42 lines (32 loc) · 2.08 KB
/
Copy pathchat.css
File metadata and controls
42 lines (32 loc) · 2.08 KB
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
@import url(https://fonts.googleapis.com/css?family={{font}}:{{fontSize}});
@import url('https://cdnjs.cloudflare.com/ajax/libs/animate.css/3.5.2/animate.min.css');
* { box-sizing: border-box; }
html, body { height: 100%; overflow: hidden; }
body { background: {{backgroundColor}} !important; line-height: 1.5em; }
.top-degrade {display: {{showTopDegrade}}; position: absolute; width: 100%; height: 50px; top: 0; left: 0;
background: rgb(17,11,44);
background: linear-gradient(180deg, rgba(17,11,44,1) 0%, rgba(17,11,44,0) 100%); z-index: 2;}
.bottom-degrade {display: {{showBottonDegrade}}; position: absolute; width: 100%; height: 25px;
bottom: 0; left: 0; background: rgb(17,11,44);
background: linear-gradient(180deg, rgba(17,11,44,0) 0%, rgba(17,11,44,1) 100%); z-index: 2;}
#log>div { position: relative; padding-top: 22px; margin-bottom: 10px; }
.colon { display: none; }
.action { font-style: italic; }
#log { {{alignMessages}}; box-sizing: border-box; width: 100%; bottom: 0; left: 0; padding: 0 10px 10px; }
#log>div.deleted { visibility: hidden; }
/* ===== USERNAME ===== */
#log .meta {position: absolute; top: 0; left: 10px; padding: 7px 12px; line-height: 15px;
border-radius: 8px; z-index: 1;
font-family: {{font}}; font-size: {{usernameSize}}px; font-weight: {{fontSize}};}
#log .meta .badges {float: left; margin-right: 10px;}
#log .meta .badges > img { width: {{badgeSize}}px; height: {{badgeSize}}px; margin-right: 5px;}
#log .meta .badges > img:last-child {margin-right: 0;}
#log .meta .name {float: left; line-height: 21px;}
/* ===== USERMESSAGE ===== */
#log .message {position: relative; min-height: 20px;}
#log .message .container-message {color: {{messageColor}}; background: {{msgBackgroundColor}};
text-shadow:{{textShadow}}; padding: 20px 18px 15px 18px;
border-radius: 0 10px 10px 10px; display: inline-block;
font-family: {{font}}; font-size: {{messageSize}}px; word-break: break-word;}
#log .message .container-message .emote { width: {{emoteSize}}px; vertical-align: middle; }
#log .message .container-message .time { font-size: {{messageSize}}px; }