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
Linha 128: Linha 128:
     width: 30px;
     width: 30px;
     height: 30px;
     height: 30px;
     background: red;
     background: #2d9058;
     color: white;
     color: white;
     border: none;
     border: none;

Edição das 15h05min de 17 de fevereiro 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: #7ed957;
}

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