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
  * MOVIMENTO AUTOMÁTICO DOS CARDS DA POKESTORM WIKI
  * COMMON.CSS — BLUE EDITION
  * Funciona nos cards atuais feitos com style=""
  * ========================================================= */
  * ========================================================= */




/** =========================================================
/* Cards com borda azul lateral */
*  ABAS E ELEMENTOS OCULTOS
*  ========================================================= */


#ca-nstab-main,
div[style*="border-left:5px solid #1689d7"] {
#ca-talk,
     position: relative !important;
#ca-viewsource,
     overflow: hidden !important;
.vector-user-menu-logged-out/*,
.vector-pinnable-header-toggle-button*/
{
    display: none !important;
}
 
 
/** =========================================================
*  LARGURA
*  ========================================================= */
 
@media screen and (min-width: 1400px) {
 
    .vector-limited-width-toggle.cdx-button,
    .vector-limited-width-popup {
        display: none !important;
    }
 
}
 
 
/** =========================================================
*  FUNDO GLOBAL
*  ========================================================= */
 
html {
    background:
        linear-gradient(
            135deg,
            #eaf6fd 0%,
            #f7fcff 45%,
            #e2f4fc 100%
        ) !important;
}
 
body {
    background:
        linear-gradient(
            135deg,
            #eaf6fd 0%,
            #f7fcff 45%,
            #e2f4fc 100%
        ) !important;
 
    color: #333333;
}
 
 
/** =========================================================
*  ÁREA PRINCIPAL
*  ========================================================= */
 
#content,
.mw-body,
.mw-page-container {
    background: rgba(255,255,255,0.96) !important;
}
 
 
/** =========================================================
*  CABEÇALHO VECTOR
*  ========================================================= */
 
.vector-header-container {
    background:
        linear-gradient(
            135deg,
            #126fba 0%,
            #1689d7 45%,
            #4db8f2 100%
        ) !important;
 
    box-shadow:
        0 3px 15px rgba(22,137,215,0.25);
}
 
.vector-header-container a {
    color: #ffffff !important;
}
 
.vector-header-container a:hover {
    color: #ffffff !important;
}
 
 
/** =========================================================
*  MENU LATERAL
*  ========================================================= */
 
.vector-main-menu {
    background:
        linear-gradient(
            180deg,
            #f7fcff 0%,
            #eaf6fd 100%
        ) !important;
 
    border-right:
        1px solid #b9dff5;
}
 
.vector-main-menu .vector-menu-heading {
    color: #1689d7 !important;
 
    font-weight: bold;
 
    text-transform: uppercase;
 
    letter-spacing: 0.3px;
}
 
.vector-main-menu a {
    color: #1689d7 !important;
 
    border-radius: 8px;
 
    transition:
        background 0.2s ease,
        color 0.2s ease,
        padding-left 0.2s ease;
}
 
.vector-main-menu a:hover {
    background:
        linear-gradient(
            90deg,
            #dff3fc,
            #f4fbff
        ) !important;
 
    color: #0b6eae !important;
 
    padding-left: 8px;
}
 
 
/** =========================================================
*  MENU DO USUÁRIO
*  ========================================================= */
 
.vector-user-links {
    background: transparent !important;
}
 
.vector-user-links a {
    color: #1689d7 !important;
 
    transition:
        color 0.2s ease;
}
 
.vector-user-links a:hover {
    color: #0b6eae !important;
}
 
 
/** =========================================================
*  TÍTULO PRINCIPAL
*  ========================================================= */
 
.firstHeading {
    color: #1689d7 !important;
 
    font-weight: bold !important;
 
    padding-bottom: 10px;
 
    border-bottom:
        3px solid #5dbcfc;
 
    text-shadow:
        0 1px 1px rgba(22,137,215,0.08);
}
 
 
/** =========================================================
*  TÍTULOS
*  ========================================================= */
 
.mw-heading2 h2 {
    color: #1689d7 !important;
 
    border-bottom:
        2px solid #9bd4f5;
 
    padding-bottom: 7px;
 
     position: relative;
}
 
.mw-heading2 h2::after {
    content: "";
 
    display: block;
 
    width: 55px;
 
    height: 3px;
 
    margin-top: 5px;
 
    background:
        linear-gradient(
            90deg,
            #1689d7,
            #4db8f2
        );
 
    border-radius: 5px;
}
 
.mw-heading3 h3,
.mw-heading4 h4 {
    color: #1689d7 !important;
}
 
 
/** =========================================================
*  LINKS
*  ========================================================= */
 
a {
    color: #1689d7;
 
    transition:
        color 0.2s ease,
        background 0.2s ease,
        transform 0.2s ease;
}
 
a:hover {
    color: #0b6eae !important;
}
 
 
/** =========================================================
*  TABELAS
*  ========================================================= */
 
.wikitable {
    width: auto;
 
    border:
        1px solid #9bd4f5 !important;
 
    border-radius: 12px;
 
     overflow: hidden;
 
    box-shadow:
        0 3px 12px rgba(22,137,215,0.08);
 
    border-collapse: separate !important;
 
    border-spacing: 0;
}
 
.wikitable th {
    background:
        linear-gradient(
            135deg,
            #1689d7,
            #4db8f2
        ) !important;
 
    color: #ffffff !important;
 
    border-color: #9bd4f5 !important;
 
    padding: 10px;
}
 
.wikitable td {
    border-color: #d5edf9 !important;
 
    padding: 8px 10px;
 
    transition:
        background 0.15s ease;
}
 
.wikitable tr:nth-child(even) {
    background-color: #f4fbff;
}
 
.wikitable tr:hover td {
    background-color: #eaf6fd;
}
 
 
/** =========================================================
*  BOTÕES OOUI
*  ========================================================= */
 
.oo-ui-buttonElement-button {
    border-radius: 9px !important;
 
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease !important;
}
 
.oo-ui-buttonElement-button:hover {
    border-color: #5dbcfc !important;
 
    background:
        linear-gradient(
            135deg,
            #eaf6fd,
            #ffffff
        ) !important;
 
    transform: translateY(-1px);
 
    box-shadow:
        0 3px 8px rgba(22,137,215,0.15);
}
 
 
/** =========================================================
*  BOTÕES MEDIAWIKI
*  ========================================================= */
 
.mw-ui-button {
    border-radius: 9px !important;
 
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease !important;
}
 
.mw-ui-button:hover {
    background: #eaf6fd !important;
 
    border-color: #5dbcfc !important;
 
    transform: translateY(-1px);
 
    box-shadow:
        0 3px 8px rgba(22,137,215,0.15);
}
 
 
/** =========================================================
*  CARDS POKESTORM
*  ========================================================= */
 
.pokestorm-card {
    position: relative;
 
    overflow: hidden;
 
    background:
        linear-gradient(
            145deg,
            #ffffff,
            #f4fbff
        );
 
    border:
        1px solid #9bd4f5;
 
    border-radius: 15px;
 
    padding: 15px;
 
    box-shadow:
        0 3px 12px rgba(22,137,215,0.10);
 
    transform:
        translateY(0)
        scale(1);


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




/** =========================================================
/* Movimento ao passar o mouse */
*  MOVIMENTO DOS CARDS
*  ========================================================= */


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


     border-color: #5dbcfc;
     box-shadow:
 
         0 12px 25px rgba(22,137,215,0.22) !important;
    background:
         linear-gradient(
            145deg,
            #ffffff,
            #eaf6fd
        );


     box-shadow:
     z-index: 5;
        0 12px 28px rgba(22,137,215,0.22);
}
}




