mNo edit summary |
mNo edit summary |
||
Line 2: | Line 2: | ||
.tabtoc { | .tabtoc { | ||
width: 100%; | |||
clear: both; | clear: both; | ||
padding: 0 !important; | padding: 0 !important; | ||
margin: 0 !important; | margin: 0 !important; | ||
Line 10: | Line 10: | ||
top: 2px; | top: 2px; | ||
color: #000; | color: #000; | ||
font-weight: normal; | font-weight: normal; | ||
white-space: nowrap; | white-space: nowrap; | ||
Line 16: | Line 15: | ||
list-style-image: none; | list-style-image: none; | ||
background: transparent; | background: transparent; | ||
border: 1px solid transparent; | |||
display: inline-block; | display: inline-block; | ||
position: relative; | position: relative; | ||
Line 25: | Line 25: | ||
cursor: default; | cursor: default; | ||
font-weight: bold; | font-weight: bold; | ||
border-color: #aaa; | |||
border-radius: 5px 5px 0 0; | |||
background-color: #f9f9f9; | background-color: #f9f9f9; | ||
margin: 2px 0 3px; | |||
padding: 2px 0 0; | padding: 2px 0 0; | ||
} | } | ||
.tabtoc li a, | .tabtoc li a, | ||
Line 35: | Line 35: | ||
color: #000; | color: #000; | ||
display: block; | display: block; | ||
position: relative; | position: relative; | ||
text-decoration: none; | text-decoration: none; | ||
padding: 0 0.5em; | |||
} | } | ||
.tabtoc li.selected a { | .tabtoc li.selected a { | ||
z-index: 10; | |||
cursor: default; | cursor: default; | ||
background: inherit; | |||
border-radius: inherit; | |||
text-decoration: none; | text-decoration: none; | ||
} | } | ||
.tabsection { | .tabsection { | ||
border: none; | |||
position: relative; | position: relative; | ||
padding: 0; | padding: 0; | ||
margin: 0; | margin: 0; | ||
Line 73: | Line 73: | ||
border-radius: 0; | border-radius: 0; | ||
font-weight: normal; | font-weight: normal; | ||
} | } | ||
.infobox .tabtoc li a, | .infobox .tabtoc li a, |
Revision as of 21:43, December 7, 2023
/* 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: 2px;
color: #000;
font-weight: normal;
white-space: nowrap;
list-style-type: none;
list-style-image: none;
background: transparent;
border: 1px solid transparent;
display: inline-block;
position: relative;
padding: 2px 0 3px;
margin: 1px 0 0;
}
.tabtoc li.selected {
top: 3px;
cursor: default;
font-weight: bold;
border-color: #aaa;
border-radius: 5px 5px 0 0;
background-color: #f9f9f9;
margin: 2px 0 3px;
padding: 2px 0 0;
}
.tabtoc li a,
.tabtoc li a:active {
color: #000;
display: block;
position: relative;
text-decoration: none;
padding: 0 0.5em;
}
.tabtoc li.selected a {
z-index: 10;
cursor: default;
background: inherit;
border-radius: inherit;
text-decoration: none;
}
.tabsection {
border: none;
position: relative;
padding: 0;
margin: 0;
}
.mainTab {
display: none;
}
/* Infobox */
.infobox .tabtoc li {
font-size: 12px !important;
}
.infobox .tabtoc li.selected a {
padding-bottom: 0 !important;
}
.infobox:not(.tabbed) .tabtoc {
margin-bottom: 4px !important;
}
.infobox:not(.tabbed) .tabtoc li {
top: 3px;
margin: 1px;
}
.infobox:not(.tabbed) .tabtoc li.selected {
border-radius: 0;
font-weight: normal;
}
.infobox .tabtoc li a,
.infobox .tabtoc li a:active {
padding: 0 5px;
}
/* Mobile */
.mobile .tabtoc li {
font-size: 90%;
}
.mobile .tabtoc li.selected a {
padding-bottom: 2px;
}
@media all and (max-width: 719px) {
.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;
}
}
/* Misc */
.tabcontainer .wikitable {
background: #fcfcfc;
margin: 0.3em 0 0 !important;
}
.tabcontainer pre,
.tabcontainer .col-begin {
margin: 0 !important;
}