ViewPhoto: improve vertical alignment of prev/next buttons

This commit is contained in:
Aaron van Geffen 2023-03-12 12:42:43 +01:00
parent c735648468
commit 85be093a36

View File

@ -448,17 +448,12 @@ footer a {
background: #fff;
box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
color: #262626;
font-size: 3em;
font-size: 3rem;
line-height: 0.5;
padding: 32px 8px;
padding: 2rem 0.5rem;
position: fixed;
text-decoration: none;
top: 45%;
}
#previous_photo em, #next_photo em {
position: absolute;
top: -1000em;
left: -1000em;
top: calc(50% - 5rem);
}
span#previous_photo, span#next_photo {
opacity: 0.25;