From f6e895271e21c5997632052d3a5a705669402eab Mon Sep 17 00:00:00 2001 From: Zachary Chai Date: Fri, 2 Dec 2016 16:58:26 -0500 Subject: [PATCH] downscale background image --- ...ght_background.jpg => greenlight_background.png} | Bin app/assets/stylesheets/shared.scss | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename app/assets/images/{greenlight_background.jpg => greenlight_background.png} (100%) diff --git a/app/assets/images/greenlight_background.jpg b/app/assets/images/greenlight_background.png similarity index 100% rename from app/assets/images/greenlight_background.jpg rename to app/assets/images/greenlight_background.png diff --git a/app/assets/stylesheets/shared.scss b/app/assets/stylesheets/shared.scss index d58ee5f1..b11c4df6 100644 --- a/app/assets/stylesheets/shared.scss +++ b/app/assets/stylesheets/shared.scss @@ -29,7 +29,7 @@ html, body { .app-background { height: 350px; width: 100%; - background: url('greenlight_background.jpg'); + background: asset-url('greenlight_background'); background-position: center; background-size: cover; background-repeat: no-repeat;