diff --git a/static/assets/css/style.css b/static/assets/css/style.css index 978906b..d0dfc91 100644 --- a/static/assets/css/style.css +++ b/static/assets/css/style.css @@ -5,6 +5,11 @@ html { font-family: 'Mononoki', monospace; + height: 100%; +} + +body { + height: 100%; } #theme { @@ -12,7 +17,10 @@ html { color: #222; } -* { margin: 0px; } +* { + margin: 0px; + box-sizing: inherit; +} .header-art { display: grid; @@ -90,6 +98,12 @@ ul { list-style: none; } +#container { + min-height: 100%; + display: grid; + grid-template-rows: auto 1fr auto; +} + .post-date, .link-date { color: #777; font-size: 14px; diff --git a/templates/base.html b/templates/base.html index 5b12a9a..9720b82 100644 --- a/templates/base.html +++ b/templates/base.html @@ -59,48 +59,50 @@ - {%- if lang == "pt" %} - Saltar para o conteúdo - {%- else %} - Skip to content - {% endif -%} +
+ {%- if lang == "pt" %} + Saltar para o conteúdo + {%- else %} + Skip to content + {% endif -%} - {% block header %}{% endblock %} -
- - {% if current_path and translation_count > 1 %} - {%- set slashless_current_path = current_path | regex_replace(pattern="^\/", rep="") %} - {%- set english_path = current_path | regex_replace(pattern="pt\/", rep="") %} -
-
- {% if lang == -
- {%- if lang == "pt" %}EN{% else %}PT +
{%- endif %}
- {%- endif %} + +
+ {%- block content %}{% endblock %} +
+ +
- -
- {%- block content %}{% endblock %} -
- -