0001-vincennes-split-header-top-add-a-specific-logo-linke.patch
static/vincennes-2018/_custom.scss | ||
---|---|---|
1 | 1 |
@import '../includes/font-opensans'; |
2 | 2 | |
3 | 3 |
#header #top #logo { |
4 |
padding-top: 10px;
|
|
4 |
padding-top: 20px;
|
|
5 | 5 |
padding-bottom: 10px; |
6 |
a { |
|
7 |
display: block; |
|
8 |
background: url(img/logo_rouge_et_bleu.png) bottom right no-repeat; |
|
9 |
background-size: 300px; |
|
10 |
padding-top: 60px; |
|
6 |
display: block; |
|
7 |
a:first-child { |
|
11 | 8 |
color: $primary-color; |
12 | 9 |
text-transform: uppercase; |
13 | 10 |
font-weight: normal; |
14 | 11 |
font-size: 3rem; |
15 | 12 |
} |
13 |
a#link-to-city-site { |
|
14 |
padding-top: 40px; |
|
15 |
float: right; |
|
16 |
background: url(img/logo_rouge_et_bleu.png) bottom right no-repeat; |
|
17 |
width: 250px; |
|
18 |
text-indent: -5000px; |
|
19 |
} |
|
16 | 20 |
} |
17 | 21 | |
18 | 22 |
@media screen and (max-width: $mobile-limit) { |
19 | 23 |
#header #top #logo { |
20 | 24 |
padding-left: 0; |
21 |
a { |
|
22 |
white-space: pre; |
|
23 |
padding-bottom: 50px; |
|
25 |
a#link-to-city-site { |
|
26 |
padding-top: 20px; |
|
24 | 27 |
} |
25 | 28 |
} |
26 | 29 |
} |
templates/variants/vincennes-2018/theme.html | ||
---|---|---|
1 |
{% extends '../../theme.html' %} |
|
2 | ||
3 |
{% block header-title %} |
|
4 |
<h1 id="logo"><a accesskey="1" href="{% firstof logo_link_url portal_url '/' %}">{% firstof global_title site_title "Compte Citoyen" %}</a><a id="link-to-city-site" href="https://www.vincennes.fr/">vincennes.fr</a></h1> |
|
5 |
{% endblock %} |
|
0 |
- |