MediaWiki:Common.css
De CIGAM WIKI
Nota: Após publicar, você pode ter que limpar o "cache" do seu navegador para ver as alterações.
- Firefox / Safari: Pressione Shift enquanto clica Recarregar, ou pressione Ctrl-F5 ou Ctrl-R (⌘-R no Mac)
- Google Chrome: Pressione Ctrl-Shift-R (⌘-Shift-R no Mac)
- Edge: Pressione Ctrl enquanto clica Recarregar, ou pressione Ctrl-F5.
- Opera: Pressione Ctrl-F5.
/** o código CSS colocado aqui será aplicado a todos os temas */
.search {
width: 100%;
height: 30px;
display: inline-flex;
justify-content: left;
}
#bingSearchInput {
width: 80%;
height: 30px;
margin-right: 10px;
color: black;
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border: 1px solid;
}
#bingSearchButton {
background-color: #FF6600;
height: 30px;
width: 100px;
font-weight: bold;
border-radius: 5px;
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border: 1px solid;
color: white;
}
#bingPrincipalSearchInput {
width: 80%;
height: 30px;
margin-right: 10px;
color: black;
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border: 1px solid;
}
#bingPrincipalSearchButton {
background-color: #FF6600;
height: 30px;
width: 100px;
font-weight: bold;
border-radius: 5px;
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border: 1px solid;
color: white;
}
#bingPrincipalChatInput {
width: 80%;
height: 30px;
margin-right: 10px;
color: black;
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border: 1px solid;
}
#bingPrincipalChatInput {
width: 80%;
height: 30px;
margin-right: 10px;
color: black;
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border: 1px solid;
}
#bingPrincipalChatButton {
background-color: #FF6600;
height: 30px;
width: 100px;
font-weight: bold;
border-radius: 5px;
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border: 1px solid;
color: white;
}
/* Botão Expandir/Recolher */
.mw-collapsible-toggle {
background-color: #c8d8e8;
color: #000033;
padding: 1px 6px;
border-radius: 3px;
}
.mw-collapsible-toggle:hover {
background-color: #2a3f5f;
color: #ffffff;
}
/* Tabelas de botões/imagens - remover espaçamento extra MW 1.45 */
.mw-parser-output table td figure {
margin: 0 !important;
}
.mw-parser-output table td .mw-file-element {
display: block;
}
.plainlinks a:hover {
opacity: 0.65;
text-decoration: none;
}
/* Botão Redirecionar site Cigam */
.cigam-cta-wrapper {
text-align: center;
margin: 20px 0;
}
.cigam-cta-wrapper a,
.cigam-cta-wrapper a.external {
display: inline-flex;
background-color: #FF5810;
background-image: none !important;
color: #fff !important;
padding: 10px 28px;
font-size: 16px;
border-radius: 30px;
font-family: 'Mulish', sans-serif;
font-weight: 700;
text-decoration: none;
opacity: 0.9;
transition: opacity 0.2s ease;
}
.cigam-cta-wrapper a:hover {
opacity: 1;
}
/* Botão Flutuante redirecionar site Cigam */
.cigam-cta-floating,
.cigam-cta-floating:link,
.cigam-cta-floating:visited,
.cigam-cta-floating:hover,
.cigam-cta-floating:active {
position: fixed;
bottom: 24px;
right: 24px;
z-index: 999;
display: flex;
align-items: center;
background-color: #ff6a00;
color: #fff !important;
height: 56px;
width: 56px;
padding: 0 14px;
border-radius: 28px;
overflow: hidden;
white-space: nowrap;
text-decoration: none !important;
box-shadow: 0 4px 10px rgba(0,0,0,0.25);
box-sizing: border-box;
transition: width 0.3s ease;
}
.cigam-cta-floating:hover {
width: 190px;
}
.cigam-cta-floating-icon {
flex-shrink: 0;
width: 28px;
height: 28px;
background-image: url("https://www.cigam.com.br/wiki/thumb.php?f=Final_Tangram_Branco.png&width=128");
background-repeat: no-repeat;
background-position: center;
background-size: 28px 28px;
}
.cigam-cta-floating-text {
margin-left: 10px;
font-weight: bold;
font-size: 16px;
color: #fff !important;
text-decoration: none !important;
opacity: 0;
transition: opacity 0.2s ease 0.1s;
}
.cigam-cta-floating:hover .cigam-cta-floating-text {
opacity: 1;
}
@media (max-width: 768px) {
.cigam-cta-floating,
.cigam-cta-floating:link,
.cigam-cta-floating:visited {
bottom: 16px;
right: 16px;
height: 48px;
width: 48px;
padding: 0 12px;
}
.cigam-cta-floating-icon {
width: 24px;
height: 24px;
background-size: 24px 24px;
}
.cigam-cta-floating-text {
font-size: 14px;
}
.cigam-cta-floating:hover {
width: 170px;
}
}
/* Removido gato da wiki */
#mw-content-container {
background-image: none !important;
border-top: none !important;
box-shadow: none !important;
}
/* Botão site ao lado do botão buscar */
.cigam-header-btn {
display: inline-flex;
align-items: center;
justify-content: center;
background-color: #21BBBF;
color: #fff !important;
height: 30px;
padding: 0 14px;
margin-left: 10px;
border-radius: 5px;
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
font-weight: bold;
text-decoration: none !important;
white-space: nowrap;
vertical-align: middle;
box-sizing: border-box;
opacity: 0.9;
transition: opacity 0.2s ease;
}
.cigam-header-btn:hover {
opacity: 1;
}
#p-logo {
display: none !important;
}
/* ===== Limpeza das linhas/barras decorativas do header ===== */
#mw-header-hack,
#mw-header-nav-hack,
#menus-cover {
background-color: #ffffff !important;
background-image: none !important;
border: none !important;
box-shadow: none !important;
}
#mw-header-hack .color-bar,
#mw-header-nav-hack .color-bar,
#mw-header-hack .color-left,
#mw-header-hack .color-middle,
#mw-header-hack .color-right,
#mw-header-nav-hack .color-left,
#mw-header-nav-hack .color-middle,
#mw-header-nav-hack .color-right,
.color-bar,
.color-left,
.color-middle,
.color-right {
background-color: #ffffff !important;
background-image: none !important;
border: none !important;
box-shadow: none !important;
}
#mw-content-container {
background-image: none !important;
border-top: none !important;
box-shadow: none !important;
}
/* Cobre possíveis pseudo-elementos usados pelo skin para desenhar as barras */
#mw-header-hack::before,
#mw-header-hack::after,
#mw-header-nav-hack::before,
#mw-header-nav-hack::after,
#menus-cover::before,
#menus-cover::after,
#mw-content-container::before,
#mw-content-container::after {
display: none !important;
content: none !important;
}
/* Ícone Cigam by Senior que redireciona pro site */
#mw-header {
display: flex !important;
align-items: center !important;
justify-content: flex-start !important;
}
#p-logo-text {
display: flex;
align-items: center;
gap: 8px;
white-space: nowrap;
width: auto !important;
max-width: none !important;
overflow: visible !important;
margin: 0 16px 0 16px !important;
order: -1 !important;
}
.cigam-header-logo {
height: 26px;
width: auto;
display: block;
flex-shrink: 0;
}
/* Altura inputs e botões iguais */
#bingPrincipalSearchInput,
#bingPrincipalSearchButton,
.cigam-header-btn {
box-sizing: border-box !important;
height: 30px !important;
line-height: 28px !important;
vertical-align: middle;
}
.search {
align-items: center;
}
