You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I wouldn’t propose to have this in the default stylesheet, but I thought I might ask you if you knew a less combersome way of achieving this; we might then add it to the GH Wiki for interested parties. The interlanguage links are rather important to me, not only to switch quickly, but also because I’m often unsure as to what the right lemma would be in the other language. But obviously I don’t want to see the complete language list.
I have no clue about CSS, but I came up with a very convoluted way of only showing selected languages. Maybe you have some idea on how this could be done better, to add it to the Wiki. The main problem seems to be that the display property can’t be overridden for children.
What I did was exclude #mw-navigation from hiding, and I added these:
#mw-navigation > :not(#mw-panel) {
display: none;
}
#mw-panel > :not(#p-lang) {
display: none;
}
#p-lang {
background-image: none !important;
}
#p-lang > :not(div) {
display: none;
}
#p-lang > div > :not(ul) {
display: none;
}
#p-lang > div > ul > * {
display: none;
}
#p-lang > div > ul > .interwiki-en,
#p-lang > div > ul > .interwiki-de {
display: block;
}
The text was updated successfully, but these errors were encountered:
I wouldn’t propose to have this in the default stylesheet, but I thought I might ask you if you knew a less combersome way of achieving this; we might then add it to the GH Wiki for interested parties. The interlanguage links are rather important to me, not only to switch quickly, but also because I’m often unsure as to what the right lemma would be in the other language. But obviously I don’t want to see the complete language list.
I have no clue about CSS, but I came up with a very convoluted way of only showing selected languages. Maybe you have some idea on how this could be done better, to add it to the Wiki. The main problem seems to be that the
display
property can’t be overridden for children.What I did was exclude
#mw-navigation
from hiding, and I added these:The text was updated successfully, but these errors were encountered: