Rework the layout for small screens.

From the live site: local Noto Sans, a flexible layout up to 1000px, and
a slide-out sidebar menu on small screens. Remove the unused Genericons
font and logo images.
This commit is contained in:
tim
2026-09-25 23:32:08 +02:00
parent b94dd648ec
commit dd43940366
20 changed files with 390 additions and 769 deletions
+11 -6
View File
@@ -65,28 +65,33 @@ function get_pager() {
$string = '<div class="pager">';
$nw = new Numbers_Words();
// Are there later stories?
// Are there later stories? Go backwards to them
$string .= '<span class="next">';
if ($start > 0) {
$string .= "\n".'<span class="next"><a href="'.$link.'?start='.$next;
$string .= "\n".'<a href="'.$link.'?start='.$next;
if (isset($_GET['queue'])) $string .= '&amp;queue='.$queue_url;
if (isset($_GET['search'])) $string .= '&amp;search='.$search;
if (isset($_GET['show'])) $string .= '&amp;show='.$show;
if (isset($_GET['sort'])) $string .= '&amp;sort='.$sort;
if (isset($_GET['order'])) $string .= '&amp;order='.$order;
$articles = ($show == 1) ? "article" : $nw->toWords($show)." articles";
$string .= '">&laquo; Next '.$articles.'</a></span>';
$string .= '">&laquo; Next '.$articles.'</a>';
}
// Are there earlier stories?
$string .= "</span>\n";
// Are there earlier stories? Go forwards to them
$string .= "\n".'<span class="prev">';
if ($prev < get_count()) {
$string .= "\n".'<span class="prev"><a href="'.$link.'?start='.$prev;
$string .= "\n".'<a href="'.$link.'?start='.$prev;
if (isset($_GET['queue'])) $string .= '&amp;queue='.$queue_url;
if (isset($_GET['search'])) $string .= '&amp;search='.$search;
if (isset($_GET['show'])) $string .= '&amp;show='.$show;
if (isset($_GET['sort'])) $string .= '&amp;sort='.$sort;
if (isset($_GET['order'])) $string .= '&amp;order='.$order;
$articles = ($show == 1) ? "article" : $nw->toWords($show)." articles";
$string .= '">Previous '.$articles.' &raquo;</a></span>';
$string .= '">Previous '.$articles.' &raquo;</a>';
}
$string .= "</span>\n";
$string .= "</div>\n";
return $string;
}