MediaWiki:Gadget-Switchable.css: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
(5 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
ul.switchabletabs { | ul.switchabletabs { | ||
margin: 0. | padding: 0; | ||
margin: 0.3em 0; | |||
} | } | ||
ul.switchabletabs li { | ul.switchabletabs li { | ||
Line 9: | 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 | ul.switchabletabs li > * { | ||
white-space: nowrap; | white-space: nowrap; | ||
display: inline-block; | display: inline-block; | ||
Line 17: | Line 19: | ||
} | } | ||
.switchable. | .switchable.alignleft > .switchabletabs { | ||
text-align: left; | text-align: left; | ||
} | } | ||
.switchable. | .switchable.alignright > .switchabletabs { | ||
text-align: right; | text-align: right; | ||
} | } | ||
.switchable. | .switchable.aligncenter > .switchabletabs { | ||
text-align: center; | 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;
}