Commit 1ca201bf authored by Dominik Hebeler's avatar Dominik Hebeler

Added basic back to top link

parent 0d322986
......@@ -387,6 +387,10 @@ a {
margin-top: 0;
}
}
#backtotop {
text-align: center;
margin: 1em 0;
}
}
#additions-container {
grid-area: additions;
......@@ -626,9 +630,7 @@ a {
}
footer.resultPageFooter {
max-width: @results-width-max;
margin-top: 20px;
@media (max-width: (2 * @results-margin-left + @results-width-max - 1px)) {
margin: 20px 0 0 0;
}
......
......@@ -26,9 +26,11 @@
</div>
@include('parts.filter')
<div id="results-container">
<span name="top"></span>
@include('parts.errors')
@include('parts.warnings')
@yield('results')
<div id="backtotop"><a href="#top">Zum Anfang der Seite</a></div>
</div>
<div id="additions-container">
@include('layouts.keyboardNavBox')
......
......@@ -43,9 +43,11 @@
<link rel="stylesheet" href="/css/noheader.css">
<div id="resultpage-container-noheader">
<div id="results-container">
<span name="top"></span>
@include('parts.errors')
@include('parts.warnings')
@yield('results')
<div id="backtotop"><a href="#top">Zum Anfang der Seite</a></div>
</div>
</div>
@include('parts.footer', ['type' => 'resultpage', 'id' => 'resultPageFooter'])
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment