From 2ba18242796e5cdedb20f031d11be91d4fe1b6e7 Mon Sep 17 00:00:00 2001 From: Tobias Reich Date: Sat, 5 Sep 2015 14:04:19 +0200 Subject: [PATCH] Improved var naming for albums without an overlay --- src/scripts/build.js | 6 +++--- src/styles/_content.scss | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/scripts/build.js b/src/scripts/build.js index 1da00dc..20643eb 100644 --- a/src/scripts/build.js +++ b/src/scripts/build.js @@ -37,9 +37,9 @@ build.album = function(data) { let html = `
- thumb - thumb - thumb + thumb + thumb + thumb

${ data.title }

${ data.sysdate } diff --git a/src/styles/_content.scss b/src/styles/_content.scss index 520b4cd..099fb5e 100644 --- a/src/styles/_content.scss +++ b/src/styles/_content.scss @@ -112,7 +112,7 @@ } // No overlay for empty albums - .album img[data-retina='false'] + .overlay { + .album img[data-overlay='false'] + .overlay { background: none; } @@ -154,8 +154,8 @@ filter: drop-shadow(0 1px 3px black(.4)); } - .album img[data-retina='false'] + .overlay h1, - .album img[data-retina='false'] + .overlay a { text-shadow: none; } + .album img[data-overlay='false'] + .overlay h1, + .album img[data-overlay='false'] + .overlay a { text-shadow: none; } /* Badges ------------------------------------------------*/ .album .badges,