website

Code for the bare sturcture of concealed.world.
git clone git://git.concealed.world/website
Log | Files | Refs | README | LICENSE

commit 609383628a5982a999e36a8eeba4b1a3ddd8aa14
parent bd969867c2c94db4083bc158f3ff7df0b2dc3029
Author: Nixx <nixx@firemail.cc>
Date:   Thu, 24 Sep 2020 23:05:24 +0100

Added RSS feed.

Diffstat:
Aimages/rss.png | 0
Mincludes/aside.php | 1+
Mincludes/listing-content.php | 2+-
Arss.xml | 18++++++++++++++++++
Mstyles/default.css | 8+++++++-
5 files changed, 27 insertions(+), 2 deletions(-)

diff --git a/images/rss.png b/images/rss.png Binary files differ. diff --git a/includes/aside.php b/includes/aside.php @@ -45,6 +45,7 @@ echo '<ul>'; echo '<li class="asideitem"><a href="'.$returnlink.'">Return</a></li>'; echo '</ul>'; echo '<center>'; + echo '<a href="https://concealed.world/rss.xml" target="_blank"><img class="asidebottomimage" src="'.$root.'images/rss.png" /></a>'; echo '<a href="https://git.concealed.world" target="_blank"><img class="asidebottomimage" src="'.$root.'images/git.png" /></a>'; echo '</center>'; echo '<center>'; diff --git a/includes/listing-content.php b/includes/listing-content.php @@ -44,7 +44,7 @@ echo '</b></span>'; echo '</div>'; if ($incbanner == '1') { - echo '<img src="/images/banner.gif" class="img-noborder" />'; + echo '<img src="/images/banner.gif" class="banner" />'; } echo '</center>'; } diff --git a/rss.xml b/rss.xml @@ -0,0 +1,18 @@ +<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"> +<channel> +<title>Concealed World RSS</title> +<description> +Updates from concealed.world. +</description> +<language>en-gb</language> +<link>https://concealed.world/rss.xml</link> +<atom:link href="https://concealed.world/rss.xml" rel="self" type="application/rss+xml"/> +<image> +<title>Updates from concealed.world.</title> +<url>https://concealed.world/images/banner.gif</url> +<link>https://concealed.world/rss.xml</link> +</image> +<!-- begin RSS script --> +<!-- end RSS script --> +</channel> +</rss> diff --git a/styles/default.css b/styles/default.css @@ -419,6 +419,7 @@ input[type="submit" i] { .asidebottomimage { height: 30px; max-width: 30px; + margin: 0 3px; } .archivespan { @@ -446,8 +447,13 @@ input[type="submit" i] { font-size: 2em; } -.img-noborder { +.banner { border: none; + opacity: 0.9; + transition: 0.3s; +} +.banner:hover { + opacity: 1; } /* POST TEXT GLOWS