diff --git a/templates/base.html b/templates/base.html index 410a945..f8ec1f6 100644 --- a/templates/base.html +++ b/templates/base.html @@ -229,19 +229,66 @@ input[type=number] { -moz-appearance: textfield; } +.header { +width:100%; + text-align:center; +z-index: 99; +background-color: white; +} + +.content { + padding: 16px; +} + /* The sticky class is added to the header with JS when it reaches its scroll position */ +.sticky { + position: fixed; + top: 0; + width: 100% +} + + +/* Add some top padding to the page content to prevent sudden quick movement (as the header gets a new position at the top of the page (position:fixed and top:0) */ +.sticky + .content { + padding-top: 102px; +} + - + + +
+

{{ tmp }} - {{ title }}

+ + +
+
-

{{ tmp }}

Image -

{{ title }}

{% block content %}{% endblock %}
{% block scripts %}{% endblock %} +