Skip to content

Commit 74cd173

Browse files
Add footer
1 parent 6d9271c commit 74cd173

1 file changed

Lines changed: 34 additions & 1 deletion

File tree

templates/base.html

Lines changed: 34 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,37 @@
1919
a { color:#6f42c1; }
2020
a:hover { color:#5a34a1; }
2121
.card { box-shadow: 0 2px 4px rgba(0,0,0,0.05); }
22-
body { background:#f5f5fa; }
2322
main { padding: 1rem 1rem 3rem; }
2423
@media (max-width: 576px){ main { padding-top: .75rem; } }
24+
.footer-bar {
25+
position: fixed;
26+
bottom: 0;
27+
left: 0;
28+
right: 0;
29+
background: #6f42c1;
30+
padding: 8px 0;
31+
text-align: center;
32+
z-index: 1000;
33+
box-shadow: 0 -2px 4px rgba(0,0,0,0.1);
34+
}
35+
.footer-bar p {
36+
margin: 0;
37+
color: white;
38+
font-size: 0.9rem;
39+
}
40+
.footer-bar a {
41+
color: white;
42+
text-decoration: none;
43+
font-weight: 600;
44+
}
45+
.footer-bar a:hover {
46+
color: #e9ecef;
47+
text-decoration: underline;
48+
}
49+
body {
50+
background:#f5f5fa;
51+
padding-bottom: 50px;
52+
}
2553
</style>
2654
</head>
2755
<body>
@@ -62,6 +90,11 @@
6290
<h1 class="h4 mb-3">{% block page_title %}Dashboard{% endblock %}</h1>
6391
{% block content %}{% endblock %}
6492
</main>
93+
94+
<!-- Footer -->
95+
<div class="footer-bar">
96+
<p>Made by <a href="https://github.com/GitTimeraider" target="_blank" rel="noopener noreferrer">GitTimeraider</a></p>
97+
</div>
6598

6699
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.bundle.min.js"></script>
67100
{% block scripts %}{% endblock %}

0 commit comments

Comments
 (0)