/** =========================================================
/* Brilho passando pelo card */
*  BRILHO PASSANDO PELO CARD
*  ========================================================= */


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


Linha 427: Linha 40:


     top: 0;
     top: 0;
     left: -120%;
     left: -120%;


     width: 70%;
     width: 70%;
     height: 100%;
     height: 100%;


Linha 442: Linha 53:
         );
         );


     transform:
     transform: skewX(-20deg);
        skewX(-20deg);


     transition:
     transition:
Linha 450: Linha 60:
     pointer-events: none;
     pointer-events: none;


     z-index: 1;
     z-index: 10;
}
}


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




/** =========================================================
/* =========================================================
  * CONTEÚDO DO CARD
  * CARDS COM BORDA #9bd4f5
  * ========================================================= */
  * ========================================================= */
 
.pokestorm-card > * {
    position: relative;
 
    z-index: 2;
}
 


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


.pokestorm-card img {
     transition:
     transition:
         transform 0.3s ease,
         transform 0.3s ease,
         filter 0.3s ease;
         box-shadow 0.3s ease,
        border-color 0.3s ease !important;
}
}


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


     filter:
     box-shadow:
         drop-shadow(
         0 12px 28px rgba(22,137,215,0.22) !important;
            0 4px 8px
            rgba(22,137,215,0.20)
        );
}


    border-color:
        #5dbcfc !important;


