MediaWiki:Gadget-TabSystem.css: Difference between revisions
From Halopedia, the Halo wiki
No edit summary |
No edit summary |
||
Line 81: | Line 81: | ||
} | } | ||
.tabcontainer pre { | .tabcontainer pre { | ||
margin: 0; | margin: 0 !important; | ||
} | } |
Revision as of 17:21, May 17, 2020
/* JS Tab System, jacked and hacked from the jsprefs in monobook/main.css -Dantman */
.tabtoc {
width: 100%;
clear: both;
padding: 0;
margin: 0 !important;
}
.tabtoc li {
color: #000;
background-color: transparent;
}
.tabtoc li {
float: left;
top: 4px;
left: -2px;
border: none;
position: relative;
margin: 1px -2px 1px 2px;
padding: 2px 0 3px;
white-space: nowrap;
list-style-type: none;
list-style-image: none;
z-index: 3;
}
.tabtoc li.selected {
top: 2px;
font-weight: bold;
background-color: #f9f9f9;
border-radius: 5px 5px 0 0;
border: 1px solid #aaa;
border-bottom: none;
cursor: default;
padding-top: 2px;
padding-bottom: 2px;
margin-right: -3px;
}
.tabtoc a,
.tabtoc a:active {
display: block;
color: #000;
padding: 0 0.7em;
position: relative;
text-decoration: none;
}
.tabtoc li.selected a {
cursor: default;
text-decoration: none;
}
.tabcontainer {
clear: both;
border: 1px solid #aaa;
background-color: #f9f9f9;
padding: 7px;
margin-bottom: 5px;
}
.tabsection {
border: none;
padding: 0;
margin: 0;
}
.tabsection .tabbox {
float: left;
border: 1px solid #aaa;
margin-right: 2em;
}
.tabsection .tab {
font-weight: bold;
}
.tabsection table, .tabsection .tab {
background-color: #f9f9f9;
}
.mainTab {
display: none;
}
.infobox .tabcontainer {
border-bottom: 0;
padding-bottom: 0;
margin-bottom: 0;
}
.tabcontainer pre {
margin: 0 !important;
}