FIX: fixed some css thingies mainly index spacers now look bussin

This commit is contained in:
TheShinyMelon 2024-11-21 21:44:26 +01:00
parent edbe43622c
commit e47ec9287e
3 changed files with 23 additions and 7 deletions

View File

@ -1,16 +1,17 @@
<h1 class='cat_heading'>> chosen file type: image<br>&nbsp;&nbsp;listing files...</h1>
<form class='db_utilities' method='POST'>
<label for='sel_order'>order by</label>
<label for='sel_order'>order by:</label>
<select name='sel_order' id='sel_order'>
<option value='new'>newest</option>
<option value='old'>oldest</option>
<option value='az'>A - Z</option>
<option value='za'>Z -A</option>
</select>
<label for='inp_search'>search</label>
<label for='inp_search'>search:</label>
<input type='search' name='inp_search' id='inp_search'></input>
<input type='submit' value='filter'></input>
<label for='submit'> </label>
<input type='submit' name='submit' value='&nbsp;filter&nbsp;'></input>
</form>
<?php

View File

@ -7,7 +7,10 @@
<link rel="icon" href="./resources/fav.ico">
</head>
<body>
<div style='height: 24vh;'></div>
<?php
if(!isset($_GET['el']) || $_GET['el'] == 'index') {
echo('<div style="height: 24vh;"></div>'); }
?>
<a href='index.php' class='logo_link'>
<div class='logo_group'>
<h1 class='logo_font'>LAYER-</h1>
@ -61,15 +64,15 @@
?>
</div>
<hr style='margin-top: 3rem;'>
<?php if(!(!isset($_GET['el']) || $_GET['el'] == 'index')) { echo('<hr style="margin-top: 3rem;">'); } ?>
<footer>
<footer<?php if(!isset($_GET['el']) || $_GET['el'] == 'index') { echo(' class="footer_spacer"'); } ?>>
<p class='footer_element'>
<a href='./index.php?el=legal'>legal information</a>
<a href='./index.php?el=privacy'>privacy policy</a>
<a href='./index.php?el=contact'>contact</a>
</p>
<p class='footer_element'><a href='https://layer-8.moe/'>layer-8.moe</a> is a non-commercial homepage created by a private individual in 2024</p>
<p class='footer_element'><a href='https://layer-8.moe/'>layer-8.moe</a> is a non-commercial homepage created by a private individual in <?php echo date("Y"); ?></p>
<p class='footer_element'>
&nbsp;<a href='https://layer-8.moe/' target='_blank'><img src='./resources/img/site-ad.gif'></a>
&nbsp;<a href='https://quintern.xyz/' target='_blank'><img src='./resources/img/site-ad-quintern.gif'></a>

View File

@ -142,3 +142,15 @@ footer {
.db_utilities {
padding: 2rem;
}
.footer_spacer {
position: fixed;
left: 0;
bottom: 0;
width: 100%;
text-align: center;
}
form > label {
margin-left: 1rem;
}