From e33747e7b3bfdd887d29dd0022586e4a79535fde Mon Sep 17 00:00:00 2001 From: Orangerot Date: Mon, 13 Jan 2025 07:33:11 +0100 Subject: [PATCH] style: removed inline-css --- index.html | 45 ++++++++++++++++++--------------------------- style.css | 41 ++++++++++++++++++++++++++++++++++------- 2 files changed, 52 insertions(+), 34 deletions(-) diff --git a/index.html b/index.html index 345d73d..613dcb7 100644 --- a/index.html +++ b/index.html @@ -12,10 +12,10 @@ Imagine - Image Editor - + -
+
- diff --git a/style.css b/style.css index 205c7ca..85a8268 100644 --- a/style.css +++ b/style.css @@ -1,18 +1,14 @@ html, body { margin: 0px; scroll-behavior: smooth; + padding-top: 100dvh; } -canvas { - max-width: 100%; +canvas, video { + max-width: 100%; max-height: 100%; } -video { - width: 100%; - height: 100%; -} - body:not(.import-active) .is-visible-import { display: none !important; } @@ -28,3 +24,34 @@ body:not(.editor-active) .is-visible-editor { body.import-active .is-hidden-import { display: none !important; } + +.hero.is-fullheight { + min-height: 100dvh; +} + +#settings-button { + position: absolute; + right: 30px; + bottom: 30px +} + +#back { + position: absolute; + left: 30px; + top: 30px +} + +#cheese { + position: absolute; + bottom: 30px; + left: 30px; + right: 30px; +} + +aside { + width: 300px; +} + +#settings { + z-index: 200; +}