Inspired by 'Wikipedia Dark Cyan (like Cyanogenmod)'
(originally by user @cruto)
But completely rewritten, improved code and syntax etc.
Tested with Firefox 107.0.
A complete rewrite of the code, less clumsy and with a more readable and editable css 'heredoc'
CSS changes:
I took the inverted wiki logo from script 'Wikipedia Dark Theme Night Mode - wip'
Updated rules for new wiki classes, to make the dark theme consistent
Shows page preview popups correctly dark themed.
Automatic rules for hardcoded styles in elements.
Made the first important pages of WikiPedia look better.
(Wikipedia.org / Main_page / Contents / Current Events / About / Contact)