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

sem sumário de edição
Sem resumo de edição
Sem resumo de edição
 
(103 revisões intermediárias pelo mesmo usuário não estão sendo mostradas)
Linha 1: Linha 1:
.changelog__link,
.changelog__link:visited {
    color: #680cab;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-weight: 500;
    font-size: .85rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: .5rem .95rem;
    border-bottom: 1px solid rgb(120, 120, 120);
    transition: background .25s ease;
}
.changelog__link:last-child {
    border-bottom: 0;
}
.changelog__link:hover {
    text-decoration: none;
    background: #f3eaff;
}
/*.changelog__link::after {*/
/*    content: ">";*/
/*font-weight:lighter;*/
/*}*/
.px-0 {
padding-inline: 0!important;
}
.pt-0 {
padding-top: 0!important;
}
.pb-0 {
padding-bottom: 0!important;
}
.changelog {
margin-inline: auto;
max-width: 256px!important;
padding-bottom: 0!important;
margin-top: 1rem;
}
/*Select search*/
.selectwithSearch__container {
  width: 100%;
  box-sizing:border-box;
  padding: 0 2rem;
}
.selectwithSearch__selectBtn {
  display: flex;
  align-items: center;
  cursor: pointer;
}
.selectwithSearch__selectBtn {
  height: 2.8rem;
  padding: 0 1rem;
  font-size: 1rem;
  background: #fff;
  border-radius: 8px;
  justify-content: space-between;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}
.selectwithSearch__selectBtn svg {
  font-size: 2rem;
  transition: transform .3s linear;
}
.selectwithSearch__container.active .selectwithSearch__selectBtn svg {
  transform: rotate(-180deg);
}
.selectwithSearch__content {
  display: none;
  padding: 1.2rem;
  margin-top: .45rem;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}
.selectwithSearch__container.active .selectwithSearch__content {
  display: block;
  position: absolute;
  width: calc(100% - 4rem);
  box-sizing: border-box;
  z-index: 999;
}
.selectwithSearch__container.active .selectwithSearch__content.small {
  width: auto !important;
}
.selectwithSearch__content .selectwithSearch__search {
  position: relative;
}
.selectwithSearch__search svg {
  top: 50%;
  left: 1rem;
  color: #999;
  font-size: 1.2rem;
  pointer-events: none;
  transform: translateY(-50%);
  position: absolute;
}
.selectwithSearch__search input{
  box-sizing: border-box;
  height: 3.25rem;
  width: 100%;
  outline: none;
  font-size: 1rem;
  border-radius: 8px;
  padding: 0 1.2rem 0 4rem;
  border: 1px solid #B3B3B3;
}
.selectwithSearch__search input:focus {
  padding-left: 4rem;
  border: 2px solid #4285f4;
}
.selectwithSearch__search input::placeholder {
  color: #bfbfbf;
}
.selectwithSearch__options {
margin-left: 0!important;
margin-right: 0!important;
}
.selectwithSearch__content .selectwithSearch__options {
  margin-top: .5rem;
  padding-right: .5rem;
  max-height: 250px;
  overflow-y: auto;
}
.selectwithSearch__options::-webkit-scrollbar {
  width: 8px;
}
.selectwithSearch__options::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 25px;
}
.selectwithSearch__options::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 25px;
}
.selectwithSearch__options::-webkit-scrollbar-thumb:hover {
  background: #b3b3b3;
}
.selectwithSearch__options li {
  display: flex;
  align-items: center;
  padding: .25rem .75rem;
  font-size: 1.075rem;
  cursor: pointer;
}
li.groupTitle {
  height: 2.25rem;
  font-size: 1.125rem;
  background-color: rgb(179 163 255 / 21%);
  cursor: default;
  margin-bottom: .25rem;
  margin-top: .35rem;
  border-bottom: 1px solid #d1d1d1;
  border-radius: 12px 12px 0 0 !important;
}
li.groupTitle:hover {
  border-radius: 12px 12px 0 0 !important;
  background-color: rgb(179 163 255 / 21%) !important;
}
.selectwithSearch__options li:hover,
li.selected {
  border-radius: 8px;
  background: #f2f2f2;
}
/*Select search*/
/** o código CSS colocado aqui será aplicado a todos os temas */
/** o código CSS colocado aqui será aplicado a todos os temas */
#ca-viewsource { display: none !important; }
#ca-viewsource { display: none !important; }
Linha 16: Linha 214:
.hover-minimize img,  
.hover-minimize img,  
.hover-minimize a img {
.hover-minimize a img,
.hover-minimize.initialPage__topicContainer {
transition: transform .25s ease;
transition: transform .25s ease;
}
}
.hover-minimize img:hover,
.hover-minimize:not(.initialPage__topicContainer) img:hover,
.hover-minimize a img:hover{
.hover-minimize a img:hover,
.hover-minimize.initialPage__topicContainer:hover{
transform: scale(.95);
transform: scale(.95);
}
}
Linha 37: Linha 237:
width: 100%;
width: 100%;
height: 100vh;
height: 100vh;
background: url('https://media.discordapp.net/attachments/1063632353597079592/1080671160204800021/fundo_wiki_1.png') no-repeat;
background: url('https://wiki.pokexgames.com//images/a/af/Fundo-wiki.jpeg') no-repeat;
filter: brightness(0.8);
filter: brightness(0.8);
    
    
Linha 55: Linha 255:
border-radius: 6px;
border-radius: 6px;
border: 5px solid transparent;
border: 5px solid transparent;
border-image: url('https://cdn.discordapp.com/attachments/1082451514053890089/1082781921311985764/afafasf_1.png') 15 stretch;
border-image: url('https://wiki.pokexgames.com/images/9/9a/Borda-wiki.png') 15 stretch;
}
}


