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.
/* ---------- DULL CATEGORY BUTTONS WITH ALWAYS-VISIBLE OVERLAY ---------- */
.cat-button {
position: relative;
display: block;
width: 200px;
margin: 0 auto;
text-align: center;
text-decoration: none;
box-shadow: 0 2px 6px rgba(0,0,0,0.08);
border-radius: 8px;
overflow: hidden;
background: #f9f9f9;
transition: box-shadow 0.2s ease;
}
.cat-button:hover {
box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.cat-button img {
display: block;
width: 100%;
height: auto;
}
/* Always-visible overlay */
.cat-button .cat-overlay {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
display: flex;
align-items: center;
justify