commit a12342f949b7515468a335f06916ea3b46d525a7
parent 42fe3f3953c9c933ceac7282600eb37f94186de4
Author: Nixx <nixx@firemail.cc>
Date: Thu, 23 Jul 2020 20:30:03 +0100
Added Git server
Diffstat:
3 files changed, 10 insertions(+), 2 deletions(-)
diff --git a/images/git.png b/images/git.png
Binary files differ.
diff --git a/includes/aside.php b/includes/aside.php
@@ -27,7 +27,7 @@ function asideSubLink ($linkname, $root, $indexfile) {
}
}
-echo '<center><a href="'.$root.'home.php"><img src="'.$root.'images/'.$heads[$usehead].'" alt="Go Home" /></a></center>';
+echo '<div class="asidehomeimage"><center><a href="'.$root.'home.php"><img src="'.$root.'images/'.$heads[$usehead].'" alt="Go Home" /></a></center></div>';
echo '<span class="asidehometext"><a href="'.$root.'home.php">Home</a></span>';
echo '<ul>';
echo '<ul class="blogbox">';
@@ -44,4 +44,7 @@ echo '<ul>';
asideLink('Other', 'other.php', $root);
echo '<li class="asideitem"><a href="'.$returnlink.'">Return</a></li>';
echo '</ul>';
+echo '<center>';
+echo '<a href="https://git.concealed.world" target="_blank"><img class="asidebottomimage" src='.$root.'"images/git.png" /></a>';
+echo '</center>';
?>
diff --git a/styles/default.css b/styles/default.css
@@ -412,6 +412,11 @@ input[type="submit" i] {
display: none;
}
+.asidebottomimage {
+ height: 30px;
+ max-width: 30px;
+}
+
.archivespan {
display: block;
width: 60vw;
@@ -461,7 +466,7 @@ input[type="submit" i] {
}
@media (max-width: 900px) {
- .aside > center {
+ .aside > .asidehomeimage {
display: none;
}