Jump to content

MediaWiki:Common.css: Difference between revisions

From ATRONIA Wiki
No edit summary
No edit summary
Line 51: Line 51:




/* Botão Técnico Atlas */
/* Botão Técnico Atlas - Cores Customizadas */
.mw-parser-output .atlas-btn {
.mw-parser-output .atlas-btn {
     display: inline-block !important;
     display: inline-block !important;
     padding: 10px 20px !important;
     padding: 10px 22px !important;
     background-color: #1B2826 !important;
     background-color: #1B2826 !important; /* Cor base escura */
     border: 1px solid #a2a9b1 !important;
     border: 1px solid #1B2826 !important;
     border-radius: 4px !important;
     border-radius: 4px !important;
     color: #ffffff !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 */
.mw-parser-output .atlas-btn a {
     color: #ffffff !important; /* Texto Branco */
     text-decoration: none !important;
     text-decoration: none !important;
     font-weight: bold !important;
     font-weight: bold !important;
     font-size: 0.9em !important;
     font-size: 0.95em !important;
    transition: all 0.2s ease !important;
    cursor: pointer !important;
    border-bottom: 1px solid #ffffff !important; /* Neutraliza borda de link */
}
}


/* Hover: Fundo cinza e garante ZERO sublinhado */
/* Efeito Hover: Versão levemente mais clara */
.mw-parser-output .atlas-btn:hover {
.mw-parser-output .atlas-btn:hover {
     background-color: #eaecf0 !important;
     background-color: #2A3B38 !important; /* Tom mais claro */
    border-color: #2A3B38 !important;
     text-decoration: none !important;
     text-decoration: none !important;
    border-color: #72777d !important;
     box-shadow: 0 2px 4px rgba(0,0,0,0.2) !important; /* Sombra leve para profundidade */
     box-shadow: none !important;
}
}


/* Mata qualquer sublinhado teimoso no link interno */
/* Garante que o link não mude de cor ou sublinhe no hover */
.mw-parser-output .atlas-btn a {
.mw-parser-output .atlas-btn a:hover {
     text-decoration: none !important;
     text-decoration: none !important;
     color: inherit !important;
     color: #ffffff !important;
}
}

Revision as of 12:52, 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 */
.mw-parser-output .atlas-btn a {
    color: #ffffff !important; /* Texto Branco */
    text-decoration: 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: #2A3B38 !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;
}