diff --git a/nummi/main/static/main/css/main.css b/nummi/main/static/main/css/main.css index 49600f9..35ebf2c 100644 --- a/nummi/main/static/main/css/main.css +++ b/nummi/main/static/main/css/main.css @@ -66,8 +66,10 @@ a:hover { .red {color: var(--red)} .green {color: var(--text-green)} -main { +main, nav, footer { padding: 2rem; +} +main { grid-column: 2; grid-row: 1; overflow-x: hidden; @@ -80,7 +82,6 @@ nav { position: sticky; top: 0; - padding: 2rem; background: var(--bg-01); line-height: 2rem; } @@ -117,6 +118,11 @@ nav > :first-child, main > :first-child { margin-top: 0; } +footer { + text-align: center; + grid-column: 2; + font-weight: 250; +} #pagination { text-align: center; @@ -130,7 +136,7 @@ main > :first-child { @media (width < 1024px) { body {grid-template-columns: 1fr} - nav, main { + nav, main, footer { grid-column: 1; grid-row: auto; position: relative; diff --git a/nummi/main/templates/main/base.html b/nummi/main/templates/main/base.html index 316c28f..b5eee2b 100644 --- a/nummi/main/templates/main/base.html +++ b/nummi/main/templates/main/base.html @@ -103,5 +103,8 @@
{% block body %}{% endblock %}
+