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; | |||
} | } | ||
Revision as of 12:41, 13 March 2026
.products-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
gap: 30px;
margin-top: 20px;
}
.product-item {
text-align: center;
}
.product-image {
display: block;
margin: 0 auto 10px;
}
.product-title {
font-weight: 600;
margin-top: 6px;
}
.product-subtitle {
font-size: 14px;
color: #666;
}
.product-item strong {
display: block;
}
.product-subtitle {
display: block;
}
/* Impedir que o item ativo no índice mude para negrito durante o scroll */
.vector-toc-list-item-active > .vector-toc-link .vector-toc-text {
font-weight: normal !important;
}
/* Garante que o título do Datasheet e outros itens mantenham a consistência */
.vector-toc-link .vector-toc-text {
font-weight: normal !important;
}
/* Container do botão para alinhamento */
.custom-button-wrapper {
display: inline-block;
margin: 10px 0;
vertical-align: middle;
}
/* O Link transformado em Botão */
.mw-parser-output a.custom-btn-link {
display: block !important; /* Faz o link ocupar o botão todo */
padding: 8px 20px !important;
background-color: #f8f9fa !important;
border: 1px solid #a2a9b1 !important;
border-radius: 4px !important;
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 (Rato por cima) */
.mw-parser-output a.custom-btn-link:hover {
background-color: #eaecf0 !important; /* Cinza mais escuro */
border-color: #72777d !important;
text-decoration: none !important;
text-decoration-line: none !important;
box-shadow: none !important;
}