Diferenças entre edições de "MediaWiki:Common.css"

 
(Há 385 revisões intermédias de 4 utilizadores que não estão a ser apresentadas)
Linha 1: Linha 1:
 
/* CSS */
 
/* CSS */
#mw-content-text h2 {
+
 
    background: url("http://wiki.metin2.com.pt/images/e/ee/BoardNewM.png") no-repeat scroll left center transparent;
+
body {
    height: 30px;
+
  background-color: #000;
     color: #7b1300;
+
  background-image:
     text-indent: 35px;
+
    url('https://pt-wiki.metin2.gameforge.com/images/1/16/Neve.gif'),
    border-bottom: 2px dashed #7b1300;
+
    url('https://tr-wiki.metin2.gameforge.com/images/9/9d/Metin2_25.2_Background_Wiki.jpg');
    font-weight: bold;
+
 
 +
  background-repeat: repeat, no-repeat;
 +
  background-position: top left, center center;
 +
  background-size: auto, cover;
 +
}
 +
 
 +
html {
 +
  scroll-behavior: smooth;
 +
}
 +
 
 +
td,th {padding: 2px }
 +
 
 +
.nativelooktop {
 +
  background: url("https://en-wiki.metin2.gameforge.com/images/1/1c/Nativelooktop.jpg") no-repeat;
 +
  padding: 0px;
 +
  width: 190px;
 +
  height: 10px;
 +
}
 +
 
 +
.nativelookbackground {
 +
  background-image: url("https://en-wiki.metin2.gameforge.com/images/1/12/Nativelookbackground.jpg");
 +
  background-repeat: repeat-y;
 +
  padding: 0px;
 +
  width: 190px;
 +
}
 +
 
 +
.nativelookbottom {
 +
  background: url("https://en-wiki.metin2.gameforge.com/images/8/8b/Nativelookbottom.jpg") no-repeat;
 +
  padding: 0px;
 +
  width: 190px;
 +
  height: 10px;
 +
}
 +
 
 +
 
 +
 
 +
.header-bgxmas {
 +
     background: url("https://pt-wiki.metin2.gameforge.com/images/c/c3/Fita_Página_Inicial.png") repeat 0em 0em;
 +
}
 +
.header-bgxmas2 {
 +
     background: url("https://pt-wiki.metin2.gameforge.com/images/7/70/Preço_IS.png") repeat 0em 0em;
 +
}
 +
 
 +
.monster-card {
 +
  border: 1px black solid;
 +
  padding: 5px;
 +
  max-width: 445px;
 +
  box-sizing: border-box;
 
}
 
}
  
#toc,
+
.monster-card > :nth-child(5) {
.toc,
+
  display: grid;
.mw-warning {
+
  justify-content: center;
     background: url("http://wiki.metin2.com.pt/images/9/9f/Transparentbackground.png") repeat;
+
  align-items: start;
     border: 1px solid #000000;
+
}
     color: #FFFFFF;
+
 
     border-top-right-radius: 5px;
+
 
     border-top-left-radius: 5px;
+
 
     border-bottom-right-radius: 5px;
+
.btn{
     border-bottom-left-radius: 5px;
+
    font-size:12px;
 +
    white-space:nowrap;
 +
    padding:.8em 1.5em;
 +
    line-height:14px;
 +
    display:inline-block;
 +
    zoom:1;
 +
    color:#f0d9a2;
 +
    text-align:center;
 +
     position:relative;
 +
    -webkit-transition:border .25s linear,color .25s linear,background-color .25s linear;
 +
     transition:border .25s linear,color .25s linear,background-color .25s linear
 +
}
 +
.btn.btn-mt2{
 +
    background-color:#1f0e02;
 +
     border-color:#512410;
 +
     -webkit-box-shadow:0 3px 0 #512410;
 +
    box-shadow:0 3px 0 #512410;
 +
     border-radius:4px
 +
}
 +
.btn.btn-mt2:hover{
 +
    background-color:#512410;
 +
     box-shadow:0 3px 0 #1f0e02
 +
}
 +
.btn.btn-mt2:active{
 +
    top:3px;
 +
    outline:none;
 +
     -webkit-box-shadow:none;
 +
    box-shadow:none
 
}
 
}
  
 +
.container {
 +
display: flex;
 +
flex-direction: row;
 +
}
  
