/* 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, .comment { border: solid var(--dark-2) 3px; border-radius: 5px; background: var(--light-1); font-size: 1rem; padding: 0.5rem; margin-bottom: 0.5rem; } video { border: solid var(--dark-2) 3px; border-radius: 5px; 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; } 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 img { width: 180px; height: 130px; } .video { width: 180px; height: 200px; overflow-y: auto; } .videos { display: flex; flex-direction: row; flex-wrap: wrap; justify-content: space-around; } .controls { display: flex; flex-direction: row; flex-wrap: wrap; align-items: center; } .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; margin: 5px; } .video-wrapper.full { background: rgba(0,0,0,0.5); width: 100vw; height: 100vh; position: absolute; top: 0; left: 0; } img.dark { filter: invert(1); } pre { white-space: pre-wrap; }