commit c15d4b5014820c7dc3af2eab3ab7e36ade89e8c8
parent 27c742d31757a277f1d19e1a823624e7cda7bb4b
Author: Nixx <nixx@firemail.cc>
Date: Tue, 22 Dec 2020 15:34:07 +0000
Changed floating behaviour of UI elements.
Diffstat:
4 files changed, 15 insertions(+), 21 deletions(-)
diff --git a/includes/article-start.php b/includes/article-start.php
@@ -10,7 +10,7 @@ echo '<body>';
require "".$root."includes/aside.php";
echo '</div>';
echo '<div class="content">';
- echo '<div class="section upperdirs centre">';
+ echo '<div class="section upperdirs">';
echo '<span class="homesubmessage"><b>';
$dirs=explode("/", $_SERVER['REQUEST_URI']);
@@ -35,5 +35,4 @@ echo '<body>';
echo '</b></span>';
echo '</div>';
echo '<div class="article">';
- echo '<a href="#" autofocus tabindex="1"></a>';
?>
diff --git a/includes/aside.php b/includes/aside.php
@@ -47,6 +47,6 @@ 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://hpxhgn5rajv3gcfi6ynqlglc75iny4kt27gt2z3cabs6jegpgpbhvkid.onion'.$_SERVER['REQUEST_URI'].'" target="_blank"><img class="asidebottomimage" src="'.$root.'images/tor.gif" alt="Browse Site on Tor" /></a>';
echo '</div>';
?>
diff --git a/includes/section-end.php b/includes/section-end.php
@@ -2,7 +2,7 @@
echo '<span class="seemore">';
echo '<b><span class="seedate">'.date('Y.m.d H:i', $includearr[$inc][1]).' GMT</span></b>';
if (strpos($usragent, 'Lynx') === false && strpos($usragent, 'w3m') === false && strpos($usragent, 'Links') === false && strpos($usragent, 'textmode') === false) {
- echo '<a class="seemorelink" href="'.$seemorepath.'">See Full Article...</a>';
+ echo '<a class="seemorelink" href="'.$seemorepath.'">Article Page</a>';
}
echo '</span>';
echo '</div>';
diff --git a/styles/default.css b/styles/default.css
@@ -197,13 +197,14 @@ input[type="submit" i] {
.article {
margin: 2px 20px 0 20px;
- max-height: calc(var(--ver) - var(--ver-upr) - 72px);
overflow-y: scroll;
padding: 25px !important;
+ margin-top: 60px;
+ margin-bottom: 55px;
}
.article-headerless {
- max-height: calc(var(--ver) - var(--ver-upr) - 14px) !important;
+ margin: 0 20px 55px 20px !important;
}
.section {
@@ -259,6 +260,12 @@ input[type="submit" i] {
width: 80%;
height: var(--ver-upr);
margin-bottom: 20px;
+ position: absolute;
+ left: 0;
+ right: 0;
+ margin-left: auto;
+ margin-right: auto;
+ text-align: center;
}
.numlist {
@@ -271,23 +278,19 @@ input[type="submit" i] {
.seemore {
position: absolute;
bottom: 0;
- right: -1;
- width: 100%;
+ width: calc(100% - 20px);
height: 60px;
background-image: var(--shade);
}
.seedate {
- /* font-weight: bold; */
float: left;
- margin: 40px 10px 10px 10px;
+ margin-top: 40px;
}
.seemorelink {
- /* font-weight: bold; */
float: right;
- margin: 40px 10px 10px 10px;
- font-size: 15px;
+ margin-top: 40px;
}
.greyed {
@@ -548,14 +551,6 @@ input[type="submit" i] {
width: 85vw;
}
- .article {
- max-height: calc(var(--ver) - var(--ver-upr) - 108px);
- }
-
- .article-headerless {
- max-height: calc(var(--ver) - var(--ver-upr) - 50px) !important;
- }
-
body {
margin: 3em 8px 8px 8px;
}