aboutsummaryrefslogtreecommitdiffhomepage
path: root/apioforum/static/style.css
diff options
context:
space:
mode:
Diffstat (limited to 'apioforum/static/style.css')
-rw-r--r--apioforum/static/style.css21
1 files changed, 18 insertions, 3 deletions
diff --git a/apioforum/static/style.css b/apioforum/static/style.css
index 342db6c..d50c7b0 100644
--- a/apioforum/static/style.css
+++ b/apioforum/static/style.css
@@ -13,6 +13,7 @@ body { font-family: sans-serif; word-wrap: break-word; }
border-right: 1px solid black;
border-top: 1px solid black;
width: 100%
+ box-sizing: border-box;
}
.post:last-of-type { border-bottom: 1px solid black; }
@@ -116,9 +117,21 @@ 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; }
+nav#pages {
+ display: flex;
+ text-align: center;
+ justify-content: space-between;
+ margin-bottom: -1px;
+ padding: 5px;
+ border: 1px solid black;
+ background-color: var(--alternating-colour-even);
+ position: sticky;
+ top: 0;
+}
+
+nav#pages .links > a:not([href]) { color: gray; }
+
+nav#pages .pageno { align-self: center; }
/* todo: make the navbar less bad */
.flashmsg { border: 1px solid black; background-color: yellow; max-width: max-content; padding: 5px; clear: both;}
@@ -190,6 +203,8 @@ nav#pages .mid { margin-left: 5vw; margin-right: 5vw; }
white-space: nowrap;
text-overflow: ellipsis;
}
+ #the-word-page { display: none; }
+ nav#pages > .pageno { font-size: small; }
}
.actionbutton::before {