Skip to content

Commit c3aa175

Browse files
committed
fix header align & style fixes
1 parent bbda13e commit c3aa175

File tree

2 files changed

+17
-10
lines changed

2 files changed

+17
-10
lines changed

assets/static/style.css

+3-3
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@ body {
55
.page-content {
66
position: relative;
77
min-height: 100vh;
8+
padding-bottom: 3rem;
89
}
910

10-
.content-wrap {
11-
padding-bottom: 7rem; /* Footer height */
11+
.main-header .navbar-brand {
12+
margin-right: 2rem;
1213
}
1314

1415
.footer {
15-
position: absolute;
1616
bottom: 0;
1717
height: 7rem; /* Footer height */
1818
}

templates/layout.html

+14-7
Original file line numberDiff line numberDiff line change
@@ -61,13 +61,20 @@ <h2 class="pb-2"><strong>{% block header %}{{ this.title }}{% endblock %}</stron
6161
</div>
6262
</div>
6363
</div>
64-
<div class="row justify-content-md-center">
65-
<div class="col-12 footer bg-dark text-light py-4 px-3">
66-
<small>
67-
<p><a rel="license" href="http://creativecommons.org/licenses/by/4.0/"><img alt="Creative Commons License" style="border-width:0" src="https://i.creativecommons.org/l/by/4.0/88x31.png" /></a></p>
68-
<p class="text-muted">All the content on this website is licensed under a <strong><a rel="license" href="http://creativecommons.org/licenses/by/4.0/">Creative Commons Attribution 4.0 International License</a></strong> unless otherwise specified.</p>
69-
</small>
64+
</div>
65+
<footer class="main-footer bg-dark">
66+
<div class="container-fluid">
67+
<div class="row justify-content-md-center">
68+
<div class="col-9 footer text-light py-4 px-3">
69+
<small>
70+
<p><a rel="license" href="http://creativecommons.org/licenses/by/4.0/"><img alt="Creative Commons License"
71+
style="border-width:0" src="https://i.creativecommons.org/l/by/4.0/88x31.png" /></a></p>
72+
<p class="text-muted">All the content on this website is licensed under a <strong><a rel="license"
73+
href="http://creativecommons.org/licenses/by/4.0/">Creative Commons Attribution 4.0 International
74+
License</a></strong> unless otherwise specified.</p>
75+
</small>
76+
</div>
7077
</div>
7178
</div>
72-
</div>
79+
</footer>
7380
</body>

0 commit comments

Comments
 (0)