feat: add open image & fix zoom origin

This commit is contained in:
john-emerson14
2020-03-23 15:07:31 -03:00
parent 5e18d9b71a
commit d478a81c24
2 changed files with 5 additions and 3 deletions

View File

@@ -24,7 +24,9 @@
<div class="overlay" id="popup">
<div class="popup">
<div class="popup-photo">
<a href="https://avatars0.githubusercontent.com/u/43749971" target="_blank">
<img src="https://avatars0.githubusercontent.com/u/43749971" alt="Profile Picture">
</a>
</div>
<div class="popup-quote">
But... the sensation that I've lost something lingers for a longtime after I wake up.

View File

@@ -151,7 +151,7 @@ body {
.popup {
position: relative;
/* top: -100vw; */
top: -43%;
/* right: -100vh; */
display: flex;
flex-direction: column;
@@ -196,7 +196,7 @@ body {
.overlay:target .popup {
transform: scale(1);
/* top: 0; */
top: 0;
/* right: 0; */
/* transform: rotate(0); */
}