Add new footer to pages.

This commit is contained in:
Darren 'Tadgy' Austin 2024-08-14 20:46:11 +01:00
commit b38dd07762
5 changed files with 69 additions and 8 deletions

View file

@ -90,8 +90,9 @@ img {
#copyright { #copyright {
font-size: 10px; align-self: center;
text-align: center; margin-left: 0;
margin-right: auto;
} }
#donatebuttons { #donatebuttons {
@ -102,6 +103,14 @@ img {
margin-top: 20px; margin-top: 20px;
} }
#footer {
display: grid;
column-gap: 50px;
font-size: 12px;
grid-template-columns: auto auto;
margin-top: 10px;
}
#headingbox { #headingbox {
margin-left: auto; margin-left: auto;
margin-right: auto; margin-right: auto;
@ -126,12 +135,29 @@ img {
margin-bottom: 30px; margin-bottom: 30px;
} }
#logo img {
width: 100%;
}
#page { #page {
margin-left: auto; margin-left: auto;
margin-right: auto; margin-right: auto;
width: 90%; width: 90%;
} }
#poweredby {
align-items: center;
display: flex;
margin-left: auto;
margin-right: 0;
text-align: right;
}
#poweredby img {
margin-left: 5px;
margin-right: 5px;
}
#progress { #progress {
background-color: #4255ff; background-color: #4255ff;
height: 100%; height: 100%;

View file

@ -124,9 +124,18 @@
<div id="progressbar"> <div id="progressbar">
<div id="progress"></div> <div id="progress"></div>
</div> </div>
<div id="copyright"> <div class="bold" id="footer">
Slackware UK logo, design and code &copy; Darren 'Tadgy' Austin<br> <div id="copyright">
Speedtest code by <a href="https://github.com/librespeed/speedtest.git" title="LibreSpeed">LibreSpeed</a> Slackware UK logo, design and code &copy; <?php print (date ("Y")); ?> Darren 'Tadgy' Austin.<br>
Speedtest code by <a href="https://github.com/librespeed/speedtest.git" title="LibreSpeed">LibreSpeed</a>.
</div>
<div id="poweredby">
<?php if ($_COOKIE['theme'] == "light") { ?>
Powered by <a href="http://slackware.com/" title="Slackware Linux"><img src="/slackwarelinux-black.png" title="Slackware Linux" alt="Slackware Linux"></a>, naturally.
<?php } else { ?>
Powered by <a href="http://slackware.com/" title="Slackware Linux"><img src="/slackwarelinux-white.png" title="Slackware Linux" alt="Slackware Linux"></a>, naturally.
<?php } ?>
<div>
</div> </div>
<script type="text/javascript"> <script type="text/javascript">
initUI(); initUI();

View file

@ -90,10 +90,11 @@ img {
#copyright { #copyright {
font-size: 10px; align-self: center;
text-align: center; margin-left: 0;
margin-right: auto;
} }
#donatebuttons { #donatebuttons {
display: flex; display: flex;
flex-wrap: wrap; flex-wrap: wrap;
@ -102,6 +103,14 @@ img {
margin-top: 20px; margin-top: 20px;
} }
#footer {
display: grid;
column-gap: 50px;
font-size: 12px;
grid-template-columns: auto auto;
margin-top: 10px;
}
#headingbox { #headingbox {
margin-left: auto; margin-left: auto;
margin-right: auto; margin-right: auto;
@ -126,12 +135,29 @@ img {
margin-bottom: 30px; margin-bottom: 30px;
} }
#logo img {
width: 100%;
}
#page { #page {
margin-left: auto; margin-left: auto;
margin-right: auto; margin-right: auto;
width: 90%; width: 90%;
} }
#poweredby {
align-items: center;
display: flex;
margin-left: auto;
margin-right: 0;
text-align: right;
}
#poweredby img {
margin-left: 5px;
margin-right: 5px;
}
#progress { #progress {
background-color: #2c199c; background-color: #2c199c;
height: 100%; height: 100%;

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.6 KiB