MediaWiki:Common.css: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
@import url("https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined"); | @import url("https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined"); | ||
@import url("https://fonts.googleapis.com/css2?family=Material+Symbols+Rounded:FILL@0..1"); | @import url("https://fonts.googleapis.com/css2?family=Material+Symbols+Rounded:FILL@0..1"); | ||
/* Estilo do Botão ATRONIA no Rodapé */ | |||
.footer-button-atronia { | |||
display: inline-block; | |||
background-color: #d1ff00; /* A cor verde do teu print */ | |||
color: #000000 !important; /* Texto preto */ | |||
padding: 8px 25px; | |||
border-radius: 50px; /* Formato de cápsula */ | |||
font-weight: bold; | |||
text-decoration: none !important; | |||
font-family: sans-serif; | |||
margin-top: 10px; | |||
transition: transform 0.2s; | |||
} | |||
.footer-button-atronia:hover { | |||
transform: scale(1.05); /* Efeito de zoom ao passar o rato */ | |||
background-color: #b8e600; | |||
} | |||
Revision as of 13:31, 8 April 2026
@import url("https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined");
@import url("https://fonts.googleapis.com/css2?family=Material+Symbols+Rounded:FILL@0..1");
/* Estilo do Botão ATRONIA no Rodapé */
.footer-button-atronia {
display: inline-block;
background-color: #d1ff00; /* A cor verde do teu print */
color: #000000 !important; /* Texto preto */
padding: 8px 25px;
border-radius: 50px; /* Formato de cápsula */
font-weight: bold;
text-decoration: none !important;
font-family: sans-serif;
margin-top: 10px;
transition: transform 0.2s;
}
.footer-button-atronia:hover {
transform: scale(1.05); /* Efeito de zoom ao passar o rato */
background-color: #b8e600;
}
/* 1. Destacar o item principal ativo */
.vector-toc-list-item-active > .vector-toc-link .vector-toc-text {
font-weight: 700 !important; /* Força o negrito máximo */
color: #000000 !important; /* Cor preta forte para contraste */
}
/* Remove qualquer preenchimento extra de tags pre ou code que a wiki insira */
.variations-toggle pre,
.variations-toggle code {
display: contents !important;
background: none !important;
border: none !important;
padding: 0 !important;
margin: 0 !important;
}
.arrow-icon {
display: inline-flex; /* important */
align-items: center; /* vertical centering */
justify-content: center;
width: 24px; /* lock size */
height: 24px;
line-height: 1; /* remove font baseline weirdness */
transition: transform 0.25s ease;
}
.arrow-icon.rotated {
transform: rotate(180deg);
}
.variations-list > pre,
.variations-toggle > pre {
display: flex;
flex-direction: column;
padding-top: 0;
}
.mw-highlight > pre {
margin: 1em 0;
padding: 12px 16px;
background-color: #f6f6f6; /* restore */
border: 1px solid #ddd;
border-radius: 6px;
overflow-x: auto;
white-space: pre;
font-family: "Roboto Mono", monospace;
font-size: 13px;
line-height: 1.5;
display: block; /* IMPORTANT */
}
pre {
margin: 0;
padding: 0;
padding-top: 1rem;
background-color: transparent;
border: transparent;
display: flex;
justify-content: space-around;
}
/* Limpeza profunda do collapsible na grelha de produtos */
.product-item .mw-collapsible {
background: transparent !important;
border: none !important;
width: 100% !important;
}
.product-item .mw-collapsible-content {
background: transparent !important;
border: none !important;
padding: 0 !important;
margin: 0 !important;
}
/* Remove o ícone padrão de "seta" ou [Expandir] que o MediaWiki cria */
.product-item .mw-collapsible-toggle {
float: none !important;
background: transparent !important;
border: none !important;
padding: 0 !important;
}
/* Esconde o link automático de texto que o MediaWiki pode injetar */
.product-item .mw-collapsible-toggle-default {
display: none !important;
}
.vector-dropdown-checkbox {
background-color: red !important;
color: red !important;
}
.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;
}
/* 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;
}
/* Forçar a fonte Rubik no título principal */
#firstHeading {
font-family: "Rubik", sans-serif !important;
font-weight: 600 !important;
color: #202122 !important;
letter-spacing: -0.01em !important;
/* Removemos a nossa borda manual para usar apenas a da Wiki */
border-bottom: none !important;
margin-bottom: 0 !important;
padding-bottom: 5px !important;
}
/* Garante que o breadcrumb (< SENSBLUE ATLAS) também use a Rubik */
#contentSub,
#contentSub2 {
font-family: "Rubik", sans-serif !important;
font-size: 0.85em !important;
color: #54595d !important;
margin-top: 5px !important;
}
pre {
font-family: "Roboto", sans-serif !important;
}