From 7fb7497d54abf137104d6698dab4d7067b836cb4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hendrik=20Bl=C3=B6=C3=9F?= Date: Sun, 16 Jul 2017 12:37:26 +0200 Subject: [PATCH] Quick CSS fixes - fixed hero-area and navbar responsiveness --- css/main.css | 4 +++- css/responsive.css | 21 +++++++++++---------- 2 files changed, 14 insertions(+), 11 deletions(-) diff --git a/css/main.css b/css/main.css index bc9c6d59..ee42a684 100644 --- a/css/main.css +++ b/css/main.css @@ -309,7 +309,9 @@ a:hover { padding-top: 50px; padding-bottom: 25px; background-image: url(http://www.publicdomainpictures.net/pictures/220000/velka/rock-concert-1494235506Xle.jpg); - background-size: 115%; + background-size: cover; + background-position: center; + background-repeat: no-repeat; background-blend-mode: soft-light; } diff --git a/css/responsive.css b/css/responsive.css index 123dcabc..2bde8f74 100644 --- a/css/responsive.css +++ b/css/responsive.css @@ -1,18 +1,19 @@ @media (min-width: 768px) and (max-width: 1024px) { - -#hero-area .btn{margin-top: 15px;} - - .nav > li > a { + .nav>li>a { padding: 12px 8px; line-height: 21px; } - .social-links{padding-top: 15px;} } -@media (min-width: 320px) and (max-width: 480px) { - #hero-area .btn{margin-top: 15px;} - .navbar-default{background: rgba(0, 0, 0, 0.8);} - .social-links{padding-top: 15px;} - .row {padding: 40px 0px;} +@media (max-width: 480px) { + #hero-area .title { + font-size: 54pt; + } + #hero-area .btn { + margin-top: 15px; + } + .row { + padding: 40px 0px; + } }