From 179524cd1e5c5c936ce6fb852dbfaae5cf6646c0 Mon Sep 17 00:00:00 2001 From: Kazhnuz Date: Wed, 24 Oct 2018 10:40:33 +0200 Subject: [PATCH] scss/global: refactor header style --- css/style.css | 34 ++++++++++++---------------------- scss/_global.scss | 37 +++++++++++++------------------------ 2 files changed, 25 insertions(+), 46 deletions(-) diff --git a/css/style.css b/css/style.css index 7474441..35246ad 100644 --- a/css/style.css +++ b/css/style.css @@ -556,28 +556,18 @@ body { header { background: #EEE url("../img/background.png"); margin-bottom: 30px; } - -header h1 { - border-style: none !important; - color: #FFF; - font-weight: 700; - font-size: 5.4em; - font-style: oblique; - text-shadow: 0px 2px 12px rgba(0, 0, 0, 0); - padding-bottom: 0px; - margin: auto; - text-align: center; - line-height: 1.5em; } - -header h1 { - padding: 2.33333em; - line-height: 1em; - font-size: 1em; - margin: auto; - text-align: center; } - header h1 img { - max-width: 100%; - height: auto; } + header h1 { + border-style: none !important; + font-weight: 700; + font-size: 1em; + line-height: 1em; + padding-bottom: 0px; + padding: 2.33333em; + margin: auto; + text-align: center; } + header h1 img { + max-width: 100%; + height: auto; } .navbar { box-shadow: 0px 2px 10px rgba(0, 0, 0, 0); diff --git a/scss/_global.scss b/scss/_global.scss index 997f0a8..29bd6b8 100644 --- a/scss/_global.scss +++ b/scss/_global.scss @@ -28,30 +28,19 @@ body { header { background: #EEE url('../img/background.png'); margin-bottom:30px; -} - -header h1 { - border-style:none !important; - color:#FFF; - font-weight:700; - font-size:5.4em; - font-style:oblique; - text-shadow: 0px 2px 12px rgba(0, 0, 0, 0); - padding-bottom:0px; - margin:auto; - text-align:center; - line-height: 1.5em; -} - -header h1 { - padding:2.33333em; - line-height:1em; - font-size:1em; - margin:auto; - text-align:center; - img { - max-width: 100%; - height: auto; + h1 { + border-style:none !important; + font-weight:700; + font-size:1em; + line-height:1em; + padding-bottom:0px; + padding:2.33333em; + margin:auto; + text-align:center; + img { + max-width: 100%; + height: auto; + } } }