MediaWiki:Neox4t.css

From neox4t wiki
Revision as of 20:04, 9 September 2023 by Art (talk | contribs) (Created page with "→‎CSS placed here will affect users of the xat skin: →‎Hide translated menus by default: .menu-es, .menu-et, .menu-fr, .menu-hu, .menu-it, .menu-nl, .menu-pt-br, .menu-ro, .menu-tr { display: none; } →‎Hide English menu on ..: html[lang=es] .menu-en, html[lang=et] .menu-en, html[lang=fr] .menu-en, html[lang=hu] .menu-en, html[lang=it] .menu-en, html[lang=nl] .menu-en, html[lang=pt-br] .menu-en, html[lang=ro] .menu-en, html[lang=tr] .menu-en { display: none;...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
/* CSS placed here will affect users of the xat skin */

/* Hide translated menus by default */
.menu-es,
.menu-et,
.menu-fr,
.menu-hu,
.menu-it,
.menu-nl,
.menu-pt-br,
.menu-ro,
.menu-tr {
	display: none;
}

/* Hide English menu on .. */
html[lang=es] .menu-en,
html[lang=et] .menu-en,
html[lang=fr] .menu-en,
html[lang=hu] .menu-en,
html[lang=it] .menu-en,
html[lang=nl] .menu-en,
html[lang=pt-br] .menu-en,
html[lang=ro] .menu-en,
html[lang=tr] .menu-en {
	display: none;
}

/* Show translated menus on .. */
html[lang=es] .menu-es,
html[lang=et] .menu-et,
html[lang=fr] .menu-fr,
html[lang=hu] .menu-hu,
html[lang=it] .menu-it,
html[lang=nl] .menu-nl,
html[lang=pt-br] .menu-pt-br,
html[lang=ro] .menu-ro,
html[lang=tr] .menu-tr {
	display: block;
}