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

De otPokemon Wiki
Ir para navegação Ir para pesquisar
Sem resumo de edição
Sem resumo de edição
Linha 579: Linha 579:
/* Tests */
/* Tests */


@keyframes tonext {
html{
  75% {
align-items: center;
    left: 0;
background-color: #31353D;
  }
display: flex;
  95% {
justify-content: center;
    left: 100%;
padding: 50px;
  }
min-height: 100vh;
  98% {
    left: 100%;
  }
  99% {
    left: 0;
  }
}
}


@keyframes tostart {
#Wrapper{
  75% {
align-items: center;
    left: 0;
background-color: #EEEFF7;
  }
display: flex;
  95% {
height: 500px;
    left: -300%;
justify-content: center;
  }
width: 1000px;
  98% {
    left: -300%;
  }
  99% {
    left: 0;
  }
}
}


@keyframes snap {
#Slideshow{
  96% {
align-items: center;
    scroll-snap-align: center;
display: flex;
  }
flex-direction: column;
  97% {
justify-content: center;
    scroll-snap-align: none;
overflow: hidden;
  }
position: relative;
  99% {
    scroll-snap-align: none;
  }
  100% {
    scroll-snap-align: center;
  }
}
}


 
#Slider{
 
border: 20px solid #1C1D21;
* {
height: 300px;
  box-sizing: border-box;
overflow: hidden;
  scrollbar-color: transparent transparent; /* thumb and track color */
width: 600px;
  scrollbar-width: 0px;
}
 
*::-webkit-scrollbar {
  width: 0;
}
 
*::-webkit-scrollbar-track {
  background: transparent;
}
 
*::-webkit-scrollbar-thumb {
  background: transparent;
  border: none;
}
 
* {
  -ms-overflow-style: none;
}
 
ol, li {
  list-style: none;
  margin: 0;
  padding: 0;
}
 
.carousel {
  position: relative;
  padding-top: 75%;
  filter: drop-shadow(0 0 10px #0003);
  perspective: 100px;
}
}


.carousel__viewport {
#Slider img{
  position: absolute;
height: 300px;
  top: 0;
width: 600px;
  right: 0;
transition: all 1s;
  bottom: 0;
  left: 0;
  display: flex;
  overflow-x: scroll;
  counter-reset: item;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
}
}


.carousel__slide {
#Arrows{
  position: relative;
display: flex;
  flex: 0 0 100%;
justify-content: space-between;
  width: 100%;
height: 30px;
  background-color: #f99;
position: absolute;
  counter-increment: item;
width: 600px;
}
}


.carousel__slide:nth-child(even) {
#Arrows i{
  background-color: #99f;
background-color: rgba(255, 255, 255, .25);
}
color: #1C1D21;
cursor: pointer;
height: 30px;
padding: 15px;


.carousel__slide:before {
transition: background-color .5s, color .5s;
  content: counter(item);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate3d(-50%,-40%,70px);
  color: #fff;
  font-size: 2em;
}
}


.carousel__snapper {
#Arrows i:first-of-type{  
  position: absolute;
padding-right: 20px;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  scroll-snap-align: center;
}
}


@media (hover: hover) {
#Arrows i:last-of-type{  
  .carousel__snapper {
padding-left: 20px;
    animation-name: tonext, snap;
    animation-timing-function: ease;
    animation-duration: 4s;
    animation-iteration-count: infinite;
  }
 
  .carousel__slide:last-child .carousel__snapper {
    animation-name: tostart, snap;
  }
}
}


@media (prefers-reduced-motion: reduce) {
#Arrows i:hover{
  .carousel__snapper {
background-color: rgba(28,29,33, .75);
    animation-name: none;
color: #EEEFF7;
  }
}
}


.carousel:hover .carousel__snapper,
h1{
.carousel:focus-within .carousel__snapper {
color: #1C1D21;
  animation-name: none;
font-family: righteous;
font-size: 2.5em;
padding: 20px;
}
}


.carousel__navigation {
h2{
  position: absolute;
color: #1C1D21;
  right: 0;
font-family: "Open Sans";
  bottom: 0;
font-size: 1.5em;
  left: 0;
padding: 20px;
  text-align: center;
}
}


.carousel__navigation-list,
#MeLink{
.carousel__navigation-item {
  background-color: rgba(255,255,255, 0);
   display: inline-block;
  border: 10px solid #1C1D21;
  border-radius: 80px;
  bottom: 20px;
  height: 80px;
  overflow: hidden;
  position: fixed;
  right: 20px;
  width: 80px;
  z-index: 2;
 
   transition: background-color .5s;
}
}


