fix: Center-aligns logo in navbar
Sets the logo container to use a flexbox for vertical and horizontal centering in the navbar. Adjusts template and CSS to streamline logo presentation and improve aesthetic consistency.
This commit is contained in:
parent
e7f432dfce
commit
ca9c770c38
2 changed files with 8 additions and 2 deletions
|
@ -233,6 +233,11 @@ h5 {
|
||||||
.slogan {
|
.slogan {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#logo-wrapper {
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -29,7 +29,8 @@
|
||||||
content="https://private.coffee/assets/img/logo-inv_grad.png" />
|
content="https://private.coffee/assets/img/logo-inv_grad.png" />
|
||||||
<link rel="icon" type="image/png" href="assets/img/logo-inv_grad.png" />
|
<link rel="icon" type="image/png" href="assets/img/logo-inv_grad.png" />
|
||||||
<title>
|
<title>
|
||||||
{% block title %}{% endblock title %}
|
{% block title %}
|
||||||
|
{% endblock title %}
|
||||||
- Private.coffee</title>
|
- Private.coffee</title>
|
||||||
<link rel="stylesheet" href="assets/dist/css/bootstrap.min.css" />
|
<link rel="stylesheet" href="assets/dist/css/bootstrap.min.css" />
|
||||||
<link rel="stylesheet" href="assets/css/base.css?v={{ timestamp }}" />
|
<link rel="stylesheet" href="assets/css/base.css?v={{ timestamp }}" />
|
||||||
|
@ -40,7 +41,7 @@
|
||||||
<nav class="navbar navbar-expand-md py-3 navbar-light" id="mainNav">
|
<nav class="navbar navbar-expand-md py-3 navbar-light" id="mainNav">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<div class="row d-lg-flex align-items-lg-center">
|
<div class="row d-lg-flex align-items-lg-center">
|
||||||
<div class="col p-0">
|
<div class="col p-0" id="logo-wrapper">
|
||||||
<a href="/">
|
<a href="/">
|
||||||
<div id="smallLogoContainer"></div>
|
<div id="smallLogoContainer"></div>
|
||||||
</a>
|
</a>
|
||||||
|
|
Loading…
Reference in a new issue