feat: Rework footer to be simpler

This commit is contained in:
Thomas A. Christensen II 2024-11-29 20:04:37 -07:00
parent 963565042a
commit 724e9edff4
Signed by: millironx
GPG key ID: B7044A3432851F64
2 changed files with 25 additions and 53 deletions

View file

@ -121,6 +121,16 @@ blockquote small {
font-size: 80%; font-size: 80%;
} }
footer {
background-color: light-dark(lightgray, dimgray);
margin: 0 0 -1em -1em;
width: calc(100% - 1em);
padding: 0.25em 1.25em;
display: flex;
justify-content: space-between;
align-items: center;
}
/* /*
Container-type helper classes Container-type helper classes
*/ */

View file

@ -31,57 +31,21 @@
{{ end }} {{ end }}
</main> </main>
</div> </div>
<footer class="fixed-bottom"> <footer>
<div class="container-fluid footer-contents"> {{ $brandedbull := resources.Get "graphics/brandedbull.svg" }}
<div class="row justify-content-between"> {{ $brandedbullsmall := $brandedbull | resources.Minify }}
<div class="col-3 align-self-center"> <img src="{{ $brandedbullsmall.RelPermalink }}" height="95rem" />
{{ $brandedbull := resources.Get "graphics/brandedbull.svg" }}
{{ $brandedbullsmall := $brandedbull | resources.Minify }} <p>
<img src="{{ $brandedbullsmall.RelPermalink }}" height="95rem" /> &copy; {{ .Date | time.Format "2006" }} Thomas A. Christensen II
</div> <br />
<div class="col-3 align-self-center"> Licensed
<div <a rel="license" href="http://creativecommons.org/licenses/by/4.0/"
class="btn-group float-end" >CC-BY 4.0</a
role="group" >
aria-label="Other Milliron X sites" <br />
> Built with <a href="https://gohugo.io">Hugo</a> v{{ hugo.Version }}
<a </p>
class="btn btn-outline-primary btn-sm"
href="https://video.millironx.com/"
data-bs-toggle="tooltip"
title="Video (Peertube)"
>
<i class="fax fa-peertube fa-fw"></i>
</a>
<a
class="btn btn-outline-primary btn-sm"
href="https://code.millironx.com/"
data-bs-toggle="tooltip"
title="Code (Gitea)"
>
<i class="fax fa-gitea fa-fw"></i>
</a>
<a
class="btn btn-outline-primary btn-sm"
href="https://nextcloud.millironx.com/"
data-bs-toggle="tooltip"
title="Files (Nextcloud)"
>
<i class="fax fa-nextcloud fa-fw"></i>
</a>
<button
type="button"
class="btn btn-outline-primary btn-sm"
data-bs-toggle="modal"
data-bs-target="#extras-modal"
title="Extras"
>
<i class="fad fa-cowbell fa-fw"></i>
</button>
</div>
</div>
</div>
</div>
</footer> </footer>
<!-- Font Awesome --> <!-- Font Awesome -->
@ -100,7 +64,5 @@
async async
src="//gc.zgo.at/count.js" src="//gc.zgo.at/count.js"
></script> ></script>
{{ partial "extras-modal" . }}
</body> </body>
</html> </html>