MediaWiki:Common.css
MediaWiki interface page
More actions
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)
- Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/* CSS placed here will be applied to all skins */
/* Category buttons container */
.category-buttons {
display: flex;
flex-wrap: wrap;
gap: 10px;
margin-bottom: 20px;
justify-content: center; /* center align */
}
/* Button styling */
.category-buttons a {
display: inline-block;
padding: 10px 20px;
background-color: #2a1a0f;
color: #d4a017;
font-weight: bold;
text-decoration: none;
border-radius: 5px;
border: 2px solid #d4a017;
transition: all 0.2s;
}
.category-buttons a:hover {
background-color: #d4a017;
color: #2a1a0f;
cursor: pointer;
transform: translateY(-2px);
}