Push hamburger menu to the right
This commit is contained in:
parent
58131bd4ad
commit
ef0a26397f
|
@ -21,12 +21,17 @@ nav {
|
||||||
margin-top: 0.5em;
|
margin-top: 0.5em;
|
||||||
color: #d77070;
|
color: #d77070;
|
||||||
}
|
}
|
||||||
|
.navbar-toggler {
|
||||||
|
margin-left: auto;
|
||||||
|
}
|
||||||
@media only screen and (max-width : 992px) {
|
@media only screen and (max-width : 992px) {
|
||||||
.nav-sep { display: none; }
|
.nav-sep { display: none; }
|
||||||
.navbar-brand img { max-width: 5em; }
|
.navbar-brand img { max-width: 5em; }
|
||||||
.hometitle { font-size: 280%; }
|
.hometitle { font-size: 280%; }
|
||||||
}
|
}
|
||||||
|
@media only screen and (max-width : 500px) {
|
||||||
|
.logo-container img { width: 70px; }
|
||||||
|
}
|
||||||
.alert-danger { background-color: #FFD79C; }
|
.alert-danger { background-color: #FFD79C; }
|
||||||
.main-text { max-width: 100vw; }
|
.main-text { max-width: 100vw; }
|
||||||
.red-bottom { border-bottom: 1px solid red; }
|
.red-bottom { border-bottom: 1px solid red; }
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -106,6 +106,7 @@ USE_TZ = True
|
||||||
# https://docs.djangoproject.com/en/5.2/howto/static-files/
|
# https://docs.djangoproject.com/en/5.2/howto/static-files/
|
||||||
|
|
||||||
STATIC_URL = "static/"
|
STATIC_URL = "static/"
|
||||||
|
STATIC_ROOT = BASE_DIR / "static"
|
||||||
|
|
||||||
# Default primary key field type
|
# Default primary key field type
|
||||||
# https://docs.djangoproject.com/en/5.2/ref/settings/#default-auto-field
|
# https://docs.djangoproject.com/en/5.2/ref/settings/#default-auto-field
|
||||||
|
|
|
@ -12,14 +12,14 @@
|
||||||
{% 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 navbar-expand-lg 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"><a href="/">
|
<div class="navbar-brand d-flex align-items-center w-100">
|
||||||
<img src="{% static 'img/abeille.png' %}"></a>
|
<div class="logo-container"><a href="/"><img src="{% static 'img/abeille.png' %}"></a></div>
|
||||||
<div class="harlow">Gospel de l’Abeille<br>The Bee's Gospel Singers</div>
|
<div class="harlow">Gospel de l’Abeille<br>The Bee's Gospel Singers</div>
|
||||||
</div>
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarColor01"
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarColor01"
|
||||||
aria-controls="navbarColor01" aria-expanded="false" aria-label="Toggle navigation">
|
aria-controls="navbarColor01" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
<span class="navbar-toggler-icon"></span>
|
<span class="navbar-toggler-icon"></span>
|
||||||
</button>
|
</button>
|
||||||
|
</div>
|
||||||
<div class="collapse navbar-collapse" id="navbarColor01">
|
<div class="collapse navbar-collapse" id="navbarColor01">
|
||||||
<ul class="navbar-nav me-auto mb-2 mb-lg-0">
|
<ul class="navbar-nav me-auto mb-2 mb-lg-0">
|
||||||
<li class="nav-item"><a class="nav-link{% if request.path == "/presentation/"%} active{% endif %}" aria-current="page" href="{% url 'presentation' %}">Présentation</a></li>
|
<li class="nav-item"><a class="nav-link{% if request.path == "/presentation/"%} active{% endif %}" aria-current="page" href="{% url 'presentation' %}">Présentation</a></li>
|
||||||
|
|
Loading…
Reference in a new issue