body.page-Main_Page #catlinks,
+
@media screen and (max-width: 768px){
body.page-Main_Page h1.firstHeading{
+
  .container {  
display: none;
+
  flex-direction: column;  
 +
  }
 
}
 
}
  
.flaggedrevs-color-0 {  
+
@media screen and (max-width: 340px) {
text-decoration: blink;
+
  #mw-content {
 +
    padding-left: 10px;
 +
    padding-right: 10px;
 +
  }
 +
}
 +
 
  
color: rgb(200, 0, 0);
+
ul.subpage {
background: none;
+
  display: flex;
 +
  list-style: none;
 +
  margin: 0 0 10px;
 +
  padding: 0;
 +
  background: #d1b597;
 +
  overflow: hidden;
 +
  line-height: 30px;
 +
  white-space: nowrap;
 
}
 
}
  
.flaggedrevs-color-1 {
+
.subpage a {
background: none;
+
  padding-left: 20px;
 +
  background: #36040d;
 +
  display: inline-block;
 +
  line-height: 30px;
 +
  position: relative;
 +
  color: #f1de8e;
 +
  cursor: pointer;
 
}
 
}
  
.mw-specialpagecached {
+
.subpage a:before,
font-style: italic;
+
.subpage a:after {
 +
  content: "";
 +
  position: absolute;
 +
  width: 0;
 +
  height: 0;
 +
  right: 0;
 +
  padding: 1px 0;
 +
  border-top: 14px solid transparent;
 +
  border-bottom: 14px solid transparent;
 +
  border-left: 14px solid white;
 +
  transform: translate(14px);
 +
  z-index: 1;
 
}
 
}
  
#bodyContent a.external {
+
.subpage a:after {
padding-right: 0px;
+
  border-left: 14px solid #36040d;
 +
  transform: translate(13px);
 +
  z-index: 2;
 +
}
 +
 
 +
.subpage > li:last-child {
 +
  padding-left: 20px;
 +
}
 +
 
 +
ul.subpage > li:first-child {
 +
  flex-shrink: 0;
 +
}
 +
 
 +
ul.subpage > li:first-child > a {
 +
  height: 100%;
 +
  display: flex;
 +
  align-items: center;
 +
  padding-left: 10px;
 +
}
 +
 
 +
ul.subpage > li > a:hover {
 +
  background: #5d0505;
 +
}
 +
 
 +
ul.subpage > li > a:hover:after {
 +
  border-left-color: #5d0505;
 +
}
 +
 
 +
#mw-content .soulignement > a:link {
 +
  text-decoration: none;
 +
}
 +
table.pretty-table tbody > *:nth-child(2n + 1) > td {
 +
  background: rgba(0, 0, 0, 0.1);
 
}
 
}
  
li.gallerybox div.thumb,
+
table.pretty-table tr:hover {
div.tright div.thumbinner {
+
  background: rgba(0, 0, 0, 0.05);
background: none;
 
border: 1px solid rgb(150, 150, 150);
 
 
}
 
}
  
html .thumbimage {
+
.tabber-active.button {
border: 1px solid rgb(180, 180, 180);
+
  background: #36040d;
 +
  color: #f0d9a2;
 +
  border: 2px solid #5d0505;
 +
  font-weight: bold;
 
}
 
}
  
table.diff,
+
/* Esconde todos os painéis por padrão */
td.diff-otitle,
+
.tabber-container > div:last-child > div {
td.diff-ntitle,
+
  display: none;
td.diff-context {
 
background: none;
 
 
}
 
}
  
th .mw-collapsible-toggle a {
+
/* Mostra só o painel ativo */
color: rgb(255, 255, 255);
+
.tabber-container > div:last-child > div.tabber-active {
 +
  display: block;
 
}
 
}
  
#toc h2,
+
/* Continua a esconder o que tiver estas classes auxiliares */
.toc h2 {
+
.cacheTel,
display: inline;
+
.tabber-noactive {
border: none;
+
  display: none;
padding: 0;
 
font-size: 100%;
 
font-weight: bold;
 
        background: none;
 
        color: #0667d2;
 
 
}
 
}
  
