Comment

Comment by mcnesium

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 ;)
parent mcnesium 6 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton