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

De Wiki PokeLegends
Ir para navegação Ir para pesquisar
Sem resumo de edição
Sem resumo de edição
Etiqueta: Revertido
Linha 1: Linha 1:
/** o código CSS colocado aqui será aplicado a todos os temas */
/** ===== SISTEMA PREMIUM UI ===== */


/* ===== SEU CSS ORIGINAL ===== */
/* TRANSIÇÃO GLOBAL SUAVE */
#p-tb { display: none}
* {
#ca-talk { display: none !important; }
     transition: background 0.25s ease, color 0.25s ease, transform 0.15s ease;
#ca-edit { display: none !important; }
#ca-formedit { display: none !important; }
#ca-history { display: none !important;}
#ca-watch { display: none !important; }
#ca-unwatch { display: none !important; }
#ca-delete { display: none !important; }
#ca-move { display: none !important; }
#ca-protect { display: none !important; }
#ca-viewsource { display: none !important; }
 
.fullImageLink {
     display: none;
}
 
.anon #ca-ve-edit {
  display: none !important;
}
 
a.external {
    background: none;
    padding-right: 0;
}
}


#n-download a {
/* ===== DARK MODE (GPT STYLE) ===== */
  text-transform: capitalize !important;
body.dark-mode {
}
 
 
/* ===== FUNDO ESTILO GPT (CINZA) ===== */
 
/* Fundo geral */
body {
     background: #343541 !important;
     background: #343541 !important;
}
}


/* Área principal */
/* Conteúdo */
#content, .mw-body {
body.dark-mode #content,
body.dark-mode .mw-body {
     background: #444654 !important;
     background: #444654 !important;
     border-radius: 10px;
     border-radius: 12px;
     padding: 20px;
     padding: 20px;
}
    box-shadow: 0 0 25px rgba(0,0,0,0.25);
 
/* Remove branco padrão */
.mw-body-content {
    background: transparent !important;
}
}


/* Sidebar */
/* Sidebar */
#mw-panel {
body.dark-mode #mw-panel {
     background: #202123 !important;
     background: #202123 !important;
     border-right: 1px solid #2f3037;
     border-right: 1px solid #2f3037;
}
}


/* Texto da sidebar */
body.dark-mode #mw-panel a {
#mw-panel a {
     color: #ffffff !important;
     color: #ffffff !important;
    display: block;
    padding: 4px 8px;
    border-radius: 6px;
}
}


/* Hover sidebar */
/* Hover sidebar (efeito botão) */
#mw-panel a:hover {
body.dark-mode #mw-panel a:hover {
     color: #ffffff !important;
     background: #2a2b32;
    transform: translateX(3px);
}
}


/* Títulos da sidebar */
/* Títulos */
#mw-panel .portal h3 {
body.dark-mode #mw-panel .portal h3 {
     color: #9ca3af !important;
     color: #9ca3af !important;
}
}


/* Topo */
/* Topo */
#mw-head,
body.dark-mode #mw-head,
#mw-head-base {
body.dark-mode #mw-head-base {
     background: #202123 !important;
     background: #202123 !important;
     border-bottom: 1px solid #2f3037 !important;
     border-bottom: 1px solid #2f3037 !important;
}
}


/* Links gerais */
/* Links */
a {
body.dark-mode a {
     color: #8ab4f8;
     color: #8ab4f8;
}
}


a:hover {
body.dark-mode a:hover {
     color: #ffffff !important;
     color: #ffffff !important;
}
}


/* NÃO mexe nos ícones */
/* ===== LIGHT MODE ===== */
img {
body.light-mode {
     background: none !important;
     background: #f8f9fa !important;
    box-shadow: none !important;
}
}


body.light-mode #content,
body.light-mode .mw-body {
    background: #ffffff !important;
}


/* ===== CORREÇÃO DEFINITIVA DAS ABAS ===== */
/* ===== ABAS PREMIUM ===== */
 
/* Remove QUALQUER fundo branco */
#p-views li,
#p-views li,
#p-views li a,
#p-namespaces li {
#p-namespaces li,
     margin-right: 5px;
#p-namespaces li a {
     background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}
}


/* FORÇA TEXTO BRANCO PURO */
/* Botões das abas */
#p-views li a,
#p-views li a,
#p-namespaces li a,
#p-namespaces li a {
.vector-menu-tabs a,
.vector-menu-tabs span {
     color: #ffffff !important;
     color: #ffffff !important;
     opacity: 1 !important;
     padding: 6px 12px;
     filter: none !important;
     border-radius: 8px;
}
}


/* Aba ativa (Ler / Página principal) */
/* Aba ativa com glow */
#p-views li.selected,
body.dark-mode #p-views li.selected a,
#p-views li.selected a,
body.dark-mode #p-namespaces li.selected a {
#p-namespaces li.selected,
#p-namespaces li.selected a {
     background: #444654 !important;
     background: #444654 !important;
     color: #ffffff !important;
     box-shadow: 0 0 10px rgba(255,255,255,0.05);
}
 
/* Hover moderno */
body.dark-mode #p-views li a:hover,
body.dark-mode #p-namespaces li a:hover {
    background: #3a3b47 !important;
    transform: translateY(-2px);
}
 
