From c60c62d4518b61550bfdd698258d17a4bed9933f Mon Sep 17 00:00:00 2001 From: Justin Ross Date: Sun, 2 Jun 2024 05:12:05 -0400 Subject: [PATCH] Use class instead of id for styling the builtin path nav --- profiles/website/input/main.css | 14 +++----------- python/transom/main.py | 2 +- 2 files changed, 4 insertions(+), 12 deletions(-) diff --git a/profiles/website/input/main.css b/profiles/website/input/main.css index 8e6be21..dc11982 100644 --- a/profiles/website/input/main.css +++ b/profiles/website/input/main.css @@ -247,28 +247,20 @@ footer > div { font-size: 0.8em; } -#-path-nav { +.path-nav { margin: 0; padding: 0; display: inline; } -#-path-nav > a:after { +.path-nav > a:after { content: " \00a0\003e\00a0\00a0 "; } -#-path-nav > a:last-child:after { +.path-nav > a:last-child:after { content: none; } -#-global-nav { - float: right; -} - -#-global-nav { - float: right; -} - @media screen and (max-width: 720px) { .two-column, .three-column, diff --git a/python/transom/main.py b/python/transom/main.py index abdfd09..7bb5ae6 100644 --- a/python/transom/main.py +++ b/python/transom/main.py @@ -458,7 +458,7 @@ def path_nav(self, start=None, end=None): files = reversed(list(self.ancestors)) links = [f"{x.title}" for x in files] - return f"" + return f"" def _convert_content(self, content): return content