.carousel__navigation-button {
#MeLink:hover{
  display: inline-block;
   background-color: rgba(255,255,255, .25);
  width: 1.5rem;
  height: 1.5rem;
   background-color: #333;
  background-clip: content-box;
  border: 0.25rem solid transparent;
  border-radius: 50%;
  font-size: 0;
  transition: transform 0.1s;
}
}


.carousel::before,
#Me{
.carousel::after,
   border: 10px solid #1C1D21;
.carousel__prev,
   border-radius: 80px;
.carousel__next {
   bottom: 20px;
   position: absolute;
   height: 80px;
  top: 0;
   position: fixed;
  margin-top: 37.5%;
   right: 20px;
  width: 4rem;
   width: 80px;
  height: 4rem;
  transform: translateY(-50%);
   border-radius: 50%;
   font-size: 0;
   outline: 0;
}
 
.carousel::before,
.carousel__prev {
   left: -1rem;
}
 
.carousel::after,
.carousel__next {
   right: -1rem;
}
 
.carousel::before,
.carousel::after {
   content: '';
   z-index: 1;
   z-index: 1;
  background-color: #333;
  background-size: 1.5rem 1.5rem;
  background-repeat: no-repeat;
  background-position: center center;
  color: #fff;
  font-size: 2.5rem;
  line-height: 4rem;
  text-align: center;
  pointer-events: none;
}
.carousel::before {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolygon points='0,50 80,100 80,0' fill='%23fff'/%3E%3C/svg%3E");
}
.carousel::after {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolygon points='100,50 20,100 20,0' fill='%23fff'/%3E%3C/svg%3E");
}
}

Edição das 18h39min de 24 de julho de 2023

/** o código CSS colocado aqui será aplicado a todos os temas */

/* Geral */

body {
    margin: 0;
    padding: 0;
    position: relative;
    font-family: 'Segoe UI','Segoe UI Emoji','Segoe UI Symbol','Lato','Liberation Sans','Noto Sans','Helvetica Neue','Helvetica', sans-serif
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: url('https://wiki.otpokemon.com/images/c/c5/Backgroundwiki3.jpg') no-repeat;  
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: -1;
}

#mw-page-base {
    background: transparent;
}

#ca-nstab-mediawiki, #ca-talk, #p-namespaces, #ca-view, #ca-viewsource, #ca-unwatch, #ca-ve-edit{
    display: none;
}

.vectorTabs span {
    background-position: right bottom;
    display: inline-block;
    height: auto;
}

.vectorTabs{
    background-image: linear-gradient(to bottom,rgba(167,215,249,0) 0,#a7d7f900 100%);
}

.vectorTabs li {
    height: auto;
}

.vectorTabs li a {
    height: auto;
}

.vectorTabs span a {
    padding-top: 0.4em;
}

#p-search{
   margin-top: 0em;
   background: #ffffff;
   margin-left: 0;
}

#p-search form{
   margin: 0 0;
}


.vectorTabs span {
    background-image: none;
    background-position: right bottom;
    display: inline-block;
    width: 25px;
    height: 25px;
}

#mw-head .vectorMenu h3 {
    background-image: none;
}


#ca-edit{
    background: transparent;
    height: 25px;
    width: 25px;
    border-radius: 3px;
    font-size: 0;
    background-image: url(https://wiki.otpokemon.com/images/2/24/Code_button.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

#ca-edit span a {
    width: 25px;
    height: 25px;
}

#ca-history{
    background: transparent;
    height: 25px;
    width: 25px;
    border-radius: 3px;
    font-size: 0;
    background-image: url(https://wiki.otpokemon.com/images/e/e0/History_button.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

#ca-history span a{
    width: 25px;
    height: 25px;
}

#p-cactions{
    background: transparent;
    height: 25px;
    width: 25px;
    border-radius: 3px;
    font-size: 0;
    background-image: url(https://wiki.otpokemon.com/images/4/42/Expand-button.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    margin-right: 0.5rem;
}

.vectorMenu .menu {
    font-size: 15px;
}

.mw-body, .parsoid-body, #mw-panel {
    background: #f7f6fb;
    border-radius: 6px;
    border: 5px solid transparent;
    border-image: url('https://wiki.otpokemon.com/images/1/18/Border-image2.png') 15 stretch;
}

#p-logo a {
    background-size: contain;
    border-radius: 5px;
}

.mw-list-item a {
    color: white;
}

.mw-list-item a:visited {
    color: #05ACF3;
}

.mw-body, #mw-head-base, #left-navigation, #mw-data-after-content, .mw-footer {
    margin-left: 13em;
    margin-right: 1em;
}

#mw-panel {
    width: 10.6em;
    margin-top: 5.0rem;
    padding-top: 10px;
    border-center: none;
}

#footer ul {
    list-style: none none;
    padding: 0;
    margin-left: 15px;
}
#footer ul li a{
    text-decoration: none;
    color: rgb(255 255 255 / 80%);
    background: none;
}

