Jump to content

MediaWiki:Common.css

From ATRONIA Wiki
Revision as of 12:50, 13 March 2026 by WikiManagement (talk | contribs)

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
.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 */
.mw-parser-output .atlas-btn {
    display: inline-block !important;
    padding: 10px 20px !important;
    background-color: #1B2826 !important;
    border: 1px solid #a2a9b1 !important;
    border-radius: 4px !important;
    color: #ffffff !important;
    text-decoration: none !important;
    font-weight: bold !important;
    font-size: 0.9em !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 */
.mw-parser-output .atlas-btn:hover {
    background-color: #eaecf0 !important;
    text-decoration: none !important;
    border-color: #72777d !important;
    box-shadow: none !important;
}

/* Mata qualquer sublinhado teimoso no link interno */
.mw-parser-output .atlas-btn a {
    text-decoration: none !important;
    color: inherit !important;
}