MediaWiki:AnchorTabs.css
From Elwiki
Note: After publishing, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
- Opera: Press Ctrl-F5.
.anchor-tabs {
display: flex;
flex-wrap: wrap;
gap: 2px;
}
.anchor-tabs a {
min-width: 5em;
max-width: 40em;
border-width: 0;
border-radius: 6px 6px 0 0;
height: 2.2em;
font-size: 1em;
line-height: 2.2em;
padding: 0 0.5em;
font-weight: 500;
display: block;
color: black;
text-align: center;
text-decoration: none!important;
transition: .3s;
}
.anchor-tabs a.mw-selflink {
font-weight: 600;
color: white;
}
.anchor-tabs a:not(.mw-selflink):hover {
transform: translateY(-5px);
}