MediaWiki:Gadget-Switchable.css: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
(11 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
.switchabletabs li { | ul.switchabletabs { | ||
padding: 0; | |||
margin: 0.3em 0; | |||
} | |||
ul.switchabletabs li { | |||
display: inline; | display: inline; | ||
list-style: none; | list-style: none; | ||
Line 6: | Line 10: | ||
padding: 0.25em 0.5em; | padding: 0.25em 0.5em; | ||
margin-right: 0.5em; | margin-right: 0.5em; | ||
line-height: 1.9; | |||
cursor: default; | cursor: default; | ||
} | |||
ul.switchabletabs li > * { | |||
white-space: nowrap; | |||
display: inline-block; | |||
text-decoration: none; | |||
} | |||
.switchable.alignleft > .switchabletabs { | |||
text-align: left; | |||
} | |||
.switchable.alignright > .switchabletabs { | |||
text-align: right; | |||
} | |||
.switchable.aligncenter > .switchabletabs { | |||
text-align: center; | |||
} | } |
Latest revision as of 09:44, July 19, 2024
ul.switchabletabs {
padding: 0;
margin: 0.3em 0;
}
ul.switchabletabs li {
display: inline;
list-style: none;
background: #F2F2F2;
border: 1px solid #AAA;
padding: 0.25em 0.5em;
margin-right: 0.5em;
line-height: 1.9;
cursor: default;
}
ul.switchabletabs li > * {
white-space: nowrap;
display: inline-block;
text-decoration: none;
}
.switchable.alignleft > .switchabletabs {
text-align: left;
}
.switchable.alignright > .switchabletabs {
text-align: right;
}
.switchable.aligncenter > .switchabletabs {
text-align: center;
}