From b83f4e3ce27ceccb4e14d661b9f93a4769db49f7 Mon Sep 17 00:00:00 2001 From: Bobby Wibowo Date: Fri, 13 Apr 2018 23:30:41 +0700 Subject: [PATCH] Updated home.css Fixed wrong border-radius for logo. --- pages/home.html | 2 +- public/css/home.css | 20 ++++++++------------ views/nojs.handlebars | 2 +- 3 files changed, 10 insertions(+), 14 deletions(-) diff --git a/pages/home.html b/pages/home.html index b1f2d31..eb6bf02 100644 --- a/pages/home.html +++ b/pages/home.html @@ -13,7 +13,7 @@ - + diff --git a/public/css/home.css b/public/css/home.css index db7e4f4..8c329c5 100644 --- a/public/css/home.css +++ b/public/css/home.css @@ -2,6 +2,10 @@ width: 200px; height: 200px; border-radius: 100%; + display: inline-block; + margin-bottom: 40px; + position: relative; + vertical-align: top; -webkit-animation-delay: 0.5s; animation-delay: 0.5s; -webkit-animation-duration: 1.5s; @@ -12,17 +16,14 @@ animation-name: floatUp; -webkit-animation-timing-function: cubic-bezier(0, 0.71, 0.29, 1); animation-timing-function: cubic-bezier(0, 0.71, 0.29, 1); - border-radius: 24px; - display: inline-block; - height: 240px; - margin-bottom: 40px; - position: relative; - vertical-align: top; - width: 240px; -webkit-box-shadow: 0 20px 60px rgba(10, 10, 10, 0.05), 0 5px 10px rgba(10, 10, 10, 0.1), 0 1px 1px rgba(10, 10, 10, 0.2); box-shadow: 0 20px 60px rgba(10, 10, 10, 0.05), 0 5px 10px rgba(10, 10, 10, 0.1), 0 1px 1px rgba(10, 10, 10, 0.2); } +#b img.logo { + max-height: 200px; +} + #dropzone { border: 1px solid #dbdbdb; background-color: rgba(0, 0, 0, 0); @@ -66,11 +67,6 @@ font-size: 1rem; } -img.logo { - max-height: 200px; - margin-top: 20px; -} - .dz-preview .dz-details { display: -webkit-box; display: -ms-flexbox; diff --git a/views/nojs.handlebars b/views/nojs.handlebars index 51a6940..8665cf6 100644 --- a/views/nojs.handlebars +++ b/views/nojs.handlebars @@ -13,7 +13,7 @@ - +