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:
+11
-6
@@ -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 .= '&queue='.$queue_url;
|
||||
if (isset($_GET['search'])) $string .= '&search='.$search;
|
||||
if (isset($_GET['show'])) $string .= '&show='.$show;
|
||||
if (isset($_GET['sort'])) $string .= '&sort='.$sort;
|
||||
if (isset($_GET['order'])) $string .= '&order='.$order;
|
||||
$articles = ($show == 1) ? "article" : $nw->toWords($show)." articles";
|
||||
$string .= '">« Next '.$articles.'</a></span>';
|
||||
$string .= '">« 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 .= '&queue='.$queue_url;
|
||||
if (isset($_GET['search'])) $string .= '&search='.$search;
|
||||
if (isset($_GET['show'])) $string .= '&show='.$show;
|
||||
if (isset($_GET['sort'])) $string .= '&sort='.$sort;
|
||||
if (isset($_GET['order'])) $string .= '&order='.$order;
|
||||
$articles = ($show == 1) ? "article" : $nw->toWords($show)." articles";
|
||||
$string .= '">Previous '.$articles.' »</a></span>';
|
||||
$string .= '">Previous '.$articles.' »</a>';
|
||||
}
|
||||
$string .= "</span>\n";
|
||||
$string .= "</div>\n";
|
||||
return $string;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user