website

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

commit 61c8c037b61fd5c9c00dcde74f1855a3fd7c58ed
parent ad4086f3f8cd1f9165dbc9359121ea5ef24310fe
Author: Nixx <nixx@firemail.cc>
Date:   Wed, 26 May 2021 22:51:45 +0100

Added content for new webring software

Diffstat:
Mincludes/listing-content.php | 26+++++++++++++++++++++++++-
Mstyles/default.css | 19+++++++++++--------
2 files changed, 36 insertions(+), 9 deletions(-)

diff --git a/includes/listing-content.php b/includes/listing-content.php @@ -43,7 +43,31 @@ echo '</div>'; } if ($incbanner == '1') { - echo '<a href="/Other/lainchanwebring.php"><img src="/images/banner.gif" class="banner" alt="Banner" /></a>'; + echo '<div class="section webring-panel">'; + echo '<div class="webring-text">This site is part of the <a href="/Other/lainchanwebring.php">Lainchan Webring</a>.</div>'; + echo '<a href="/Other/lainchanwebring.php"><img src="/images/banner.gif" class="banner" alt="Banner" /></a><br />'; + echo '<table class="centre" style="margin-top: unset; margin-bottom: unset;">'; + echo '<colgroup>'; + echo '<col style="width: 33%">'; + echo '<col style="width: 33%">'; + echo '<col style="width: 33%">'; + echo '</colgroup>'; + echo '<th colspan="3">Clearnet</th>'; + echo '<tr>'; + echo '<td><a href="/webring/webring.php?go=prev">Previous</a></td>'; + echo '<td><a href="/webring/webring.php?go=random">Random</a></td>'; + echo '<td><a href="/webring/webring.php?go=next">Next</a></td>'; + echo '</tr>'; + echo '<th colspan="3">Tor</th>'; + echo '<tr>'; + echo '<td><a href="/webring/webring.php?go=prev&route=onion">Previous</a></td>'; + echo '<td><a href="/webring/webring.php?go=random&route=onion">Random</a></td>'; + echo '<td><a href="/webring/webring.php?go=next&route=onion">Next</a></td>'; + echo '</tr>'; + echo '</table>'; + echo '<br />'; + echo '<a href="/Other/lainchanwebring.php">Browse</a>'; + echo '</div>'; } echo '</div>'; } diff --git a/styles/default.css b/styles/default.css @@ -62,6 +62,8 @@ input[type="submit" i] { } .banner { border: none; + width: 240px; + max-width: 100%; } .banner:hover { opacity: 1; @@ -489,18 +491,19 @@ input[type="submit" i] { padding: 2px 0 0 0; } -.popular { - display: table; - margin-bottom: 10px; +.datetext { + text-align: center; + font-weight: bold; } -.popular > p { - margin: 2px; +.webring-panel { + width: fit-content; + margin-left: auto; + margin-right: auto; } -.datetext { - text-align: center; - font-weight: bold; +.webring-text { + padding: 5px 15px; } @keyframes notgood {