MediaWiki:Common.css : Différence entre versions

Ligne 376 : Ligne 376 :
 
   max-width: 100%;
 
   max-width: 100%;
 
   height: auto;
 
   height: auto;
 +
}
 +
 +
.cadreCarte {
 +
  border: solid;
 +
  border-image: url("https://fr-wiki.metin2.gameforge.com/images/1/16/Cadrecarte.png");
 +
  border-image-repeat: repeat;
 +
  border-image-slice: 6 fill;
 +
  border-image-width: auto;
 +
  padding: 2px;
 +
  display: inline-block;
 
}
 
}
  

Version du 18 septembre 2021 à 20:24

/* CSS placed here will be applied to all skins */

/* New Skin CSS */

body {
    background: url('https://fr-wiki.metin2.gameforge.com/images/1/15/Fond2015.jpg') no-repeat fixed center top #000;
    overflow-x: visible !important;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

body.page-Main_Page #catlinks,
body.page-Main_Page h1.firstHeading{
display: none;
}

td,th {padding: 2px }

li.gallerybox div.thumb,
div.tright div.thumbinner {
background: none;
border: 1px solid rgb(150, 150, 150);
}

.transparentbckg800 {
  background: url("https://en-wiki.metin2.gameforge.com/images/9/9f/Transparentbackground.png") repeat;
  display: inline-block;
  padding: 5px;
  width: 790px;
  color: #00000;
  border: 1px solid #000000;
  border-radius: 5px;
}

.transparentbackground {
  background: url("https://en-wiki.metin2.gameforge.com/images/9/9f/Transparentbackground.png") repeat;
  border: 1px solid #000000;
}

.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;
}

li.gallerybox div.thumb,
div.tright div.thumbinner {
    background: url("https://en-wiki.metin2.gameforge.com/images/9/9f/Transparentbackground.png") repeat scroll 0% 0% transparent;
    border: 1px solid #88283a;
}

.boxesheaderbackground {
    background: url("https://fr-wiki.metin2.gameforge.com/images/a/a7/Boxheaderbrown.png") repeat 0em 0em;
}

.fondfenetre { 
    background: url("https://fr-wiki.metin2.gameforge.com/images/8/89/Fondfenetre.png") repeat 0em 0em; 
}

/* Fading animation */
.fade {
  -webkit-animation-name: fade;
  -webkit-animation-duration: 1.5s;
  animation-name: fade;
  animation-duration: 1.5s;
}

@-webkit-keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}

@keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}

table.map mw-collapsible-toggle a {
    color:#ffffff !important;
}

table.map .mw-collapsible-toggle a {
    color:#ffffff !important;
}

.map span.mw-collapsible-toggle.mw-collapsible-toggle-default.mw-collapsible-toggle-collapsed{
       padding-right:10px;
}

.prettytable a.mw-collapsible-text{
      color:#ffffff;
}

.prettytable .mw-collapsible-toggle-default:after{
    color:#ffffff;
}

.prettytable .mw-collapsible-toggle-default:before{
    color:#ffffff;
}

.breadcrumb { 
  list-style: none; 
  overflow: hidden; 
}

.breadcrumb li { 
  float: left; 
}

.breadcrumb li a {
    color: #f1de8e;
    text-decoration: none !important;
    padding: 4px 0 7px 25px;
    background: #512410;
    position: relative;
    display: block;
    float: left;
}

.breadcrumb li a:before {
    content: " ";
    display: block;
    width: 0;
    height: 0;
    border-top: 14px solid transparent;
    border-bottom: 14px solid transparent;
    border-left: 14px solid white;
    position: absolute;
    top: 46%;
    margin-top: -14px;
    margin-left: 1px;
    left: 100%;
    padding: 1.2px;
    z-index: 1;
}

.breadcrumb li a:after {
    content: " ";
    display: block;
    width: 0;
    height: 0;
    border-top: 14px solid transparent;
    border-bottom: 14px solid transparent;
    border-left: 14px solid #512410;
    position: absolute;
    top: 46%;
    margin-top: -14px;
    left: 100%;
    z-index: 2;
    padding: 1.3px;
}  

.breadcrumb li:first-child a {
  padding-left: 10px;
}

