fix button in 404 page too close to bottom in small screens

This commit is contained in:
erciccione 2023-04-13 09:49:03 +02:00
parent 0119ca3568
commit e3dcd205ef
No known key found for this signature in database
GPG Key ID: 762AF8C608E56CDF
2 changed files with 5 additions and 1 deletions

View File

@ -7,6 +7,6 @@ title: "Error 404, Page Not Found"
<div class="nopage">
<h1 id="fourofour">404</h1>
<h1>{% t error.title %}</h1>
<p><a href="{{ site.baseurl }}/index.html" class="btn-link btn-fixed">{% t error.button %}</a></p>
<p><a href="{{ site.baseurl }}/index.html" class="btn-link btn-fixed" id="btn-404">{% t error.button %}</a></p>
</div>
</section>

View File

@ -1851,6 +1851,10 @@ a.btn-link:hover span.icon-blockchain, a.btn-link:focus span.icon-blockchain, a.
font-size: 1rem;
}
.btn-fixed#btn-404 {
margin-bottom: 1rem;
}
}
@media only screen and (max-width: 30rem) {