Affichage menu hamburger sur accueil
This commit is contained in:
		
							parent
							
								
									10d84fcf27
								
							
						
					
					
						commit
						7f68b88fd9
					
				
					 3 changed files with 13 additions and 3 deletions
				
			
		| 
						 | 
					@ -8,7 +8,14 @@ body {
 | 
				
			||||||
  background: #333;
 | 
					  background: #333;
 | 
				
			||||||
  overflow-x: hidden;
 | 
					  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 {
 | 
					a {
 | 
				
			||||||
  color: #ffab82;
 | 
					  color: #ffab82;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -10,7 +10,7 @@
 | 
				
			||||||
</head>
 | 
					</head>
 | 
				
			||||||
<body class="{% block bodyclass %}{% endblock %}">
 | 
					<body class="{% block bodyclass %}{% endblock %}">
 | 
				
			||||||
    {% block header %}
 | 
					    {% 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="container-fluid">
 | 
				
			||||||
            <div class="navbar-brand d-flex align-items-center">
 | 
					            <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>
 | 
					                <div class="logo-container"><a href="/"><img id="abeille" src="{% static 'img/abeille.webp' %}"></a></div>
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,6 +1,9 @@
 | 
				
			||||||
{% extends "base.html" %}
 | 
					{% extends "base.html" %}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
{% block header %}{% endblock %}
 | 
					{% block bodyclass %}home{% endblock %}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					{% block navbar-expand %}{% endblock %}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
{% block content %}
 | 
					{% block content %}
 | 
				
			||||||
    <div class="homediv">
 | 
					    <div class="homediv">
 | 
				
			||||||
      <div class="hometitle text-center">
 | 
					      <div class="hometitle text-center">
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue