Changed footer

This commit is contained in:
aethrvmn 2024-11-05 23:13:46 +01:00
parent 0eb47d8a14
commit 3d94ce3ab7
2 changed files with 19 additions and 26 deletions

View file

@ -12,8 +12,6 @@
.info-container {
display: flex;
justify-content: space-between;
align-items: flex-start;
background-color: var(--gray-100);
width: 100%;
min-width: 30rem;
@ -22,25 +20,24 @@
right: 0;
}
.left-section {
flex-direction: column;
.disclaimer, .commit-info {
background-color: var(--gray-500);
font-size: 0.8rem;
padding: 1rem;
margin: 1rem;
box-sizing: border-box; /* Ensures padding is included in the width */
flex: 1;
}
.commit-info {
float: right;
text-align: right;
flex: 1;
margin-left: 1rem;
}
.disclaimer, .theme, .commit-info {
background-color: var(--gray-500);
padding: 0.9rem;
margin: 0.8rem;
}
.disclaimer, .theme {
.disclaimer {
float: left;
font-size: 0.9rem;
margin: 1rem;
}

View file

@ -1,18 +1,15 @@
<div class="flex flex-wrap justify-between">
<div class="info-container">
<div class="left-section">
<div class="disclaimer">
<span>docs partially generated using gen ai</span>
</div>
<div class="theme">
<span>
site theme based on <a href="https://github.com/alex-shpak/hugo-book" target="_blank">hugo-book</a>
</span>
</div>
<div class="disclaimer">
<span>docs partially generated using gen ai</span>
<br/>
<span>if you want to contribute check</span>
<br/>
<span>the source code</span>
<br/>
<span><a href="https://git.apotheke.earth/Lyceum/lyceum-site">here</a>
</div>
<div class="commit-info">
<span>Page last edited on {{ .GitInfo.CommitDate.Format "02/01/2006" }}</span>
<br/>
@ -29,9 +26,8 @@
</span>
<br/>
<span>
&lt;{{ .GitInfo.AuthorEmail }}&gt;
<{{ .GitInfo.AuthorEmail }}>
</div>
</div>
{{ $script := resources.Get "clipboard.js" | resources.Minify }}