From d04adf96b16722a56cff31950c0e502e84875a62 Mon Sep 17 00:00:00 2001 From: Shraddha <shraddharaghuram@student.tudelft.nl> Date: Thu, 5 Sep 2024 12:12:20 +0000 Subject: [PATCH] step 3 --- static/homepage.css | 16 ++++++---------- wiki/pages/home.html | 3 +-- 2 files changed, 7 insertions(+), 12 deletions(-) diff --git a/static/homepage.css b/static/homepage.css index 8a86b1c..c8a0432 100644 --- a/static/homepage.css +++ b/static/homepage.css @@ -610,10 +610,6 @@ text-decoration: none; } -.homepage-link-style>a { - text-decoration: none; /* Removes underline for links */ -} - .homepage-link2 { top: 11800px; width: 400px; @@ -633,12 +629,12 @@ background-size: 91%; background-position: center; transition: all 0.1s linear; - transform: translateY(2px); + transform: translateX(30px); } -/*.homepage-link3{ - top: 13551px; - transform: translateX(410px); +.homepage-link3{ + top: 12600px; + transform: translateX(-410px); width: 400px; height: 500px; flex-shrink: 0; @@ -660,12 +656,12 @@ margin: 0 auto; width: 400px; height: 300px; - background: url("https://static.igem.wiki/teams/4594/wiki/homepage-img105.png"); + background: url("https://static.igem.wiki/teams/5054/cell-division.png"); background-repeat: no-repeat; background-size: 91%; background-position: center; transition: all 0.1s linear; - transform: translateY(2px); + transform: translateX(30px); } */ diff --git a/wiki/pages/home.html b/wiki/pages/home.html index ef45168..3a2b4b6 100644 --- a/wiki/pages/home.html +++ b/wiki/pages/home.html @@ -222,8 +222,7 @@ <div class="homepage-link3 homepage-elements reveal" style="opacity: 1;"> <a onmouseover="expandFunc3(document.getElementById('homepage-link-img3'))" onmouseout="reduceFunc3(document.getElementById('homepage-link-img3'))"> <div class="homepage-link-img3" id="homepage-link-img3" style="background-size: 91%;"></div> - <span class="homepage-subtitle-style" style="margin-left:30px;">Regulate cell division</span> - <span style="width:15px;height:15px;"><img src="https://static.igem.wiki/teams/4594/wiki/link-image4.png" alt=">"></span> + <span class="homepage-link-style" style="margin-left:30px;">Regulate cell division</span> </a> </div> -- GitLab