From ac1426fe6950173fcffd98ed2140cd48cacaedf9 Mon Sep 17 00:00:00 2001 From: Daniel Kluge Date: Wed, 9 Feb 2022 20:25:15 +0100 Subject: [PATCH] Even more styling --- styles/ProjectModal.module.css | 6 ++++-- styles/globals.css | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/styles/ProjectModal.module.css b/styles/ProjectModal.module.css index 24c88f2..8394cf7 100644 --- a/styles/ProjectModal.module.css +++ b/styles/ProjectModal.module.css @@ -6,7 +6,7 @@ width: 100vw; height: 100vh; padding: 5%; - background: transparent; + background: rgba(0,0,0,0.5); --modal-gray: #0e0f0e; } @@ -19,6 +19,7 @@ border-radius: 20px; overflow-y: auto; position: relative; + clear: none; } .modalText { @@ -34,7 +35,8 @@ width: 2em; height: 2em; font-family: sans-serif; - margin-bottom: 10px; + margin-top: -3em; + margin-bottom: 1em; z-index: 100; } diff --git a/styles/globals.css b/styles/globals.css index 2d2c3c0..b1a21a7 100644 --- a/styles/globals.css +++ b/styles/globals.css @@ -4,7 +4,7 @@ } * { - box-sizing: border-box; + box-sizing: border-box !important; --repl-color: #188a18; --repl-color-link: #2ac02a; --repl-color-hint: #092909;