bigly-chat/static/main.css

225 lines
3.2 KiB
CSS
Raw Normal View History

2024-09-08 05:04:57 -04:00
/* https://git.zenoverse.net/bigly-archive/auth-thing/raw/branch/main/src/routes/+layout.svelte */
body {
height: 100vh;
2024-09-19 04:31:30 -04:00
margin-top: 0px;
2024-09-08 05:04:57 -04:00
display: flex;
flex-direction: column;
align-items: center;
overflow-y: auto;
}
:root {
2024-09-19 22:39:11 -04:00
--dark-1: #2f2b36;
2024-09-08 05:04:57 -04:00
--dark-2: #d8d8d8;
--light-1: #ffffff;
2024-09-19 22:39:11 -04:00
--light-2: #ffa9d8;
2024-09-08 05:04:57 -04:00
2024-09-20 16:59:12 -04:00
--hyperlink: rgb(109, 119, 255);
2024-09-08 05:04:57 -04:00
--shadow-1: 0px 0px 2px 2px var(--dark-2);
font-family: sans-serif;
}
a {
color: var(--hyperlink);
text-decoration: none;
}
input,
textarea,
2024-09-19 05:04:03 -04:00
.button,
.area,
2024-09-19 05:58:01 -04:00
form,
2024-09-20 08:38:33 -04:00
.video,
2024-09-20 16:59:12 -04:00
.controls,
2024-09-22 03:49:36 -04:00
.user,
.comment {
2024-09-19 05:04:03 -04:00
border: solid var(--dark-2) 3px;
border-radius: 5px;
2024-09-22 07:35:03 -04:00
background: var(--light-1);
2024-09-08 05:04:57 -04:00
font-size: 1rem;
padding: 0.5rem;
margin-bottom: 0.5rem;
}
2024-09-20 08:38:33 -04:00
video {
border: solid var(--dark-2) 3px;
border-radius: 5px;
2024-09-22 07:35:03 -04: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-09-20 08:38:33 -04:00
}
2024-09-19 05:04:03 -04:00
form span {
font-weight: bold;
}
2024-09-08 05:04:57 -04:00
.button a {
2024-09-21 10:05:08 -04:00
width: 150px;
display: inline-block;
2024-09-08 05:04:57 -04:00
text-decoration: none;
color: var(--light-1);
}
.area,
form {
2024-09-19 18:18:44 -04:00
width: 900px;
max-width: 90vw;
2024-09-08 05:04:57 -04:00
}
form {
grid-template-columns: 0.7fr 1fr;
}
2024-09-27 03:59:23 -04:00
.form-entry, textarea {
2024-09-08 05:04:57 -04:00
display: block;
}
.form-key {
margin-right: 10px;
}
.form-message {
font-style: italic;
}
2024-09-20 08:38:33 -04:00
.main-content {
2024-09-08 05:04:57 -04:00
width: 720px;
}
.button {
background-color: var(--hyperlink);
font-weight: bold;
width: 150px;
2024-09-20 16:59:12 -04:00
display: inline-block;
2024-09-19 04:31:30 -04:00
}
.header {
background: var(--dark-1);
color: var(--light-1);
padding: 10px;
display: flex;
width: 100vw;
margin: 0;
2024-09-19 04:40:05 -04:00
font-size: 1.2em;
align-items: center;
2024-09-19 05:04:03 -04:00
margin-bottom: 10px;
position: sticky;
top: 0;
2024-09-19 04:31:30 -04:00
}
.header a {
font-weight: bold;
2024-09-19 05:04:03 -04:00
color: var(--light-1);
margin-left: 0.5em;
padding-left: 0.5em;
border-left: solid var(--light-2) 2px;
2024-09-19 04:40:05 -04:00
}
.header img {
2024-09-19 22:39:11 -04:00
margin-left: 0.8em;
2024-09-19 04:40:05 -04:00
height: 2em;
2024-09-19 05:44:24 -04:00
}
2024-09-19 05:58:01 -04:00
.video img {
2024-09-22 07:35:03 -04:00
width: 180px;
height: 130px;
2024-09-19 18:18:44 -04:00
}
2024-09-19 18:38:24 -04:00
2024-09-19 18:18:44 -04:00
.video {
2024-09-22 07:35:03 -04:00
width: 180px;
2024-09-19 18:18:44 -04:00
height: 200px;
2024-09-22 07:35:03 -04:00
overflow-y: auto;
2024-09-19 05:58:01 -04:00
}
.videos {
display: flex;
flex-direction: row;
flex-wrap: wrap;
2024-09-19 18:18:44 -04:00
justify-content: space-around;
2024-09-19 05:58:01 -04:00
}
2024-09-20 08:38:33 -04:00
.controls {
display: flex;
flex-direction: row;
flex-wrap: wrap;
2024-09-22 07:35:03 -04:00
align-items: center;
2024-09-20 08:38:33 -04:00
}
2024-09-19 18:38:24 -04:00
.videos a {
2024-09-19 05:58:01 -04:00
color: var(--dark-1);
}
2024-09-20 08:38:33 -04:00
.progressbar {
2024-09-19 18:38:24 -04:00
background-color: var(--light-1);
border: solid var(--dark-2) 2px;
border-radius: 13px;
padding: 3px;
margin: 0;
position: relative;
top: -40px;
2024-09-20 08:38:33 -04:00
width: 893px;
2024-09-20 16:51:44 -04:00
max-width: 89vmin;
2024-09-19 18:38:24 -04:00
}
2024-09-20 08:38:33 -04:00
.progressbar>div {
2024-09-19 18:38:24 -04:00
background-color: var(--light-2);
width: 40%;
height: 20px;
border-radius: 10px;
2024-09-20 08:38:33 -04:00
}
.controls {
margin-top: -30px;
}
.controls img {
width: 45px;
2024-09-22 07:35:03 -04:00
margin: 5px;
}
.video-wrapper.full {
background: rgba(0,0,0,0.5);
width: 100vw;
height: 100vh;
position: absolute;
top: 0;
left: 0;
2024-09-20 08:38:33 -04:00
}
img.dark {
filter: invert(1);
2024-09-22 22:15:55 -04:00
}
pre {
white-space: pre-wrap;
2024-09-24 14:38:45 -04:00
overflow-x: auto;
2024-09-27 03:59:23 -04:00
}
.pfp-wrapper {
display: flex;
}
.avatar {
width: 50px;
height: 50px;
margin-right: 15px;
2024-09-08 05:04:57 -04:00
}