MediaWiki:Common.css: Difference between revisions
From The Taylor Archive
Created page with "→CSS placed here will be applied to all skins: →Hide empty language / action container box in Timeless sidebar: #p-lang, #other-languages, .mw-portlet-lang:empty, #mw-site-navigation .sidebar-chunk:last-child:empty { display: none !important; }" |
No edit summary |
||
| Line 1: | Line 1: | ||
/* CSS placed here will be applied to all skins */ | /* CSS placed here will be applied to all skins */ | ||
/* Hide empty | /* Hide empty sidebar chunks in Timeless */ | ||
#mw-site-navigation .sidebar-chunk:has(.sidebar-inner:empty), | |||
#mw-site-navigation .sidebar-chunk:last-child:not(:has(ul li)), | |||
#p-lang, | #p-lang, | ||
# | #p-multilingual-message, | ||
.mw-portlet-lang | .mw-portlet-lang { | ||
display: none !important; | display: none !important; | ||
} | } | ||
Revision as of 18:50, 20 July 2026
/* CSS placed here will be applied to all skins */
/* Hide empty sidebar chunks in Timeless */
#mw-site-navigation .sidebar-chunk:has(.sidebar-inner:empty),
#mw-site-navigation .sidebar-chunk:last-child:not(:has(ul li)),
#p-lang,
#p-multilingual-message,
.mw-portlet-lang {
display: none !important;
}