initial upload
This commit is contained in:
@@ -0,0 +1,93 @@
|
||||
@font-face {
|
||||
font-family: "Noto Color Emoji";
|
||||
src: url(/fonts/NotoColorEmoji.ttf);
|
||||
}
|
||||
|
||||
* {margin: 0; padding: 0; box-sizing: border-box}
|
||||
|
||||
html, body {
|
||||
font-family: "Roboto", "Droid Sans", "Noto Sans", "Noto Color Emoji", "Arial", sans-serif;
|
||||
width: 100%;
|
||||
background: #111;
|
||||
color: #eee;
|
||||
}
|
||||
|
||||
#msglist {
|
||||
width: 100%;
|
||||
overflow-x: hidden;
|
||||
overflow-y: scroll;
|
||||
}
|
||||
|
||||
#msglist > div { /* individual message block */
|
||||
min-height: 1em;
|
||||
display: inline-block;
|
||||
width: 100%;
|
||||
vertical-align: middle;
|
||||
padding: 5px 5px;
|
||||
font-size: 14px;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
#msglist > div .msg img { /* emotes */
|
||||
max-height: 1.5em;
|
||||
margin-top: -20px;
|
||||
position: relative;
|
||||
top: 4px;
|
||||
}
|
||||
|
||||
#msglist > div .icon img { /* userpic */
|
||||
max-height: 1.5em;
|
||||
padding: 0 5px;
|
||||
margin-top: -20px;
|
||||
position: relative;
|
||||
top: 4px;
|
||||
}
|
||||
|
||||
.username {
|
||||
display: inline;
|
||||
font-weight: 600;
|
||||
margin-left: 5px;
|
||||
}
|
||||
|
||||
.icon ~ .username { /* don't apply margin if there's an icon */
|
||||
margin-left: 0;
|
||||
}
|
||||
|
||||
#msglist > div:not(.me) .username:after{content:":"}
|
||||
|
||||
/* various user classes */
|
||||
|
||||
.me {
|
||||
font-weight: 400;
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
.tw:before {
|
||||
content:"";
|
||||
display:inline-block;
|
||||
background:url(/img/tw32.png);
|
||||
height: 1em;
|
||||
width: 16px;
|
||||
background-size: 16px;
|
||||
background-repeat no-repeat;
|
||||
}
|
||||
|
||||
.yt:before {
|
||||
content:"";
|
||||
display:inline-block;
|
||||
background:url(/img/yt32.png);
|
||||
height: 1em;
|
||||
width: 16px;
|
||||
background-size: 16px;
|
||||
background-repeat no-repeat;
|
||||
}
|
||||
|
||||
.timestamp {
|
||||
display: none !important;
|
||||
margin-right: 5px
|
||||
}
|
||||
|
||||
.msg {
|
||||
margin-left: 5px;
|
||||
display: inline;
|
||||
}
|
||||
Reference in New Issue
Block a user