MediaWiki:Common.css: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
| Line 4: | Line 4: | ||
/* Contentor do botão Buy Now (MONARCH) | /* 1. Contentor do botão Buy Now (MONARCH) - Alinhado à direita */ | ||
.buy-now-container { | .buy-now-container { | ||
margin: 20px 0; | margin: 20px 0; | ||
| Line 11: | Line 11: | ||
} | } | ||
/* Estilo do Botão | /* 2. Estilo do Botão - Base e Centralização */ | ||
.button-buy-now a { | .button-buy-now a.external { | ||
display: inline-flex !important; | display: inline-flex !important; | ||
align-items: center !important; | align-items: center !important; | ||
| Line 19: | Line 19: | ||
background-color: #d1ff00 !important; /* Verde néon */ | background-color: #d1ff00 !important; /* Verde néon */ | ||
color: #000 !important; /* Texto preto */ | color: #000 !important; /* Texto preto */ | ||
padding: 7px | |||
/* PADDING IGUAL DOS DOIS LADOS (Essencial para centrar) */ | |||
padding: 7px 25px !important; | |||
border-radius: 50px !important; | border-radius: 50px !important; | ||
font-weight: bold; | font-weight: bold !important; | ||
text-decoration: none !important; | text-decoration: none !important; | ||
font-size: 1.0em !important; | font-size: 1.0em !important; | ||
| Line 28: | Line 31: | ||
transition: transform 0.2s ease !important; | transition: transform 0.2s ease !important; | ||
/* Remove a seta e o espaço fantasma do MediaWiki */ | |||
background-image: none !important; | |||
margin-right: 0 !important; | |||
text- | text-indent: 0 !important; | ||
letter-spacing: 0 !important; | |||
} | } | ||
/* | /* 3. Forçar anulação de regras do sistema (mw-parser-output) */ | ||
.button-buy-now a.external { | .mw-parser-output .button-buy-now a.external { | ||
padding-right: 25px !important; /* Força a simetria com a esquerda */ | |||
background-image: none !important; | background-image: none !important; | ||
} | } | ||
/* | /* 4. Efeito ao passar o rato */ | ||
.button-buy-now a { | .button-buy-now a.external:hover { | ||
transform: scale(1.05) !important; | |||
background-color: #e2ff33 !important; | |||
text-decoration: none !important; | |||
} | } | ||