MediaWiki:Common.css : Différence entre versions

Ligne 478 : Ligne 478 :
 
   max-height: 80%;
 
   max-height: 80%;
 
   overflow-y: scroll;
 
   overflow-y: scroll;
 +
}
 +
 +
div.cliquable > a {
 +
  display: block;
 +
  width: 100%;
 +
  height: 100%;
 
}
 
}
  

Version du 29 juillet 2021 à 21:42

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

/* New Skin CSS */

/****************************************************************************************/
/******************************************TABBER****************************************/
/****************************************************************************************/

.tabberlive .tabbertabhide {
	display: none;
}

/*--------------------------------------------------
  .tabber = before the tabber interface is set up
  .tabberlive = after the tabber interface is set up
  --------------------------------------------------*/
.tabber {
}

.tabberlive {

}

/*--------------------------------------------------
  ul.tabbernav = the tab navigation list
  li.tabberactive = the active tab
  --------------------------------------------------*/
ul.tabbernav {
    margin: 0;
    padding: 3px 0;
    border-bottom: 1px solid rgb(81,36,16);
    font: bold 12px Verdana,sans-serif;
}

ul.tabbernav li {
    list-style: none;
    margin: 0;
    display: inline;
}

ul.tabbernav li a {
    padding: 3px 0.5em;
    margin-left: 3px;
    border: 1px solid rgb(81,36,16);
    border-bottom: none;
    background:#972014;
    text-decoration: none;
}

ul.tabbernav li a:link {
    color: #f0d9a2;
}

ul.tabbernav li a:hover {
    color: #f0d9a2;
    background: #1f0e02;
    border-color: rgb(81,36,16);
}

ul.tabbernav li.tabberactive a {
    background-color: #1f0e02;
    border: 1px solid rgb(81,36,16);
}

ul.tabbernav li.tabberactive a:hover {
    color: #f0d9a2;
    background: #1f0e02;
    border-bottom: none;
}

/*--------------------------------------------------
  .tabbertab = the tab content
  Add style only after the tabber interface is set up (.tabberlive)
  --------------------------------------------------*/
.tabberlive .tabbertab {
    padding-top: 5px;
    padding-left: 10px;
    padding-bottom: 5px;
    padding-right: 10px;
    border: 1px solid #502410;
    border-top: 0;
    overflow: auto;
}

/* If desired, hide the heading since a heading is provided by the tab */
.tabberlive .tabbertab h2 {
	display:none;
}
.tabberlive .tabbertab h3 {
	display:none;
}

/* Example of using an ID to set different styles for the tabs on the page */
.tabberlive#tab1 {
}
.tabberlive#tab2 {
}
.tabberlive#tab2 .tabbertab {
	height:200px;
	overflow:auto;
}

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

 /* Slideshow container */
 
.slideshow-container {
  width: auto;
  position: relative;
}

/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  transition: 0.6s ease;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* Position the "prev button" to the left */
.prev {
  left: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
}

/* Caption text */
.text {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: static;
  bottom:20px;
  width: 100%;
  text-align: center;
}
.mySlides {
  display:none;
  height: 100%;
}
.active-slide {
  display:block;
  height: 100%;
}
/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

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

.med:before {
  content: "ordi";
}

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

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

@media(max-width: 768px){

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

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

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

.cacheTel{
  display: block;
}

.cacheOrdi{
 display: none;
}

.med:before {
  content: "tel";
}

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

div.cliquable > a {
  display: block;
  width: 100%;
  height: 100%;
}

}

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