From 09aa61bb139f5f35b33f7f41f75291394d6fa94f Mon Sep 17 00:00:00 2001 From: alisonkit Date: Wed, 4 Sep 2024 11:35:24 -0700 Subject: [PATCH] added fixes to links and lightbox --- main/index.html | 51 +++++++++++++++++++++++++++++++++++++++++-------- main/style.css | 29 ++++++++++++++++++++++++++++ 2 files changed, 72 insertions(+), 8 deletions(-) diff --git a/main/index.html b/main/index.html index 0083da6..9029c88 100644 --- a/main/index.html +++ b/main/index.html @@ -26,14 +26,14 @@ @@ -75,5 +75,40 @@ τ + +
+ + + + + + + + +
diff --git a/main/style.css b/main/style.css index 477858c..428224c 100644 --- a/main/style.css +++ b/main/style.css @@ -115,3 +115,32 @@ a{ text-align:center; font-weight:bold; } +.lightbox { + background: rgba(0, 0, 0, 0.8); + display: none; + position: fixed; + z-index: 1000; +} +.lightbox:target { + align-items: center; + bottom: 0; + display: flex; + justify-content: center; + left: 0; + right: 0; + top: 0; +} +.lightbox img { + border-radius: 1em; + display: block; + max-height: 80vh; +} +.lightbox p { + font-weight: bold; + text-align: center; +} +.lightbox a { + display: flex; + margin: 4.5%; + text-align: center; +}