From ed5b7ead2c712def7c09c935fad86b66a822db10 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sun, 31 May 2020 20:31:31 +0100 Subject: [PATCH] Vertical alignment of icons with large fonts --- epicyon-profile.css | 3 ++- theme.py | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/epicyon-profile.css b/epicyon-profile.css index 4fcc71cf6..a7c3ee17b 100644 --- a/epicyon-profile.css +++ b/epicyon-profile.css @@ -28,6 +28,7 @@ --text-entry-foreground: #ccc; --text-entry-background: #111; --time-color: #aaa; + --time-vertical-align: 4px; --button-text: #FFFFFF; --button-background: #999; --button-selected: #666; @@ -898,7 +899,7 @@ div.gallery img { .time-right { float: right; color: var(--time-color); - margin: 4px 20px; + margin: var(--time-vertical-align) 20px; } input[type=text], select, textarea { width: 100%; diff --git a/theme.py b/theme.py index 6904cdda9..0576831f7 100644 --- a/theme.py +++ b/theme.py @@ -173,6 +173,7 @@ def setThemeBlue(baseDir: str): "day-number2": "#002365", "hashtag-vertical-spacing3": "100px", "hashtag-vertical-spacing4": "150px", + "time-vertical-align": "-10px", "*font-family": "'Domestic_Manners'", "*src": "url('./fonts/Domestic_Manners.ttf') format('truetype')" } @@ -216,6 +217,7 @@ def setThemeHighVis(baseDir: str): "gallery-font-size-mobile": "55px", "hashtag-vertical-spacing3": "100px", "hashtag-vertical-spacing4": "150px", + "time-vertical-align": "-10px", "*font-family": "'LinBiolinum_Rah'", "*src": "url('./fonts/LinBiolinum_Rah.ttf') format('truetype')" }