Jump to content

MediaWiki:Common.css

From ATRONIA Wiki
Revision as of 12:41, 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;
}





/* 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;
}