Add new footer to pages.
This commit is contained in:
parent
df7f33afce
commit
b38dd07762
5 changed files with 69 additions and 8 deletions
|
|
@ -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%;
|
||||||
|
|
|
||||||
|
|
@ -124,9 +124,18 @@
|
||||||
<div id="progressbar">
|
<div id="progressbar">
|
||||||
<div id="progress"></div>
|
<div id="progress"></div>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="bold" id="footer">
|
||||||
<div id="copyright">
|
<div id="copyright">
|
||||||
Slackware UK logo, design and code © Darren 'Tadgy' Austin<br>
|
Slackware UK logo, design and code © <?php print (date ("Y")); ?> Darren 'Tadgy' Austin.<br>
|
||||||
Speedtest code by <a href="https://github.com/librespeed/speedtest.git" title="LibreSpeed">LibreSpeed</a>
|
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();
|
||||||
|
|
|
||||||
|
|
@ -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: #2c199c;
|
background-color: #2c199c;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
|
|
|
||||||
BIN
html/slackwarelinux-black.png
Normal file
BIN
html/slackwarelinux-black.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 5.5 KiB |
BIN
html/slackwarelinux-white.png
Normal file
BIN
html/slackwarelinux-white.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 5.6 KiB |
Loading…
Add table
Add a link
Reference in a new issue