MediaWiki:Common.css: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
| Line 51: | Line 51: | ||
/* | /* Container do botão para alinhamento */ | ||
.custom-button-wrapper { | |||
display: inline-block; | |||
margin: 10px 0; | |||
vertical-align: middle; | |||
} | } | ||
/* | /* O Link transformado em Botão */ | ||
.custom-btn-link { | .mw-parser-output a.custom-btn-link { | ||
display: block; | display: block !important; /* Faz o link ocupar o botão todo */ | ||
padding: 8px 20px; | padding: 8px 20px !important; | ||
background-color: #f8f9fa !important; | |||
border-radius: 4px; | border: 1px solid #a2a9b1 !important; | ||
text- | border-radius: 4px !important; | ||
background: | color: #202122 !important; | ||
font-size: 0.9em !important; | |||
font-weight: bold !important; | |||
text-decoration: none !important; /* Remove sublinhado */ | |||
text-decoration-line: none !important; | |||
border-bottom: 1px solid #a2a9b1 !important; /* Remove borda de link */ | |||
transition: background 0.2s ease, border-color 0.2s ease !important; | |||
text-align: center !important; | |||
} | } | ||
/* Efeito Hover | /* Efeito Hover (Rato por cima) */ | ||
.custom-btn-link:hover { | .mw-parser-output a.custom-btn-link:hover { | ||
background-color: #eaecf0 !important; | background-color: #eaecf0 !important; /* Cinza mais escuro */ | ||
border-color: #72777d !important; | |||
text-decoration: none !important; | |||
text-decoration-line: none !important; | |||
box-shadow: none !important; | |||
} | } | ||