#p-personal a.new, #p-personal a:visited, #p-personal a{
    color: #fff;
}

/* Main page */


.container {
    margin: 0 auto;
    display: flex;
}

.main {
    width: 70%;
    margin: 1em;
}

.banner {
    box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.5);
    --border-width: 3px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    font-family: Lato, sans-serif;
    font-size: 2.5rem;
    color: white;
    background: linear-gradient(60deg,
            #0c3d7b,
            #14917c,
            #1ec7ab,
            #6ee7d3,
            #041e41,
            #1864c7,
            #085245);
    background-size: 300% 300%;
    background-position: 0 50%;
    animation: moveGradient 30s alternate infinite;
    border-radius: 10px;
}

.banner img {
    width: 100%;    
    height: 100%;
}

.most-acessed, .quick-access {
    margin-top: 2em;
    position: relative;
    width: 100%;
    box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
}

.ma-title,.qa-title {
    border-radius: 10px 10px 0px 0px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    color: white;
    height: auto;
    padding: 5px 0px;
    background: linear-gradient(90deg, rgb(0, 47, 109) 0%, rgb(19, 83, 67) 46%, rgb(0, 105, 90) 100%);
}

.sub-most-acessed{
    display: flex;
}
.ma-card-item {
    text-align: center;
    height: auto;
    padding: 1em;
}

.ma-card-item a{
    text-decoration: none;
}

.ma-item {
    width: 80%;
    height: 80%;
    transition: 1s;
    filter: drop-shadow(0px 0px 5px rgba(48, 48, 48, 0.6));
}

.ma-item:hover{
    transition: 1s;
    transform: scale(1.10);
    filter: drop-shadow(2px 2px 2px rgba(34, 34, 34, 0.2));
}

.ma-text{
    width: 80%;    
    height: 80%;
    margin: 5px;
    transition: 1s;
    transform: scale(1.20);
}

.ma-text:hover{
    transition: 1s;
    transform: scale(1.30);
    filter: drop-shadow(2px 2px 2px rgba(34, 34, 34, 0.2));
}

.ma-title-icon, .qa-title-icon {
    width: 30px;
    height: 30px;
}

.column {
    width: 28%;
    text-align: center;
}

.social-media {
    text-align: center;
    width: 100%;
    height: auto;
    padding-bottom: 10px;
}

.update-image {
    box-shadow: 0 0 0.6 3em #BBB;
}

.qa-line {
    display: flex;
    border-bottom: 1px solid rgba(0, 0, 0, 0.150);
    padding: 1rem;
}

.qa-line-icon img {
    width: 50px;
    height: 50px;
    margin: 1rem;
    border-radius: 12px;
}

.qa-line-text {
    margin: 0.5rem 0;
    width: 100%;
}

.qa-line-title {
    margin: 0.5em 0;
    font-weight: bold;
}

pre, .mw-code {
    color: #000; 
    background-color: rgb(234 236 240 / 0%);
    border: 1px solid rgb(234 236 240 / 0%);
    padding: 0; */
    white-space: pre-wrap;
}

.update-title{
    box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.5);
    --border-width: 3px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 90%;
    margin: auto;
    font-weight: bold;
    font-family: Lato, sans-serif;
    font-size: 1rem;
    color: white;
    background: linear-gradient(60deg,
            #c93713,
            #e0370d,
            #e05b0d,
            #e0180d);
    background-size: 300% 300%;
    background-position: 0 50%;
    animation: moveGradient 30s alternate infinite;
    border-radius: 10px;
}

.post-title{
    box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.5);
    --border-width: 3px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 90%;
    margin: auto;
    font-weight: bold;
    font-family: Lato, sans-serif;
    font-size: 1rem;
    color: white;
    background: linear-gradient(60deg,#8d8384,#6f5860,#565452,#b4b5b5);
    background-size: 300% 300%;
    background-position: 0 50%;
    animation: moveGradient 30s alternate infinite;
    border-radius: 10px;
}

.card__heading a {
    color: white;
}

.sc-icon {
    display: inline-block;
    width: 12.5%;
    margin: -1px;
    height: auto;
    transition: 1s;
}

.sc-icon:hover {
    filter: grayscale(0%) contrast(115%);
    transition: 1s;
    transform: scale(1.10);
}

p.card__heading {
    font-size: 1.2em;
    font-weight: bold;
}


:root{
  --background-dark: #2d3548;
  --text-light: rgba(255,255,255,0.6);
  --text-lighter: rgba(255,255,255,0.9);
  --spacing-s: 8px;
  --spacing-m: 16px;
  --spacing-l: 24px;
  --spacing-xl: 32px;
  --spacing-xxl: 64px;
  --width-container: 1200px;
}

