From 85be093a3625ff5e368b1223e8885c4bfe429f2f Mon Sep 17 00:00:00 2001 From: Aaron van Geffen Date: Sun, 12 Mar 2023 12:42:43 +0100 Subject: [PATCH] ViewPhoto: improve vertical alignment of prev/next buttons --- public/css/default.css | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/public/css/default.css b/public/css/default.css index ee6e69f..d8294af 100644 --- a/public/css/default.css +++ b/public/css/default.css @@ -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;