.transparentbckg800 {
+
.button {
   background: url("http://wiki.metin2.com.pt/images/9/9f/Transparentbackground.png") repeat;
+
  border: 2px solid #36040d;
 +
  padding: 0 12px;
 +
  line-height: 25px;
 +
  border-radius: 16px;
 +
   background: #5d0505;
 +
  color: #f0d9a2;
 +
  cursor: pointer;
 
   display: inline-block;
 
   display: inline-block;
   padding: 5px;
+
   position: relative;
   width: 790px;
+
   user-select: none;
   color: #00000;
+
  white-space: nowrap;
   border: 1px solid #000000;
+
}
   border-radius: 5px;
+
 
 +
.button:hover {
 +
  background: transparent;
 +
   color: #36040d;
 +
}
 +
 
 +
@media screen and (max-width: 768px) {
 +
  .texte-long {
 +
    white-space: normal;
 +
    overflow: visible;
 +
  }
 +
 
 +
  .grid2 {
 +
    grid-template-columns: repeat(2, 1fr) !important;
 +
  }
 +
 
 +
  .grid3 {
 +
    grid-template-columns: repeat(3, auto) !important;
 +
  }
 +
 
 +
  .container {
 +
    flex-direction: column;
 +
  }
 +
 
 +
  .cacheTel,
 +
  .subpage > li:nth-last-child(2) > a {
 +
    display: block;
 +
   }
 +
 
 +
  .tooltip-icon {
 +
    position: static;
 +
  }
 +
 
 +
  .tooltip-info {
 +
    position: fixed;
 +
    left: 20px;
 +
    right: 20px;
 +
    bottom: 50px;
 +
    max-width: none;
 +
    width: auto;
 +
    transform: none;
 +
    height: max-content;
 +
   }
 +
 
 +
  .subpage > li > a,
 +
  .cacheOrdi,
 +
  .tooltip-info:after {
 +
    display: none;
 +
  }
 
}
 
}
  
.transparentbackground {
+
@media screen and (max-width: 340px) {
   background: url("http://wiki.metin2.com.pt/images/9/9f/Transparentbackground.png") repeat;
+
   #mw-content {
   border: 1px solid #000000;
+
    padding-left: 10px;
 +
    padding-right: 10px;
 +
   }
 
}
 
}
  
.mw-collapsible-toggle a:link {
+
@media screen and (min-width: 851px) {
     color: #0667d2;
+
  html {
 +
     scroll-padding-top: 3.325em;
 +
  }
 
}
 
}
  
.mw-content-ltr .editsection,
+
/*
.mw-content-rtl .mw-content-ltr .editsection {
+
http://wiki.metin2.com.pt/images/2/27/Header-bgxmas.png
float: right;
+
*/
margin: 0 35px 0 0;
+
 
 +
/* Botão "voltar ao topo" – estilo base (desktop + geral) */
 +
.top-button {
 +
  display: flex;
 +
  justify-content: center;
 +
  align-items: center;
 +
  opacity: 0;
 +
  cursor: pointer;
 +
  position: fixed;
 +
  bottom: 10px;
 +
  right: 10px;
 +
  width: 32px;
 +
  height: 32px;
 +
  background: linear-gradient(
 +
    180deg,
 +
    rgba(124, 200, 65, 1) 0%,
 +
    rgba(113, 161, 85, 1) 50%,
 +
    rgba(64, 117, 39, 1) 50%,
 +
    rgba(46, 97, 31, 1) 100%
 +
  );
 +
  border: 1px solid #d0af52;
 +
  box-shadow: 1px 1px 2px #000, inset 1px 1px #090200, inset -1px -1px #090200;
 +
  transform: translateY(100px);
 +
  transition: all 0.5s ease;
 
}
 
}
  
div#content {
+
.top-button:after {
    border-width: 0px;
+
  content: "";
    background: url("http://wiki.metin2.com.pt/images/2/29/Bodybackgroung.png") repeat;
+
  height: 32px;
 +
  width: 32px;
 +
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fffacb' height='32' viewBox='0 -960 960 960' width='32'%3E%3Cpath d='m296-345-56-56 240-240 240 240-56 56-184-184-184 184Z'/%3E%3C/svg%3E");
 +
  background-repeat: no-repeat;
 
}
 
}
  
