From 9b52e91c961ad8d6ca7615f0a92d8ece113219c8 Mon Sep 17 00:00:00 2001 From: Gabriele Musco Date: Wed, 14 Apr 2021 13:28:59 +0200 Subject: [PATCH] tweaks to featured article style --- assets/scss/style.scss | 1 + layouts/partials/featured_articles.html | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/assets/scss/style.scss b/assets/scss/style.scss index 215df22..d29c136 100644 --- a/assets/scss/style.scss +++ b/assets/scss/style.scss @@ -388,6 +388,7 @@ ul.list { position: absolute; bottom: 0; padding: 15px; + &, h2, .date {color: white;} h2 { margin: 0; } diff --git a/layouts/partials/featured_articles.html b/layouts/partials/featured_articles.html index 347eeb7..cf621eb 100644 --- a/layouts/partials/featured_articles.html +++ b/layouts/partials/featured_articles.html @@ -5,7 +5,7 @@ style=" background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, - rgba(0, 0, 0, 0) 59%, + rgba(0, 0, 0, 0.1) 45%, rgba(0, 0, 0, 0.7) 100% ), url('{{ .Params.Image }}'); ">