From 5736fd7fd768a3005c1fcee97a63200d5be8b358 Mon Sep 17 00:00:00 2001 From: elinorpd <59417117+elinorpd@users.noreply.github.com> Date: Tue, 31 Oct 2023 00:29:08 -0400 Subject: [PATCH] disable lightbox --- assets/css/main.css | 8 +++++++- assets/js/main.js | 35 ++++++++++++++++++----------------- index.html | 4 ++-- 3 files changed, 27 insertions(+), 20 deletions(-) diff --git a/assets/css/main.css b/assets/css/main.css index fd6ca5e..ad0425d 100644 --- a/assets/css/main.css +++ b/assets/css/main.css @@ -2090,7 +2090,7 @@ input, select, textarea { } .image.thumb:hover:after { - opacity: 1.0; + opacity: 0; } .image.thumb:hover:before { @@ -2907,6 +2907,12 @@ input, select, textarea { z-index: 2; } + .image.thumb:before, .image.thumb:hover:before { + background: none; + opacity: 1; /* Set to 1 to make sure the image is fully visible */ + } + + .poptrox-popup .closer:before { -moz-osx-font-smoothing: grayscale; -webkit-font-smoothing: antialiased; diff --git a/assets/js/main.js b/assets/js/main.js index 3f7d216..bf67a38 100644 --- a/assets/js/main.js +++ b/assets/js/main.js @@ -96,22 +96,23 @@ // Main Sections: Two. // Lightbox gallery. - $window.on('load', function() { - - $('#two').poptrox({ - caption: function($a) { return $a.next('h3').text(); }, - overlayColor: '#2c2c2c', - overlayOpacity: 0.85, - popupCloserText: '', - popupLoaderText: '', - selector: '.work-item a.image', - usePopupCaption: true, - usePopupDefaultStyling: false, - usePopupEasyClose: false, - usePopupNav: true, - windowMargin: (breakpoints.active('<=small') ? 0 : 50) - }); - - }); + // disable the lightbox gallery + // $window.on('load', function() { + + // $('#two').poptrox({ + // caption: function($a) { return $a.next('h3').text(); }, + // overlayColor: '#2c2c2c', + // overlayOpacity: 0.85, + // popupCloserText: '', + // popupLoaderText: '', + // selector: '.work-item a.image', + // usePopupCaption: true, + // usePopupDefaultStyling: false, + // usePopupEasyClose: false, + // usePopupNav: true, + // windowMargin: (breakpoints.active('<=small') ? 0 : 50) + // }); + + // }); })(jQuery); \ No newline at end of file diff --git a/index.html b/index.html index 6c7896e..f241b72 100644 --- a/index.html +++ b/index.html @@ -44,12 +44,12 @@

I'm passionate about responsible NLP, AI for social good, and promoting AI l

Recent Work

- +

Are Diffusion Models Vision-And-Language Reasoners?

Accepted to NeurIPS 2023!

- +

An Empirical Survey of the Effectiveness of Debiasing Techniques for Pre-trained Language Models

Accepted to ACL 2022!