website

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

commit 6f56c275986a0d372fe6dfd266ed3e65266b1b19
parent 61c8c037b61fd5c9c00dcde74f1855a3fd7c58ed
Author: Nixx <nixx@firemail.cc>
Date:   Thu, 27 May 2021 19:51:07 +0100

Trimming back new webring content

Diffstat:
Mincludes/listing-content.php | 36+++++++++++++++---------------------
Mstyles/default.css | 7++++++-
2 files changed, 21 insertions(+), 22 deletions(-)

diff --git a/includes/listing-content.php b/includes/listing-content.php @@ -44,29 +44,23 @@ } if ($incbanner == '1') { 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 '<p class="webring-text">Part of the <a href="/Other/lainchanwebring.php">Lainchan Webring</a>.</p>'; 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 class="centre webring-table">'; + echo '<tbody>'; + echo '<colgroup>'; + echo '<col style="width: 50%">'; + echo '<col style="width: 50%">'; + echo '</colgroup>'; + echo '<tr>'; + echo '<th colspan="2">Visit a random site:</th>'; + echo '</tr>'; + echo '<tr>'; + echo '<td><a href="/scripts/webring.php?route=clearnet" target="_blank">Clearnet</a></td>'; + echo '<td><a href="/scripts/webring.php?route=onion" target="_blank">Onion</a></td>'; + echo '</tr>'; + echo '</tbody>'; 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 @@ -503,7 +503,12 @@ input[type="submit" i] { } .webring-text { - padding: 5px 15px; + margin: 6px; +} + +.webring-table { + margin-top: 0; + margin-bottom: 0; } @keyframes notgood {