From 405f367693ff0ccc03e486b0958f1a456d87e486 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Wed, 18 Nov 2020 18:38:47 +0000 Subject: [PATCH] Post background can be different from timeline background --- epicyon-profile.css | 5 +++-- theme/blue/theme.json | 1 + theme/hacker/theme.json | 1 + theme/henge/theme.json | 1 + theme/indymediaclassic/theme.json | 1 + theme/indymediamodern/theme.json | 1 + theme/lcd/theme.json | 1 + theme/light/theme.json | 1 + theme/night/theme.json | 1 + theme/purple/theme.json | 1 + theme/rc3/theme.json | 1 + theme/solidaric/theme.json | 1 + theme/starlight/theme.json | 1 + theme/zen/theme.json | 1 + 14 files changed, 16 insertions(+), 2 deletions(-) diff --git a/epicyon-profile.css b/epicyon-profile.css index b316a233..d0dbf166 100644 --- a/epicyon-profile.css +++ b/epicyon-profile.css @@ -3,6 +3,7 @@ :root { --header-bg-color: #282c37; --main-bg-color: #282c37; + --post-bg-color: #282c37; --column-left-color: #282c37; --link-bg-color: #282c37; --dropdown-fg-color: #dddddd; @@ -954,7 +955,7 @@ div.container { } .container { border: var(--border-width) solid var(--border-color); - background-color: var(--main-bg-color); + background-color: var(--post-bg-color); border-radius: var(--timeline-border-radius); padding-left: var(--container-padding); padding-right: var(--container-padding); @@ -1587,7 +1588,7 @@ div.container { } .container { border: var(--border-width) solid var(--border-color); - background-color: var(--main-bg-color); + background-color: var(--post-bg-color); border-radius: var(--timeline-border-radius); padding-left: var(--container-padding); padding-right: var(--container-padding); diff --git a/theme/blue/theme.json b/theme/blue/theme.json index 860254fc..8772270d 100644 --- a/theme/blue/theme.json +++ b/theme/blue/theme.json @@ -17,6 +17,7 @@ "gallery-font-size": "35px", "gallery-font-size-mobile": "55px", "main-bg-color": "#002365", + "post-bg-color": "#002365", "timeline-posts-background-color": "#002365", "header-bg-color": "#002365", "column-left-color": "#002365", diff --git a/theme/hacker/theme.json b/theme/hacker/theme.json index 9eb9a62f..e7681d9b 100644 --- a/theme/hacker/theme.json +++ b/theme/hacker/theme.json @@ -6,6 +6,7 @@ "publish-button-at-top": "False", "focus-color": "green", "main-bg-color": "black", + "post-bg-color": "black", "timeline-posts-background-color": "black", "header-bg-color": "black", "column-left-color": "black", diff --git a/theme/henge/theme.json b/theme/henge/theme.json index e670cae6..9ea96f4a 100644 --- a/theme/henge/theme.json +++ b/theme/henge/theme.json @@ -14,6 +14,7 @@ "font-size4": "24px", "font-size5": "22px", "main-bg-color": "#383335", + "post-bg-color": "#383335", "timeline-posts-background-color": "#383335", "header-bg-color": "#383335", "column-left-color": "#383335", diff --git a/theme/indymediaclassic/theme.json b/theme/indymediaclassic/theme.json index 825fc01d..93212906 100644 --- a/theme/indymediaclassic/theme.json +++ b/theme/indymediaclassic/theme.json @@ -27,6 +27,7 @@ "font-size4": "24px", "font-size5": "22px", "main-bg-color": "black", + "post-bg-color": "black", "timeline-posts-background-color": "black", "header-bg-color": "black", "column-left-header-color": "#fff", diff --git a/theme/indymediamodern/theme.json b/theme/indymediamodern/theme.json index a92fff0e..d9fd2518 100644 --- a/theme/indymediamodern/theme.json +++ b/theme/indymediamodern/theme.json @@ -80,6 +80,7 @@ "rgba(0, 0, 0, 0.5)": "rgba(0, 0, 0, 0.0)", "column-left-color": "#efefef", "main-bg-color": "#efefef", + "post-bg-color": "white", "timeline-posts-background-color": "white", "main-bg-color-dm": "white", "link-bg-color": "#efefef", diff --git a/theme/lcd/theme.json b/theme/lcd/theme.json index e56ee1ed..66da2308 100644 --- a/theme/lcd/theme.json +++ b/theme/lcd/theme.json @@ -8,6 +8,7 @@ "column-left-header-background": "#9fb42b", "column-left-header-color": "#33390d", "main-bg-color": "#9fb42b", + "post-bg-color": "#9fb42b", "timeline-posts-background-color": "#9fb42b", "header-bg-color": "#9fb42b", "column-left-color": "#33390d", diff --git a/theme/light/theme.json b/theme/light/theme.json index 0bcc7c99..829094ca 100644 --- a/theme/light/theme.json +++ b/theme/light/theme.json @@ -22,6 +22,7 @@ "rgba(0, 0, 0, 0.5)": "rgba(0, 0, 0, 0.0)", "column-left-color": "#e6ebf0", "main-bg-color": "#e6ebf0", + "post-bg-color": "#e6ebf0", "timeline-posts-background-color": "#e6ebf0", "header-bg-color": "#e6ebf0", "main-bg-color-dm": "#e3dbf0", diff --git a/theme/night/theme.json b/theme/night/theme.json index ba8c8d26..7e1ca228 100644 --- a/theme/night/theme.json +++ b/theme/night/theme.json @@ -20,6 +20,7 @@ "font-size4": "24px", "font-size5": "22px", "main-bg-color": "#0f0d10", + "post-bg-color": "#0f0d10", "timeline-posts-background-color": "#0f0d10", "header-bg-color": "#0f0d10", "column-left-color": "#0f0d10", diff --git a/theme/purple/theme.json b/theme/purple/theme.json index c831a3d1..62368f6c 100644 --- a/theme/purple/theme.json +++ b/theme/purple/theme.json @@ -13,6 +13,7 @@ "font-size4": "24px", "font-size5": "22px", "main-bg-color": "#1f152d", + "post-bg-color": "#1f152d", "timeline-posts-background-color": "#1f152d", "header-bg-color": "#1f152d", "column-left-color": "#1f152d", diff --git a/theme/rc3/theme.json b/theme/rc3/theme.json index 99d2df50..a62a0951 100644 --- a/theme/rc3/theme.json +++ b/theme/rc3/theme.json @@ -41,6 +41,7 @@ "font-size5": "12px", "font-size-likes": "10px", "main-bg-color": "#100e23", + "post-bg-color": "#100e23", "timeline-posts-background-color": "#100e23", "header-bg-color": "#100e23", "column-left-color": "#0f0d10", diff --git a/theme/solidaric/theme.json b/theme/solidaric/theme.json index 54c21165..4d19a8f3 100644 --- a/theme/solidaric/theme.json +++ b/theme/solidaric/theme.json @@ -29,6 +29,7 @@ "font-size5": "22px", "rgba(0, 0, 0, 0.5)": "rgba(0, 0, 0, 0.0)", "main-bg-color": "white", + "post-bg-color": "white", "timeline-posts-background-color": "white", "header-bg-color": "white", "column-left-color": "white", diff --git a/theme/starlight/theme.json b/theme/starlight/theme.json index 260d47f5..71b1c179 100644 --- a/theme/starlight/theme.json +++ b/theme/starlight/theme.json @@ -16,6 +16,7 @@ "font-size4": "24px", "font-size5": "22px", "main-bg-color": "#0f0d10", + "post-bg-color": "#0f0d10", "timeline-posts-background-color": "#0f0d10", "header-bg-color": "#0f0d10", "column-left-color": "#0f0d10", diff --git a/theme/zen/theme.json b/theme/zen/theme.json index 35768f70..50524edd 100644 --- a/theme/zen/theme.json +++ b/theme/zen/theme.json @@ -8,6 +8,7 @@ "banner-height-mobile": "10vh", "newswire-date-color": "yellow", "main-bg-color": "#5c4e41", + "post-bg-color": "#5c4e41", "timeline-posts-background-color": "#5c4e41", "header-bg-color": "#5c4e41", "column-left-color": "#5c4e41",