From bc2d2f6e747253c760f1ea152c58c28aa4fdfc8a Mon Sep 17 00:00:00 2001 From: "Alexander \"Arav\" Andreev" Date: Fri, 21 Jan 2022 22:47:56 +0400 Subject: [PATCH] Overlay reorganised. --- files/static/assets/css/main.css | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/files/static/assets/css/main.css b/files/static/assets/css/main.css index 0438178..ad85ddd 100644 --- a/files/static/assets/css/main.css +++ b/files/static/assets/css/main.css @@ -105,19 +105,27 @@ section { margin-top: 1rem; } align-items: center; background-color: var(--overlay-background-color); display: flex; - visibility: hidden; + flex-direction: column; height: 100%; left: 0; + max-height: 100%; position: fixed; top: 0; - vertical-align: middle; + visibility: hidden; width: 100%; } -#overlay * { - flex: none; - margin: 0 auto; +#overlay video, +#overlay audio, +#overlay img { + margin: auto; max-height: 100%; - max-width: 96%; } + max-width: 86%; +} + +#overlay span { + color: var(--background-color); + text-shadow: 2px 2px 1px var(--secondary-color); +} table { overflow-y: scroll; width: 100%; }