From 1128db2e8e6d135f5ea2ae65eda176f9e26b34f9 Mon Sep 17 00:00:00 2001 From: liliana <liliana.sanfilippo@uni-bielefeld.de> Date: Wed, 14 Aug 2024 10:41:21 +0200 Subject: [PATCH] backtotop and script fix --- index.html | 16 ---------------- src/App/App.css | 5 ++++- 2 files changed, 4 insertions(+), 17 deletions(-) diff --git a/index.html b/index.html index 8fcdcf24..c7d9d3a3 100644 --- a/index.html +++ b/index.html @@ -2,22 +2,6 @@ <html lang="en"> <head> <meta charset="UTF-8" /> - <script> - $('img[data-enlargable]').addClass('img-enlargable').click(function(){ - var src = $(this).attr('src'); - $('<div>').css({ - background: 'RGBA(0,0,0,.5) url('+src+') no-repeat center', - backgroundSize: 'contain', - width:'100%', height:'100%', - position:'fixed', - zIndex:'10000', - top:'0', left:'0', - cursor: 'zoom-out' - }).click(function(){ - $(this).remove(); - }).appendTo('body'); -}); - </script> <link rel="shortcut icon" href="https://static.igem.wiki/teams/5247/logos-team/precyse-no-slogan.png" diff --git a/src/App/App.css b/src/App/App.css index 6c5830e1..52f7679c 100644 --- a/src/App/App.css +++ b/src/App/App.css @@ -3015,6 +3015,8 @@ div[class*="boxy"] { background: var(--text-primary); border-radius: 100px; white-space: nowrap; + margin-left: 40px; + margin-top: 20px; text-align: right; } .backtotop:hover{ @@ -3204,4 +3206,5 @@ a{ margin-right: 50vw !important; max-width: 100vw !important; width: 100vw !important; -} \ No newline at end of file +} + -- GitLab