From 5c177b1d2935ef652f2a19c5edc0c1c5e0c226b6 Mon Sep 17 00:00:00 2001
From: HauErn Lien <lienhe81@gmail.com>
Date: Tue, 1 Oct 2024 17:47:44 +0000
Subject: [PATCH] Update file tryhomepage.html

---
 wiki/pages/tryhomepage.html | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/wiki/pages/tryhomepage.html b/wiki/pages/tryhomepage.html
index e48aecc0..a656fd37 100644
--- a/wiki/pages/tryhomepage.html
+++ b/wiki/pages/tryhomepage.html
@@ -43,6 +43,11 @@
       height: 100vh;
       transition: 1s;
       background-image: url("https://static.igem.wiki/teams/5187/home-bg-3.jpg");
+      background-size: cover; /* Makes the image cover the entire area */
+      background-repeat: no-repeat; /* Prevents the image from repeating */
+      background-position: center; /* Centers the image */
+      height: 100vh; /* Ensures the body takes up the full height of the viewport */
+      margin: 0; /* Removes default margin */
     }
     
     .logo-header{
-- 
GitLab