MovieNight/static/css/site.css
joeyak 1cfa040f7b Added color names as possible arguements for /color
Did some linting fixing too.
Closes #45
2019-03-19 22:56:01 -04:00

226 lines
3.4 KiB
CSS

:root {
--var-border: 1px solid #606060;
--var-border-radius: 5px;
--var-message-color: #f4f4f4;
--var-contrast-color: #1bf7ec;
}
html {
background: #0F0F11;
font-family: "Hack";
font-size: 14px;
}
dt {
font-weight: bold;
}
body {
height: 100vh;
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 {
width: 100vw;
height: 100vh;
}
.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;
}
.command {
color: #B1B1B1;
}
#videoElement {
position: relative;
top: 50%;
transform: translateY(-50%);
width: 100%;
}
#chatwindow {
position: relative;
height: 100vh;
}
#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);
padding: 10px;
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;
height: 100%;
}
#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: hsl(240, 6%, 25%);
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;
}