ucphhpc / migrid-user-docs

Documentation and user guides for the MiGrid sites at UCPH, including the ERDA and SIF systems
GNU General Public License v3.0
0 stars 0 forks source link

Zoom in on images inline, not open externally #12

Open SebastianPrehn opened 2 months ago

SebastianPrehn commented 2 months ago

As part of the wiki, it would be preferable to have the images zoom in and potentially blur the surrounding text when zoomed in, instead of redirecting to only the image, or opening it in an external tab.

In order to get the following working, we'll need to add custom CSS and Javascript to handle it.

SebastianPrehn commented 2 months ago

We need to look into whether Sphinx supports adding classes to our images, to make searching for the correct image reliable.

We need to have the clickhandler loop over all the elements selected by the modified css selector