From 888fe32f5329221ec903e330c79b5d0009fa9c03 Mon Sep 17 00:00:00 2001 From: horus Date: Fri, 18 Sep 2020 17:45:34 +0200 Subject: prettier bg in css --- public/css/app.css | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) (limited to 'public/css/app.css') diff --git a/public/css/app.css b/public/css/app.css index 7772382..c4b929a 100644 --- a/public/css/app.css +++ b/public/css/app.css @@ -10889,8 +10889,26 @@ a.text-dark:focus { box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04); } +@media (max-width: 500px) { + body { + background: url(/img/sakamoto-mobile.jpg) no-repeat left center fixed; + } +} + +@media (max-width: 1640px) and (min-width: 500px) { + body { + background: url(/img/sakamoto-mobile.jpg) no-repeat right center fixed; + } +} + +@media (min-width: 1640px) { + body { + background: url(/img/sakamoto.jpg) no-repeat center center fixed; + } +} + body { - background: url(/img/sakamoto.jpg) no-repeat center center fixed; + background-color: #c6c6c6; } .bg-white-transparent { -- cgit v1.2.3