From b08eb8d07f57cd5606e4b4867ad0e86c75a7311f Mon Sep 17 00:00:00 2001 From: aouwt <74026992+aouwt@users.noreply.github.com> Date: Mon, 10 Jan 2022 19:36:06 -0500 Subject: tidy up pagination bar --- apioforum/static/style.css | 4 ++++ apioforum/templates/common.html | 8 ++++---- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/apioforum/static/style.css b/apioforum/static/style.css index 280749b..342db6c 100644 --- a/apioforum/static/style.css +++ b/apioforum/static/style.css @@ -116,6 +116,10 @@ nav#navbar p:first-of-type { margin-left:0.5em } nav#navbar a { color: blue; text-decoration: none } nav#navbar .links { display: flex; } +nav#pages { text-align: center; margin-top: 2vh; margin-bottom: 2vh; } +nav#pages a { margin-left: 2vw; margin-right: 2vw; } +nav#pages .mid { margin-left: 5vw; margin-right: 5vw; } + /* todo: make the navbar less bad */ .flashmsg { border: 1px solid black; background-color: yellow; max-width: max-content; padding: 5px; clear: both;} diff --git a/apioforum/templates/common.html b/apioforum/templates/common.html index 8eeef70..638c423 100644 --- a/apioforum/templates/common.html +++ b/apioforum/templates/common.html @@ -142,13 +142,13 @@ {% macro pagination_nav(page,max_pageno,view) %} {% endmacro %} -- cgit v1.2.3