From d0c37e04fb5ee3341c6cbbfe3c3e21394db3e56e Mon Sep 17 00:00:00 2001 From: Donald Buczek Date: Mon, 4 Nov 2019 19:23:38 +0100 Subject: [PATCH] Preview cards: Fix transparency for Safari Safari seems to be strict about the arguments to linear-gradient in style sheets. `transparent` is not a color. Replace with `rgba(255,255,255,0)`. --- mpicms/static/css/custom.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mpicms/static/css/custom.css b/mpicms/static/css/custom.css index 1fc40fe..62ff3a4 100644 --- a/mpicms/static/css/custom.css +++ b/mpicms/static/css/custom.css @@ -382,7 +382,7 @@ body { width: 100%; border-bottom: 1.5em solid white; position: absolute; - background-image: linear-gradient(to top, white, white, transparent); + background-image: linear-gradient(to top, white, white, rgba(255,255,255,0)); } .is-preview h1, .is-preview h2, .is-preview h3, .is-preview h4, .is-preview h5, .is-preview h6 { @@ -735,4 +735,4 @@ a.tag:hover { .modal-image:hover, .richtext-image:hover { cursor: pointer; -} \ No newline at end of file +}