harky-chat-widget/Bloody Chat.css

71 lines
2.9 KiB
CSS
Raw Normal View History

@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: 60px; }
.colon { display: none; }
.action { font-style: italic; }
#log { {{alignMessages}}; box-sizing: border-box; width: 100%; bottom: 0; left: 0; padding: 10px 10px; }
#log>div.deleted { visibility: hidden; }
/* ===== BLOOD ===== */
#log .message .container-message:before {
content: "";
display: block;
position: absolute;
top: 0px;
right: 0px;
width: 200px;
height: 100px;
background-image: url('https://i.gifer.com/5362.gif');
background-size: cover;
border-radius: 5%;
z-index: 3;
}
/* ===== USERNAME ===== */
#log .meta {position: absolute; top: -30px; left: 0px; padding: 7px 12px; line-height: 15px;
border-radius: 20px; z-index: 1;
font-family: {{font}}; font-size: {{usernameSize}}px; font-weight: {{fontSize}};}
#log .meta .name {float: left; line-height: 21px; color: {{userColor}};}
/* ===== USERNAME2 ===== */
#log .meta1 {position: absolute; top: -30px; left: 0px; padding: 0px 12px; line-height: 0px;
border-radius: 20px; z-index: 0;
font-family: {{font}}; font-size: {{usernameSize}}px; font-weight: {{fontSize}}; background-color: {{badgeBackgroundColor}}; }
#log .meta1 .badges {float: right; margin-left: 30px; margin-top: 0px; margin-bottom: 6px;}
#log .meta1 .badges > img { width: {{badgeSize}}px; height: {{badgeSize}}px; margin-right: 1px; border-radius: 20px; }
#log .meta1 .badges > img:last-child {margin-right: 0;}
#log .meta1 .name {float: left; line-height: 21px; color: {{userColor}};}
/* ===== USERMESSAGE ===== */
#log .message {position: relative; min-height: 20px;}
#log .message .container-message {color: {{messageColor}}; background: {{msgBackgroundColor}};
text-shadow:{{textShadow}}; padding: {{msgBorderPaddingY}}px {{msgBorderPaddingX}}px;
border-radius: 10px 10px 10px 10px; display: inline-block;
font-family: {{font}}; font-size: {{messageSize}}px; font-weight: {{fontSize}}; word-break: break-word; width: 100%;}
#log .message .container-message .emote { height: {{emoteSize}}px; vertical-align: middle; }
#log .message .container-message .time { float: right; padding: 10px 0px 0px 0px; }