From d788fe62dea83ce4caabf9cc4f894dea6bb2614f Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Thu, 1 Oct 2020 10:40:56 +0100 Subject: [PATCH] Column widths --- epicyon-profile.css | 11 +++++------ webinterface.py | 6 +++--- 2 files changed, 8 insertions(+), 9 deletions(-) diff --git a/epicyon-profile.css b/epicyon-profile.css index 91cebc9da..b87301936 100644 --- a/epicyon-profile.css +++ b/epicyon-profile.css @@ -61,9 +61,9 @@ --quote-font-weight: normal; --quote-font-size: 120%; --line-spacing: 130%; - --column-left-width: 10%; - --column-center-width: 80%; - --column-right-width: 10%; + --column-left-width: 10vw; + --column-center-width: 80vw; + --column-right-width: 10vw; } @font-face { @@ -934,13 +934,12 @@ aside .toggle-inside li { font-family: Arial, Helvetica, sans-serif; max-width: var(--column-center-width); min-width: 950px; - margin-left: var(--column-left-width); font-size: var(--font-size); line-height: var(--line-spacing); } .timeline { border: 0; - width: 120%; + width: 100vw; } .column-left { float: left; @@ -1417,7 +1416,7 @@ aside .toggle-inside li { } .timeline { border: 0; - width: 100%; + width: 100vw; } .column-left { float: left; diff --git a/webinterface.py b/webinterface.py index cfe97f4ac..f9cb07159 100644 --- a/webinterface.py +++ b/webinterface.py @@ -5362,7 +5362,7 @@ def htmlTimeline(defaultTimeline: str, tlStr += ' \n' tlStr += ' \n' tlStr += ' \n' - tlStr += ' \n' + tlStr += ' \n' # left column tlStr += ' \n' # center column containing posts @@ -5668,8 +5668,8 @@ def htmlTimeline(defaultTimeline: str, # end of column-center tlStr += ' \n' tlStr += ' \n' - tlStr += ' \n' - tlStr += '' + tlStr += ' \n' + tlStr += '\n' # benchmark 9 timeDiff = int((time.time() - timelineStartTime) * 1000)