watch-party/frontend/styles.css

168 lines
2.5 KiB
CSS

:root {
--bg: rgb(28, 23, 36);
--fg: rgb(234, 234, 248);
--accent: hsl(275, 57%, 68%);
}
html {
background-color: var(--bg);
color: var(--fg);
font-size: 1.125rem;
font-family: sans-serif;
overflow-y: scroll;
scrollbar-width: none;
-ms-overflow-style: none;
}
::-webkit-scrollbar {
width: 0;
background: transparent;
}
html,
body {
margin: 0;
height: 100%;
}
video {
display: block;
width: 100vw;
height: auto;
max-width: auto;
max-height: 100vh;
}
a {
color: var(--accent);
}
label {
display: block;
}
input[type="url"],
input[type="text"] {
box-sizing: border-box;
background: #fff;
background-clip: padding-box;
border: 1px solid rgba(0, 0, 0, 0.12);
border-radius: 6px;
color: rgba(0, 0, 0, 0.8);
display: block;
margin: 0.5em 0;
padding: 0.5em 1em;
line-height: 1.5;
font-family: sans-serif;
font-size: 1em;
width: 500px;
resize: none;
overflow-x: wrap;
overflow-y: scroll;
}
button,
input[type="button"] {
background-color: var(--accent);
border: var(--accent);
border-radius: 6px;
color: #fff;
padding: 0.5em 1em;
display: inline-block;
font-weight: 400;
text-align: center;
white-space: nowrap;
vertical-align: middle;
font-family: sans-serif;
font-size: 1em;
width: 500px;
user-select: none;
border: 1px solid rgba(0, 0, 0, 0);
line-height: 1.5;
}
button.small-button {
font-size: 0.75em;
padding-top: 0;
padding-bottom: 0;
}
.subtitle-track-group {
display: flex;
}
.subtitle-track-group > * {
margin-top: 0 !important;
margin-bottom: 0 !important;
margin-right: 1ch !important;
}
#pre-join-controls {
width: 60%;
margin: 0 auto;
margin-top: 4em;
}
#join-session-form {
margin-bottom: 4em;
}
#chatbox-container {
display: none;
}
#chatbox-container.popped-out {
width: 100%;
height: 100%;
}
#chatbox-container.popped-out > #chatbox {
height: calc(100vh - 5em);
}
.user-join,
.user-leave {
font-style: italic;
}
.chat-message > strong {
color: rgb(126, 208, 255);
}
#chatbox {
padding: 0.5em 2em;
min-height: 8em;
overflow-y: scroll;
}
#chatbox-container {
background-color: #222;
}
#chatbox-send {
padding: 0 2em;
padding-bottom: 0.5em;
}
#chatbox-send > input {
font-size: 0.75em;
}
#message-box {
display: inline-block;
}
#pop-chat {
width: auto;
float: right;
}