From 36ce751875292a7fd40136d9e89f2f6027583e90 Mon Sep 17 00:00:00 2001 From: JonnyWong16 Date: Wed, 11 Apr 2018 12:04:00 -0700 Subject: [PATCH] Explicit white font colour on newsletter cards --- .../newsletters/recently_added.html | 32 ++++++++++--------- .../newsletters/recently_added_master.html | 2 ++ 2 files changed, 19 insertions(+), 15 deletions(-) diff --git a/data/interfaces/newsletters/recently_added.html b/data/interfaces/newsletters/recently_added.html index 34f66fa4..67e93383 100644 --- a/data/interfaces/newsletters/recently_added.html +++ b/data/interfaces/newsletters/recently_added.html @@ -448,6 +448,7 @@ } .card-info-body > p { max-width: 325px; + color: #ffffff; } .card-instance.movie .card-info-body, .card-instance.show .card-info-body { @@ -499,6 +500,7 @@ border-radius: 2px; text-overflow: ellipsis; overflow: hidden; + color: #ffffff; } /* ------------------------------------- @@ -697,11 +699,11 @@ % if movie['tagline']: -

+

${movie['tagline']}

% endif -

+

${movie['summary'][:450] + (movie['summary'][450:] and '...')}

@@ -713,15 +715,15 @@ % if movie['year']: - ${movie['year']} + ${movie['year']} % endif % if movie['duration']: <% duration = int(int(movie['duration'])/60000) %> - ${duration} mins + ${duration} mins % endif % if movie['genres']: % for genre in movie['genres'][:2]: - ${genre} + ${genre} % endfor % endif @@ -829,14 +831,14 @@ -

+

% if show['season_count'] > 1: ${show['season_count']} seasons / % endif <% total_show_episodes = sum(s['episode_count'] for s in show['season']) %> ${total_show_episodes} episode${'s' if total_show_episodes > 1 else ''}

-

+

% for i, season in enumerate(show['season'][:8]): Season ${season['media_index']} · % if season['episode_count'] == 1: @@ -851,7 +853,7 @@ % endif % endfor

-

+

% if show['season_count'] == 1 and show['season'][0]['episode_count'] == 1: ${show['season'][0]['episode'][0]['summary'][:350] + (show['season'][0]['episode'][0]['summary'][350:] and '...')} % else: @@ -870,15 +872,15 @@ % if show['year']: - ${show['year']} + ${show['year']} % endif % if show['duration']: <% duration = int(int(show['duration'])/60000) %> - ${duration} mins + ${duration} mins % endif % if show['genres']: % for genre in show['genres'][:2]: - ${genre} + ${genre} % endfor % endif @@ -977,11 +979,11 @@ -

+

${album['parent_title']} · ${album['track_count']} track${'s' if album['track_count'] > 1 else ''}

% if artist['title'].lower() != 'various artists': -

+

${album['summary'][:200] + (album['summary'][200:] and '...')}

% endif @@ -994,11 +996,11 @@ % if album['year']: - ${album['year']} + ${album['year']} % endif % if album['genres']: % for genre in album['genres'][:2]: - ${genre} + ${genre} % endfor % endif diff --git a/data/interfaces/newsletters/recently_added_master.html b/data/interfaces/newsletters/recently_added_master.html index 1a64b2be..70716a37 100644 --- a/data/interfaces/newsletters/recently_added_master.html +++ b/data/interfaces/newsletters/recently_added_master.html @@ -448,6 +448,7 @@ } .card-info-body > p { max-width: 325px; + color: #ffffff; } .card-instance.movie .card-info-body, .card-instance.show .card-info-body { @@ -499,6 +500,7 @@ border-radius: 2px; text-overflow: ellipsis; overflow: hidden; + color: #ffffff; } /* -------------------------------------