Update template.css

Use with streamlabs chat widget classes.
main
sigonasr2, Sig, Sigo 3 years ago committed by GitHub
parent 222797714a
commit 80c0bd4a7f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 137
      template.css

@ -1,22 +1,4 @@
.slideInText{ @import url(https://fonts.googleapis.com/css2?family=Alata&display=swap);
left:0px;
position:relative;
opacity:1;
font-size:0px;
overflow:auto;
-webkit-animation-duration:15s;
-webkit-animation-name:slidein;
-webkit-animation-iteration-count:1;
-webkit-animation-fill-mode:forwards;
animation-duration:15s;
animation-name:slidein;
animation-iteration-count:1;
animation-fill-mode:forwards;
text-shadow: #FFF 0px 0px 3px,#FFF 0px 0px 5px,#FFF 0px 0px 5px,#FF2D95 0px 0px 10px,#FF2D95 0px 0px 10px,#FF2D95 0px 0px 10px,#FF2D95 0px 0px 10px,#FF2D95 0px 0px 15px;
-webkit-text-shadow: #FFF 0px 0px 3px,#FFF 0px 0px 5px,#FFF 0px 0px 5px,#FF2D95 0px 0px 10px,#FF2D95 0px 0px 10px,#FF2D95 0px 0px 10px,#FF2D95 0px 0px 10px,#FF2D95 0px 0px 15px;
}
@keyframes slidein{ @keyframes slidein{
0%{ 0%{
@ -38,26 +20,109 @@
} }
} }
@-webkit-keyframes slidein{ * {
0%{ box-sizing: border-box;
left:800px; }
font-size:16px;
} html, body {
5%{ height: 100%;
overflow: hidden;
}
body {
text-shadow: 0 0 1px #000, 0 0 2px #000;
background: {background_color};
font-family: 'Roboto';
font-weight: 700;
font-size: {font_size};
line-height: 1.5em;
color: {text_color};
}
#log>div {
animation: fadeInRight .3s ease forwards, fadeOut 0.5s ease {message_hide_delay} forwards;
-webkit-animation: fadeInRight .3s ease forwards, fadeOut 0.5s ease {message_hide_delay} forwards;
}
.colon {
display: none;
}
#log {
display: table;
position: absolute;
bottom: 0;
left: 0;
padding: 0 10px 10px;
width: 100%;
table-layout: fixed;
}
#log>div {
display: table-row;
}
#log>div.deleted {
visibility: hidden;
}
#log .emote {
background-repeat: no-repeat;
background-position: center;
background-size: contain;
padding: 0.4em 0.2em;
position: relative;
}
#log .emote img {
display: inline-block;
height: 1em;
opacity: 0;
}
#log .message,#log .meta {
left:0px; left:0px;
} position:relative;
75%{
opacity:1; opacity:1;
font-size:16px;
min-height:auto;
}
100%{
opacity:0;
font-size:0px; font-size:0px;
min-height:0px; overflow:auto;
} -webkit-animation-duration:15s;
-webkit-animation-name:slidein;
-webkit-animation-iteration-count:1;
-webkit-animation-fill-mode:forwards;
animation-duration:15s;
animation-name:slidein;
animation-iteration-count:1;
animation-fill-mode:forwards;
text-shadow: #FFF 0px 0px 3px,#FFF 0px 0px 5px,#FFF 0px 0px 5px,#FF2D95 0px 0px 10px,#FF2D95 0px 0px 10px,#FF2D95 0px 0px 10px,#FF2D95 0px 0px 10px,#FF2D95 0px 0px 15px;
-webkit-text-shadow: #FFF 0px 0px 3px,#FFF 0px 0px 5px,#FFF 0px 0px 5px,#FF2D95 0px 0px 10px,#FF2D95 0px 0px 10px,#FF2D95 0px 0px 10px,#FF2D95 0px 0px 10px,#FF2D95 0px 0px 15px;
}
#log .meta {
width: 35%;
text-align: right;
padding-right: 0.5em;
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
}
#log .message {
word-wrap: break-word;
width: 65%;
}
.badge {
display: inline-block;
margin-right: 0.2em;
position: relative;
height: 1em;
vertical-align: middle;
top: -0.1em;
} }
body{ .name {
background-color: rgba(0,0,0,0)!important; margin-left: 0.2em;
} }

Loading…
Cancel
Save