.hero-section{    
    margin: 5%;
    padding-bottom: 53%;
}

.hero-section2{    
    margin: 5%;
    padding-bottom: 88%;
}

.card-grid{
  display: grid;
  width: 100%;
}

.card{
  list-style: none;
  position: relative;
}

.card:before{
  content: '';
  display: block;
  width: 100%;
}

.card__background{
  width: 100%;
  height: auto;
  background-size: cover;
  background-position: center;
  bottom: 0;
  filter: brightness(0.95) saturate(1) contrast(0.95);
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  transform-origin: center;
  trsnsform: scale(1) translateZ(0);
  transition: 
    filter 1s,
    transform 1s;
}

.card:hover .card__background{
  transform: scale(1.05) translateZ(0);
}

.card__content{
  left: 0;
  margin: var(--spacing-l);
  position: absolute;
  top: 0;
  text-align: left;
}

.card__category{
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: var(--spacing-s);
  text-transform: uppercase;
}

.card__heading{
  color: var(--text-lighter);
  font-size: 1.9rem;
  text-shadow: 2px 2px 20px rgba(0,0,0,0.2);
  line-height: 1.4;
}

h3.card__heading {
    margin-top: -10px;
}

/* History Page */

a[title^="Usuário:Ybooh (página inexistente)"]:after{
    color: blue;
    content: "QueeN";
    pointer-events: none;
}

a[title^="Usuário:Ybooh (página inexistente)"] bdi{
    display: none;
}

a[title^="Usuário:Alissonmader (página inexistente)"]:after{
    color: blue;
    content: "Pichito";
}

a[title^="Usuário:Alissonmader (página inexistente)"] bdi{
    display: none;
}

.history-user a bdi{
    color: blue;
}

a.new.mw-userlink {
    pointer-events: none;
}

a.new.mw-usertoollinks-talk {
    display: none;
}

.mw-contributions-user-tools {
    display: none;
}


/* Shiny Page */

.tab_shiny{
    background-color: rgb(255 255 255);
}


/* Addons Page */
.container-addons{
    display: flex;
    text-align: center;
}
.column-addons img{
    transition: 1s;
}
.column-addons img:hover {
    transform: scale(1.10);
    transition: 1s;
}


/* Addons Page */
.container-addon img{
    transition: 1s;
}
.container-addon img:hover {
    transition: 1s;
    transform: scale(1.20);
}


/* Quests Page */
.img-quests{
    transition: 2s;
}

.img-quests:hover{
    filter: contrast(140%);
    transition: 2s;
}

/* KeyFrames */

@keyframes moveGradient {
    50% {
        background-position: 100% 50%;
    }
}




/* Tests */

html{
	align-items: center;
	background-color: #31353D;
	display: flex;
	justify-content: center;
	padding: 50px;
	min-height: 100vh;
}

#Wrapper{
	align-items: center;
	background-color: #EEEFF7;
	display: flex;
	height: 500px;
	justify-content: center;
	width: 1000px;
}

#Slideshow{
	align-items: center;
	display: flex;
	flex-direction: column;
	justify-content: center;
	overflow: hidden;
	position: relative;
}

#Slider{
	border: 20px solid #1C1D21;
	height: 300px;
	overflow: hidden;
	width: 600px;
}

#Slider img{
	height: 300px;
	width: 600px;
	transition: all 1s;
}

#Arrows{
	display: flex;
	justify-content: space-between;
	height: 30px;
	position: absolute;
	width: 600px;
}

#Arrows i{
	background-color: rgba(255, 255, 255, .25);
	color: #1C1D21;
	cursor: pointer;
	height: 30px;
	padding: 15px;

	transition: background-color .5s, color .5s;
}

#Arrows i:first-of-type{ 
	padding-right: 20px;
}

#Arrows i:last-of-type{ 
	padding-left: 20px;
}

#Arrows i:hover{
	background-color: rgba(28,29,33, .75);
	color: #EEEFF7;
}

h1{
	color: #1C1D21;
	font-family: righteous;
	font-size: 2.5em;
	padding: 20px;
}

h2{
	color: #1C1D21;
	font-family: "Open Sans";
	font-size: 1.5em;
	padding: 20px;
}

#MeLink{
  background-color: rgba(255,255,255, 0);
  border: 10px solid #1C1D21;
  border-radius: 80px;
  bottom: 20px;
  height: 80px;
  overflow: hidden;
  position: fixed;
  right: 20px;
  width: 80px;
  z-index: 2;
  
  transition: background-color .5s;
}

#MeLink:hover{
  background-color: rgba(255,255,255, .25);
}

#Me{
  border: 10px solid #1C1D21;
  border-radius: 80px;
  bottom: 20px;
  height: 80px;
  position: fixed;
  right: 20px;
  width: 80px;
  z-index: 1;
}