forked from PrivateCoffee/wikimore
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:
parent
013bc1ec71
commit
056c19225a
1 changed files with 9 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue