From 42d21980865ef6c46a8b955010a3c2f47f4d6cad Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sat, 7 Nov 2020 21:18:00 +0000 Subject: [PATCH] Smaller desktop fonts --- theme.py | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/theme.py b/theme.py index 41d89024..d52462c8 100644 --- a/theme.py +++ b/theme.py @@ -1026,11 +1026,19 @@ def setThemeIndymediaModern(baseDir: str): fontStrItalic = \ "url('./fonts/NimbusSanL-italic.otf') format('opentype')" themeParams = { + "font-size": "22px", + "font-size2": "16px", + "font-size3": "30px", + "font-size4": "14px", + "font-size5": "12px", + "font-size-likes": "10px", + "font-size-links": "12px", + "font-size-newswire": "12px", "post-separator-margin-top": "1%", "post-separator-margin-bottom": "1%", "post-separator-width": "95%", "post-separator-height": "1px", - "column-left-border-width": "0px", + "column-left-border-width": "1px", "column-right-border-width": "0px", "column-left-border-color": "black", "column-left-header-color": "black", @@ -1041,7 +1049,8 @@ def setThemeIndymediaModern(baseDir: str): "publish-button-vertical-offset": "10px", "container-button-padding": "0px", "container-button-margin": "0px", - "column-right-icon-size": "11%", + "column-left-icon-size": "15%", + "column-right-icon-size": "15%", "button-height-padding": "5px", "icon-brightness-change": "70%", "border-width": "0px", @@ -1052,8 +1061,8 @@ def setThemeIndymediaModern(baseDir: str): "login-button-color": "#25408f", "login-button-fg-color": "white", "column-left-width": "10vw", - "column-center-width": "70vw", - "column-right-width": "20vw", + "column-center-width": "80vw", + "column-right-width": "10vw", "column-right-fg-color": "#25408f", "column-right-fg-color-voted-on": "red", "newswire-item-moderated-color": "red", @@ -1073,11 +1082,6 @@ def setThemeIndymediaModern(baseDir: str): "focus-color": "grey", "font-size-button-mobile": "26px", "font-size-publish-button": "26px", - "font-size": "32px", - "font-size2": "26px", - "font-size3": "40px", - "font-size4": "24px", - "font-size5": "22px", "rgba(0, 0, 0, 0.5)": "rgba(0, 0, 0, 0.0)", "column-left-color": "white", "main-bg-color": "white",