website

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

commit 60f098ae0647b404e78af44be530970de5812d83
parent 3de342a61a15bbf079ed61aad5f2d7506bade875
Author: Nixx <nixx@firemail.cc>
Date:   Mon, 22 Mar 2021 22:44:13 +0000

Small change to mobile nav menu

Diffstat:
MGeneral/example.php | 7+++++--
Aimages/rainchan.gif | 0
Mincludes/article-start.php | 1+
Mincludes/aside.php | 5++++-
Mincludes/default-start.php | 3++-
Mstyles/default.css | 38+++++++++++++++++++++++++-------------
6 files changed, 37 insertions(+), 17 deletions(-)

diff --git a/General/example.php b/General/example.php @@ -1,8 +1,11 @@ -<?php include $root."includes/seemore.php"; echo '<a href="'.$seemorepath.'"><h1>Example Article</h1></a>'; # Article Title - Generates article link on listings it appears in - title must be within <h1> tag for Search to correctly identify it, and <h1>s are not used elsewhere ?> +<?php include $root."includes/seemore.php"; echo '<a href="'.$seemorepath.'"><h1>Example Article</h1></a>'; # Article Title - Generates article link on listings it appears in - title must be within <h1> tag for Search to correctly identify it, and <h1>s are not used elsewhere - can be automated with 'mkarticle' ?> -<!-- The rest of the article can be whatever you want, plain HTML or using PHP, see the default.css stylesheet or inspect the live website for formatting ideas. --> +<!-- The rest of the article can be whatever you want, plain HTML or using PHP, see the default.css stylesheet or inspect the live website for formatting ideas. --> <p>Text text text text</p> <h2>More text</h2> <p>Text text text text text</p> + +<!-- formats date, can be automated with 'mkarticle' --> +<p class="datetext">2000.01.01</p> diff --git a/images/rainchan.gif b/images/rainchan.gif Binary files differ. diff --git a/includes/article-start.php b/includes/article-start.php @@ -10,6 +10,7 @@ echo '<body>'; require "".$root."includes/aside.php"; echo '</div>'; echo '<div class="content">'; + echo '<div class="hiddenfloatingtext"><!-- Fnord --><a href="https://qorg11.net/" target="_blank">&lt3</a></div>'; echo '<div class="section upperdirs">'; echo '<span class="homesubmessage"><b>'; $dirs=explode("/", $_SERVER['REQUEST_URI']); diff --git a/includes/aside.php b/includes/aside.php @@ -47,6 +47,9 @@ echo '</ul>'; echo '<div class="centre">'; echo '<a href="/rss.xml" target="_blank"><img class="asidebottomimage" src="'.$root.'images/rss.gif" alt="RSS" /></a>'; echo '<a href="https://git.concealed.world" target="_blank"><img class="asidebottomimage" src="'.$root.'images/git.gif" alt="Git Server" /></a>'; - echo '<a href="http://hpxhgn5rajv3gcfi6ynqlglc75iny4kt27gt2z3cabs6jegpgpbhvkid.onion'.$_SERVER['REQUEST_URI'].'" target="_blank"><img class="asidebottomimage" src="'.$root.'images/tor.gif" alt="Browse Site on Tor" /></a>'; + echo '<a href="http://kpzscgdqezpen5zpnc4gky5vx4r56thl5syq2x45j6hbjy5w7tjilwid.onion'.$_SERVER['REQUEST_URI'].'" target="_blank"><img class="asidebottomimage" src="'.$root.'images/tor.gif" alt="Browse Site on Tor" /></a>'; + echo '<a href="https://boards.concealed.world/" target="_blank"><img class="asidebottomimage" src="'.$root.'images/rainchan.gif" alt="Rainchan Imageboard" /></a>'; + echo '<br />Backups - <a href="http://ijpvh2wyevtm4pxcnducuzp5f6nisxpiczutk5v7ol6wi7ar62xk5lad.onion/" target="_blank">(Tor) </a>'; + echo '<a href="http://caixzqwpnkxpx2nrf7tdajnctfsdpooq7wjxqmpcpwvjmvqhgmgq.b32.i2p/" target="_blank">(I2P)</a>'; echo '</div>'; ?> diff --git a/includes/default-start.php b/includes/default-start.php @@ -15,7 +15,7 @@ function getFileList($dir) { $d = @dir($dir) or die("getFileList: Failed opening directory {$dir} for reading"); while(FALSE !== ($entry = $d->read())) { // skip hidden files - if($entry{0} == ".") continue; + if($entry[0] == ".") continue; if(is_dir("{$dir}{$entry}")) { $retval[] = [ 'name' => "{$dir}{$entry}/", @@ -73,6 +73,7 @@ echo '<body>'; require "".$root."includes/aside.php"; echo '</div>'; echo '<div class="content">'; + echo '<div class="hiddenfloatingtext"><!-- Fnord --><a href="https://qorg11.net/" target="_blank">&lt3</a></div>'; if (basename($_SERVER['PHP_SELF']) == "home.php") { require "homepanel.php"; } elseif (basename($_SERVER['PHP_SELF']) == "_index.php") { diff --git a/styles/default.css b/styles/default.css @@ -73,10 +73,20 @@ input[type="submit" i] { opacity: 1; } -.bannerother { +.bannerother, .bannergrave { border: none; height: 60px; width: 240px; + max-width: 100%; +} + +.bannergrave { + filter: grayscale(1); + transition: 0.3s; +} + +.bannergrave:hover { + filter: grayscale(0); } .bannerlarge { @@ -84,6 +94,11 @@ input[type="submit" i] { max-width: 100%; } +.imgnoborder { + max-width: 100%; + border: none; +} + .aside, .article, .section, .mobilemenu { background: var(--bg-col); padding: 10px; @@ -115,14 +130,12 @@ input[type="submit" i] { .asideitem { list-style-image: url("../images/list.gif"); list-style-position: inside; - /* font-weight: bold; */ font-size: 1.2em; } .asidesubitem { list-style-image: url("../images/listsmall.gif"); list-style-position: inside; - /* font-weight: bold; */ font-size: 1em; } @@ -142,12 +155,11 @@ input[type="submit" i] { border-right: none !important; text-align: center; box-shadow: none !important; - z-index: 2; + z-index: 1; } .openaside a { font-size: 1.2em; - /* font-weight: bold; */ letter-spacing: 8px; margin-top: 4px; } @@ -191,10 +203,9 @@ input[type="submit" i] { .mobilemenu { width: 250px; - max-height: var(--ver); - overflow-y: scroll; overflow-x: hidden; padding-right: 25px; + margin-bottom: 80px; } .mobilemenu > ul { @@ -258,7 +269,6 @@ input[type="submit" i] { .homemessage { font-size: 2em; - /* font-weight: bold; */ } .homesubmessage { @@ -324,7 +334,6 @@ input[type="submit" i] { .search { width: 25vw; min-width: 300px; - /* font-weight: bold; */ } .titlecol { @@ -510,6 +519,13 @@ input[type="submit" i] { font-weight: bold; } +.hiddenfloatingtext { + position: fixed; + opacity: 0; + right: 10px; + z-index: 2; +} + @keyframes notgood { 0% { letter-spacing: 2px; @@ -586,10 +602,6 @@ input[type="submit" i] { .content { margin-left: unset; } - - .mobilemenu { - max-height: calc(var(--ver) - 100px); - } } @media (max-width: 600px) {