#catlinks,
+
/* classe usada pelo JS para mostrar o botão */
.catlinks {
+
.show-button {
    background: url("http://wiki.metin2.com.pt/images/f/f3/Catlinks_background.png") no-repeat scroll center transparent;
+
  opacity: 1;
 +
  transform: translateY(0);
 +
}
 +
 
 +
/* Versão mobile: estilo mais simples no telemóvel */
 +
@media screen and (max-width: 768px) {
 +
  .top-button {
 +
    background: rgba(0, 0, 0, 0.7);
 +
    color: #999;
 
     border: none;
 
     border: none;
     color: rgb(241, 222, 142);
+
     box-shadow: none;
 +
  }
 +
 
 +
  .top-button::after {
 +
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23ffffff' height='24' viewBox='0 -960 960 960' width='24'%3E%3Cpath d='M440-80v-647L256-544l-56-56 280-280 280 280-56 57-184-184v647h-80Z'/%3E%3C/svg%3E");
 +
    height: 24px;
 +
    width: 24px;
 +
  }
 +
}
 +
 
 +
.tablo {
 +
    border: solid;
 +
    border-image: url(https://pt-wiki.metin2.gameforge.com/images/5/51/Borda_Mapas.png);
 +
    border-image-repeat: repeat;
 +
    border-image-slice: 6 fill;
 +
    border-image-width: auto;
 +
    padding: 2px;
 +
    display: inline-block
 +
}
 +
.tablo img {
 +
    vertical-align: bottom
 +
}
 +
.popContenu {
 +
  display: inline-block;
 +
  transition: all 0.4s ease;
 +
}
 +
 
 +
 
 +
.popInfo:hover .popContenu {
 +
  opacity: 1 !important;
 +
  transition: all 0.4s ease;
 +
}
 +
 
 +
 
 +
.image-sizing img,
 +
.image-sizing-200 img,
 +
.image-sizing-none img {
 +
  height: auto;
 +
  width: auto;
 +
  max-height: 300px;
 +
  max-width: 100%;
 
}
 
}
  
#catlinks a,
+
.image-sizing-200 img {
.catlinks a {
+
  max-height: 200px;
    color: rgb(241, 222, 142);
 
 
}
 
}
  
#toc,
+
.image-sizing-none img {
.toc,
+
  max-height: none;
.mw-warning {
 
    background: url("http://wiki.metin2.com.pt/images/9/9f/Transparentbackground.png") repeat;
 
    border: 1px solid #000000;
 
    color: #FFFFFF;
 
    border-top-right-radius: 5px;
 
    border-top-left-radius: 5px;
 
    border-bottom-right-radius: 5px;
 
    border-bottom-left-radius: 5px;
 
 
}
 
}
  
#toc h2,
+
.mapa > div:first-child {
.toc h2 {
+
  background: repeat
    display: inline;
+
     url("https://pt-wiki.metin2.gameforge.com/images/8/87/Mapa.png");
    border: none;
 
    padding: 0;
 
    font-size: 100%;
 
    font-weight: bold;
 
    background: none;
 
     color: #FFFFFF;
 
 
}
 
}
  
.nativelooktop {
+
.mapa {
   background: url("http://wiki.metin2.co.uk/images/1/1c/Nativelooktop.jpg") no-repeat;
+
   border: 1px solid #2f1d1f;
   padding: 0px;
+
   border-radius: 15px;
   width: 190px;
+
   width: 100%;
   height: 10px;
+
   box-shadow: 3px 3px 9px 0px #544e41;
 
}
 
}
  
.nativelookbackground {
+
.mapa > div:first-child {
   background-image: url("http://wiki.metin2.co.uk/images/1/12/Nativelookbackground.jpg");
+
   text-align: center;
   background-repeat: repeat-y;
+
  color: white;
   padding: 0px;
+
   line-height: 25px;
   width: 190px;
+
  overflow: hidden;
 +
   border-top-left-radius: 15px;
 +
   border-top-right-radius: 15px;
 
}
 
}
  
.nativelookbottom {
+
.mapajanela,
   background: url("http://wiki.metin2.co.uk/images/8/8b/Nativelookbottom.jpg") no-repeat;
+
.game-window {
   padding: 0px;
+
   border: solid;
   width: 190px;
+
  border-image: url("https://pt-wiki.metin2.gameforge.com/images/8/8d/Mapajanela.png")
  height: 10px;
+
    11 fill / auto / 0 repeat;
 +
   padding: 10px;
 +
   backdrop-filter: blur(4px);
 
}
 
}
  
 
li.gallerybox div.thumb,
 
li.gallerybox div.thumb,
div.tright div.thumbinner {
+
div.tleft div.thumbinner,
     background: url("http://wiki.metin2.com.pt/images/9/9f/Transparentbackground.png") repeat scroll 0% 0% transparent;
+
div.tright div.thumbinner,
 +
div.tnone div.thumbinner {
 +
     background: url(https://tr-wiki.metin2.gameforge.com/images/8/84/Saydam_Arka_Plan.png) repeat scroll 0% 0% transparent !important;
 
     border: 1px solid #88283a;
 
     border: 1px solid #88283a;
 +
    padding: 3px;
 +
}
 +
 +
.CartaMonstroBackground {
 +
  background: url("https://pt-wiki.metin2.gameforge.com/images/c/c3/Carta_Monstro_Background.png") repeat 0em 0em;
 +
}
 +
 +
.modal {
 +
  opacity: 0;
 +
  visibility: hidden;
 +
  transform: scale(1.1);
 +
  transition: visibility 0s linear 0.25s, opacity 0.25s 0s, transform 0.25s;
 +
}
 +
 +
.close-button {
 +
  transition: color 0.2s linear, background-color 0.2s linear;
 +
}
 +
 +
.close-button:hover {
 +
  background-color: red;
 +
  color: #ffffff;
 +
}
 +
 +
.show-modal {
 +
  opacity: 1;
 +
  visibility: visible;
 +
  transform: scale(1);
 +
  transition: visibility 0s linear 0s, opacity 0.25s 0s, transform 0.25s;
 +
}
 +
 +
@keyframes pnj-square {
 +
  from {
 +
    background-color: #f80000;
 +
  }
 +
  to {
 +
    background-color: white;
 +
  }
 +
}
 +
 +
@keyframes pnj-circle {
 +
  from {
 +
    border-color: #984c48;
 +
  }
 +
  to {
 +
    border-color: white;
 +
  }
 +
  from {
 +
    scale: 1;
 +
  }
 +
  to {
 +
    scale: 0.1;
 +
  }
 
}
 
}
  
#textura {
+
@keyframes loading {
   background-image:url('http://wiki.metin2.com.pt/images/c/ca/Textura.png') no-repeat;
+
   0% {
 +
    transform: scale(1.5);
 +
  }
 +
  100% {
 +
    transform: scale(1);
 +
  }
 
}
 
}

Edição atual desde as 03h25min de 18 de janeiro de 2026

/* CSS */

body {
  background-color: #000;
  background-image:
    url('https://pt-wiki.metin2.gameforge.com/images/1/16/Neve.gif'),
    url('https://tr-wiki.metin2.gameforge.com/images/9/9d/Metin2_25.2_Background_Wiki.jpg');

  background-repeat: repeat, no-repeat;
  background-position: top left, center center;
  background-size: auto, cover; 
}

html {
  scroll-behavior: smooth;
}

td,th {padding: 2px }

.nativelooktop {
  background: url("https://en-wiki.metin2.gameforge.com/images/1/1c/Nativelooktop.jpg") no-repeat;
  padding: 0px;
  width: 190px;
  height: 10px;
}

.nativelookbackground {
  background-image: url("https://en-wiki.metin2.gameforge.com/images/1/12/Nativelookbackground.jpg");
  background-repeat: repeat-y;
  padding: 0px;
  width: 190px;
}

.nativelookbottom {
  background: url("https://en-wiki.metin2.gameforge.com/images/8/8b/Nativelookbottom.jpg") no-repeat;
  padding: 0px;
  width: 190px;
  height: 10px;
}



.header-bgxmas {
    background: url("https://pt-wiki.metin2.gameforge.com/images/c/c3/Fita_Página_Inicial.png") repeat 0em 0em;
}
.header-bgxmas2 {
    background: url("https://pt-wiki.metin2.gameforge.com/images/7/70/Preço_IS.png") repeat 0em 0em;
}

.monster-card {
  border: 1px black solid;
  padding: 5px;
  max-width: 445px;
  box-sizing: border-box;
}

.monster-card > :nth-child(5) {
  display: grid;
  justify-content: center;
  align-items: start;
}



.btn{
    font-size:12px;
    white-space:nowrap;
    padding:.8em 1.5em;
    line-height:14px;
    display:inline-block;
    zoom:1;
    color:#f0d9a2;
    text-align:center;
    position:relative;
    -webkit-transition:border .25s linear,color .25s linear,background-color .25s linear;
    transition:border .25s linear,color .25s linear,background-color .25s linear
}
.btn.btn-mt2{
    background-color:#1f0e02;
    border-color:#512410;
    -webkit-box-shadow:0 3px 0 #512410;
    box-shadow:0 3px 0 #512410;
    border-radius:4px
}
.btn.btn-mt2:hover{
    background-color:#512410;
    box-shadow:0 3px 0 #1f0e02
}
.btn.btn-mt2:active{
    top:3px;
    outline:none;
    -webkit-box-shadow:none;
    box-shadow:none
}

.container { 
 display: flex;
 flex-direction: row; 
}

@media screen and (max-width: 768px){
  .container { 
   flex-direction: column; 
  }
}

@media screen and (max-width: 340px) {
  #mw-content {
    padding-left: 10px;
    padding-right: 10px;
  }
}
  

