From 3bddbc9e7a84c2e6712b63bd0fe881a4a3e6261c Mon Sep 17 00:00:00 2001 From: Holger Weiss Date: Thu, 3 Oct 2013 15:52:39 +0200 Subject: CSS cosmetics: span.current -> span#current "current" is just one element, not a class of elements. diff --git a/web/content/media/plugins.css b/web/content/media/plugins.css index 42d9a73..0e104b9 100644 --- a/web/content/media/plugins.css +++ b/web/content/media/plugins.css @@ -62,7 +62,7 @@ div#menu span { padding: 0.6em; } -div#menu span.current { +div#menu span#current { color: #fff; background-color: #5a95c7; } diff --git a/web/macros.py b/web/macros.py index 43a46e0..715d353 100644 --- a/web/macros.py +++ b/web/macros.py @@ -13,7 +13,7 @@ def menu(): menu_pages.sort(key=lambda p: int(p['menu-position'])) for p in menu_pages: if p.title == page.title: - print('%s' % hx(p.title)) + print('%s' % hx(p.title)) else: print('%s' % (p.url, hx(p.title))) -- cgit v0.10-9-g596f