|
|
Line 1: |
Line 1: |
| /* Basic button look */
| | .create-page-button .mw-ui-button-text { |
| .mw-button {
| | display: inline-block; |
| display: inline-block;
| | color: inherit; |
| padding: 0.45em 0.9em;
| | text-decoration: none; |
| 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;
| |
| } | | } |