Files
StreamGoose/webroot/style.css
T

117 lines
1.9 KiB
CSS
Raw Normal View History

2024-09-14 14:41:59 +03:00
@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;
}
#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;
}
2024-09-15 00:03:31 +03:00
.oc:before {
content:"";
display:inline-block;
background:url(/img/oc32.png);
height: 1em;
width: 16px;
background-size: 16px;
background-repeat no-repeat;
2024-09-15 10:01:42 +03:00
position: relative;
top: 2px;
2024-09-15 00:03:31 +03:00
}
2024-09-15 14:40:39 +03:00
.kk:before {
content:"";
display:inline-block;
background:url(/img/kk32.png);
height: 16px;
width: 16px;
background-size: 16px;
background-repeat no-repeat;
position: relative;
top: 2px;
}
2024-09-14 14:41:59 +03:00
.timestamp {
display: none !important;
margin-right: 5px
}
.msg {
margin-left: 5px;
display: inline;
}