Skip to content
Snippets Groups Projects
Commit 1128db2e authored by Liliana Sanfilippo's avatar Liliana Sanfilippo
Browse files

backtotop and script fix

parent 97452270
No related branches found
No related tags found
No related merge requests found
Pipeline #403582 passed
......@@ -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"
......
......@@ -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
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment