From 2ac29137d02a7e3128044e2a5b3611b6caa5d1e7 Mon Sep 17 00:00:00 2001 From: ubq323 Date: Mon, 14 Jun 2021 12:31:11 +0000 Subject: minor style tweaks again --- apioforum/static/style.css | 13 ++++---- apioforum/templates/base.html | 69 +++++++++++++++++++++---------------------- 2 files changed, 42 insertions(+), 40 deletions(-) diff --git a/apioforum/static/style.css b/apioforum/static/style.css index dbfa6cb..aed6628 100644 --- a/apioforum/static/style.css +++ b/apioforum/static/style.css @@ -2,7 +2,7 @@ body { font-family: sans-serif } :root { --alternating-colour-even: hsl(0,0%,96%); - --alternating-colour-odd: hsl(0,0%,89%); + --alternating-colour-odd: hsl(0,0%,91%); } .post { margin: 0px; } @@ -81,10 +81,6 @@ nav a { color: blue; text-decoration: none } } } -/* very wide screens */ -@media all and (min-width: 1200px) { - .threadlistings { width: 1200px } -} /* small screens */ @media not all and (min-width: 800px) { @@ -139,3 +135,10 @@ nav a { color: blue; text-decoration: none } border:1px solid black; margin-top: 5px; } + +@media all and (min-width: 81px ) { + main { + width: 800px; + margin: auto; + } +} diff --git a/apioforum/templates/base.html b/apioforum/templates/base.html index f81f413..7e01d38 100644 --- a/apioforum/templates/base.html +++ b/apioforum/templates/base.html @@ -7,43 +7,42 @@ -
- - {% for msg in get_flashed_messages() %} -
{{ msg }}
- {% endfor %} + + {% for msg in get_flashed_messages() %} +
{{ msg }}
+ {% endfor %} +
+ {% block header %}{% endblock %} +
+
{%block content %}{% endblock %}
-- cgit v1.2.3