MediaWiki:Common.css: mudanças entre as edições

De wiki.verde.rj.def.br
Ir para navegação Ir para pesquisar
Sem resumo de edição
Sem resumo de edição
 
(48 revisões intermediárias pelo mesmo usuário não estão sendo mostradas)
Linha 17: Linha 17:


#botao-top a:hover {
#botao-top a:hover {
color: #F6F6F6;  
color: #000000;  
text-decoration: none;
text-decoration: none;
}
/* estilo da lista do menu lateral*/
.vector-menu-content {
margin-top: 0.3em;
}
/* estilo do portal do menu lateral*/
@media screen {
  .vector-legacy-sidebar .vector-menu-portal {
    margin: 0 0.6em 0 0.7em;
    padding: 0.35em 0;
    direction: ltr;
  }
}
/* Estilo geral das seções */
.secao {
    padding: 20px;
    margin: 20px 0;
    border: 1px solid #ccc;
}
/* Estilo específico para o cabeçalho de destino */
.secao span:target {
    color: #ff0000; /* Cor diferente */
    margin-top: -80px; /* Ajuste para o cabeçalho ficar abaixo da borda superior */
    padding-top: 80px; /* Compensação para manter o conteúdo visível */
    font-weight: bolder;
}
/* Estilo específico para o cabeçalho de destino para seções sem borda */
.secaosb span:target {
    color: #ff0000; /* Cor diferente */
    margin-top: -80px; /* Ajuste para o cabeçalho ficar abaixo da borda superior */
    padding-top: 80px; /* Compensação para manter o conteúdo visível */
    font-weight: bolder;
}
/* bot com botão de fechar */
/* Botão de alternância inicial (💬) */
.bot-toggle {
    position: fixed;
    bottom: 16px;
    right: 16px;
    width: 50px;
    height: 50px;
    background-color: #2d9058;
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}
/* Ícone do botão no hover */
.bot-toggle:hover {
    background-color: #1f5034;
}
/* Esconde o chatbot inicialmente */
.bot {
    display: none;
    position: fixed;
    bottom: 16px;
    right: 16px;
    width: 100%;
    max-width: 400px;
    height: 500px;
    max-height: 80vh;
    overflow: hidden;
    z-index: 999;
}
/* Ajuste para telas menores */
@media (max-width: 600px) {
    .bot {
        max-width: 320px;
        height: 450px;
        max-height: 75vh;
    }
}
/* Ajuste para telas muito pequenas */
@media (max-width: 400px) {
    .bot {
        right: auto;
        left: 50%;
        transform: translateX(-50%);
        max-width: 280px;
        height: 400px;
        max-height: 70vh;
    }
}
/* Botão de fechar dentro do chat */
.chat-close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    background: #2d9058;
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    z-index: 1001;
}
.chat-close-btn:hover {
    background: #1f5034;
}
/* estilo da página de painel */
.div-card-painel {
max-width: 400px;
margin: 10px;
border: 1px solid #ccc;
border-radius: 8px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
font-family: Arial, sans-serif;
}
.div-image-card-painel {
height:300px;
display:flex;
align-items:center;
justify-content:center;
overflow:hidden;
}
.div-text-card-painel {
padding: 16px;
background-color: #4bb350;
}
.div-text-card-painel h3 {
font-size: 1.25rem;
margin-top: 0;
margin-bottom: 8px;
color: #ffffff;
}
.div-text-card-painel p {
font-size: 1rem;
color: #ffffff;
margin: 0;
}
/* Tooltip customizado para mapas de imagem */
.tooltip {
  position: absolute;
  background: rgba(51, 51, 51, 0.95);
  color: #fff;
  padding: 12px;
  border-radius: 6px;
  max-width: 320px;
  display: none;
  font-size: 14px;
  line-height: 1.4;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}
}

Edição atual tal como às 10h56min de 27 de setembro de 2025

/** o código CSS colocado aqui será aplicado a todos os temas */

#p-logo a {
    height: 175px;
}

@media screen {
	.vector-body {
		font-size: 1em;
	}
}

#botao-top a {
	color: #ffffff;
	text-decoration: none;
}

#botao-top a:hover {
	color: #000000; 
	text-decoration: none;
}

/* estilo da lista do menu lateral*/
.vector-menu-content {
	margin-top: 0.3em;
}

/* estilo do portal do menu lateral*/
@media screen {
  .vector-legacy-sidebar .vector-menu-portal {
    margin: 0 0.6em 0 0.7em;
    padding: 0.35em 0;
    direction: ltr;
  }
}

/* Estilo geral das seções */
.secao {
    padding: 20px;
    margin: 20px 0;
    border: 1px solid #ccc;
}

/* Estilo específico para o cabeçalho de destino */
.secao span:target {
    color: #ff0000; /* Cor diferente */
    margin-top: -80px; /* Ajuste para o cabeçalho ficar abaixo da borda superior */
    padding-top: 80px; /* Compensação para manter o conteúdo visível */
    font-weight: bolder;
}

/* Estilo específico para o cabeçalho de destino para seções sem borda */
.secaosb span:target {
    color: #ff0000; /* Cor diferente */
    margin-top: -80px; /* Ajuste para o cabeçalho ficar abaixo da borda superior */
    padding-top: 80px; /* Compensação para manter o conteúdo visível */
    font-weight: bolder;
}

/* bot com botão de fechar */

/* Botão de alternância inicial (💬) */
.bot-toggle {
    position: fixed;
    bottom: 16px;
    right: 16px;
    width: 50px;
    height: 50px;
    background-color: #2d9058;
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

/* Ícone do botão no hover */
.bot-toggle:hover {
    background-color: #1f5034;
}

/* Esconde o chatbot inicialmente */
.bot {
    display: none;
    position: fixed;
    bottom: 16px;
    right: 16px;
    width: 100%;
    max-width: 400px;
    height: 500px;
    max-height: 80vh;
    overflow: hidden;
    z-index: 999;
}

/* Ajuste para telas menores */
@media (max-width: 600px) {
    .bot {
        max-width: 320px;
        height: 450px;
        max-height: 75vh;
    }
}

/* Ajuste para telas muito pequenas */
@media (max-width: 400px) {
    .bot {
        right: auto;
        left: 50%;
        transform: translateX(-50%);
        max-width: 280px;
        height: 400px;
        max-height: 70vh;
    }
}

/* Botão de fechar dentro do chat */
.chat-close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    background: #2d9058;
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    z-index: 1001;
}

.chat-close-btn:hover {
    background: #1f5034;
}


/* estilo da página de painel */

.div-card-painel {
max-width: 400px; 
margin: 10px; 
border: 1px solid #ccc; 
border-radius: 8px; 
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); 
font-family: Arial, sans-serif;
}

.div-image-card-painel {
height:300px; 
display:flex; 
align-items:center; 
justify-content:center; 
overflow:hidden;
}

.div-text-card-painel {
padding: 16px; 
background-color: #4bb350;
}

.div-text-card-painel h3 {
font-size: 1.25rem; 
margin-top: 0; 
margin-bottom: 8px; 
color: #ffffff;
}

.div-text-card-painel p {
font-size: 1rem; 
color: #ffffff; 
margin: 0;
}

/* Tooltip customizado para mapas de imagem */
.tooltip {
  position: absolute;
  background: rgba(51, 51, 51, 0.95);
  color: #fff;
  padding: 12px;
  border-radius: 6px;
  max-width: 320px;
  display: none;
  font-size: 14px;
  line-height: 1.4;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}