MediaWiki:Gadget-TabSystem.css

From Halopedia, the Halo wiki

Revision as of 02:13, January 31, 2019 by Porplemontage (talk | contribs) (Created page with "→‎JS Tab System, Jacked and Hacked from the jsprefs in monobook/main.css -Dantman: .tabtoc { margin: 0 !important; padding: 0; width: 100%; clear: both; } .tabtoc li {...")
(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.
/* JS Tab System, Jacked and Hacked from the jsprefs in monobook/main.css -Dantman */

.tabtoc {
	margin: 0 !important;
	padding: 0;
	width: 100%;
	clear: both;
}
.tabtoc li {
	background-color: transparent;
	color: #000;
}
.tabtoc li {
	margin: 1px -2px 1px 2px;
	float: left;
	padding: 2px 0 3px 0;
	border: none;
	top:4px;
	left:-2px;
	position: relative;
	white-space: nowrap;
	list-style-type: none;
	list-style-image: none;
	z-index: 3;
}
.tabtoc li.selected {
	border-radius: 5px 5px 0 0;
	-webkit-border-radius: 5px 5px 0 0;
	-moz-border-radius: 5px 5px 0 0;
	-ms-border-radius: 5px 5px 0 0;
	-o-border-radius: 5px 5px 0 0;
	top: 2px;
	font-weight: bold;
	background-color: #f9f9f9;
	border: 1px solid #aaa;
	border-bottom: none;
	cursor: default;
	padding-top: 2px;
	margin-right: -3px;
}
.tabtoc >; li.selected {
	top: 2px;
}
.tabtoc a,
.tabtoc a:active {
	display: block;
	color: #000;
	padding: 0 .7em;
	position: relative;
	text-decoration: none;
}
.tabtoc li.selected a {
	cursor: default;
	text-decoration: none;
}
.tabcontainer {
	margin: 0;
	border: 1px solid #aaa;
	clear: both;
	padding: 7px;
	background-color: #F9F9F9;
}
.tabsection {
	border: none;
	padding: 0;
	margin: 0;
}
.tabsection .tabbox {
	border: 1px solid #aaa;
	float: left;
	margin-right: 2em;
}
.tabsection .tab {
	font-weight: bold;
}
.tabsection table, .tabsection .tab {
	background-color: #F9F9F9;
}
.mainTab {
	display: none;
}