-
-
Save Coldblackice/d60d0df21a2e5277cb26563b2fb52e74 to your computer and use it in GitHub Desktop.
CSS Chatbox Full Username
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@import url(https://fonts.googleapis.com/css?family=Martel:700); | |
* { | |
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: 'Martel'; | |
font-weight: 600; | |
font-size: 1.1em; | |
line-height: 1.5em; | |
color: {text_color}; | |
} | |
#log>div { | |
animation: fadeInUp .3s ease forwards, fadeOut 0.5s ease {message_hide_delay} forwards; | |
-webkit-animation: fadeInUp .3s ease forwards, fadeOut 0.5s ease {message_hide_delay} forwards; | |
} | |
.colon { | |
display: none; | |
} | |
#log { | |
display: block; | |
position: absolute; | |
bottom: 0; | |
left: 0; | |
padding: 0 10px 10px; | |
width: 100%; | |
} | |
#log .emote { | |
background-repeat: no-repeat; | |
background-position: center; | |
background-size: contain; | |
padding: 0.4em 0.2em; | |
position: relative; | |
} | |
#log .emote img { | |
display: inline; | |
height: 1em; | |
opacity: 0; | |
} | |
#log .message,#log .meta { | |
vertical-align: top; | |
display: inline; | |
padding-bottom: 0.1em; | |
} | |
#log .meta { | |
text-align: left; | |
padding-right: 0.5em; | |
} | |
#log .message { | |
word-wrap: break-word; | |
} | |
.badge { | |
display: inline; | |
margin-right: 0.2em; | |
position: relative; | |
height: 1em; | |
vertical-align: middle; | |
top: -0.1em; | |
} | |
.name { | |
margin-left: 0.2em; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment