Refactors lightbox css