ul.subpage {
  display: flex;
  list-style: none;
  margin: 0 0 10px;
  padding: 0;
  background: #d1b597;
  overflow: hidden;
  line-height: 30px;
  white-space: nowrap;
}

.subpage a {
  padding-left: 20px;
  background: #36040d;
  display: inline-block;
  line-height: 30px;
  position: relative;
  color: #f1de8e;
  cursor: pointer;
}

.subpage a:before,
.subpage a:after {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  right: 0;
  padding: 1px 0;
  border-top: 14px solid transparent;
  border-bottom: 14px solid transparent;
  border-left: 14px solid white;
  transform: translate(14px);
  z-index: 1;
}

.subpage a:after {
  border-left: 14px solid #36040d;
  transform: translate(13px);
  z-index: 2;
}

.subpage > li:last-child {
  padding-left: 20px;
}

ul.subpage > li:first-child {
  flex-shrink: 0;
}

ul.subpage > li:first-child > a {
  height: 100%;
  display: flex;
  align-items: center;
  padding-left: 10px;
}

ul.subpage > li > a:hover {
  background: #5d0505;
}

ul.subpage > li > a:hover:after {
  border-left-color: #5d0505;
}

#mw-content .soulignement > a:link {
  text-decoration: none;
}
table.pretty-table tbody > *:nth-child(2n + 1) > td {
  background: rgba(0, 0, 0, 0.1);
}

