diff --git a/pages/projects.html b/pages/projects.html index 1e5e822..f554d95 100644 --- a/pages/projects.html +++ b/pages/projects.html @@ -106,9 +106,17 @@ align-items: center; } + /* Make the entire area (background + image) clickable */ + .lightbox a { + display: block; + width: 100%; + height: 100%; + text-align: center; + } + .lightbox img { - max-width: 60%; - max-height: 60%; + max-width: 700px; + max-height: auto; } .lightbox:target {