From 056c19225ae338cc6cffa1e3fc7fa921de2c3d3b Mon Sep 17 00:00:00 2001 From: Kumi Date: Mon, 19 Aug 2024 07:51:06 +0200 Subject: [PATCH] feat(css): Highlight non-existent pages with distinct styling Added a new CSS class to highlight links to non-existent pages in red and appended a descriptive text indicator. This improves user navigation by clearly distinguishing between existing and non-existing pages, reducing confusion and enhancing the overall user experience. --- src/wikimore/static/css/style.css | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/wikimore/static/css/style.css b/src/wikimore/static/css/style.css index 56fb03a..67eb43f 100644 --- a/src/wikimore/static/css/style.css +++ b/src/wikimore/static/css/style.css @@ -23,6 +23,15 @@ a:hover { text-decoration: underline; } +a.new { + color: #ba0000; +} + +a.new::after { + content: " (page does not exist)"; + font-size: 0.8em; +} + /* Header styling */ #header { background-color: #ffffff;