Skip to content

Commit

Permalink
Footer fixed on the bottom always
Browse files Browse the repository at this point in the history
  • Loading branch information
abinjustinkumaravel committed Oct 3, 2024
1 parent 6d26139 commit 7c3f5e8
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 5 deletions.
2 changes: 1 addition & 1 deletion assets/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ header {
}

footer {
border-top: 1px solid theme('colors.black');
/* border-top: 1px solid theme('colors.black'); */
}

a {
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion layouts/_default/baseof.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!DOCTYPE html>
<html lang="{{ or site.Language.LanguageCode }}" dir="{{ or site.Language.LanguageDirection `ltr` }}">
<html lang="{{ or site.LanguageCode }}" dir="{{ or site.Language.LanguageDirection `ltr` }}">
<head>
{{ partial "head.html" . }}
</head>
Expand Down
2 changes: 1 addition & 1 deletion layouts/partials/footer.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div class="bg-black text-base text-white-dark text-center py-8">
<div class="bg-black text-base text-white-dark text-center py-8 w-screen fixed bottom-0 z-10">
<div class="container">
<p>Copyright © Hiero a Series of LF Projects, LLC | For web site terms of use, trademark policy and other project policies please see <a href="https://lfprojects.org" target="_blank" rel="noreferrer noopener" class="text-white-dark">https://lfprojects.org</a>.</p>
</div>
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 13 additions & 1 deletion static/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -605,6 +605,10 @@ video {
right: 0px;
}

.bottom-0 {
bottom: 0px;
}

.left-0 {
left: 0px;
}
Expand Down Expand Up @@ -650,6 +654,10 @@ video {
margin-bottom: 2.5rem;
}

.mb-2 {
margin-bottom: 0.5rem;
}

.mb-2\.5 {
margin-bottom: 0.625rem;
}
Expand Down Expand Up @@ -794,6 +802,10 @@ video {
width: 100%;
}

.w-screen {
width: 100vw;
}

.max-w-\[390px\] {
max-width: 390px;
}
Expand Down Expand Up @@ -1225,7 +1237,7 @@ header {
}

footer {
border-top: 1px solid #1E1E1E;
/* border-top: 1px solid theme('colors.black'); */
}

a {
Expand Down

0 comments on commit 7c3f5e8

Please sign in to comment.