[STYLE] Center lightbox images

This commit is contained in:
Gregory Trolliet 2023-09-09 15:53:09 +02:00
parent 1abfbd5085
commit 73adb5a23a

View file

@ -25,7 +25,7 @@
}
html {
background-color: var(--background-color);
font-family: serif;
font-family: "Times New Roman", Georgia, serif;
font-size: medium;
color: var(--font-color);
}
@ -846,10 +846,13 @@ blockquote:after {
}
.lightbox img {
position: absolute;
max-width: 90%;
max-height: 92vh;
margin-top: 2%;
opacity: 0;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
.lightbox:target {