diff --git a/static/style.css b/static/style.css index 95ad789..630c210 100644 --- a/static/style.css +++ b/static/style.css @@ -112,6 +112,16 @@ pre, form, fieldset, table, th, td, select, input { font-family: "Inter", sans-serif; } +html.fixed_navbar { + scroll-padding-top: 50px; +} + +@media screen and (max-width: 800px) { + html.fixed_navbar { + scroll-padding-top: 100px; + } +} + body { background: var(--background); padding-bottom: var(--footer-height); @@ -1729,4 +1739,4 @@ td, th { .quality-selector option:hover { background-color: var(--accent); color: var(--text); -} \ No newline at end of file +} diff --git a/templates/base.html b/templates/base.html index 61a783a..139c76f 100644 --- a/templates/base.html +++ b/templates/base.html @@ -1,7 +1,7 @@ {% import "utils.html" as utils %} - + {% block head %} {% block title %}Redlib{% endblock %}