From a1e5a8da618de9c1fc8b553d58fb1aaf6a5e4147 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Thu, 1 Oct 2020 22:02:38 +0100 Subject: [PATCH] Left column link background color --- epicyon-profile.css | 13 ++++++++++--- theme.py | 11 +++++++++++ 2 files changed, 21 insertions(+), 3 deletions(-) diff --git a/epicyon-profile.css b/epicyon-profile.css index c4227135..c63cd795 100644 --- a/epicyon-profile.css +++ b/epicyon-profile.css @@ -2,6 +2,7 @@ :root { --main-bg-color: #282c37; + --column-left-color: #282c37; --link-bg-color: #282c37; --dropdown-fg-color: #dddddd; --dropdown-bg-color: #111; @@ -21,7 +22,7 @@ --font-size-header-mobile: 32px; --font-color-header: #ccc; --font-size-button-mobile: 34px; - --font-size-links: 20px; + --font-size-links: 18px; --font-size: 30px; --font-size2: 24px; --font-size3: 38px; @@ -938,7 +939,11 @@ aside .toggle-inside li { border: 0; width: 100vw; } - .column-left { + .column-left a:link { + background: var(--column-left-color); + } + .column-left { + background-color: var(--column-left-color); width: var(--column-left-width); } .col-left { @@ -947,7 +952,9 @@ aside .toggle-inside li { width: var(--column-left-width); } .col-left img { - width: 20%; + background: var(--column-left-color); + margin: 40px 0; + width: 20%; } .col-center { width: var(--column-center-width); diff --git a/theme.py b/theme.py index bde82768..e1accb4a 100644 --- a/theme.py +++ b/theme.py @@ -264,6 +264,7 @@ def setThemeIndymedia(baseDir: str): "font-size4": "24px", "font-size5": "22px", "main-bg-color": "black", + "column-left-color": "#003366", "text-entry-background": "#0f0d10", "link-bg-color": "black", "main-link-color": "#ff9900", @@ -311,6 +312,7 @@ def setThemeBlue(baseDir: str): "gallery-font-size": "35px", "gallery-font-size-mobile": "55px", "main-bg-color": "#002365", + "column-left-color": "#002365", "text-entry-background": "#002365", "link-bg-color": "#002365", "main-bg-color-reply": "#002365", @@ -348,6 +350,7 @@ def setThemeNight(baseDir: str): "font-size4": "24px", "font-size5": "22px", "main-bg-color": "#0f0d10", + "column-left-color": "#0f0d10", "text-entry-background": "#0f0d10", "link-bg-color": "#0f0d10", "main-link-color": "ff9900", @@ -398,6 +401,7 @@ def setThemeStarlight(baseDir: str): "font-size4": "24px", "font-size5": "22px", "main-bg-color": "#0f0d10", + "column-left-color": "#0f0d10", "text-entry-background": "#0f0d10", "link-bg-color": "#0f0d10", "main-link-color": "#ffc4bc", @@ -457,6 +461,7 @@ def setThemeHenge(baseDir: str): "font-size4": "24px", "font-size5": "22px", "main-bg-color": "#383335", + "column-left-color": "#383335", "text-entry-background": "#383335", "link-bg-color": "#383335", "main-link-color": "white", @@ -506,6 +511,7 @@ def setThemeZen(baseDir: str): setThemeInConfig(baseDir, name) themeParams = { "main-bg-color": "#5c4e41", + "column-left-color": "#5c4e41", "text-entry-background": "#5c4e41", "link-bg-color": "#5c4e41", "main-bg-color-reply": "#5c4e41", @@ -565,6 +571,7 @@ def setThemeLCD(baseDir: str): name = 'lcd' themeParams = { "main-bg-color": "#9fb42b", + "column-left-color": "#9fb42b", "link-bg-color": "#33390d", "text-entry-foreground": "#33390d", "text-entry-background": "#9fb42b", @@ -641,6 +648,7 @@ def setThemePurple(baseDir: str): "font-size4": "24px", "font-size5": "22px", "main-bg-color": "#1f152d", + "column-left-color": "#1f152d", "link-bg-color": "#1f152d", "main-bg-color-reply": "#1a142d", "main-bg-color-report": "#12152d", @@ -689,6 +697,7 @@ def setThemeHacker(baseDir: str): themeParams = { "focus-color": "green", "main-bg-color": "black", + "column-left-color": "black", "link-bg-color": "black", "main-bg-color-dm": "#0b0a0a", "main-bg-color-reply": "#030202", @@ -747,6 +756,7 @@ def setThemeLight(baseDir: str): "font-size4": "24px", "font-size5": "22px", "rgba(0, 0, 0, 0.5)": "rgba(0, 0, 0, 0.0)", + "column-left-color": "#e6ebf0", "main-bg-color": "#e6ebf0", "main-bg-color-dm": "#e3dbf0", "link-bg-color": "#e6ebf0", @@ -804,6 +814,7 @@ def setThemeSolidaric(baseDir: str): "font-size5": "22px", "rgba(0, 0, 0, 0.5)": "rgba(0, 0, 0, 0.0)", "main-bg-color": "white", + "column-left-color": "white", "main-bg-color-dm": "white", "link-bg-color": "white", "main-bg-color-reply": "white",