Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

MediaWiki:Gadget-Tabs.css

MediaWiki interface page
Revision as of 00:48, 1 April 2024 by Desu (talk | contribs) (Trimming more redundant CSS)

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.
div.tabdiv {
  position: relative;
}

div.tabdiv > ul {
    display: block;
    position: relative;
}

div.tabdiv > ul > li > a {
    position: relative;
}

div.tabdiv > div {
    position: relative;
}

div.tabdiv div.tabdiv:not(.forceport),
table.infobox div.tabdiv:not(.forceport),
div.tabdiv.forceland {
    display: block;
}

div.tabdiv div.tabdiv:not(.forceport) > ul,
table.infobox div.tabdiv:not(.forceport) > ul,
div.tabdiv.forceland > ul {
    border-right: none;
}

div.tabdiv > div {
    padding: 0; /* no whitespace when the section is blank */
}

div.tabdiv > ul {
    margin: 0;
    font-weight: bold;
}

div.tabdiv > ul > li a {
    text-decoration: none;
}

div.tabdiv > ul > li:hover {
  background-color: #c4a645;
  color:black;
}
div.tabdiv > ul > li.active {
  background-color: #f1df74;
}

div.tabdiv > ul > li.hidden { /* overqualify to override forceland styles */
	visibility:hidden; /* hide from screen readers */
	display:none; /* hide from visible page */
}