Browse Source

styling changes to navbar

joel
Simon Bowie 2 years ago
parent
commit
7afe46fbf0
2 changed files with 14 additions and 3 deletions
  1. +13
    -0
      web/app/static/styles/custom.css
  2. +1
    -3
      web/app/templates/base.html

+ 13
- 0
web/app/static/styles/custom.css View File

@@ -63,6 +63,19 @@ h6 {
line-height: 1.2
}

.navbar {
position: relative;
display: -ms-flexbox;
display: flex;
-ms-flex-wrap: wrap;
flex-wrap: wrap;
-ms-flex-align: center;
align-items: center;
-ms-flex-pack: justify;
justify-content: space-between;
padding: 0.5rem 1rem;
}

h1,
.h1 {
font-size: 80px

+ 1
- 3
web/app/templates/base.html View File

@@ -33,13 +33,12 @@
<header>
<!-- Fixed navbar -->
<nav class="navbar navbar-expand-md navbar-light sticky-top">
<div class="container-fluid">
<a class="navbar-brand" href="{{ url_for('main.index')}}">ExPub Compendium</a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav">
<ul class="navbar-nav ms-auto">
<li class="nav-item">
<a href="{{ url_for('main.about') }}" class="nav-link">
About
@@ -100,7 +99,6 @@
{% endif %}
</ul>
</div>
</div>
</nav>
</header>


Loading…
Cancel
Save