diff --git a/assets/static/style.css b/assets/static/style.css index c1cc0be..aff5166 100644 --- a/assets/static/style.css +++ b/assets/static/style.css @@ -12,12 +12,17 @@ a:hover { color: #33bbdf; } -header, footer, div.page { +div.page { margin: 0 auto; - padding: 20px 30px; + padding: 30px 20px 0; +} + +div.page ul { + padding-left: 30px; } header { + margin: 0 auto; background: #D62828; padding: 2rem 0 0; } @@ -57,14 +62,9 @@ header nav ul li a:hover { color: #ADD7F6; } -@media (max-width: 768px) { - header nav ul li a { - font-size: 2rem; - } -} - .page h2 { - margin-bottom: 2rem; + margin-bottom: 1.5rem; + margin-top: 0; } h2.page-title { @@ -73,7 +73,7 @@ h2.page-title { .page p { margin-top: 0; - margin-bottom: 2rem; + margin-bottom: 1.5rem; } .list-none { diff --git a/templates/layout.html b/templates/layout.html index 4b564bf..e894a4c 100644 --- a/templates/layout.html +++ b/templates/layout.html @@ -1,5 +1,6 @@ + {% block title %}Welcome{% endblock %} — Comrades Library