fix: Center-aligns logo in navbar
All checks were successful
Build and Deploy Static Site (Pride Theme) / build (push) Successful in 1m37s
Build and Deploy Static Site / build (push) Successful in 1m37s

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:
Kumi 2024-11-19 21:26:21 +01:00
parent e7f432dfce
commit ca9c770c38
Signed by: kumi
GPG key ID: ECBCC9082395383F
2 changed files with 8 additions and 2 deletions

View file

@ -233,6 +233,11 @@ h5 {
.slogan { .slogan {
display: none; display: none;
} }
#logo-wrapper {
display: flex;
justify-content: center;
}
} }
} }

View file

@ -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>