MediaWiki:Common.css : Différence entre versions

Ligne 110 : Ligne 110 :
  
 
.boxesheaderbackground, .cadre > div:first-child {
 
.boxesheaderbackground, .cadre > div:first-child {
   border-image: url("https://fr-wiki.metin2.gameforge.com/images/a/a7/Boxheaderbrown.png") 5 0 fill / 5px 0 repeat;
+
   background: repeat url("https://fr-wiki.metin2.gameforge.com/images/a/a7/Boxheaderbrown.png");
 
}
 
}
  
Ligne 117 : Ligne 117 :
 
   border-radius: 15px 0;
 
   border-radius: 15px 0;
 
   width: 100%;
 
   width: 100%;
  overflow: hidden;
 
 
}
 
}
  
Ligne 124 : Ligne 123 :
 
   color: white;
 
   color: white;
 
   line-height: 25px;
 
   line-height: 25px;
 +
  overflow: hidden;
 +
  border-top-left-radius: 15px;
 
}
 
}
  

Version du 10 décembre 2021 à 11:11

/* 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;
}

/* 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;
}

.boxesheaderbackground, .cadre > div:first-child {
  background: repeat url("https://fr-wiki.metin2.gameforge.com/images/a/a7/Boxheaderbrown.png");
}

.cadre {
  border: 1px solid #2f1d1f;
  border-radius: 15px 0;
  width: 100%;
}

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

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

.sous-titre {
  max-width: 180px;
  border: 1px solid black;
  border-radius: 8px;
  color: white;
}

.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: 2px solid grey;
  padding: 0 12px;
  line-height: 25px;
  border-radius: 16px;
  background: rgba(234, 234, 234);
  cursor: pointer;
  display: inline-block;
  position: relative;
  user-select: none;
}

.button:hover {
  background: transparent;
}

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

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

#tabber-texte > .tabber-active {
  display: block;
}

.tabber-active.button {
  background: rgba(75, 85, 95);
  color: white;
  border: 2px solid rgba(75, 85, 95);
}

.tabber-noactive {
  display: none;
}

ul.subpage {
  display: flex;
  list-style: none;
  margin: 0 0 10px;
  padding: 0;
  background: rgba(81,36,16, 0.3);
  overflow: hidden;
  line-height: 30px;
  white-space: nowrap;
}

.subpage a {
  padding-left: 20px;
  background: #512410;
  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(15px);
  z-index: 1;
}

.subpage a:after {
  border-left: 14px solid #512410;
  transform: translate(14px);
  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: #9D5B37;
}

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

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

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

  .subpage > li > a {
    display: none;
  }

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

}


@media screen and (min-width: 851px){
  
  :target {
    padding-top: 50px;
  }
  
  #mw-content h2 {
    overflow: visible;
  }
  
}


/*
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
*/