Diferenças entre edições de "MediaWiki:Common.css"
| Linha 393: | Linha 393: | ||
vertical-align: bottom | vertical-align: bottom | ||
| − | + | ||
.popContenu { | .popContenu { | ||
display: inline-block; | display: inline-block; | ||
| Linha 404: | Linha 404: | ||
} | } | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
.image-sizing img, | .image-sizing img, | ||
Revisão das 16h05min de 5 de dezembro de 2025
/* 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;
}
.modal{
display:none;
position:fixed;
left:0;
top:0;
width:100%;
height:100%;
z-index:99;
background-color:rgba(0,0,0,0.5)
}
.modal-content{
position:absolute;
top:50%;
left:50%;
transform:translate(-50%,-50%);
padding:16px 24px;
width:auto;
background:url(https://it-wiki.metin2.gameforge.com/images/2/20/Modal_Background.png);
border-radius:8px;
border:1px solid black
}
.close-button{
float:right;
width:20px;
height:20px;
line-height:24px;
text-align:center;
cursor:pointer;
border-radius:4px;
background:url(https://it-wiki.metin2.gameforge.com/images/0/04/No.png) no-repeat
}
.close-button:hover{
background-color:darkgray
}
.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 0;
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;
}
.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);
}