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