From 97412c9ac4c70a31b48938fc8f1c980b2e40d2bc Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sat, 3 Oct 2020 20:15:09 +0100 Subject: [PATCH] Icon width in third column --- epicyon-profile.css | 14 ++++++++------ theme.py | 4 ++++ 2 files changed, 12 insertions(+), 6 deletions(-) diff --git a/epicyon-profile.css b/epicyon-profile.css index e0b6ec48..cd472edc 100644 --- a/epicyon-profile.css +++ b/epicyon-profile.css @@ -64,12 +64,14 @@ --quote-font-weight: normal; --quote-font-size: 120%; --line-spacing: 130%; - --column-left-width: 9vw; + --column-left-width: 10vw; --column-center-width: 80vw; - --column-right-width: 9vw; + --column-right-width: 10vw; --column-left-header-background: #555; --column-left-header-color: #fff; --column-left-header-size: 20px; + --column-left-icon-size: 20%; + --column-right-icon-size: 20%; } @font-face { @@ -972,11 +974,11 @@ aside .toggle-inside li { .col-left img.leftColEdit { background: var(--column-left-color); margin: 40px 0; - width: 20%; + width: var(--column-left-icon-size); } .col-left img.leftColEditImage { background: var(--column-left-color); - width: 20%; + width: var(--column-left-icon-size); float: right; } .col-left img.leftColImg { @@ -1012,11 +1014,11 @@ aside .toggle-inside li { .col-right img.rightColEdit { background: var(--column-left-color); margin: 40px 0; - width: 20%; + width: var(--column-right-icon-size); } .col-right img.rightColEditImage { background: var(--column-left-color); - width: 20%; + width: var(--column-right-icon-size); float: left; } .col-right img.rightColImg { diff --git a/theme.py b/theme.py index 8e361009..ee64481c 100644 --- a/theme.py +++ b/theme.py @@ -297,6 +297,10 @@ def setThemeIndymedia(baseDir: str): "title-text": "white", "title-background": "#003366", "quote-right-margin": "0.1em", + "column-left-width": "10vw", + "column-center-width": "70vw", + "column-right-width": "20vw", + "column-right-icon-size": "11%" } setThemeFromDict(baseDir, name, themeParams, bgParams)