website

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

commit c4b06ee643908a1d4fbdcae440deb7a050fd1741
parent 0f01893f34fb82a150bda993e0b2758c81ba0e15
Author: Nixx <nixx@firemail.cc>
Date:   Wed,  9 Dec 2020 01:34:09 +0000

Fixed some centering issues

Diffstat:
Mincludes/archive.php | 3++-
Mincludes/archivesearchbar.php | 2+-
Mincludes/blogpanel.php | 13++++++-------
Mincludes/homepanel.php | 14++++++--------
Mstyles/default.css | 5+++++
5 files changed, 20 insertions(+), 17 deletions(-)

diff --git a/includes/archive.php b/includes/archive.php @@ -14,7 +14,8 @@ function archiveLink () { function archive ($includearr) { $searches = explode(" ", trim($_GET['search'])); - echo '<table>'; + echo '<div class="archivespan">'; + echo '<table class="centre">'; echo '<colgroup>'; echo '<col class="titlecol">'; echo '<col class="datecol">'; diff --git a/includes/archivesearchbar.php b/includes/archivesearchbar.php @@ -1,6 +1,6 @@ <?php -echo '<div class="section search">'; +echo '<div class="section search centre">'; echo '<form method="GET" action="'.$file.'?post=archive">'; foreach ($_GET as $name => $value) { if ($name == 'search') { diff --git a/includes/blogpanel.php b/includes/blogpanel.php @@ -9,12 +9,11 @@ echo '</div>'; } else { $file = basename($_SERVER['PHP_SELF']); - echo '<div class="archivespan centre">'; - echo '<div class="section archivereturn">'; - echo '<a href="'.$indexfile.'">'; - echo '<span class="homemessage">Return to '.$message.'</span>'; - echo '</a>'; - echo '</div>'; - include $root.'includes/archivesearchbar.php'; + echo '<div class="section archivereturn centre">'; + echo '<a href="'.$indexfile.'">'; + echo '<span class="homemessage">Return to '.$message.'</span>'; + echo '</a>'; + echo '</div>'; + include $root.'includes/archivesearchbar.php'; } ?> diff --git a/includes/homepanel.php b/includes/homepanel.php @@ -20,13 +20,11 @@ } } else { $file = basename($_SERVER['PHP_SELF']); - echo '<div class="archivespan">'; - echo '<div class="centre">'; - echo '<div class="section archivereturn">'; - echo '<a href="home.php">'; - echo '<span class="homemessage">Return Home</span>'; - echo '</a>'; - echo '</div>'; - include $root.'includes/archivesearchbar.php'; + echo '<div class="section archivereturn centre">'; + echo '<a href="home.php">'; + echo '<span class="homemessage">Return Home</span>'; + echo '</a>'; + echo '</div>'; + include $root.'includes/archivesearchbar.php'; } ?> diff --git a/styles/default.css b/styles/default.css @@ -431,6 +431,11 @@ input[type="submit" i] { height: 30px; max-width: 30px; margin: 0 3px; + transition: 0.5s; +} + +.asidebottomimage:hover { + box-shadow: var(--main-col) 1px 4px 5px; } .archivespan {