Linha 83: Linha 283:


/*Ocultamentos e Remoções de estilo*/
/*Ocultamentos e Remoções de estilo*/
#p-tb { display: none; }
.css-links {
    pointer-events: none;
    opacity: 0;
    margin: 0 !important;
}
#footer-info-lastmod { display: none; }
.firstHeading {display: none;}
.firstHeading {display: none;}
.catlinks { display: none; }


.vector-menu-tabs-legacy .selected { background: none!important; }
.vector-menu-tabs-legacy .selected { background: none!important; }
Linha 106: Linha 318:
background: white;
background: white;
}
}
/*Wikitable*/
.wikitable th,
.wikitable td {
color : #202122 !important;
}
.wikitable td.table-no-background {
background-color: none;
}
.wikitable th {
background-color: #d1c1e0 !important;
}
.wikitable td {
background-color: #f2e8f8 !important;
}
.wikitable > tr > th, .wikitable > tr > td, .wikitable > * > tr > th, .wikitable > * > tr > td {
border-color: white !important;
border-width: 2px !important;
}
/*Wikitable*/


/*Ajustes visuais de elementos da wiki*/
/*Ajustes visuais de elementos da wiki*/
Linha 111: Linha 349:
.vector-menu-tabs, .vector-menu-tabs a, #mw-head .vector-menu-dropdown .vector-menu-heading {
.vector-menu-tabs, .vector-menu-tabs a, #mw-head .vector-menu-dropdown .vector-menu-heading {
background-image: none;
background-image: none;
}
#footer-places li a {
color: #adadad;
}
}


Linha 122: Linha 364:
border-radius: 6px;
border-radius: 6px;
border: 5px solid transparent;
border: 5px solid transparent;
border-image: url('https://cdn.discordapp.com/attachments/1082451514053890089/1082781921311985764/afafasf_1.png') 15 stretch;
border-image: url('https://wiki.pokexgames.com/images/9/9a/Borda-wiki.png') 15 stretch;
}
}


Linha 134: Linha 376:
.d-none {
.d-none {
display: none!important;
display: none!important;
}
.d-block {
display: block!important;
}
}


.d-flex {
.d-flex {
display: flex;
display: flex;
}
.d-flex > p,
.d-flex > br {
display: none !important;
}
}


