MediaWiki:Common.css
Appearance
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.
@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");
/* Contentor do botão Buy Now (MONARCH) para dar espaçamento */
.buy-now-container {
margin: 20px 0;
display: flex !important;
justify-content: flex-end !important;
}
/* Estilo do Botão Buy Now (Igual ao do site) */
.button-buy-now a {
display: inline-flex !important;
align-items: center !important;
justify-content: center !important;
background-color: #d1ff00 !important; /* Verde néon */
color: #000 !important; /* Texto preto */
padding: 7px 10px 7px 10px !important;
border-radius: 50px !important;
font-weight: bold;
text-decoration: none !important;
font-size: 1.0em !important;
font-family: "Rubik", sans-serif !important;
box-shadow: 0 4px 8px rgba(0,0,0,0.15) !important;
transition: transform 0.2s ease !important;
/* Remove qualquer comportamento de bloco que cause desalinhamento */
width: auto !important;
min-width: 120px; /* Garante um tamanho mínimo consistente */
text-align: center !important;
}
/* REMOVE O VILÃO: Espaçamento de link externo do MediaWiki */
.button-buy-now a.external {
background-image: none !important;
padding-right: 25px !important; /* Força o mesmo valor da esquerda */
margin-right: 0 !important;
}
/* Ajuste fino para a fonte Rubik (se parecer ligeiramente para a esquerda) */
.button-buy-now a {
text-indent: 0 !important;
letter-spacing: 0 !important;
}
/* 1. Contentor do Rodapé - Força a largura total para permitir o alinhamento à direita */
#footer-places {
display: flex !important;
width: 100% !important;
align-items: center !important;
flex-wrap: nowrap !important;
padding: 10px 0 !important;
}
/* 2. Links da Esquerda - Garante o espaçamento entre eles */
#footer-places li {
margin-right: 15px !important;
list-style: none !important;
}
/* 3. O Alvo do Botão - O "margin-left: auto" empurra-o para o extremo direito */
#footer-custom-button {
margin-left: auto !important;
margin-right: 0 !important;
list-style: none !important;
}
/* 4. Estilo Final do Botão (Cápsula Verde) */
/* Estilo do Botão Aumentado */
.footer-button-atronia-real {
display: inline-block !important;
background-color: #d1ff00 !important;
color: #000 !important;
/* AUMENTA ESTES VALORES: */
padding: 7px 35px !important; /* Mais largo e alto */
font-size: 1.1em !important; /* Texto maior */
border-radius: 50px !important;
font-weight: bold !important;
text-decoration: none !important;
white-space: nowrap !important;
box-shadow: 0 4px 8px rgba(0,0,0,0.2) !important; /* Sombra mais visível */
transition: all 0.2s ease-in-out !important;
font-family: sans-serif !important;
}
/* Ajuste do Hover para acompanhar o tamanho */
.footer-button-atronia-real:hover {
background-color: #e2ff33 !important;
transform: scale(1.1) !important; /* Aumenta um pouco ao passar o rato */
}
/* Garante que o ícone de link externo não estraga o tamanho */
.footer-button-atronia-real.external {
background-image: none !important;
padding-right: 35px !important;
}
/* Remove a seta de link externo do MediaWiki */
.footer-button-atronia-real.external,
.footer-button-atronia-real.external:after {
background-image: none !important;
padding-right: 20px !important;
margin-right: 0 !important;
}
/* --- AJUSTE PARA MOBILE --- */
@media screen and (max-width: 720px) {
/* Faz os links e o botão ficarem em coluna */
#footer-places {
display: flex !important;
flex-direction: column !important;
align-items: center !important; /* Centra tudo */
text-align: center !important;
}
/* Remove o empurrão para a direita e centraliza o botão */
#footer-custom-button {
margin-left: 0 !important;
margin-top: 20px !important; /* Dá espaço entre o texto e o botão */
width: 100% !important;
}
/* Garante que os links de cima não fiquem colados */
#footer-places li {
margin-right: 0 !important;
margin-bottom: 8px !important;
}
/* Ajusta o tamanho do botão para não ocupar o ecrã todo, mas ser fácil de clicar */
.footer-button-atronia-real {
padding: 12px 40px !important;
font-size: 1.2em !important;
}
}
/* 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;
}