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