MediaWiki:Gadget-Tabs.css

.tabcontainer { display: flex; flex-wrap: wrap; } .tabcontainer--center { justify-content: center; } .tabcontainer--stretch .tab { flex: 1 0 0; } .tabcontainer--columns .tab { flex: 1 0 100%; } .tabcontainer-top { margin-top: 4px; margin-bottom: 8px; } .tabcontainer-bottom { margin-top: 8px; margin-bottom: 4px; }

.tab { min-width: fit-content; }

.tabcontents .content { display: none; } .tabcontents--fixed-width .content:not(.content--active) { display: block; visibility: hidden; height: 0; } .tabcontents .content.content--active { display: block; }

.tabcontainer .tab.explain { /* See MediaWiki:Gadget-Tooltips */ text-decoration: none; float: none; display: inline-block; }