101 lines
1.7 KiB
SCSS
101 lines
1.7 KiB
SCSS
html { box-sizing: border-box; }
|
|
*, *:before, *:after { box-sizing: inherit; }
|
|
|
|
|
|
*, body, html {
|
|
padding: 0;
|
|
margin: 0
|
|
}
|
|
|
|
#chat, a, body, html { color: white; }
|
|
|
|
body, html {
|
|
-webkit-font-smoothing: antialiased;
|
|
overflow: hidden;
|
|
font-size: 14px;
|
|
user-select: none;
|
|
}
|
|
|
|
body {
|
|
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
|
|
font-size: calc(.75em + .3vw);
|
|
font-weight: 500;
|
|
direction: ltr;
|
|
}
|
|
|
|
a { text-decoration: none; }
|
|
|
|
.ui_element {
|
|
display: none;
|
|
position: absolute;
|
|
width: 100vw;
|
|
height: 100vh;
|
|
z-index: 2
|
|
}
|
|
|
|
#chat {
|
|
display: block;
|
|
z-index: 0;
|
|
|
|
line-height: 1.25;
|
|
text-shadow: 1px 1px 0 #000,-1px -1px 0 #000,1px -1px 0 #000,-1px 1px 0 #000,1px 1px 0 #000;
|
|
letter-spacing: .4px;
|
|
|
|
margin-top: 1em;
|
|
margin-left: 1em;
|
|
|
|
ul#chat_messages {
|
|
height: 16.45em;
|
|
min-width: 50ch;
|
|
max-width: calc(45vw + 10px);
|
|
transform: rotate(0deg);
|
|
|
|
overflow-y: auto;
|
|
overflow-x: hidden;
|
|
word-break: break-word;
|
|
|
|
list-style-type: none;
|
|
margin-bottom: .25em;
|
|
|
|
&> li {
|
|
transform: rotate(0deg);
|
|
margin-bottom: .125em;
|
|
|
|
&:last-child { margin-bottom: .25em; }
|
|
}
|
|
}
|
|
|
|
input#chat_msg {
|
|
width: 45vw;
|
|
outline: 0;
|
|
border: none;
|
|
border-radius: 3px;
|
|
|
|
font-family: inherit;
|
|
font-size: inherit;
|
|
font-weight: inherit;
|
|
line-height: 1;
|
|
|
|
color: white;
|
|
background: rgba(0, 0, 0, .5);
|
|
|
|
padding: .5em .75em .75em;
|
|
}
|
|
}
|
|
|
|
::-webkit-scrollbar {
|
|
width: 10px;
|
|
|
|
&-thumb {
|
|
background: rgba(255, 17, 0, 0);
|
|
border-radius: 3px;
|
|
|
|
&:hover { background: rgba(255, 17, 0, 0); }
|
|
}
|
|
}
|
|
|
|
.timestamp {
|
|
display: inline-block;
|
|
width: 5.25em;
|
|
}
|