Compare commits

...

5 Commits

3 changed files with 9 additions and 11 deletions

View File

@ -1,3 +1,3 @@
<footer class="footer" id="footer"> <footer class="footer fixed-bottom" id="footer">
<p>${copyright}</p> <p>${copyright}</p>
</footer> </footer>

View File

@ -1,5 +1,5 @@
<!-- Navbar --> <!-- Navbar -->
<nav class="navbar navbar-expand-lg navbar-dark bg-dark"> <nav class="navbar navbar-expand-lg navbar-dark bg-dark fixed-top">
<div class="container-fluid"> <div class="container-fluid">
<a class="navbar-brand" href="#">${title}</a> <a class="navbar-brand" href="#">${title}</a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation"> <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">

View File

@ -1,5 +1,6 @@
body { body {
min-height: 100vh; min-height: 100vh;
padding-top: 56px;
} }
.navbar { .navbar {
@ -25,7 +26,7 @@ body {
.content { .content {
margin-left: 250px; margin-left: 250px;
padding: 20px; padding-bottom: 20px;
transition: margin-left 0.3s ease-in-out; transition: margin-left 0.3s ease-in-out;
} }
@ -34,24 +35,21 @@ body {
} }
.footer { .footer {
position: fixed;
bottom: 0;
width: calc(100% - 250px);
margin-left: 250px;
background-color: #f8f9fa; background-color: #f8f9fa;
padding: 10px; padding-top: 5px;
text-align: center; text-align: center;
margin-left: 250px;
transition: margin-left 0.3s ease-in-out; transition: margin-left 0.3s ease-in-out;
z-index: 1010;
} }
.footer.full-width { .footer.full-width {
width: 100%;
margin-left: 0; margin-left: 0;
} }
.profile-image { .profile-image {
width: 30px; width: 20px;
height: 30px; height: 20px;
border-radius: 50%; border-radius: 50%;
object-fit: cover; object-fit: cover;
} }