Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
All The Tropes Wiki Project, Part XXVIII
RE: All The Tropes Wiki Project, Part XXVIII
Update on how a recent fix of mine snafu'ed. Turns out my attempt to fix red links on Heartwarming pages to have a softer on the eyes red color in Dark Mode had a knock on effect due to an issue with the Dark Mode extension.

The extension allows people to change the CSS of colors in that mode with "darkmode" class appended to the dark mode specific changes so regular pages are not affected. My fix incorporated most of the common CSS in dark mode to the page, which initially looked fine when I tested it. Unfortunately, this causes things to screw up because I included all of this in the same template that controls the CSS for Heartwarming pages, and due to what appears to be an oversight in how Dark Mode interacts with template and page specific CSS, regular mode was not engaging the proper colors while it looked fine in Dark Mode because adding ALL the CSS changes in Dark Mode to the same template that controls Heartwarming in regular mode causes some of them to be canceled out because Dark Mode believes it's color changes were of higher priority.

This should be fixed now, I pared down the changes to just link colors only in dark mode, you'll notice they have a much softer on the eyes look in dark mode, but switching back to regular should work normally once the server updates any affected pages again. You can also do a null edit on affected pages to force it to update before then.


Messages In This Thread
RE: All The Tropes Wiki Project, Part XXVIII - by GethN7 - 10-10-2023, 09:33 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)