bigly-chat/static/main.css

219 lines
3.1 KiB
CSS
Raw Normal View History

2024-11-25 14:12:43 -05:00
/* https://git.zenoverse.net/bigly-archive/auth-thing/raw/branch/main/src/routes/+layout.svelte */
body {
height: 100vh;
2024-11-25 14:12:43 -05:00
margin-top: 0px;
2024-11-25 14:12:43 -05:00
display: flex;
flex-direction: column;
align-items: center;
overflow-y: auto;
}
:root {
2024-11-25 14:12:43 -05:00
--dark-1: #2f2b36;
2024-11-25 14:12:43 -05:00
--dark-2: #d8d8d8;
--light-1: #ffffff;
2024-11-25 14:12:43 -05:00
--light-2: #ffa9d8;
2024-11-25 14:12:43 -05:00
2024-11-25 14:12:43 -05:00
--hyperlink: rgb(109, 119, 255);
2024-11-25 14:12:43 -05:00
--shadow-1: 0px 0px 2px 2px var(--dark-2);
font-family: sans-serif;
}
a {
color: var(--hyperlink);
text-decoration: none;
}
input,
textarea,
2024-11-25 14:12:43 -05:00
.button,
.area,
2024-11-25 14:12:43 -05:00
form,
2024-11-25 14:12:43 -05:00
.video,
2024-11-25 14:12:43 -05:00
.controls,
2024-11-25 14:12:43 -05:00
.user,
.comment {
2024-11-25 14:12:43 -05:00
border: solid var(--dark-2) 3px;
border-radius: 5px;
2024-11-25 14:12:43 -05:00
background: var(--light-1);
2024-11-25 14:12:43 -05:00
font-size: 1rem;
padding: 0.5rem;
margin-bottom: 0.5rem;
}
2024-11-25 14:12:43 -05:00
video {
border: solid var(--dark-2) 3px;
border-radius: 5px;
2024-11-25 14:12:43 -05:00
width: 900px;
max-width: 90vmin;
}
.full video {
width: 100vw;
height: 80vh;
max-width: none;
border: none;
}
.full .progressbar {
width: 95vw;
max-width: 95vw;
margin: auto;
2024-11-25 14:12:43 -05:00
}
2024-11-25 14:12:43 -05:00
form span {
font-weight: bold;
}
2024-11-25 14:12:43 -05:00
.button a {
2024-11-25 14:12:43 -05:00
width: 150px;
display: inline-block;
2024-11-25 14:12:43 -05:00
text-decoration: none;
color: var(--light-1);
}
.area,
form {
2024-11-25 14:12:43 -05:00
width: 900px;
max-width: 90vw;
2024-11-25 14:12:43 -05:00
}
form {
grid-template-columns: 0.7fr 1fr;
}
.form-entry {
display: block;
}
.form-key {
margin-right: 10px;
}
.form-message {
font-style: italic;
}
2024-11-25 14:12:43 -05:00
.main-content {
2024-11-25 14:12:43 -05:00
width: 720px;
}
.button {
background-color: var(--hyperlink);
font-weight: bold;
width: 150px;
2024-11-25 14:12:43 -05:00
display: inline-block;
2024-11-25 14:12:43 -05:00
}
.header {
background: var(--dark-1);
color: var(--light-1);
padding: 10px;
display: flex;
width: 100vw;
margin: 0;
2024-11-25 14:12:43 -05:00
font-size: 1.2em;
align-items: center;
2024-11-25 14:12:43 -05:00
margin-bottom: 10px;
position: sticky;
top: 0;
2024-11-25 14:12:43 -05:00
}
.header a {
font-weight: bold;
2024-11-25 14:12:43 -05:00
color: var(--light-1);
margin-left: 0.5em;
padding-left: 0.5em;
border-left: solid var(--light-2) 2px;
2024-11-25 14:12:43 -05:00
}
.header img {
2024-11-25 14:12:43 -05:00
margin-left: 0.8em;
2024-11-25 14:12:43 -05:00
height: 2em;
2024-11-25 14:12:43 -05:00
}
2024-11-25 14:12:43 -05:00
.video img {
2024-11-25 14:12:43 -05:00
width: 180px;
height: 130px;
2024-11-25 14:12:43 -05:00
}
2024-11-25 14:12:43 -05:00
2024-11-25 14:12:43 -05:00
.video {
2024-11-25 14:12:43 -05:00
width: 180px;
2024-11-25 14:12:43 -05:00
height: 200px;
2024-11-25 14:12:43 -05:00
overflow-y: auto;
2024-11-25 14:12:43 -05:00
}
.videos {
display: flex;
flex-direction: row;
flex-wrap: wrap;
2024-11-25 14:12:43 -05:00
justify-content: space-around;
2024-11-25 14:12:43 -05:00
}
2024-11-25 14:12:43 -05:00
.controls {
display: flex;
flex-direction: row;
flex-wrap: wrap;
2024-11-25 14:12:43 -05:00
align-items: center;
2024-11-25 14:12:43 -05:00
}
2024-11-25 14:12:43 -05:00
.videos a {
2024-11-25 14:12:43 -05:00
color: var(--dark-1);
}
textarea {
display: block;
2024-11-25 14:12:43 -05:00
}
2024-11-25 14:12:43 -05:00
.progressbar {
2024-11-25 14:12:43 -05:00
background-color: var(--light-1);
border: solid var(--dark-2) 2px;
border-radius: 13px;
padding: 3px;
margin: 0;
position: relative;
top: -40px;
2024-11-25 14:12:43 -05:00
width: 893px;
2024-11-25 14:12:43 -05:00
max-width: 89vmin;
2024-11-25 14:12:43 -05:00
}
2024-11-25 14:12:43 -05:00
.progressbar>div {
2024-11-25 14:12:43 -05:00
background-color: var(--light-2);
width: 40%;
height: 20px;
border-radius: 10px;
2024-11-25 14:12:43 -05:00
}
.controls {
margin-top: -30px;
}
.controls img {
width: 45px;
2024-11-25 14:12:43 -05:00
margin: 5px;
}
.video-wrapper.full {
background: rgba(0,0,0,0.5);
width: 100vw;
height: 100vh;
position: absolute;
top: 0;
left: 0;
2024-11-25 14:12:43 -05:00
}
img.dark {
filter: invert(1);
2024-11-25 14:12:43 -05:00
}
pre {
white-space: pre-wrap;
2024-11-25 14:12:43 -05:00
overflow-x: auto;
2024-11-25 14:12:43 -05:00
}