From bc11273ca6f22ced5e5742f3cbac7f8ff4d6d029 Mon Sep 17 00:00:00 2001 From: Laury GvR Date: Tue, 11 Dec 2018 09:01:07 -0500 Subject: [PATCH] City weather styles more presentable out of the box --- css/front.css | 33 ++++++++++++++++++++++++++++ views/front/members/cityWeather.html | 16 -------------- 2 files changed, 33 insertions(+), 16 deletions(-) diff --git a/css/front.css b/css/front.css index c6f7795e..b8b7d098 100644 --- a/css/front.css +++ b/css/front.css @@ -1253,3 +1253,36 @@ glm-member-detail-content-toggle { } /* Featured Grid End */ + +/* City Weather */ +.weatherBlock { + overflow: hidden; + width: 48%; + float: left; + background: #f5f5f5; + margin: 8px 1%; + padding: 6px; + border: 1px solid #CBCBAA; + border-radius: 8px; + -webkit-box-shadow: 0px 0px 5px rgba(0,0,0,0.3); + -moz-box-shadow: 0px 0px 5px rgba(0,0,0,0.3); + box-shadow: 0px 0px 5px rgba(0,0,0,0.3); +} + +.weatherBlock img { + max-width: 100%; + border: 10px solid #FFF; + -webkit-box-sizing: border-box; + -moz-box-sizing: border-box; + box-sizing: border-box; + -webkit-box-shadow: 0px 0px 5px rgba(0,0,0,0.4); + -moz-box-shadow: 0px 0px 5px rgba(0,0,0,0.4); + box-shadow: 0px 0px 5px rgba(0,0,0,0.4); + margin: 6px; + border-radius: 8px; +} +.weatherIn { + overflow: hidden; + background: url(assets/bg-form.jpg); +} +/* City Weather End */ diff --git a/views/front/members/cityWeather.html b/views/front/members/cityWeather.html index 1826d468..1dcdbc58 100644 --- a/views/front/members/cityWeather.html +++ b/views/front/members/cityWeather.html @@ -1,19 +1,3 @@ -