diff --git a/core/themes/bartik/css/components/header.css b/core/themes/bartik/css/components/header.css index 20ebced..1b938b1 100644 --- a/core/themes/bartik/css/components/header.css +++ b/core/themes/bartik/css/components/header.css @@ -7,29 +7,22 @@ } .region-header { padding: 0 15px; + margin-top: 0.357em; } .region-header .site-branding { margin-top: 0.429em; } -.region-header .site-branding:only-child { - margin-bottom: 2.714em; -} -@media all and (min-width: 461px) { - .region-header .site-branding:only-child { - margin-bottom: 1.857em; - } -} @media all and (min-width: 461px) { .region-header .block { float: right; /* LTR */ - margin-top: 0.714em; + margin-top: 0.357em; } [dir="rtl"] .region-header .block { float: left; } .region-header .site-branding { float: left; /* LTR */ - margin-bottom: 1.857em; + /* margin-bottom: 1.857em;*/ } [dir="rtl"] .region-header .site-branding { float: right; diff --git a/core/themes/bartik/css/components/site-branding.css b/core/themes/bartik/css/components/site-branding.css index dd5e993..faf8f7b 100644 --- a/core/themes/bartik/css/components/site-branding.css +++ b/core/themes/bartik/css/components/site-branding.css @@ -5,21 +5,25 @@ .site-branding__logo { display: inline-block; - margin-right: 0.857em; /* LTR */ + margin-right: 1em; /* LTR */ margin-bottom: 0.286em; } [dir="rtl"] .site-branding__logo { margin-right: 0; - margin-left: 0.857em; + margin-left: 1em; } .site-branding__text { display: inline-block; vertical-align: top; } +@media all and (min-width: 461px) { + .site-branding__text { + margin-bottom: 1.857em; + } +} @media all and (min-width: 901px) { .site-branding__text { - vertical-align: bottom; - padding-bottom: 0.286em; + padding: 1.286em 0 0; } } .site-branding__name {