Linha 151: Linha 402:
justify-content: center;
justify-content: center;
}
}
.space-between { justify-content: space-between; }
.space-around { justify-content: space-around; }
.align-start { align-items: flex-start !important; } 
.flex-center {
display: flex;
justify-content:center;
align-items: center;
}
.flex-column { flex-direction: column; }
.flex-wrap, .break-row { flex-wrap: wrap; }
.bg-none { background: none !important; }
.text-center { text-align: center; }
.border-0 { border: none !important; }
.gap-1{ gap: .5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }


.margin-center {
.margin-center {
Linha 162: Linha 441:
}
}


.mr-4 {
.mr-2 { margin-right: 1rem !important; }
margin-right: 2rem !important;
.mr-4 { margin-right: 2rem !important; }
}


.mb-2 {
.mt-1 { margin-top: .5rem; }
margin-bottom: 1rem;
.mt-2 { margin-top: 1rem !important; }
}
.mb-2 { margin-bottom: 1rem; }


.flex-center {
.p-1 { padding: .5rem; }
display: flex;
.p-2 { padding: 1rem; }
justify-content:center;
.p-3 { padding: 1.5rem; }
align-items: center;
}


.flex-wrap, .break-row {
.pr-1 { padding-right: .5rem; }
flex-wrap: wrap;
}
/* Utilitarios */
/* Utilitarios */


Linha 292: Linha 566:


.card-container {
.card-container {
padding: .5rem 2rem;
padding: .75rem 1rem;
}
}


Linha 306: Linha 580:


.linkWithIcon__imageContainer {
.linkWithIcon__imageContainer {
height: 12rem;
height: 10rem;
box-sizing: border-box;
box-sizing: border-box;
     padding: 1rem;
     padding: 1rem;
    display: flex;
    align-items: flex-end;
}
}


.linkWithIcon__imageContainer img {
.linkWithIcon__imageContainer img {
height: 100% !important;
width: 100%;
width: auto !important;
margin-bottom: .2rem;
    height: auto;
    max-height: 9rem;
}
}


Linha 333: Linha 611:
flex-wrap: wrap;
flex-wrap: wrap;
justify-content: space-between;
justify-content: space-between;
align-items: center;
align-items: flex-start;
}
}


Linha 347: Linha 625:
.fastNav__linksContainer .linkWithIcon__link,
.fastNav__linksContainer .linkWithIcon__link,
.fastNav__linksContainer a{
.fastNav__linksContainer a{
width: 18%;
width: 19.5%;
     padding: .5rem;
max-width: 13rem;
     padding: .65rem;
     box-sizing: border-box;
     box-sizing: border-box;
}
}
Linha 441: Linha 720:


