From 4423268efeafd21f17f4db6e6111e53b70d3119d Mon Sep 17 00:00:00 2001 From: Lanta Date: Wed, 4 Oct 2023 09:07:39 +0200 Subject: [PATCH] background to html --- includes/styles.css | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/includes/styles.css b/includes/styles.css index 69f4e82..60aaa79 100644 --- a/includes/styles.css +++ b/includes/styles.css @@ -8,13 +8,17 @@ body, h1, h2, p, ul, li, a { text-decoration: none; } +html { + background: linear-gradient(to right, #0f2027, #203a43, #2c5364); + height: 100%; + overflow-x: auto; +} + body { font-family: 'Roboto', sans-serif; - background: linear-gradient(to right, #0f2027, #203a43, #2c5364); color: white; - min-height: 100vh; /* 100% of the viewport's height */ - display: flex; - flex-direction: column; + min-height: 100%; + margin: 0; /* Ensure there's no default margin */ }