/** =========================================================
    z-index: 5;
*  CARD COM BRILHO
*  ========================================================= */
 
.pokestorm-card-hover {
    position: relative;
 
    overflow: hidden;
 
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}
}


.pokestorm-card-hover:hover {
    transform:
        translateY(-7px)
        scale(1.02);
    border-color: #5dbcfc;


    box-shadow:
/* =========================================================
        0 12px 28px rgba(22,137,215,0.22);
* BRILHO DOS CARDS
}
* ========================================================= */


.pokestorm-card-hover::before {
div[style*="border:2px solid #9bd4f5"]::before {
     content: "";
     content: "";


Linha 523: Linha 109:


     top: 0;
     top: 0;
     left: -120%;
     left: -120%;


     width: 60%;
     width: 65%;
 
     height: 100%;
     height: 100%;


Linha 534: Linha 118:
             90deg,
             90deg,
             transparent,
             transparent,
             rgba(255,255,255,0.45),
             rgba(255,255,255,0.5),
             transparent
             transparent
         );
         );


     transform:
     transform: skewX(-20deg);
        skewX(-20deg);


     transition:
     transition:
Linha 545: Linha 128:


     pointer-events: none;
     pointer-events: none;
    z-index: 10;
}
}


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




/** =========================================================
/* =========================================================
  * BOTÃO POKESTORM
  * IMAGENS DENTRO DOS CARDS
  * ========================================================= */
  * ========================================================= */
 
