Ir para o conteúdo

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

De PokeStorm Wiki
Sem resumo de edição
Sem resumo de edição
Linha 1: Linha 1:
/** =========================================================
*  POKESTORM WIKI - COMMON.CSS
*  ========================================================= */
/** =========================================================
*  ABAS E ELEMENTOS OCULTOS
*  ========================================================= */
#ca-nstab-main,
#ca-talk,
#ca-viewsource,
.vector-user-menu-logged-out/*,
.vector-pinnable-header-toggle-button*/
{
    display: none !important;
}
/** =========================================================
*  LARGURA DO CONTEÚDO
*  ========================================================= */
@media screen and (min-width: 1400px) {
    .vector-limited-width-toggle.cdx-button,
    .vector-limited-width-popup {
        display: none !important;
    }
}
/** =========================================================
*  FUNDO GLOBAL DA WIKI
*  ========================================================= */
html,
body {
    background-color: #eaf6fd !important;
}
#content,
.mw-body,
.mw-page-container {
    background-color: #ffffff !important;
}
/** =========================================================
*  CABEÇALHO
*  ========================================================= */
.vector-header-container {
    background: linear-gradient(135deg, #1689d7, #4db8f2) !important;
}
.vector-header-container a {
    color: #ffffff !important;
}
/** =========================================================
*  TÍTULO PRINCIPAL DAS PÁGINAS
*  ========================================================= */
.firstHeading {
    color: #1689d7 !important;
    font-weight: bold !important;
    border-bottom: 3px solid #5dbcfc;
    padding-bottom: 8px;
}
/** =========================================================
*  TÍTULOS DAS SEÇÕES
*  ========================================================= */
.mw-heading2 h2 {
    color: #1689d7 !important;
    border-bottom: 2px solid #9bd4f5;
    padding-bottom: 6px;
}
.mw-heading3 h3 {
    color: #1689d7 !important;
}
.mw-heading4 h4 {
    color: #1689d7 !important;
}
/** =========================================================
*  LINKS
*  ========================================================= */
a {
    color: #1689d7;
    transition: all 0.2s ease;
}
a:hover {
    color: #0b6eae !important;
}
/** =========================================================
*  MENU LATERAL
*  ========================================================= */
.vector-main-menu {
    background-color: #eaf6fd !important;
}
.vector-main-menu .vector-menu-heading {
    color: #1689d7 !important;
    font-weight: bold;
}
.vector-main-menu a {
    color: #1689d7 !important;
}
.vector-main-menu a:hover {
    background-color: #d5effc !important;
    color: #0b6eae !important;
}
/** =========================================================
*  MENU DO USUÁRIO
*  ========================================================= */
.vector-user-links {
    background: transparent !important;
}
.vector-user-links a {
    color: #1689d7 !important;
}
.vector-user-links a:hover {
    color: #0b6eae !important;
}
/** =========================================================
*  TABELAS
*  ========================================================= */
.wikitable {
    border: 1px solid #9bd4f5 !important;
    border-radius: 10px;
    overflow: hidden;
}
.wikitable th {
    background: linear-gradient(135deg, #1689d7, #4db8f2) !important;
    color: #ffffff !important;
    border-color: #9bd4f5 !important;
}
.wikitable td {
    border-color: #b9dff5 !important;
}
.wikitable tr:nth-child(even) {
    background-color: #f4fbff;
}
/** =========================================================
*  BOTÕES OOUI
*  ========================================================= */
.oo-ui-buttonElement-button {
    border-radius: 8px !important;
    transition: all 0.2s ease !important;
}
.oo-ui-buttonElement-button:hover {
    border-color: #5dbcfc !important;
    background-color: #eaf6fd !important;
}
/** =========================================================
*  BOTÕES MEDIAWIKI
*  ========================================================= */
.mw-ui-button {
    border-radius: 8px !important;
    transition: all 0.2s ease !important;
}
.mw-ui-button:hover {
    border-color: #5dbcfc !important;
    background-color: #eaf6fd !important;
}
/** =========================================================
*  CARDS POKESTORM
*  ========================================================= */
.pokestorm-card {
    background: #ffffff;
    border: 1px solid #9bd4f5;
    border-radius: 15px;
    padding: 15px;
    box-shadow: 0 3px 10px rgba(22,137,215,0.12);
    transition: all 0.2s ease;
}
.pokestorm-card:hover {
    border-color: #5dbcfc;
    box-shadow: 0 5px 14px rgba(22,137,215,0.20);
    transform: translateY(-2px);
}
/** =========================================================
*  IMAGENS POKESTORM
*  ========================================================= */
.pokestorm-image {
    border-radius: 15px;
    border: 2px solid #9bd4f5;
    box-shadow: 0 3px 10px rgba(0,0,0,0.12);
    transition: all 0.2s ease;
}
.pokestorm-image:hover {
    border-color: #5dbcfc;
    box-shadow: 0 5px 14px rgba(22,137,215,0.20);
}
/** =========================================================
*  CAIXAS DE CÓDIGO
*  ========================================================= */
pre,
.mw-code {
    background-color: #f4fbff !important;
    border: 1px solid #9bd4f5 !important;
    border-radius: 10px !important;
}
/** =========================================================
*  CAIXAS DE CITAÇÃO
*  ========================================================= */
blockquote {
    background-color: #eaf6fd;
    border-left: 5px solid #1689d7;
    border-radius: 8px;
    padding: 10px 15px;
}
/** =========================================================
*  TOC / ÍNDICE DA PÁGINA
*  ========================================================= */
#toc,
.toc {
    background-color: #f4fbff !important;
    border: 1px solid #9bd4f5 !important;
    border-radius: 12px !important;
    padding: 10px !important;
}
#toc .toctitle,
.toc .toctitle {
    color: #1689d7 !important;
    font-weight: bold;
}
/** =========================================================
*  CAIXAS DE INFORMAÇÃO
*  ========================================================= */
.infobox {
    border: 1px solid #9bd4f5 !important;
    border-radius: 12px !important;
    overflow: hidden;
}
.infobox th {
    background: linear-gradient(135deg, #1689d7, #4db8f2) !important;
    color: #ffffff !important;
}
.infobox td {
    background-color: #f4fbff;
}
/** =========================================================
*  CATEGORIAS
*  ========================================================= */
.catlinks {
    background-color: #eaf6fd !important;
    border: 1px solid #9bd4f5 !important;
    border-radius: 10px !important;
    padding: 8px !important;
}
.catlinks a {
    color: #1689d7 !important;
}
/** =========================================================
*  CAIXAS DE AVISO
*  ========================================================= */
.mw-message-box {
    border-radius: 10px !important;
    border-color: #9bd4f5 !important;
}
/** =========================================================
*  EFEITO SUAVE NOS LINKS
*  ========================================================= */
a {
    transition:
        color 0.2s ease,
        background-color 0.2s ease,
        border-color 0.2s ease;
}
/** =========================================================
*  SCROLLBAR
*  ========================================================= */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}
::-webkit-scrollbar-track {
    background: #eaf6fd;
}
::-webkit-scrollbar-thumb {
    background: #9bd4f5;
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: #5dbcfc;
}
/** =========================================================
*  SELEÇÃO DE TEXTO
*  ========================================================= */
::selection {
    background: #9bd4f5;
    color: #ffffff;
}
/** =========================================================
*  ELEMENTOS DE FORMULÁRIO
*  ========================================================= */
input,
textarea,
select {
    border: 1px solid #9bd4f5 !important;
    border-radius: 7px !important;
}
input:focus,
textarea:focus,
select:focus {
    border-color: #5dbcfc !important;
    outline: none !important;
    box-shadow: 0 0 0 2px rgba(93,188,252,0.20);
}
/** =========================================================
*  PÁGINAS ESPECIAIS
*  ========================================================= */
.mw-body-content {
    color: #333333;
}
/** =========================================================
*  CORES DE DESTAQUE POKESTORM
*  ========================================================= */
.pokestorm-blue {
    color: #1689d7 !important;
}
.pokestorm-light-blue {
    color: #4db8f2 !important;
}
.pokestorm-background {
    background-color: #eaf6fd !important;
}
.pokestorm-card-background {
    background-color: #ffffff !important;
}
/** =========================================================
*  CLASSE PARA CARDS COM EFEITO
*  ========================================================= */
.pokestorm-card-hover {
    transition: all 0.25s ease;
}
.pokestorm-card-hover:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 18px rgba(22,137,215,0.20);
    border-color: #5dbcfc;
}
/** =========================================================
*  CLASSE PARA BOTÕES POKESTORM
*  ========================================================= */
.pokestorm-button {
    display: inline-block;
    background: #5dbcfc;
    color: #ffffff !important;
    border-radius: 8px;
    padding: 8px 14px;
    font-weight: bold;
    text-decoration: none !important;
    transition: all 0.2s ease;
}
.pokestorm-button:hover {
    background: #1689d7;
    color: #ffffff !important;
    transform: translateY(-1px);
}
/** =========================================================
*  FIM DO COMMON.CSS
*  ========================================================= */
/* =========================================================
/* =========================================================
  * MOVIMENTO AUTOMÁTICO DOS CARDS DA POKESTORM WIKI
  * MOVIMENTO AUTOMÁTICO DOS CARDS DA POKESTORM WIKI

Edição das 10h35min de 30 de setembro de 2026

/** =========================================================
 *  POKESTORM WIKI - COMMON.CSS
 *  ========================================================= */


/** =========================================================
 *  ABAS E ELEMENTOS OCULTOS
 *  ========================================================= */

#ca-nstab-main,
#ca-talk,
#ca-viewsource,
.vector-user-menu-logged-out/*,
.vector-pinnable-header-toggle-button*/
{
    display: none !important;
}


/** =========================================================
 *  LARGURA DO CONTEÚDO
 *  ========================================================= */

@media screen and (min-width: 1400px) {

    .vector-limited-width-toggle.cdx-button,
    .vector-limited-width-popup {
        display: none !important;
    }

}


/** =========================================================
 *  FUNDO GLOBAL DA WIKI
 *  ========================================================= */

html,
body {
    background-color: #eaf6fd !important;
}

#content,
.mw-body,
.mw-page-container {
    background-color: #ffffff !important;
}


/** =========================================================
 *  CABEÇALHO
 *  ========================================================= */

.vector-header-container {
    background: linear-gradient(135deg, #1689d7, #4db8f2) !important;
}

.vector-header-container a {
    color: #ffffff !important;
}


/** =========================================================
 *  TÍTULO PRINCIPAL DAS PÁGINAS
 *  ========================================================= */

.firstHeading {
    color: #1689d7 !important;
    font-weight: bold !important;
    border-bottom: 3px solid #5dbcfc;
    padding-bottom: 8px;
}


/** =========================================================
 *  TÍTULOS DAS SEÇÕES
 *  ========================================================= */

.mw-heading2 h2 {
    color: #1689d7 !important;
    border-bottom: 2px solid #9bd4f5;
    padding-bottom: 6px;
}

.mw-heading3 h3 {
    color: #1689d7 !important;
}

.mw-heading4 h4 {
    color: #1689d7 !important;
}


/** =========================================================
 *  LINKS
 *  ========================================================= */

a {
    color: #1689d7;
    transition: all 0.2s ease;
}

a:hover {
    color: #0b6eae !important;
}


/** =========================================================
 *  MENU LATERAL
 *  ========================================================= */

.vector-main-menu {
    background-color: #eaf6fd !important;
}

.vector-main-menu .vector-menu-heading {
    color: #1689d7 !important;
    font-weight: bold;
}

.vector-main-menu a {
    color: #1689d7 !important;
}

.vector-main-menu a:hover {
    background-color: #d5effc !important;
    color: #0b6eae !important;
}


/** =========================================================
 *  MENU DO USUÁRIO
 *  ========================================================= */

.vector-user-links {
    background: transparent !important;
}

.vector-user-links a {
    color: #1689d7 !important;
}

.vector-user-links a:hover {
    color: #0b6eae !important;
}


/** =========================================================
 *  TABELAS
 *  ========================================================= */

.wikitable {
    border: 1px solid #9bd4f5 !important;
    border-radius: 10px;
    overflow: hidden;
}

.wikitable th {
    background: linear-gradient(135deg, #1689d7, #4db8f2) !important;
    color: #ffffff !important;
    border-color: #9bd4f5 !important;
}

.wikitable td {
    border-color: #b9dff5 !important;
}

.wikitable tr:nth-child(even) {
    background-color: #f4fbff;
}


/** =========================================================
 *  BOTÕES OOUI
 *  ========================================================= */

.oo-ui-buttonElement-button {
    border-radius: 8px !important;
    transition: all 0.2s ease !important;
}

.oo-ui-buttonElement-button:hover {
    border-color: #5dbcfc !important;
    background-color: #eaf6fd !important;
}


/** =========================================================
 *  BOTÕES MEDIAWIKI
 *  ========================================================= */

.mw-ui-button {
    border-radius: 8px !important;
    transition: all 0.2s ease !important;
}

.mw-ui-button:hover {
    border-color: #5dbcfc !important;
    background-color: #eaf6fd !important;
}


/** =========================================================
 *  CARDS POKESTORM
 *  ========================================================= */

.pokestorm-card {
    background: #ffffff;
    border: 1px solid #9bd4f5;
    border-radius: 15px;
    padding: 15px;
    box-shadow: 0 3px 10px rgba(22,137,215,0.12);
    transition: all 0.2s ease;
}

.pokestorm-card:hover {
    border-color: #5dbcfc;
    box-shadow: 0 5px 14px rgba(22,137,215,0.20);
    transform: translateY(-2px);
}


/** =========================================================
 *  IMAGENS POKESTORM
 *  ========================================================= */

.pokestorm-image {
    border-radius: 15px;
    border: 2px solid #9bd4f5;
    box-shadow: 0 3px 10px rgba(0,0,0,0.12);
    transition: all 0.2s ease;
}

.pokestorm-image:hover {
    border-color: #5dbcfc;
    box-shadow: 0 5px 14px rgba(22,137,215,0.20);
}


/** =========================================================
 *  CAIXAS DE CÓDIGO
 *  ========================================================= */

pre,
.mw-code {
    background-color: #f4fbff !important;
    border: 1px solid #9bd4f5 !important;
    border-radius: 10px !important;
}


/** =========================================================
 *  CAIXAS DE CITAÇÃO
 *  ========================================================= */

blockquote {
    background-color: #eaf6fd;
    border-left: 5px solid #1689d7;
    border-radius: 8px;
    padding: 10px 15px;
}


/** =========================================================
 *  TOC / ÍNDICE DA PÁGINA
 *  ========================================================= */

#toc,
.toc {
    background-color: #f4fbff !important;
    border: 1px solid #9bd4f5 !important;
    border-radius: 12px !important;
    padding: 10px !important;
}

#toc .toctitle,
.toc .toctitle {
    color: #1689d7 !important;
    font-weight: bold;
}


/** =========================================================
 *  CAIXAS DE INFORMAÇÃO
 *  ========================================================= */

.infobox {
    border: 1px solid #9bd4f5 !important;
    border-radius: 12px !important;
    overflow: hidden;
}

.infobox th {
    background: linear-gradient(135deg, #1689d7, #4db8f2) !important;
    color: #ffffff !important;
}

.infobox td {
    background-color: #f4fbff;
}


/** =========================================================
 *  CATEGORIAS
 *  ========================================================= */

.catlinks {
    background-color: #eaf6fd !important;
    border: 1px solid #9bd4f5 !important;
    border-radius: 10px !important;
    padding: 8px !important;
}

.catlinks a {
    color: #1689d7 !important;
}


/** =========================================================
 *  CAIXAS DE AVISO
 *  ========================================================= */

.mw-message-box {
    border-radius: 10px !important;
    border-color: #9bd4f5 !important;
}


/** =========================================================
 *  EFEITO SUAVE NOS LINKS
 *  ========================================================= */

a {
    transition:
        color 0.2s ease,
        background-color 0.2s ease,
        border-color 0.2s ease;
}


/** =========================================================
 *  SCROLLBAR
 *  ========================================================= */

::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: #eaf6fd;
}

::-webkit-scrollbar-thumb {
    background: #9bd4f5;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #5dbcfc;
}


/** =========================================================
 *  SELEÇÃO DE TEXTO
 *  ========================================================= */

::selection {
    background: #9bd4f5;
    color: #ffffff;
}


/** =========================================================
 *  ELEMENTOS DE FORMULÁRIO
 *  ========================================================= */

input,
textarea,
select {
    border: 1px solid #9bd4f5 !important;
    border-radius: 7px !important;
}

input:focus,
textarea:focus,
select:focus {
    border-color: #5dbcfc !important;
    outline: none !important;
    box-shadow: 0 0 0 2px rgba(93,188,252,0.20);
}


/** =========================================================
 *  PÁGINAS ESPECIAIS
 *  ========================================================= */

.mw-body-content {
    color: #333333;
}


/** =========================================================
 *  CORES DE DESTAQUE POKESTORM
 *  ========================================================= */

.pokestorm-blue {
    color: #1689d7 !important;
}

.pokestorm-light-blue {
    color: #4db8f2 !important;
}

.pokestorm-background {
    background-color: #eaf6fd !important;
}

.pokestorm-card-background {
    background-color: #ffffff !important;
}


/** =========================================================
 *  CLASSE PARA CARDS COM EFEITO
 *  ========================================================= */

.pokestorm-card-hover {
    transition: all 0.25s ease;
}

.pokestorm-card-hover:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 18px rgba(22,137,215,0.20);
    border-color: #5dbcfc;
}


/** =========================================================
 *  CLASSE PARA BOTÕES POKESTORM
 *  ========================================================= */

.pokestorm-button {
    display: inline-block;
    background: #5dbcfc;
    color: #ffffff !important;
    border-radius: 8px;
    padding: 8px 14px;
    font-weight: bold;
    text-decoration: none !important;
    transition: all 0.2s ease;
}

.pokestorm-button:hover {
    background: #1689d7;
    color: #ffffff !important;
    transform: translateY(-1px);
}


/** =========================================================
 *  FIM DO COMMON.CSS
 *  ========================================================= */
 
/* =========================================================
 * MOVIMENTO AUTOMÁTICO DOS CARDS DA POKESTORM WIKI
 * Funciona nos cards atuais feitos com style=""
 * ========================================================= */


/* Cards com borda azul lateral */

div[style*="border-left:5px solid #1689d7"] {
    position: relative !important;
    overflow: hidden !important;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease !important;
}


/* Movimento ao passar o mouse */

div[style*="border-left:5px solid #1689d7"]:hover {
    transform:
        translateY(-7px)
        scale(1.02) !important;

    box-shadow:
        0 12px 25px rgba(22,137,215,0.22) !important;

    z-index: 5;
}


/* Brilho passando pelo card */

div[style*="border-left:5px solid #1689d7"]::before {
    content: "";

    position: absolute;

    top: 0;
    left: -120%;

    width: 70%;
    height: 100%;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255,255,255,0.55),
            transparent
        );

    transform: skewX(-20deg);

    transition:
        left 0.7s ease;

    pointer-events: none;

    z-index: 10;
}


