diff --git a/template.css b/template.css index 78d03b0..87c6e77 100644 --- a/template.css +++ b/template.css @@ -1,22 +1,4 @@ -.slideInText{ - 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; -} - - +@import url(https://fonts.googleapis.com/css2?family=Alata&display=swap); @keyframes slidein{ 0%{ @@ -38,26 +20,109 @@ } } -@-webkit-keyframes slidein{ - 0%{ - left:800px; - font-size:16px; - } - 5%{ - left:0px; - } - 75%{ - opacity:1; - font-size:16px; - min-height:auto; - } - 100%{ - opacity:0; - font-size:0px; - min-height:0px; - } +* { + box-sizing: border-box; +} + +html, body { + 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; + 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; +} + +#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{ - background-color: rgba(0,0,0,0)!important; +.name { + margin-left: 0.2em; }