.pokestorm-button {
    display: inline-block;
 
    background:
        linear-gradient(
            135deg,
            #5dbcfc,
            #1689d7
        );
 
    color: #ffffff !important;
 
    border-radius: 9px;
 
    padding: 8px 16px;
 
    font-weight: bold;
 
    text-decoration: none !important;
 
    box-shadow:
        0 3px 8px rgba(22,137,215,0.18);


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


.pokestorm-button:hover {
    color: #ffffff !important;


div[style*="border-left:5px solid #1689d7"]:hover img,
div[style*="border:2px solid #9bd4f5"]:hover img {
     transform:
     transform:
        translateY(-2px)
         scale(1.08) !important;
         scale(1.02);
 
    box-shadow:
        0 6px 14px rgba(22,137,215,0.25);


     filter:
     filter:
         brightness(1.05);
         drop-shadow(
}
             0 5px 8px
 
             rgba(22,137,215,0.25)
 
/** =========================================================
*  IMAGENS
*  ========================================================= */
 
.pokestorm-image {
    border-radius: 15px;
 
    border:
        2px solid #9bd4f5;
 
    box-shadow:
        0 3px 12px rgba(22,137,215,0.12);
 
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}
 
.pokestorm-image:hover {
    transform:
        scale(1.02);
 
    border-color: #5dbcfc;
 
    box-shadow:
        0 7px 18px rgba(22,137,215,0.22);
}
 
 
/** =========================================================
*  TOC / ÍNDICE
*  ========================================================= */
 
#toc,
.toc {
    background:
        linear-gradient(
            145deg,
            #ffffff,
            #f4fbff
        ) !important;
 
    border:
        1px solid #9bd4f5 !important;
 
    border-radius: 12px !important;
 
    padding: 12px !important;
 
    box-shadow:
        0 3px 10px rgba(22,137,215,0.08);
}
 
#toc .toctitle,
.toc .toctitle {
    color: #1689d7 !important;
 
    font-weight: bold;
}
 
 
/** =========================================================
*  INFOBOX
*  ========================================================= */
 
.infobox {
    border:
        1px solid #9bd4f5 !important;
 
    border-radius: 12px !important;
 
    overflow: hidden;
 
    box-shadow:
        0 3px 12px rgba(22,137,215,0.10);
}
 
.infobox th {
    background:
        linear-gradient(
             135deg,
            #1689d7,
            #4db8f2
        ) !important;
 
    color: #ffffff !important;
}
 
.infobox td {
    background-color: #f4fbff;
}
 
 
/** =========================================================
*  CATEGORIAS
*  ========================================================= */
 
.catlinks {
    background:
        linear-gradient(
            145deg,
            #ffffff,
            #eaf6fd
        ) !important;
 
    border:
        1px solid #9bd4f5 !important;
 
    border-radius: 10px !important;
 
    padding: 10px !important;
 
    box-shadow:
        0 2px 8px rgba(22,137,215,0.07);
}
 
.catlinks a {
    color: #1689d7 !important;
}
 
 
/** =========================================================
*  CAIXAS DE AVISO
*  ========================================================= */
 
.mw-message-box {
    border-radius: 10px !important;
 
    border-color: #9bd4f5 !important;
 
    box-shadow:
        0 2px 8px rgba(22,137,215,0.06);
}
 
 
/** =========================================================
*  CÓDIGO
*  ========================================================= */
 
pre,
.mw-code {
    background:
        linear-gradient(
            145deg,
             #f4fbff,
            #eaf6fd
        ) !important;
 
    border:
        1px solid #9bd4f5 !important;
 
    border-radius: 10px !important;
 
    box-shadow:
        inset 0 1px 2px rgba(22,137,215,0.05);
}
 
 
/** =========================================================
*  CITAÇÕES
*  ========================================================= */
 
blockquote {
    background:
        linear-gradient(
            135deg,
            #eaf6fd,
            #f7fcff
         );
         );
    border-left:
        5px solid #1689d7;
    border-radius: 9px;
    padding: 12px 16px;
    box-shadow:
        0 2px 8px rgba(22,137,215,0.07);
}
}




/** =========================================================
/* =========================================================
  * FORMULÁRIOS
  * BOTÕES DENTRO DOS CARDS
  * ========================================================= */
  * ========================================================= */
 
input,
textarea,
select {
    border:
        1px solid #9bd4f5 !important;
 
    border-radius: 8px !important;


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


input:focus,
textarea:focus,
select:focus {
    border-color: #5dbcfc !important;


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


     box-shadow:
     filter:
         0 0 0 3px rgba(93,188,252,0.18);
         brightness(1.05);
}
}




/** =========================================================
/* =========================================================
  *  SCROLLBAR
  * MOVIMENTO SUAVE CONTÍNUO
  *  ========================================================= */
  * Somente nos cards que usam a classe
 
  * pokestorm-floating
::-webkit-scrollbar {
  * ========================================================= */
    width: 10px;


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


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


::-webkit-scrollbar-thumb {
@keyframes pokestormFloat {
    background:
        linear-gradient(
            180deg,
            #9bd4f5,
            #5dbcfc
        );
 
    border-radius: 10px;
}


::-webkit-scrollbar-thumb:hover {
    0% {
    background:
         transform: translateY(0);
         linear-gradient(
            180deg,
            #5dbcfc,
            #1689d7
        );
}
 
 
/** =========================================================
*  SELEÇÃO DE TEXTO
*  ========================================================= */
 
::selection {
    background: #5dbcfc;
 
    color: #ffffff;
}
 
 
/** =========================================================
*  CORES UTILITÁRIAS
*  ========================================================= */
 
.pokestorm-blue {
    color: #1689d7 !important;
}
 
.pokestorm-light-blue {
    color: #4db8f2 !important;
}
 
.pokestorm-background {
    background-color: #eaf6fd !important;
}
 
.pokestorm-card-background {
    background-color: #ffffff !important;
}
 
 
/** =========================================================
*  RESPONSIVIDADE
*  ========================================================= */
 
@media screen and (max-width: 700px) {
 
    #content,
    .mw-body,
    .mw-page-container {
        padding-left: 8px !important;
 
        padding-right: 8px !important;
     }
     }


     .wikitable {
     50% {
         font-size: 13px;
         transform: translateY(-4px);
     }
     }


     .firstHeading {
     100% {
        font-size: 24px;
         transform: translateY(0);
    }
 
    .pokestorm-card:hover {
         transform:
            translateY(-4px)
            scale(1.01);
     }
     }


Linha 910: Linha 214:




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


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


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


        animation-iteration-count: 1 !important;
         transition: none !important;
 
         transition-duration: 0.01ms !important;
 
        scroll-behavior: auto !important;
     }
     }


}
}
/** =========================================================
*  FIM
*  ========================================================= */

Edição das 19h40min de 29 de setembro de 2026

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

}