From c84efc7a1c32588d4c3cad2f4e230d8c2d041e89 Mon Sep 17 00:00:00 2001 From: Shraddha <ShraddhaRaghuram@student.tudelft.nl> Date: Mon, 23 Sep 2024 15:31:48 +0200 Subject: [PATCH] roster bg image plus introduction --- static/page.css | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/static/page.css b/static/page.css index 8345052..464e285 100644 --- a/static/page.css +++ b/static/page.css @@ -485,16 +485,17 @@ body{ /* css for team roster page */ -.roster-bg-image{ +.roster-bg-image { position: fixed; top: 0; width: 100%; height: 3000px; - background: url("https://static.igem.wiki/teams/5054/img-8014-2.jpg"); + background: url(https://static.igem.wiki/teams/5054/img-8014-2.jpg); background-size: contain; background-position: top center; background-repeat: no-repeat; z-index: 0; + transform: translateY(-10%); } .roster-pagecontainer{ position: relative; @@ -515,7 +516,7 @@ body{ font-style: normal; font-weight: 600; line-height: normal; - color: #C6EBE8; + color: #185A4F; } .roster-title>p{ text-align: left; @@ -526,7 +527,7 @@ body{ font-style: normal; font-weight: 400; line-height: normal; - color: #185A4F; + color: #C6EBE8; } .roster-pagecontent{ width: 71%; -- GitLab