MediaWiki:Common.css: Difference between revisions
Appearance
No edit summary Tag: Reverted |
No edit summary Tags: Manual revert Reverted |
||
| Line 31: | Line 31: | ||
.product-subtitle { | .product-subtitle { | ||
display: block; | 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; | |||
} | |||
/* Botão Técnico Atlas - Cores Customizadas */ | |||
.mw-parser-output .atlas-btn { | |||
display: inline-block !important; | |||
padding: 10px 22px !important; | |||
background-color: #1B2826 !important; /* Cor base escura */ | |||
border: 1px solid #1B2826 !important; | |||
border-radius: 4px !important; | |||
transition: all 0.25s ease !important; | |||
cursor: pointer !important; | |||
text-align: center !important; | |||
border-bottom: 1px solid #1B2826 !important; /* Remove qualquer traço de link */ | |||
} | |||
/* Link dentro do botão - Forçar branco em todos os estados*/ | |||
.mw-parser-output .atlas-btn a, | |||
.mw-parser-output .atlas-btn a:link, | |||
.mw-parser-output .atlas-btn a:visited, | |||
.mw-parser-output .atlas-btn a:hover, | |||
.mw-parser-output .atlas-btn a:active { | |||
color: #ffffff !important; | |||
text-decoration: none !important; | |||
border-bottom: none !important; | |||
font-weight: bold !important; | |||
font-size: 0.95em !important; | |||
} | |||
/* Efeito Hover: Versão levemente mais clara */ | |||
.mw-parser-output .atlas-btn:hover { | |||
background-color: #3E524F !important; /* Tom mais claro */ | |||
border-color: #2A3B38 !important; | |||
text-decoration: none !important; | |||
box-shadow: 0 2px 4px rgba(0,0,0,0.2) !important; /* Sombra leve para profundidade */ | |||
} | |||
/* Garante que o link não mude de cor ou sublinhe no hover */ | |||
.mw-parser-output .atlas-btn a:hover { | |||
text-decoration: none !important; | |||
color: #ffffff !important; | |||
} | } | ||
Revision as of 14: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;
}
/* Botão Técnico Atlas - Cores Customizadas */
.mw-parser-output .atlas-btn {
display: inline-block !important;
padding: 10px 22px !important;
background-color: #1B2826 !important; /* Cor base escura */
border: 1px solid #1B2826 !important;
border-radius: 4px !important;
transition: all 0.25s ease !important;
cursor: pointer !important;
text-align: center !important;
border-bottom: 1px solid #1B2826 !important; /* Remove qualquer traço de link */
}
/* Link dentro do botão - Forçar branco em todos os estados*/
.mw-parser-output .atlas-btn a,
.mw-parser-output .atlas-btn a:link,
.mw-parser-output .atlas-btn a:visited,
.mw-parser-output .atlas-btn a:hover,
.mw-parser-output .atlas-btn a:active {
color: #ffffff !important;
text-decoration: none !important;
border-bottom: none !important;
font-weight: bold !important;
font-size: 0.95em !important;
}
/* Efeito Hover: Versão levemente mais clara */
.mw-parser-output .atlas-btn:hover {
background-color: #3E524F !important; /* Tom mais claro */
border-color: #2A3B38 !important;
text-decoration: none !important;
box-shadow: 0 2px 4px rgba(0,0,0,0.2) !important; /* Sombra leve para profundidade */
}
/* Garante que o link não mude de cor ou sublinhe no hover */
.mw-parser-output .atlas-btn a:hover {
text-decoration: none !important;
color: #ffffff !important;
}