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 { .info-container {
display: flex; display: flex;
justify-content: space-between;
align-items: flex-start;
background-color: var(--gray-100); background-color: var(--gray-100);
width: 100%; width: 100%;
min-width: 30rem; min-width: 30rem;
@ -22,25 +20,24 @@
right: 0; right: 0;
} }
.left-section { .disclaimer, .commit-info {
flex-direction: column; 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; flex: 1;
} }
.commit-info { .commit-info {
float: right;
text-align: right; text-align: right;
flex: 1;
margin-left: 1rem;
} }
.disclaimer, .theme, .commit-info { .disclaimer {
background-color: var(--gray-500); float: left;
padding: 0.9rem;
margin: 0.8rem;
}
.disclaimer, .theme {
font-size: 0.9rem; font-size: 0.9rem;
margin: 1rem;
} }

View file

@ -1,18 +1,15 @@
<div class="flex flex-wrap justify-between"> <div class="flex flex-wrap justify-between">
<div class="info-container"> <div class="info-container">
<div class="left-section">
<div class="disclaimer"> <div class="disclaimer">
<span>docs partially generated using gen ai</span> <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>
<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>
<div class="commit-info"> <div class="commit-info">
<span>Page last edited on {{ .GitInfo.CommitDate.Format "02/01/2006" }}</span> <span>Page last edited on {{ .GitInfo.CommitDate.Format "02/01/2006" }}</span>
<br/> <br/>
@ -29,9 +26,8 @@
</span> </span>
<br/> <br/>
<span> <span>
&lt;{{ .GitInfo.AuthorEmail }}&gt; <{{ .GitInfo.AuthorEmail }}>
</div> </div>
</div> </div>
{{ $script := resources.Get "clipboard.js" | resources.Minify }} {{ $script := resources.Get "clipboard.js" | resources.Minify }}