MovieNight/static/css/site.css
2019-03-21 18:07:48 -04:00

242 lines
3.8 KiB
CSS

:root {
--var-border: 1px solid #606060;
--var-border-radius: 5px;
--var-message-color: #f4f4f4;
--var-contrast-color: #1bf7ec;
--var-background-color: #0F0F11;
--var-max-height: 98vh;
--var-max-width: 98vw;
}
html {
background: var(--var-background-color);
font-family: "Hack";
font-size: 14px;
}
dt {
font-weight: bold;
}
body {
height: var(--var-max-height);
margin: 0px;
}
span.name {
font-weight: bold;
}
span.cmdme {
font-style: italic;
}
span.msg {
font-style: normal;
color: #cfccd1;
}
span.svmsg {
font-style: italic;
color: #ea6260;
}
.root {
max-width: var(--var-max-width);
max-height: var(--var-max-height);
height: var(--var-max-height);
width: var(--var-max-width);
margin: 0px 1vw;
}
.pretty-button {
padding: 5px 10px;
}
.button {
background: #232328;
color: var(--var-message-color);
font-size: 16px;
font-weight: bold;
border: none;
border-radius: var(--var-border-radius);
}
.button:hover {
background: #46464f;
}
.scrollbar {
/* Firefox compatable scrollbar settings */
scrollbar-color: #45009e transparent;
scrollbar-width: thin;
}
.scrollbar::-webkit-scrollbar {
width: 6px;
}
.scrollbar::-webkit-scrollbar-thumb {
background-color: #45009e;
}
.announcement {
font-weight: bold;
color: #ea6260;
text-align: center;
margin-top: 10px;
margin-bottom: 10px;
border-top: 3px solid red;
border-bottom: 3px solid red;
}
.helptext {
color: white;
}
.notice {
color: #595959;
font-size: 75%;
text-align: center;
}
.mention {
background: #1cf67ed9;
color: var(--var-background-color);
padding: 1px 2px;
border-radius: 4px;
}
.command {
color: #B1B1B1;
}
#videoElement {
position: relative;
top: 50%;
transform: translateY(-50%);
width: 100%;
}
#chatwindow {
display: grid;
grid-template-rows: auto 1fr;
position: relative;
padding-top: 1vh;
max-height: calc(var(--var-max-height) - 1vh);
min-width: 300px;
}
#hidden {
display: none;
position: absolute;
top: 0px;
left: 0px;
right: 0px;
margin: 0px 5px;
padding: 3px;
background: #393940;
}
#hidden:hover,
#optionBox:hover~#hidden {
display: unset;
}
#optionBox,
#notifyBox {
color: var(--var-contrast-color);
font-weight: bold;
font-size: 12px;
text-align: center;
}
#playing {
color: #288a85;
font-size: x-Large;
}
#chatButtons {
margin: 5px;
}
#chatButtons button {
margin: 5px 0px;
}
#joinbox {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
margin: 10px;
}
#joinbox div {
margin: 5px auto;
}
#name {
background: transparent;
border: var(--var-border);
border-radius: var(--var-border-radius);
color: var(--var-message-color);
padding: 5px;
font-weight: bold;
}
#chat {
display: grid;
grid-template-rows: 1.5em 2em 1fr 6em 2.5em 1em;
grid-gap: 10px;
margin: 0px 5px;
overflow: auto;
}
#messages {
min-height: 15em;
color: var(--var-message-color);
opacity: 0%;
overflow-y: scroll;
border: var(--var-border);
}
#messages div {
padding: .1em .5em .15em .5em;
word-wrap: break-word;
}
#msgbox {
position: relative;
display: grid;
}
#suggestions {
background: #3b3b43;
position: absolute;
min-width: 10em;
border-radius: 5px 5px 0px 5px;
color: var(--var-message-color);
}
#msg {
background: transparent;
border: var(--var-border);
border-radius: var(--var-border-radius);
border-bottom-right-radius: 0px;
padding: 5px;
color: var(--var-message-color);
resize: none;
}
#suggestions div {
padding: 5px;
}
#suggestions div.selectedName {
color: var(--var-contrast-color);
}
#helpbody {
color: #b1b1b1;
}