MediaWiki:Gadget-TabSystem.css: Difference between revisions

m
no edit summary
mNo edit summary
mNo edit summary
 
(20 intermediate revisions by the same user not shown)
Line 10: Line 10:
top: 2px;
top: 2px;
color: #000;
color: #000;
border: none;
font-weight: normal;
white-space: nowrap;
white-space: nowrap;
list-style-type: none;
list-style-type: none;
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 24: Line 23:
top: 3px;
top: 3px;
cursor: default;
cursor: default;
font-weight: bold;
border-color: #aaa;
border-radius: 5px 5px 0 0;
background-color: #f9f9f9;
background-color: #f9f9f9;
border: 1px solid #aaa;
margin: 2px 0 3px;
border-bottom-width: 0;
border-radius: 5px 5px 0 0;
padding: 2px 0 0;
padding: 2px 0 0;
}
}
Line 35: Line 33:
color: #000;
color: #000;
display: block;
display: block;
padding: 0 0.7em;
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;
background: inherit;
min-height: 23px;
z-index: 10;
}
.tabcontainer {
clear: both;
background-color: #f9f9f9;
margin-bottom: 5px;
padding: 7px;
z-index: 5;
}
}
.tabsection {
.tabsection {
border: none;
position: relative;
position: relative;
border: none;
padding: 0;
padding: 0;
margin: 0;
margin: 0;
Line 65: Line 56:
/* Infobox */
/* Infobox */
.infobox .tabtoc li {
.infobox .tabtoc li {
font-size: 12px;
font-size: 12px !important;
}
.infobox:not(.tabbed) .tabtoc {
margin-bottom: 4px !important;
}
}
.infobox:not(.tabbed) .tabtoc li {
.infobox:not(.tabbed) .tabtoc li {
top: 3px;
margin: 1px;
margin: 1px;
top: 3px;
}
.infobox:not(.tabbed) .tabtoc {
margin-bottom: 4px !important;
}
}
.infobox:not(.tabbed) .tabtoc li.selected {
.infobox:not(.tabbed) .tabtoc li.selected {
border-radius: 0;
border-radius: 0;
border-bottom-width: 1px;
padding: 1px 0 0;
margin: 2px 0 3px;
}
}
.infobox:not(.tabbed) .tabtoc li.selected a {
.infobox:not(.tabbed) .tabtoc li.selected a {
height: auto;
padding-bottom: 0 !important;
}
}
.infobox .tabtoc a,
.infobox .tabtoc li a,
.infobox .tabtoc a:active {
.infobox .tabtoc li a:active {
padding: 0 5px;
padding: 0 5px;
}
}
.infobox .tabcontainer {
 
padding: 0;
/* Mobile */
margin-bottom: 0;
.mobile .tabtoc li {
}
font-size: 90%;
.tabcontainer .wikitable {
background: #fcfcfc;
margin: 0.3em 0 0 !important;
}
}
.tabcontainer pre,
.mobile .tabtoc li.selected a {
.tabcontainer .col-begin {
padding-bottom: 2px;
margin: 0 !important;
}
}
@media all and (max-width: 719px) {
@media all and (max-width: 719px) {
Line 110: Line 94:
margin-right: 4px;
margin-right: 4px;
}
}
}
/* Misc */
.tabcontainer .wikitable {
background: #fcfcfc;
margin: 0.3em 0 0 !important;
}
.tabcontainer pre,
.tabcontainer .col-begin {
margin: 0 !important;
}
}