Template:Tab/styles.css
From Metroid Wiki
.t-tabs-container { width: 100%; clear: both; border: 2px solid #6e3c80; text-align: center; padding: .5em; margin: 0.5em 0 0.5em 1.4em; } .t-tabs-header { background-color: #3c0252; font-weight: 800; font-size: 1.1em; } .tabheader { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5em; margin: 0.5em; } .tabheader .tab { background-color: #3c0252; border: 1px solid #6e3c80; border-radius: 0.375em; cursor: pointer; font-weight: 500; padding: .5em; white-space: nowrap; } .tabheader .tab:hover { background-color: #f2f2f2; } .tabheader .tab.active { background-color: #aaa; } .tabcontents > .content { display: none; } .tabcontents > .content--active { display: block; }