Affichage menu hamburger sur accueil
This commit is contained in:
parent
10d84fcf27
commit
7f68b88fd9
|
@ -8,7 +8,14 @@ body {
|
|||
background: #333;
|
||||
overflow-x: hidden;
|
||||
}
|
||||
body.home { background: black; }
|
||||
body.home .navbar .logo-container, body.home .navbar .harlow {
|
||||
display: none;
|
||||
}
|
||||
body.home .navbar-brand {
|
||||
width: 100%;
|
||||
}
|
||||
body.home .nav-sep { display: none; }
|
||||
|
||||
a {
|
||||
color: #ffab82;
|
||||
}
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
</head>
|
||||
<body class="{% block bodyclass %}{% endblock %}">
|
||||
{% block header %}
|
||||
<nav class="navbar navbar-expand-lg bg-dark border-bottom border-body sticky-top" data-bs-theme="dark">
|
||||
<nav class="navbar {% block navbar-expand %}navbar-expand-lg{% endblock %} bg-dark border-bottom border-body sticky-top" data-bs-theme="dark">
|
||||
<div class="container-fluid">
|
||||
<div class="navbar-brand d-flex align-items-center">
|
||||
<div class="logo-container"><a href="/"><img id="abeille" src="{% static 'img/abeille.webp' %}"></a></div>
|
||||
|
|
|
@ -1,6 +1,9 @@
|
|||
{% extends "base.html" %}
|
||||
|
||||
{% block header %}{% endblock %}
|
||||
{% block bodyclass %}home{% endblock %}
|
||||
|
||||
{% block navbar-expand %}{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<div class="homediv">
|
||||
<div class="hometitle text-center">
|
||||
|
|
Loading…
Reference in a new issue