grenoble-metropole-2019: place toplinks before site content (#31930)
This commit is contained in:
parent
4dfa1a1bb6
commit
554bdeeba4
|
@ -99,20 +99,13 @@ img#hautDePage {
|
|||
display: none;
|
||||
z-index: 10;
|
||||
border: 0;
|
||||
top: 28vw;
|
||||
padding-top: 0.3ex;
|
||||
padding-top: 0;
|
||||
padding-left: 1em;
|
||||
box-shadow: none;
|
||||
border-radius: 0;
|
||||
@media screen and (max-width: $mobile-limit) {
|
||||
display: block;
|
||||
}
|
||||
@media screen and (max-width: 767px) {
|
||||
top: 24vw;
|
||||
}
|
||||
@media screen and (max-width: $very-small-screen) {
|
||||
top: 90px;
|
||||
}
|
||||
a {
|
||||
display: none;
|
||||
&.logout {
|
||||
|
|
|
@ -59,6 +59,7 @@ content = content.replace('</head>', '<title>{% block global_title %}{% endblock
|
|||
content = content.replace('<head>', '<head>{% block head %}{% endblock %}')
|
||||
|
||||
content = content.replace('<div id="content">', '''
|
||||
{% if include_top_links != False %}<div id="toplinks">{% block user-info %}{% endblock %}</div>{% endif %}
|
||||
{% block nav %}{% endblock %}
|
||||
{% block grenoble-content %}
|
||||
{% block messages %}
|
||||
|
@ -73,8 +74,4 @@ content = content.replace('</body>', '''
|
|||
</body>
|
||||
''')
|
||||
|
||||
content = content.replace('<div id="barreHaut">',
|
||||
'{% if include_top_links != False %}<div id="toplinks">{% block user-info %}{% endblock %}</div>{% endif %}<div id="barreHaut">'
|
||||
)
|
||||
|
||||
open('base-theme.html', 'w').write(content)
|
||||
|
|
Loading…
Reference in New Issue