MediaWiki:Common.css: Difference between revisions
Appearance
Blanked the page Tag: Blanking |
No edit summary Tag: Reverted |
||
Line 1: | Line 1: | ||
/* 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; | |||
} |