MediaWiki:Gadget-TabSystem.css

/* JS Tab System, taken from the jsprefs in monobook/main.css */ /* Source: https://www.halopedia.org/MediaWiki:Gadget-TabSystem.css */

/* Tabs fix */ .tabbox:not(:first-of-type) { display: none; } .mobile .tabbox > .tab { margin-bottom: 5.5px; } .tabbox > .tab { margin-bottom: 7px; font-weight: bold; } .tabcontainer { background-color: #f9f9f9; border: 1px solid #aaa; }

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

/* Infobox */ .infobox .tabtoc li { font-size: 12px; margin: 1px; } .infobox .tabtoc li.selected { padding: 1px 0 2px; margin: 0; } .infobox .tabtoc a, .infobox .tabtoc a:active { padding: 0 5px; } .infobox .tabcontainer { padding: 0; margin-bottom: 0; } .tabcontainer .wikitable { background: #fcfcfc; margin: 0.3em 0 0 !important; } .tabcontainer pre, .tabcontainer .col-begin { margin: 0 !important; } @media all and (max-width: 719px) { .mobile .tabtoc li.selected { top: 3px; }	.mobile .infobox .tabtoc li.selected { padding-bottom: 1.5px; }	.mobile .infobox .tabtoc li:first-of-type { margin-left: 0; }	.mobile .infobox .tabtoc li:last-of-type { margin-right: 0; }	.mobile .infobox .tabtoc li { margin-left: 4px; margin-right: 4px; } }