From 8b39b64629b69adeee7a24bd44a3b1250160bddc Mon Sep 17 00:00:00 2001 From: chimchooree Date: Mon, 8 May 2023 20:10:45 -0500 Subject: [PATCH] nav is converted to text so it has less wonkiness --- src/static/css/diary.css | 9 ++++++--- src/views/diary.tpl | 24 ++++++++++++------------ 2 files changed, 18 insertions(+), 15 deletions(-) diff --git a/src/static/css/diary.css b/src/static/css/diary.css index 6d3042c..30cc3f2 100755 --- a/src/static/css/diary.css +++ b/src/static/css/diary.css @@ -22,11 +22,11 @@ } .diary-dir { + color: #C0AAC0; flex-shrink: 0; display: flex; justify-content: center; background-color: transparent; font-size: 1.5em; - color: #AAA39D; font-weight: bold; text-shadow: -1px -1px 1px #080410, @@ -39,7 +39,7 @@ -1px 0 1px #080410; } .diary-dir a { - color: #E6E8EF; + color: #C0AAC0; font-weight: bold; text-shadow: -1px -1px 1px #080410, @@ -51,6 +51,9 @@ -1px 2px 1px #080410, -1px 0 1px #080410; } + .diary-dir a:hover, .diary-dir a:active { + font-family: 'mitochondriaregular', sans-serif; + } .diary-dir-left { display: inline-block; vertical-align: middle; @@ -64,13 +67,13 @@ margin-right: .3em; } .diary-dir-number { - background-color: #886488; display: inline-block; vertical-align: middle; white-space: nowrap; border-radius: .3em; padding-left: .3em; padding-right: .3em; + padding-bottom: .5em; } .diary-dir-right { display: inline-block; diff --git a/src/views/diary.tpl b/src/views/diary.tpl index 1347d20..bdb8a45 100644 --- a/src/views/diary.tpl +++ b/src/views/diary.tpl @@ -17,18 +17,18 @@
% # << is always active link pointing to 0 - << + << % # < points to 0 if page 0 or below % if page <= 0: - < + < % # < points to previous page otherwise % else: - < + << % end
@@ -72,18 +72,18 @@ % # > points to max if page is at or above maximum % if page >= max_pages: - > + > % # > point to next page otherwise % else: - > + > % end % # >> is always active link to maximum page - >> + >> @@ -146,18 +146,18 @@
% # << is always active link pointing to 0 - << + << % # < points to 0 if page 0 or below % if page <= 0: - < + < % # < points to previous page otherwise % else: - < + < % end
@@ -202,17 +202,17 @@ % # > points to max if page is at or above maximum % if page >= max_pages: - > + > % # > point to next page otherwise % else: - > + > % end % # >> is always active link to maximum page - >> + >>