From a7f2142bc671f130d4b7a66ccf43ade295eb744f Mon Sep 17 00:00:00 2001 From: Ward Truyen Date: Mon, 9 Sep 2024 22:22:56 +0200 Subject: [PATCH] chore: fixed backround ini css --- src/css/main.css | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/src/css/main.css b/src/css/main.css index d6c83c6..f489f9b 100644 --- a/src/css/main.css +++ b/src/css/main.css @@ -9,12 +9,15 @@ body { height: 100%; display: flex; flex-direction: column; - /* colors */ +} + +html { background-image: linear-gradient(-30deg, #C0E0FF6F 70%, #FFE0C04F); } main { margin: auto; + margin-top: 1em; width: 80%; padding: 10px; min-height: 40%; @@ -22,7 +25,7 @@ main { /* colors */ border: 1px solid darkblue; background-color: white; - box-shadow: 3px 3px 3px #30303090; + box-shadow: 3px 3px 3px #30303090; } main h1 { @@ -59,8 +62,8 @@ html.theme-dark { text-shadow: 0px 0px 3px blue, 2px 2px 6px; } -@media(orientation: portrait){ - main{ +@media(orientation: portrait) { + main { margin: 1em; } }