table.pretty-table tr:hover {
  background: rgba(0, 0, 0, 0.05);
}

.tabber-active.button {
  background: #36040d;
  color: #f0d9a2;
  border: 2px solid #5d0505;
  font-weight: bold;
}

/* Esconde todos os painéis por padrão */
.tabber-container > div:last-child > div {
  display: none;
}

/* Mostra só o painel ativo */
.tabber-container > div:last-child > div.tabber-active {
  display: block;
}

/* Continua a esconder o que tiver estas classes auxiliares */
.cacheTel,
.tabber-noactive {
  display: none;
}

.button {
  border: 2px solid #36040d;
  padding: 0 12px;
  line-height: 25px;
  border-radius: 16px;
  background: #5d0505;
  color: #f0d9a2;
  cursor: pointer;
  display: inline-block;
  position: relative;
  user-select: none;
  white-space: nowrap;
}

.button:hover {
  background: transparent;
  color: #36040d;
} 

@media screen and (max-width: 768px) {
  .texte-long {
    white-space: normal;
    overflow: visible;
  }

  .grid2 {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .grid3 {
    grid-template-columns: repeat(3, auto) !important;
  }

  .container {
    flex-direction: column;
  }

  .cacheTel,
  .subpage > li:nth-last-child(2) > a {
    display: block;
  }

  .tooltip-icon {
    position: static;
  }

  .tooltip-info {
    position: fixed;
    left: 20px;
    right: 20px;
    bottom: 50px;
    max-width: none;
    width: auto;
    transform: none;
    height: max-content;
  }

  .subpage > li > a,
  .cacheOrdi,
  .tooltip-info:after {
    display: none;
  }
}

@media screen and (max-width: 340px) {
  #mw-content {
    padding-left: 10px;
    padding-right: 10px;
  }
}

@media screen and (min-width: 851px) {
  html {
    scroll-padding-top: 3.325em;
  }
}

/*
http://wiki.metin2.com.pt/images/2/27/Header-bgxmas.png
*/

