MediaWiki:Common.css
Appearance
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.
/* Basic button look */
.mw-button {
display: inline-block;
padding: 0.45em 0.9em;
border-radius: 6px;
text-decoration: none;
border: 1px solid #2b7cff;
background: #2b7cff;
color: white;
font-weight: 600;
vertical-align: middle;
line-height: 1.2;
}
.mw-button:hover, .mw-button:focus {
filter: brightness(0.95);
text-decoration: none;
}
/* Button group layout */
.mw-button-group {
display: inline-flex;
gap: 0.5em;
align-items: center;
}
/* small variant */
.mw-button.small { padding: 0.2em 0.5em; font-size: 0.9em; }
/* outline variant example */
.mw-button.outline {
background: transparent;
color: #2b7cff;
border-color: #2b7cff;
}