div[style*="border-left:5px solid #1689d7"]:hover::before {
    left: 140%;
}


/* =========================================================
 * CARDS COM BORDA #9bd4f5
 * ========================================================= */

div[style*="border:2px solid #9bd4f5"] {
    position: relative !important;
    overflow: hidden !important;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease !important;
}


div[style*="border:2px solid #9bd4f5"]:hover {
    transform:
        translateY(-7px)
        scale(1.015) !important;

    box-shadow:
        0 12px 28px rgba(22,137,215,0.22) !important;

    border-color:
        #5dbcfc !important;

    z-index: 5;
}


/* =========================================================
 * BRILHO DOS CARDS
 * ========================================================= */

div[style*="border:2px solid #9bd4f5"]::before {
    content: "";

    position: absolute;

    top: 0;
    left: -120%;

    width: 65%;
    height: 100%;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255,255,255,0.5),
            transparent
        );

    transform: skewX(-20deg);

    transition:
        left 0.7s ease;

    pointer-events: none;

    z-index: 10;
}


div[style*="border:2px solid #9bd4f5"]:hover::before {
    left: 140%;
}


/* =========================================================
 * IMAGENS DENTRO DOS CARDS
 * ========================================================= */

div[style*="border-left:5px solid #1689d7"] img,
div[style*="border:2px solid #9bd4f5"] img {
    transition:
        transform 0.3s ease,
        filter 0.3s ease !important;
}