a.socialMedia__link img {
a.socialMedia__link img {
width: 15rem;
width: 100%;
max-width: 16rem;
     height: auto;
     height: auto;
     border-radius: 12px;
     border-radius: 12px;
Linha 474: Linha 754:
/*Topico componente*/
/*Topico componente*/
.initialPage__topicContainer {
.initialPage__topicContainer {
width: 45rem;
display: block;
    width: 30rem;
    aspect-ratio: 1 / .27;
display: flex;
display: flex;
align-items: center;
align-items: stretch;
border: 5px solid transparent;
border: 5px solid transparent;
border-image: url('https://cdn.discordapp.com/attachments/1082451514053890089/1082781921311985764/afafasf_1.png') 15 stretch;
border-image: url('https://wiki.pokexgames.com/images/9/9a/Borda-wiki.png') 15 stretch;
}
 
.initialPage__topicContainer h4 {
font-size: 1.3rem;
text-align: center;
}
 
.initialPage__topicContainer p {
font-size: 1rem;
text-align: center;
}
 
.initialPage__topicImage {
width: 55%;
    height: unset;
    margin-right: .5rem;
}
}


.initialPage__topicContainer img {
.initialPage__topicContainer img {
width: 12rem;
    width: 100%;
margin-right: .5rem;
    height: 100%;
   
    border-right: 5px solid transparent;
border-image: url('https://wiki.pokexgames.com/images/9/9a/Borda-wiki.png') 15 stretch;
}
}


.initialPage__topicContent {
.initialPage__topicContent {
width: 100%;
padding: .5rem;
padding: .5rem;
}
/*Formulario de boost*/
        .boostCalc__form {
            width: 35rem;
            margin: 0 auto;
            box-sizing: border-box;
        }
        .input-group {
            position: relative;
            margin-top: 2rem;
        }
        .checkbox-group {
            margin-top: .35rem;
            padding-left: .7rem;
            display: flex;
            justify-content: flex-start;
            align-items: center;
        }
        .checkbox-group label {
            padding-left: .35rem;
    font-size: .8rem;
    padding-top: .15rem;
    letter-spacing: .02rem;
    color: #6e6e6e;
    font-weight: bold;
        }
        .boostCalc__label {
            position: absolute;
            left: .5rem;
            top: 50%;
            transform: translate(0%, -50%);
            font-size: .95rem;
            color: #626262;
            pointer-events: none;
            transition: all .25s ease;
        }
        .boostCalc__input,
        .boostCalc__select {
            position: relative;
            width: 100%;
            box-sizing: border-box;
            padding: .65rem 1.1rem;
            border: 1px solid #ced4da;
            border-radius: 8px;
            font-size: 1.2rem;
            transition: all .25s ease;
        }
        .boostCalc__input:focus {
            border-color: #80bdff;
            box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, .25);
            outline: 0;
        }
        .boostCalc__input:focus,
        .boostCalc__input:not(:placeholder-shown) {
            background: rgba(0, 123, 255, .035);
        }
        .boostCalc__input:focus+.boostCalc__label,
        .boostCalc__input:not(:placeholder-shown)+.boostCalc__label,
        .boostCalc__select:focus+.boostCalc__label,
        .boostCalc__select:not(:placeholder-shown)+.boostCalc__label {
            top: -.7rem;
            font-size: .9rem;
        }
       
        .boostTo-container {
            margin-top: 2rem;
            display: flex;
            justify-content: space-around;
            align-items: center;
        }
        .boostTo-container div {
            width: 28%;
        }
        .boostTo-container .input-group {
            margin-top: 0;
            width: 35%;
        }
        .boostTo-container div img {
            width: 100%;
            padding: 0 1.8rem;
            box-sizing: border-box;
        }
       
        .boostCalc__resultContainer {
        text-align: center;
    background: #ffffff;
    width: 32rem;
    margin: 0 auto;
    padding: 1rem;
    padding-top: .35rem;
    border-radius: 12px;
    border-color: #80bdff;
    box-shadow: 0 0 0 0.2rem rgba(0,123,255,.25);
    outline: 0;
        }
       
        .boostCalc__resultTitle {
        margin: 0;
    font-size: 1.2rem !important;
    padding: 0;
    color: #4c4b4b;
    font-weight: bolder;
        }
       
        .boostCalc__result {
        font-weight: 500;
    font-size: .925rem !important;
        }
       
        .boostCalc__result span {
          padding-right: .5rem;
          font-weight: bold;
        }
/*Formulario de boost*/
.input-default {
    position: relative;
    width: 100%;
    box-sizing: border-box;
    padding: .45rem .8rem;
    border: 1px solid #ced4da;
    border-radius: 8px;
    font-size: .9rem;
    transition: all .25s ease;
}
.input-default:focus {
    border-color: #80bdff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, .25);
    outline: 0;
}
@media screen and (max-width: 1450px) {
.linkWithIcon__imageContainer {
height: 8rem;
}
}
}


Linha 500: Linha 949:
.initialPage__mainContent {
.initialPage__mainContent {
padding: 0;
padding: 0;
}
.fastNav__linksContainer {
gap: .5rem 0;
margin-top: 0;
}
}
@media screen and (max-width: 1150px) {
.initialPage__contentContainer {
flex-direction: column;
align-items: center;
}
.initialPage__mainContent,
.initialPage__sideContent {
width: 100%;
padding: 0 3rem;
}
.fastNav__linksContainer {
gap: 1.5rem 0;
padding: 1.5rem 1rem;
}
.fastNav__linksContainer .linkWithIcon__link, .fastNav__linksContainer a {
max-width: 9.95rem;
}
.socialMedia__linkContainer {
flex-direction: row;
}
}
}
}