MediaWiki:Gadget-Switchable.css: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 12: | Line 12: | ||
cursor: default; | cursor: default; | ||
} | } | ||
ul.switchabletabs li | ul.switchabletabs li > * { | ||
white-space: nowrap; | white-space: nowrap; | ||
display: inline-block; | display: inline-block; |
Revision as of 10:30, July 16, 2024
ul.switchabletabs {
padding: 0;
margin: 0.5em 0;
}
ul.switchabletabs li {
display: inline;
list-style: none;
background: #F2F2F2;
border: 1px solid #AAA;
padding: 0.25em 0.5em;
margin-right: 0.5em;
cursor: default;
}
ul.switchabletabs li > * {
white-space: nowrap;
display: inline-block;
text-decoration: none;
}
.switchable.tabsleft > .switchabletabs {
text-align: left;
}
.switchable.tabsright > .switchabletabs {
text-align: right;
}
.switchable.tabscenter > .switchabletabs {
text-align: center;
}