Fix top background
This commit is contained in:
parent
d75afa6305
commit
9b3026c485
2 changed files with 12 additions and 6 deletions
|
@ -34,8 +34,6 @@ body {
|
||||||
min-width: 700px;
|
min-width: 700px;
|
||||||
max-width: 1920px;
|
max-width: 1920px;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
background-size: 100%;
|
|
||||||
background: url(../images/header-image.png) center 0 no-repeat;
|
|
||||||
height: 200px;
|
height: 200px;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
@ -508,10 +506,17 @@ hr.formDivider {
|
||||||
/* HEADER ------> */
|
/* HEADER ------> */
|
||||||
#branding {
|
#branding {
|
||||||
position: relative;
|
position: relative;
|
||||||
width: 80%;
|
width: 100%;
|
||||||
height: 200px;
|
height: 200px;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
padding: 0px 0px 0px 0px;
|
padding: 0px 0px 0px 0px;
|
||||||
|
background-size: 100%;
|
||||||
|
background-image: url(../images/header-image.png);
|
||||||
|
background-position: center;
|
||||||
|
background-repeat: no-repeat;
|
||||||
|
}
|
||||||
|
#topArea{
|
||||||
|
width: 90%;
|
||||||
}
|
}
|
||||||
/* BRANDING ------> */
|
/* BRANDING ------> */
|
||||||
h1.vivo-logo {
|
h1.vivo-logo {
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
<#-- $This file is distributed under the terms of the license in LICENSE$ -->
|
<#-- $This file is distributed under the terms of the license in LICENSE$ -->
|
||||||
|
|
||||||
<header id="branding" role="banner">
|
<header id="branding" role="banner">
|
||||||
|
<div id="topArea">
|
||||||
<h1 class="vivo-logo"><a title="${i18n().identity_title}" href="${urls.home}"><span class="displace">${siteName}</span></a></h1>
|
<h1 class="vivo-logo"><a title="${i18n().identity_title}" href="${urls.home}"><span class="displace">${siteName}</span></a></h1>
|
||||||
<#-- Since we are using a graphic text for the tagline, we won't render ${siteTagline}
|
<#-- Since we are using a graphic text for the tagline, we won't render ${siteTagline}
|
||||||
<#if siteTagline?has_content>
|
<#if siteTagline?has_content>
|
||||||
|
@ -50,4 +50,5 @@
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
</nav>
|
</nav>
|
||||||
|
</div>
|
||||||
</header>
|
</header>
|
Loading…
Add table
Reference in a new issue