Add new footer to pages.

This commit is contained in:
Darren 'Tadgy' Austin 2024-08-14 20:45:42 +01:00
commit 151e748a6e
5 changed files with 78 additions and 7 deletions

View file

@ -163,9 +163,15 @@ td {
width: 100%; width: 100%;
} }
#bwbar img {
height: 12px;
width: 804px;
}
#copyright { #copyright {
font-size: 10px; align-self: center;
text-align: center; margin-left: 0;
margin-right: auto;
} }
#donatebuttons { #donatebuttons {
@ -176,6 +182,14 @@ td {
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;
@ -207,6 +221,10 @@ td {
width: 100%; width: 100%;
} }
#logo img {
width: 100%;
}
#motd { #motd {
column-gap: 40px; column-gap: 40px;
display: grid; display: grid;
@ -223,6 +241,19 @@ td {
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;
}
#search { #search {
align-content: center; align-content: center;
align-self: end; align-self: end;

View file

@ -1,8 +1,17 @@
</div> </div>
<?php require ("includes/bwbar.php"); ?> <?php require ("includes/bwbar.php"); ?>
<div id="copyright"> <div class="bold" id="footer">
Slackware UK logo, design and code &copy; Darren 'Tadgy' Austin <div id="copyright">
</div> Slackware UK logo, design and code &copy; <?php print (date ("Y")); ?> Darren 'Tadgy' Austin.
</div>
<div id="poweredby">
<?php if ($_COOKIE['theme'] == "light") { ?>
Powered by <a href="http://slackware.com/" title="Slackware Linux"><img src="/html/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="/html/slackwarelinux-white.png" title="Slackware Linux" alt="Slackware Linux"></a>, naturally.
<?php } ?>
<div>
</div>
</div> </div>
</body> </body>
</html> </html>

View file

@ -163,9 +163,15 @@ td {
width: 100%; width: 100%;
} }
#bwbar img {
height: 12px;
width: 804px;
}
#copyright { #copyright {
font-size: 10px; align-self: center;
text-align: center; margin-left: 0;
margin-right: auto;
} }
#donatebuttons { #donatebuttons {
@ -176,6 +182,14 @@ td {
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;
@ -207,6 +221,10 @@ td {
width: 100%; width: 100%;
} }
#logo img {
width: 100%;
}
#motd { #motd {
column-gap: 40px; column-gap: 40px;
display: grid; display: grid;
@ -223,6 +241,19 @@ td {
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;
}
#search { #search {
align-content: center; align-content: center;
align-self: end; align-self: end;

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.6 KiB