fontenay-sous-bois-2018: add home link to header (#27002)

This commit is contained in:
Frédéric Péters 2018-11-16 14:15:48 +01:00
parent 0df88f99a7
commit 4d90229f1c
4 changed files with 21 additions and 2 deletions

View File

@ -9,6 +9,9 @@ $dashboard_items: (profil, demandes, famille, paiements, porte-doc, abonnements)
div#header-wrapper {
background: $primary-color;
height: 80px;
#logo {
display: none;
}
#logo-ville {
position: absolute;
left: 4rem;
@ -20,8 +23,23 @@ div#header-wrapper {
overflow: hidden;
}
}
h1 {
text-indent: -10000px;
#home-link {
display: block;
font-size: 20px;
color: white;
position: absolute;
top: 0;
left: calc(50% - 114px);
text-align: center;
text-transform: uppercase;
font-weight: 600;
width: 228px;
height: 80px;
line-height: 80px;
background: url(img/fsb-top-hexa.png);
&:hover {
background: url(img/fsb-top-hexa-hover.png);
}
}
#toplinks {
box-shadow: none;

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

View File

@ -4,5 +4,6 @@
{% block header-pre %}
<div id="header-pre"><div>
<a id="logo-ville" href="{{website_url}}"><img width="369" height="78" src="{{ site_base }}{% static 'fontenay-sous-bois-2018/img/logo-fontenay.png' %}" alt="fontenay-sous-bois.fr"/></a>
<a id="home-link" href="{{portal_url}}">Mes démarches</a>
</div></div>
{% endblock %}