/* Botão "voltar ao topo" – estilo base (desktop + geral) */
.top-button {
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  cursor: pointer;
  position: fixed;
  bottom: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  background: linear-gradient(
    180deg,
    rgba(124, 200, 65, 1) 0%,
    rgba(113, 161, 85, 1) 50%,
    rgba(64, 117, 39, 1) 50%,
    rgba(46, 97, 31, 1) 100%
  );
  border: 1px solid #d0af52;
  box-shadow: 1px 1px 2px #000, inset 1px 1px #090200, inset -1px -1px #090200;
  transform: translateY(100px);
  transition: all 0.5s ease;
}

.top-button:after {
  content: "";
  height: 32px;
  width: 32px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fffacb' height='32' viewBox='0 -960 960 960' width='32'%3E%3Cpath d='m296-345-56-56 240-240 240 240-56 56-184-184-184 184Z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
}

/* classe usada pelo JS para mostrar o botão */
.show-button {
  opacity: 1;
  transform: translateY(0);
}

/* Versão mobile: estilo mais simples no telemóvel */
@media screen and (max-width: 768px) {
  .top-button {
    background: rgba(0, 0, 0, 0.7);
    color: #999;
    border: none;
    box-shadow: none;
  }

  .top-button::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23ffffff' height='24' viewBox='0 -960 960 960' width='24'%3E%3Cpath d='M440-80v-647L256-544l-56-56 280-280 280 280-56 57-184-184v647h-80Z'/%3E%3C/svg%3E");
    height: 24px;
    width: 24px;
  }
}

.tablo {
    border: solid;
    border-image: url(https://pt-wiki.metin2.gameforge.com/images/5/51/Borda_Mapas.png);
    border-image-repeat: repeat;
    border-image-slice: 6 fill;
    border-image-width: auto;
    padding: 2px;
    display: inline-block
}
.tablo img {
    vertical-align: bottom
}
.popContenu {
  display: inline-block;
  transition: all 0.4s ease;
}


.popInfo:hover .popContenu {
  opacity: 1 !important;
  transition: all 0.4s ease;
}


.image-sizing img,
.image-sizing-200 img,
.image-sizing-none img {
  height: auto;
  width: auto;
  max-height: 300px;
  max-width: 100%;
}

.image-sizing-200 img {
  max-height: 200px;
}

.image-sizing-none img {
  max-height: none;
}

.mapa > div:first-child {
  background: repeat
    url("https://pt-wiki.metin2.gameforge.com/images/8/87/Mapa.png");
}

.mapa {
  border: 1px solid #2f1d1f;
  border-radius: 15px;
  width: 100%;
  box-shadow: 3px 3px 9px 0px #544e41;
}

.mapa > div:first-child {
  text-align: center;
  color: white;
  line-height: 25px;
  overflow: hidden;
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
}

.mapajanela,
.game-window {
  border: solid;
  border-image: url("https://pt-wiki.metin2.gameforge.com/images/8/8d/Mapajanela.png")
    11 fill / auto / 0 repeat;
  padding: 10px;
  backdrop-filter: blur(4px);
}

li.gallerybox div.thumb,
div.tleft div.thumbinner,
div.tright div.thumbinner,
div.tnone div.thumbinner {
    background: url(https://tr-wiki.metin2.gameforge.com/images/8/84/Saydam_Arka_Plan.png) repeat scroll 0% 0% transparent !important;
    border: 1px solid #88283a;
    padding: 3px;
}

.CartaMonstroBackground {
   background: url("https://pt-wiki.metin2.gameforge.com/images/c/c3/Carta_Monstro_Background.png") repeat 0em 0em;
}

.modal {
  opacity: 0;
  visibility: hidden;
  transform: scale(1.1);
  transition: visibility 0s linear 0.25s, opacity 0.25s 0s, transform 0.25s;
}

.close-button {
  transition: color 0.2s linear, background-color 0.2s linear;
}

.close-button:hover {
  background-color: red;
  color: #ffffff;
}

.show-modal {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  transition: visibility 0s linear 0s, opacity 0.25s 0s, transform 0.25s;
}

@keyframes pnj-square {
  from {
    background-color: #f80000;
  }
  to {
    background-color: white;
  }
}

@keyframes pnj-circle {
  from {
    border-color: #984c48;
  }
  to {
    border-color: white;
  }
  from {
    scale: 1;
  }
  to {
    scale: 0.1;
  }
}

@keyframes loading {
  0% {
    transform: scale(1.5);
  }
  100% {
    transform: scale(1);
  }
}