div[style*="border-left:5px solid #1689d7"]:hover img,
div[style*="border:2px solid #9bd4f5"]:hover img {
    transform:
        scale(1.08) !important;

    filter:
        drop-shadow(
            0 5px 8px
            rgba(22,137,215,0.25)
        );
}


/* =========================================================
 * BOTÕES DENTRO DOS CARDS
 * ========================================================= */

div[style*="border-left:5px solid #1689d7"] a,
div[style*="border:2px solid #9bd4f5"] a {
    transition:
        transform 0.2s ease,
        filter 0.2s ease !important;
}


div[style*="border-left:5px solid #1689d7"] a:hover,
div[style*="border:2px solid #9bd4f5"] a:hover {
    transform:
        translateY(-2px) !important;

    filter:
        brightness(1.05);
}


/* =========================================================
 * MOVIMENTO SUAVE CONTÍNUO
 * Somente nos cards que usam a classe
 * pokestorm-floating
 * ========================================================= */

.pokestorm-floating {
    animation:
        pokestormFloat 3s ease-in-out infinite;
}


@keyframes pokestormFloat {

    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-4px);
    }

    100% {
        transform: translateY(0);
    }

}


/* =========================================================
 * REDUÇÃO DE MOVIMENTO
 * ========================================================= */

@media (prefers-reduced-motion: reduce) {

    div[style*="border-left:5px solid #1689d7"],
    div[style*="border:2px solid #9bd4f5"],
    .pokestorm-floating {
        animation: none !important;

        transition: none !important;
    }

}