News for hackers. Stuff that matters.
Re:Wikipedia is getting a new look by mcnesium on Wednesday September 23, 2020 @03:49PM (#24571127)
Using Wikipedias language switcher to translate things seems to be quite common here, so I thought I'd share how I moved the languages up on top, so I don't have to scroll down on smaller screens or when zoomed in.

In `<firefox-profile>/chrome/userContent.css` I wrote the following:

    @-moz-document domain(wikipedia.org) {
        #mw-panel {
            display: flex;
            flex-direction: column;
        }
        #mw-panel nav {
            order: 9;
        }
        #mw-panel nav#p-logo {
            order: 1;
        }
        #mw-panel nav#p-lang {
            order: 2;
        }
    }
This is only for Firefox, but imho that is the… least bad browser anyways ;)
Re:Wikipedia is getting a new look by Slackwise on Wednesday September 23, 2020 @04:25PM (#24571570)
Actually, if you have a Wikipedia account, you can save custom CSS (and even JS?!) to your account:

https://en.wikipedia.org/wiki/Special:Preferences#mw-prefsec...

Re:Wikipedia is getting a new look by Amorymeltzer on Wednesday September 23, 2020 @05:23PM (#24572224)
Yes — custom gadgets and user scripts are quite common! It fits in with the ethos of the place, but is quite remarkable compared to nearly any other popular website.