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.
This commit is contained in:
Kumi 2024-08-19 07:51:06 +02:00
parent 013bc1ec71
commit 056c19225a
Signed by: kumi
GPG key ID: ECBCC9082395383F

View file

@ -23,6 +23,15 @@ a:hover {
text-decoration: underline; text-decoration: underline;
} }
a.new {
color: #ba0000;
}
a.new::after {
content: " (page does not exist)";
font-size: 0.8em;
}
/* Header styling */ /* Header styling */
#header { #header {
background-color: #ffffff; background-color: #ffffff;