/* ===== BOTÃO FLUTUANTE PREMIUM ===== */
#theme-toggle-btn {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 9999;
 
    width: 55px;
    height: 55px;
 
    border-radius: 50%;
    border: none;
 
    background: linear-gradient(145deg, #3a3b47, #2a2b32);
    color: white;
 
    font-size: 24px;
    cursor: pointer;
 
    box-shadow: 0 8px 25px rgba(0,0,0,0.5);
}
 
/* Hover botão */
#theme-toggle-btn:hover {
    transform: scale(1.15) rotate(8deg);
}
 
/* Tooltip */
#theme-toggle-btn::after {
    content: "Alternar tema";
    position: absolute;
    right: 65px;
    background: #111;
    color: #fff;
    padding: 6px 10px;
     border-radius: 6px;
     border-radius: 6px;
     opacity: 1 !important;
    font-size: 12px;
     opacity: 0;
    pointer-events: none;
}
}


/* Hover das abas */
/* Mostrar tooltip */
#p-views li a:hover,
#theme-toggle-btn:hover::after {
#p-namespaces li a:hover {
    opacity: 1;
     background: #3a3b47 !important;
}
     color: #ffffff !important;
 
    opacity: 1 !important;
/* Light mode botão */
body.light-mode #theme-toggle-btn {
     background: linear-gradient(145deg, #e5e7eb, #d1d5db);
     color: #111;
}
}


/* Containers das abas */
/* ===== PROTEÇÃO DE ÍCONES ===== */
.vector-menu-content,
img {
.vector-menu-tabs {
     background: none !important;
     background: transparent !important;
    box-shadow: none !important;
}
}

Edição das 16h42min de 2 de maio de 2026

/** ===== SISTEMA PREMIUM UI ===== */

/* TRANSIÇÃO GLOBAL SUAVE */
* {
    transition: background 0.25s ease, color 0.25s ease, transform 0.15s ease;
}

/* ===== DARK MODE (GPT STYLE) ===== */
body.dark-mode {
    background: #343541 !important;
}

/* Conteúdo */
body.dark-mode #content,
body.dark-mode .mw-body {
    background: #444654 !important;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 0 25px rgba(0,0,0,0.25);
}

/* Sidebar */
body.dark-mode #mw-panel {
    background: #202123 !important;
    border-right: 1px solid #2f3037;
}

body.dark-mode #mw-panel a {
    color: #ffffff !important;
    display: block;
    padding: 4px 8px;
    border-radius: 6px;
}

/* Hover sidebar (efeito botão) */
body.dark-mode #mw-panel a:hover {
    background: #2a2b32;
    transform: translateX(3px);
}

/* Títulos */
body.dark-mode #mw-panel .portal h3 {
    color: #9ca3af !important;
}

/* Topo */
body.dark-mode #mw-head,
body.dark-mode #mw-head-base {
    background: #202123 !important;
    border-bottom: 1px solid #2f3037 !important;
}

/* Links */
body.dark-mode a {
    color: #8ab4f8;
}

body.dark-mode a:hover {
    color: #ffffff !important;
}

/* ===== LIGHT MODE ===== */
body.light-mode {
    background: #f8f9fa !important;
}

body.light-mode #content,
body.light-mode .mw-body {
    background: #ffffff !important;
}

/* ===== ABAS PREMIUM ===== */
#p-views li,
#p-namespaces li {
    margin-right: 5px;
}

/* Botões das abas */
#p-views li a,
#p-namespaces li a {
    color: #ffffff !important;
    padding: 6px 12px;
    border-radius: 8px;
}

/* Aba ativa com glow */
body.dark-mode #p-views li.selected a,
body.dark-mode #p-namespaces li.selected a {
    background: #444654 !important;
    box-shadow: 0 0 10px rgba(255,255,255,0.05);
}

/* Hover moderno */
body.dark-mode #p-views li a:hover,
body.dark-mode #p-namespaces li a:hover {
    background: #3a3b47 !important;
    transform: translateY(-2px);
}

/* ===== BOTÃO FLUTUANTE PREMIUM ===== */
#theme-toggle-btn {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 9999;

    width: 55px;
    height: 55px;

    border-radius: 50%;
    border: none;

    background: linear-gradient(145deg, #3a3b47, #2a2b32);
    color: white;

    font-size: 24px;
    cursor: pointer;

    box-shadow: 0 8px 25px rgba(0,0,0,0.5);
}

/* Hover botão */
#theme-toggle-btn:hover {
    transform: scale(1.15) rotate(8deg);
}

/* Tooltip */
#theme-toggle-btn::after {
    content: "Alternar tema";
    position: absolute;
    right: 65px;
    background: #111;
    color: #fff;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 12px;
    opacity: 0;
    pointer-events: none;
}

/* Mostrar tooltip */
#theme-toggle-btn:hover::after {
    opacity: 1;
}

/* Light mode botão */
body.light-mode #theme-toggle-btn {
    background: linear-gradient(145deg, #e5e7eb, #d1d5db);
    color: #111;
}

/* ===== PROTEÇÃO DE ÍCONES ===== */
img {
    background: none !important;
    box-shadow: none !important;
}