.breadcrumb li:nth-child(2) a       { background:#512410; }
.breadcrumb li:nth-child(2) a:after { border-left-color: #512410; }
.breadcrumb li:nth-child(3) a       { background:#512410; }
.breadcrumb li:nth-child(3) a:after { border-left-color: #512410; }
.breadcrumb li:nth-child(4) a       { background:#512410; }
.breadcrumb li:nth-child(4) a:after { border-left-color: #512410; }
.breadcrumb li:nth-child(5) a       { background:#512410; }
.breadcrumb li:nth-child(5) a:after { border-left-color: #512410; }

.breadcrumb li:last-child a {
  background: transparent !important;
  color: black;
  pointer-events: none;
  cursor: default;
}

.breadcrumb li:last-child a:before {border-left: 0px solid !important}
.breadcrumb li:last-child a:after { border: 0; }
.breadcrumb li a:hover { background: #9D5B37; }
.breadcrumb li a:hover:after { border-left-color: #9D5B37 !important; 
}

.modeleAnnonce {
  border: solid;
  border-image: url("https://fr-wiki.metin2.gameforge.com/images/f/fb/Modeleannonce.png");
  border-image-repeat: repeat;
  border-image-slice: 17 35 3 35 fill;
  border-image-width: auto;
  padding: 10px 22px 5px 19px;
}

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

.cacheTel{
  display: none;
}

.cacheOrdi{
  display: block;
}

.button {
  border: 1px solid black;
  padding: 1px 5px;
  border-radius: 8px;
  background: white;
  cursor: pointer;
  display: inline-block;
  position: relative;
}

.button:hover {
  background: rgb(238, 238, 238);
  box-shadow: 1px 1px 0 #1f0e02;
}

.button:active {
  box-shadow: none;
  top: 3px;
}

.modal {
  background-color: rgba(0, 0, 0, 0.5);
  display: none;
  height: 100%;
  left: 0;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 99;
}

.modal-content {
  background: url(https://fr-wiki.metin2.gameforge.com/images/e/ed/Modalbackground.png);
  border: 1px solid black;
  border-radius: 8px;
  left: 50%;
  padding: 30px 24px;
  position: fixed;
  top: 50%;
  transform: translate(-50%,-50%);
  width: auto;
  max-height: 80%;
  overflow-y: scroll;
}

.close {
  color: #000000;
  cursor: pointer;
  font-size: 20px;
  padding: 6px 12px;
  position: absolute;
  right: 0;
  top: 0;
  transition: color .2s linear, background-color .2s linear;
}

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

.texte-long {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

.texte-long:hover {
  white-space: normal;
}

#soulignement > a:link {
  text-decoration: none;
}

.popContenu {
  display: inline-block;
  position: absolute;
  bottom: 20px;
  transform: translate(-50%);
  z-index: 100;
  opacity: 0;
  transition: all 0.4s ease;
  pointer-events: none;
}

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

.cadreFenetre {
  border: solid;
  border-image: url("https://fr-wiki.metin2.gameforge.com/images/1/11/Cadrefenetre.png");
  border-image-repeat: repeat;
  border-image-slice: 10 fill;
  border-image-width: auto;
  padding: 10px ;
}

.affichage-image {
  border: 1px solid #88283a;
  display: inline-block;
  margin: 10px;
  padding: 10px;
  background: url(https://en-wiki.metin2.gameforge.com/images/9/9f/Transparentbackground.png) repeat scroll 0% 0% transparent;
}

@media(max-width: 768px){

.texte-long {
  white-space: normal;
}

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

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

.cacheTel{
  display: block;
}

.cacheOrdi{
 display: none;
}

.modal-content {
  background: url(https://fr-wiki.metin2.gameforge.com/images/e/ed/Modalbackground.png);
  border: 1px solid black;
  border-radius: 8px;
  left: 50%;
  padding: 30px 0 0 10px;
  position: fixed;
  top: 50%;
  transform: translate(-50%,-50%);
  width: 90%;
  max-height: 80%;
  overflow-y: scroll;
}

.container{ 
 flex-direction: column; 
}

.affichage-image-tel {
  width: 100%;
  text-align: center;
  display: block;
  margin: 10px 0;
  padding: 10px 5px;
}

.affichage-image-tel img {
  max-width: 100%;
  height: auto;
}

.cadreCarte {
  border: solid;
  border-image: url("https://fr-wiki.metin2.gameforge.com/images/1/16/Cadrecarte.png");
  border-image-repeat: repeat;
  border-image-slice: 6 fill;
  border-image-width: auto;
  padding: 2px;
  display: inline-block;
}

}

/*
http://wiki.metin2.co.uk/images/3/39/Boxesheaderbackgroundnormal.png
http://wiki.metin2.co.uk/images/6/66/Valentineboxheader.png
http://wiki.metin2.co.uk/images/6/67/Easterboxheader.png
http://wiki.metin2.co.uk/images/4/47/Boxesheaderbackgroundxmas.png
http://wiki.metin2.co.uk/images/0/09/Boxesheaderbackgroundhalloween.png
*/