MediaWiki:Common.css : Différence entre versions

 
(47 révisions intermédiaires par le même utilisateur non affichées)
Ligne 1 : Ligne 1 :
/* CSS placed here will be applied to all skins */
+
/* Le CSS placé ici sera chargé sur toutes les pages */
  
/* New Skin CSS */
+
html {
 +
  scroll-behavior: smooth;
 +
}
 +
 
 +
/*
 +
  body {
 +
    background-image: url('https://fr-wiki.metin2.gameforge.com/images/b/bf/Fondhalloween.png');
 +
  }
 +
  */
  
 
body {
 
body {
    background: url('https://fr-wiki.metin2.gameforge.com/images/1/15/Fond2015.jpg') no-repeat fixed center top #000;
+
  background-image: url("https://fr-wiki.metin2.gameforge.com/images/1/15/Fond2015.jpg");
    overflow-x: visible !important;
 
    -webkit-background-size: cover;
 
    -moz-background-size: cover;
 
    -o-background-size: cover;
 
    background-size: cover;
 
 
}
 
}
  
body.page-Main_Page #catlinks,
+
#mw-content ul {
body.page-Main_Page h1.firstHeading{
+
  margin-bottom: 0.3em;
display: none;
 
 
}
 
}
  
td,th {padding: 2px }
+
#mw-content ol {
 +
  list-style: none;
 +
  counter-reset: custom-counter;
 +
  margin: 0.3em 0 0.3em 1.6em;
 +
  padding: 0;
 +
}
  
li.gallerybox div.thumb,
+
ol li {
div.tright div.thumbinner {
+
  padding: 0;
background: none;
+
  counter-increment: custom-counter;
border: 1px solid rgb(150, 150, 150);
 
 
}
 
}
  
.transparentbckg800 {
+
ol li::marker {
   background: url("https://en-wiki.metin2.gameforge.com/images/9/9f/Transparentbackground.png") repeat;
+
   content: counter(custom-counter) ". ";
  display: inline-block;
+
   font-weight: bold;
  padding: 5px;
 
  width: 790px;
 
  color: #00000;
 
  border: 1px solid #000000;
 
   border-radius: 5px;
 
 
}
 
}
  
.transparentbackground {
+
td,
   background: url("https://en-wiki.metin2.gameforge.com/images/9/9f/Transparentbackground.png") repeat;
+
th {
  border: 1px solid #000000;
+
   padding: 2px;
 
}
 
}
  
.nativelooktop {
+
.map span.mw-collapsible-toggle {
  background: url("https://en-wiki.metin2.gameforge.com/images/1/1c/Nativelooktop.jpg") no-repeat;
+
   padding-right: 10px;
   padding: 0px;
 
  width: 190px;
 
  height: 10px;
 
 
}
 
}
  
.nativelookbackground {
+
table.map a.mw-collapsible-text,
  background-image: url("https://en-wiki.metin2.gameforge.com/images/1/12/Nativelookbackground.jpg");
+
.prettytable > span.mw-collapsible-toggle,
  background-repeat: repeat-y;
+
.prettytable > span.mw-collapsible-toggle > a {
  padding: 0px;
+
   color: #ffffff;
   width: 190px;
 
 
}
 
}
  
.nativelookbottom {
+
.boxesheaderbackground,
   background: url("https://en-wiki.metin2.gameforge.com/images/8/8b/Nativelookbottom.jpg") no-repeat;
+
.cadre > div:first-child {
  padding: 0px;
+
   background: repeat
  width: 190px;
+
    url("https://fr-wiki.metin2.gameforge.com/images/a/a7/Boxheaderbrown.png");
  height: 10px;
 
 
}
 
}
  
li.gallerybox div.thumb,
+
.cadre {
div.tright div.thumbinner {
+
  border: 1px solid #2f1d1f;
    background: url("https://en-wiki.metin2.gameforge.com/images/9/9f/Transparentbackground.png") repeat scroll 0% 0% transparent;
+
  border-radius: 15px 0;
    border: 1px solid #88283a;
+
  width: 100%;
 +
  box-shadow: 3px 3px 9px 0px #544e41;
 
}
 
}
  
.boxesheaderbackground {
+
.cadre > div:first-child {
    background: url("https://fr-wiki.metin2.gameforge.com/images/a/a7/Boxheaderbrown.png") repeat 0em 0em;
+
  text-align: center;
 +
  color: white;
 +
  line-height: 25px;
 +
  overflow: hidden;
 +
  border-top-left-radius: 15px;
 
}
 
}
  
.fondfenetre {  
+
.fondfenetre,
    background: url("https://fr-wiki.metin2.gameforge.com/images/8/89/Fondfenetre.png") repeat 0em 0em;  
+
.sous-titre,
 +
table.pretty-table th {
 +
  background: url("https://fr-wiki.metin2.gameforge.com/images/8/89/Fondfenetre.png")
 +
    repeat;
 +
  color: white;
 
}
 
}
  
/* Fading animation */
+
table.pretty-table td {
.fade {
+
   padding: 5px 10px;
   -webkit-animation-name: fade;
 
  -webkit-animation-duration: 1.5s;
 
  animation-name: fade;
 
  animation-duration: 1.5s;
 
 
}
 
}
  
@-webkit-keyframes fade {
+
table.pretty-table th {
   from {opacity: .4}
+
   padding: 2px 10px;
   to {opacity: 1}
+
  font-weight: normal;
 +
   font-size: 1.1em;
 
}
 
}
  
@keyframes fade {
+
table.pretty-table tbody > *:nth-child(2n + 1) > td {
   from {opacity: .4}
+
   background: rgba(0, 0, 0, 0.1);
  to {opacity: 1}
 
 
}
 
}
  
table.map mw-collapsible-toggle a {
+
table.pretty-table tr:hover {
    color:#ffffff !important;
+
  background: rgba(0, 0, 0, 0.05);
 
}
 
}
  
table.map .mw-collapsible-toggle a {
+
table.pretty-table tr:first-child > th:first-child {
    color:#ffffff !important;
+
  border-radius: 8px 0 0 0;
 +
  overflow: hidden;
 
}
 
}
  
.map span.mw-collapsible-toggle.mw-collapsible-toggle-default.mw-collapsible-toggle-collapsed{
+
table.pretty-table caption {
      padding-right:10px;
+
  margin-top: 10px;
 +
  font-weight: bold;
 
}
 
}
  
.prettytable a.mw-collapsible-text{
+
.fondfenetre a,
      color:#ffffff;
+
.fondfenetre span,
 +
table.pretty-table th a,
 +
table.pretty-table th span {
 +
  color: white;
 
}
 
}
  
.prettytable .mw-collapsible-toggle-default:after{
+
table.sticky-header-row thead tr {
    color:#ffffff;
+
  position: sticky;
 +
  top: 0;
 +
  z-index: 10;
 +
}
 +
 
 +
table.sticky-header-column th:first-child {
 +
  position: sticky;
 +
  left: 0;
 +
  z-index: 20;
 
}
 
}
  
.prettytable .mw-collapsible-toggle-default:before{
+
.sous-titre {
    color:#ffffff;
+
  max-width: 180px;
 +
  border: 1px solid black;
 +
  border-radius: 8px;
 +
  color: white;
 
}
 
}
  
.breadcrumb {  
+
.modeleAnnonce {
   list-style: none;
+
   border-image: url("https://fr-wiki.metin2.gameforge.com/images/f/fb/Modeleannonce.png")
  overflow: hidden;  
+
    17 35 3 fill / auto / 0 repeat;
 
}
 
}
  
.breadcrumb li {  
+
.container {
   float: left;  
+
   display: flex;
 +
  flex-direction: row;
 
}
 
}
  
.breadcrumb li a {
+
.monster-card {
    color: #f1de8e;
+
  border: 1px black solid;
    text-decoration: none !important;
+
  padding: 5px;
    padding: 4px 0 7px 25px;
+
  max-width: 400px;
    background: #512410;
+
  box-sizing: border-box;
    position: relative;
 
    display: block;
 
    float: left;
 
 
}
 
}
  
.breadcrumb li a:before {
+
.monster-card > :first-child {
    content: " ";
+
  display: flex;
    display: block;
+
  justify-content: space-between;
    width: 0;
+
  margin-bottom: 5px;
    height: 0;
+
  line-height: 25px;
    border-top: 14px solid transparent;
+
  padding: 0 5px;
    border-bottom: 14px solid transparent;
+
  background: none;
    border-left: 14px solid white;
+
  background-color: black;
    position: absolute;
+
  color: white;
    top: 46%;
+
  white-space: nowrap;
    margin-top: -14px;
 
    margin-left: 1px;
 
    left: 100%;
 
    padding: 1.2px;
 
    z-index: 1;
 
 
}
 
}
  
.breadcrumb li a:after {
+
.monster-card > :first-child a {
    content: " ";
+
  color: white;
    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 {
+
.monster-card > :nth-child(2) {
   padding-left: 10px;
+
   display: flex;
 +
  justify-content: space-between;
 +
  margin-bottom: 5px;
 
}
 
}
  
.breadcrumb li:nth-child(2) a      { background:#512410; }
+
.monster-card > :nth-child(3) {
.breadcrumb li:nth-child(2) a:after { border-left-color: #512410; }
+
  background: rgba(0, 0, 0, 0.1);
.breadcrumb li:nth-child(3) a      { background:#512410; }
+
  display: grid;
.breadcrumb li:nth-child(3) a:after { border-left-color: #512410; }
+
  justify-content: center;
.breadcrumb li:nth-child(4) a      { background:#512410; }
+
  align-items: start;
.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 {
+
button.brown {
   background: transparent !important;
+
   background: #651e10;
  color: black;
 
  pointer-events: none;
 
  cursor: default;
 
 
}
 
}
  
.breadcrumb li:last-child a:before {border-left: 0px solid !important}
+
button.brown-transparent {
.breadcrumb li:last-child a:after { border: 0; }
+
  background: #651e10cc;
.breadcrumb li a:hover { background: #9D5B37; }
 
.breadcrumb li a:hover:after { border-left-color: #9D5B37 !important;  
 
 
}
 
}
  
.modeleAnnonce {
+
button.brown:hover,
  border: solid;
+
button.brown:focus {
  border-image: url("https://fr-wiki.metin2.gameforge.com/images/f/fb/Modeleannonce.png");
+
   background: #551a0e;
  border-image-repeat: repeat;
 
  border-image-slice: 17 35 3 35 fill;
 
  border-image-width: auto;
 
   padding: 10px 22px 5px 19px;
 
 
}
 
}
  
.container{  
+
button.red {
display: flex;
+
  background: #ef4444;
flex-direction: row;  
+
}
}  
 
  
.cacheTel{
+
button.red:hover,
   display: none;
+
button.red:focus {
 +
   background: #b91c1c;
 
}
 
}
  
.cacheOrdi{
+
button:active {
   display: block;
+
   opacity: 0.8;
 
}
 
}
  
Ligne 227 : Ligne 216 :
 
   position: relative;
 
   position: relative;
 
   user-select: none;
 
   user-select: none;
 +
  white-space: nowrap;
 
}
 
}
  
Ligne 234 : Ligne 224 :
  
 
.modal {
 
.modal {
   background-color: rgba(0, 0, 0, 0.5);
+
   opacity: 0;
   display: none;
+
   visibility: hidden;
   height: 100%;
+
   transform: scale(1.1);
   left: 0;
+
   transition: visibility 0s linear 0.25s, opacity 0.25s 0s, transform 0.25s;
  position: fixed;
+
}
   top: 0;
+
 
  width: 100%;
+
.close-button {
  z-index: 99;
+
   transition: color 0.2s linear, background-color 0.2s linear;
 
}
 
}
  
.modal-content {
+
.close-button:hover {
   background: url(https://fr-wiki.metin2.gameforge.com/images/e/ed/Modalbackground.png);
+
   background-color: red;
  border: 1px solid black;
+
   color: #ffffff;
  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 {
+
.show-modal {
   color: #000000;
+
   opacity: 1;
   cursor: pointer;
+
   visibility: visible;
   font-size: 20px;
+
   transform: scale(1);
   padding: 6px 12px;
+
   transition: visibility 0s linear 0s, opacity 0.25s 0s, transform 0.25s;
  position: absolute;
 
  right: 0;
 
  top: 0;
 
  transition: color .2s linear, background-color .2s linear;
 
 
}
 
}
  
.close:hover {
+
.cacheOrdi,
   background: red;
+
.gen-active {
  color: #ffffff;
+
   display: block;
 
}
 
}
  
.texte-long {
+
.texte-long,
 +
.texte-long-2 {
 
   text-overflow: ellipsis;
 
   text-overflow: ellipsis;
 
   white-space: nowrap;
 
   white-space: nowrap;
Ligne 280 : Ligne 258 :
 
}
 
}
  
.texte-long:hover {
+
.texte-long:hover,
 +
.texte-long-2:hover {
 
   white-space: normal;
 
   white-space: normal;
 
}
 
}
  
#soulignement > a:link {
+
.shop-img img {
 +
  height: auto;
 +
  width: auto;
 +
  max-height: 130px;
 +
  max-width: 130px;
 +
}
 +
 
 +
#mw-content .soulignement > a:link {
 
   text-decoration: none;
 
   text-decoration: none;
 
}
 
}
Ligne 290 : Ligne 276 :
 
.popContenu {
 
.popContenu {
 
   display: inline-block;
 
   display: inline-block;
  position: absolute;
 
  bottom: 20px;
 
  transform: translate(-50%);
 
  z-index: 100;
 
  opacity: 0;
 
 
   transition: all 0.4s ease;
 
   transition: all 0.4s ease;
  pointer-events: none;
 
 
}
 
}
  
#popInfo:hover .popContenu {
+
.popInfo:hover .popContenu {
   opacity: 1;
+
   opacity: 1 !important;
 
   transition: all 0.4s ease;
 
   transition: all 0.4s ease;
 
}
 
}
Ligne 306 : Ligne 286 :
 
.cadreFenetre {
 
.cadreFenetre {
 
   border: solid;
 
   border: solid;
   border-image: url("https://fr-wiki.metin2.gameforge.com/images/1/11/Cadrefenetre.png");
+
   border-image: url("https://fr-wiki.metin2.gameforge.com/images/1/11/Cadrefenetre.png")
   border-image-repeat: repeat;
+
    11 fill / auto / 0 repeat;
   border-image-slice: 10 fill;
+
  padding: 10px;
   border-image-width: auto;
+
  backdrop-filter: blur(4px);
   padding: 10px ;
+
}
 +
 
 +
.tabber-active.button {
 +
  background: rgba(75, 85, 95);
 +
  color: white;
 +
  border: 2px solid rgba(75, 85, 95);
 +
}
 +
 
 +
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(14px);
 +
  z-index: 1;
 +
}
 +
 
 +
.subpage a:after {
 +
  border-left: 14px solid #512410;
 +
  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: #9d5b37;
 +
}
 +
 
 +
ul.subpage > li > a:hover:after {
 +
   border-left-color: #9d5b37;
 +
}
 +
 
 +
.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;
 +
}
 +
 
 +
div.ul-res ul {
 +
  margin: 0;
 +
  list-style: none;
 +
}
 +
 
 +
.tab-glob {
 +
  display: flex;
 +
  flex-direction: row;
 +
  margin: 10px 0;
 +
  column-gap: 2px;
 +
  align-items: flex-start;
 +
}
 +
 
 +
.tab-glob > :first-child {
 +
  display: grid;
 +
  grid-template-columns: max-content;
 +
  row-gap: 2px;
 +
}
 +
 
 +
.tab-glob > :first-child > * {
 +
  border: 1px black solid;
 +
}
 +
 
 +
.tab-glob > :first-child > *:not(.fondfenetre) {
 +
  font-weight: bold;
 +
  display: flex;
 +
  justify-content: center;
 +
  align-items: center;
 +
}
 +
 
 +
.tab-glob > :nth-child(2) {
 +
  width: 100%;
 +
  overflow-x: auto;
 +
}
 +
 
 +
.tab-glob > :nth-child(2) > :first-child {
 +
  display: grid;
 +
  grid-template-columns: repeat(10, minmax(75px, 1fr));
 +
  gap: 2px;
 +
}
 +
 
 +
.tab-glob > :nth-child(2) > :first-child > * {
 +
   border: 1px black solid;
 +
}
 +
 
 +
.tab-glob > :nth-child(2) > :first-child > :not(.fondfenetre) {
 +
  display: flex;
 +
}
 +
 
 +
.tab-glob > :nth-child(2) > :first-child > :not(.fondfenetre) > * {
 +
  margin: auto;
 +
}
 +
 
 +
.list-equip {
 +
  padding: 5px;
 +
   border: 1px solid #2f1d1f;
 +
  display: flex;
 +
  flex-direction: column;
 +
  align-items: center;
 +
  gap: 5px;
 +
}
 +
 
 +
.list-equip > :first-child {
 +
  width: 100%;
 +
  line-height: 25px;
 +
}
 +
 
 +
.list-equip > :first-child > * {
 +
   padding: 0 5px;
 +
}
 +
 
 +
.fabrication {
 +
  position: relative;
 +
}
 +
 
 +
.fabrication > * {
 +
  position: absolute;
 +
  top: -188px;
 +
}
 +
 
 +
.fabrication > .bottom-fab,
 +
.fabrication > .bottom-fab ~ * {
 +
  top: -58px;
 +
}
 +
 
 +
.fabrication > * > *:nth-child(2) {
 +
  position: relative;
 +
}
 +
 
 +
.fabrication > * > *:nth-child(2) > * {
 +
  position: absolute;
 +
  top: -18px;
 +
}
 +
 
 +
.fabrication > * > *:nth-child(n + 3) {
 +
  position: absolute;
 +
  top: 100px;
 +
}
 +
 
 +
.info-boutique ul {
 +
  list-style-image: none;
 +
}
 +
 
 +
.info-boutique p:last-child {
 +
  margin-bottom: 0;
 
}
 
}
  
.cadreCarte {
+
kbd {
   border: solid;
+
   background-color: #eee;
  border-image: url("https://fr-wiki.metin2.gameforge.com/images/1/16/Cadrecarte.png");
+
   border-radius: 3px;
   border-image-repeat: repeat;
+
   border: 1px solid #b4b4b4;
   border-image-slice: 6 fill;
+
   box-shadow: 0 1px 1px rgb(0 0 0 / 20%), 0 2px 0 0 rgb(255 255 255 / 70%) inset;
   border-image-width: auto;
+
   color: #333;
   padding: 2px;
 
 
   display: inline-block;
 
   display: inline-block;
 +
  font-size: 0.85em;
 +
  font-weight: 700;
 +
  line-height: 1;
 +
  padding: 2px 4px;
 +
  white-space: nowrap;
 +
}
 +
 +
.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;
 
}
 
}
  
#tabber-texte > .tabber-active {
+
.show-button {
   display: block;
+
  opacity: 1;
 +
  transform: translateY(0);
 +
}
 +
 
 +
.ul-row ul {
 +
  display: flex;
 +
  column-gap: 30px;
 +
  flex-wrap: wrap;
 +
  overflow: hidden;
 +
  margin: 0;
 +
  list-style-image: none;
 +
}
 +
 
 +
.flex {
 +
  display: flex;
 +
}
 +
 
 +
#catlinks {
 +
  margin-top: 10px;
 +
}
 +
 
 +
.improved-collapsible > .mw-collapsible-toggle {
 +
  grid-area: 1 / -1;
 +
   display: flex;
 +
  justify-content: flex-end;
 +
  align-items: center;
 +
  float: initial;
 +
  z-index: 1;
 +
  padding-right: 5px;
 
}
 
}
  
.tabber-active.button {
+
.improved-collapsible .mw-collapsible-toggle:before {
   background:rgba(75, 85, 95);
+
   content: "";
  color: white;
 
  border: 2px black solid;
 
 
}
 
}
  
.tabber-noactive {
+
.improved-collapsible .mw-collapsible-text {
 
   display: none;
 
   display: none;
 
}
 
}
  
@media(max-width: 768px){
+
.improved-collapsible .mw-collapsible-toggle:after {
 +
  width: 32px;
 +
  height: 32px;
 +
  content: "";
 +
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23000000' height='32' viewBox='0 -960 960 960' width='32'%3E%3Cpath d='M480-345 240-585l56-56 184 184 184-184 56 56-240 240Z'/%3E%3C/svg%3E");
 +
  background-repeat: no-repeat;
 +
  transition: transform 0.2s ease-in-out;
 +
}
  
.texte-long {
+
.improved-collapsible .mw-collapsible-toggle-expanded:after {
   white-space: normal;
+
  transform: rotate(-180deg);
 +
}
 +
 
 +
.tooltip-icon {
 +
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='24' viewBox='0 -960 960 960' width='24'%3E%3Cpath d='M443-285h75v-234h-75v234Zm36.895-311Q496-596 507-606.895q11-10.894 11-27Q518-650 507.105-661q-10.894-11-27-11Q464-672 453-661.105q-11 10.894-11 27Q442-618 452.895-607q10.894 11 27 11ZM480-90q-80.907 0-152.065-30.763-71.159-30.763-123.797-83.5Q151.5-257 120.75-328.087 90-399.175 90-480q0-80.907 30.763-152.065 30.763-71.159 83.5-123.797Q257-808.5 328.087-839.25 399.175-870 480-870q80.907 0 152.065 30.763 71.159 30.763 123.797 83.5Q808.5-703 839.25-631.913 870-560.825 870-480q0 80.907-30.763 152.065-30.763 71.159-83.5 123.797Q703-151.5 631.913-120.75 560.825-90 480-90Zm0-75q131.5 0 223.25-91.75T795-480q0-131.5-91.75-223.25T480-795q-131.5 0-223.25 91.75T165-480q0 131.5 91.75 223.25T480-165Zm0-315Z'/%3E%3C/svg%3E");
 +
  background-repeat: no-repeat;
 +
}
 +
 
 +
.tooltip-info {
 +
  position: absolute;
 +
  bottom: calc(100% + 8px);
 +
  left: 50%;
 +
  transform: translateX(-50%);
 +
  max-width: 290px;
 +
  width: max-content;
 +
  z-index: 50;
 +
  opacity: 0;
 +
  visibility: hidden;
 +
  transition: opacity 0.2s ease, visibility 0.2s ease;
 +
}
 +
 
 +
.tooltip-info:after {
 +
   content: "";
 +
  border: 8px solid transparent;
 +
  border-top-color: inherit;
 +
  position: absolute;
 +
  left: calc(50% - 8px);
 +
  top: 100%;
 +
  z-index: 50;
 +
}
 +
 
 +
.tooltip-icon:hover > .tooltip-info {
 +
  opacity: 1;
 +
  visibility: visible;
 +
}
 +
 
 +
input,
 +
input[type="checkbox"],
 +
select {
 +
  border: 3px #d0e0e3 solid;
 
}
 
}
  
.grid2 {
+
input[type="checkbox"] {
   grid-template-columns: repeat(2, 1fr) !important;
+
   background-color: white;
 
}
 
}
  
.grid3 {
+
input[type="checkbox"]:checked {
   grid-template-columns: repeat(3, auto) !important;
+
   background-color: #19bd94;
 +
  border: none;
 +
  position: relative;
 
}
 
}
  
.cacheTel{
+
input[type="checkbox"]:checked:after {
   display: block;
+
  content: "";
 +
  position: absolute;
 +
  background: transparent;
 +
  left: 20%;
 +
  top: 20%;
 +
  width: 45%;
 +
  height: 25%;
 +
  transform: rotate(-45deg);
 +
  border: 0.18em white solid;
 +
  border-top: none;
 +
  border-right: none;
 +
}
 +
 
 +
input:focus,
 +
select:focus {
 +
   border: 3px rgb(102, 175, 233) solid;
 
}
 
}
  
.cacheOrdi{
+
input:focus:not([type='checkbox']),
display: none;
+
select:focus {
 +
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075),
 +
    0 0 8px rgba(102, 175, 233, 0.6);
 
}
 
}
  
.modal-content {
+
.label-hover label:hover {
   background: url(https://fr-wiki.metin2.gameforge.com/images/e/ed/Modalbackground.png);
+
   background-color: rgba(0, 0, 0, 0.1);
  border: 1px solid black;
 
 
   border-radius: 8px;
 
   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{  
+
.cacheTel,
flex-direction: column;  
+
.tabber-container > :last-child > :not(.tabber-active),
 +
.tabber-noactive {
 +
  display: none;
 
}
 
}
 +
 +
@keyframes pnj-square {
 +
  from {
 +
    background-color: #f80000;
 +
  }
 +
  to {
 +
    background-color: white;
 +
  }
 
}
 
}
  
@media screen and (min-width: 851px){
+
@keyframes pnj-circle {
   :target {
+
  from {
     padding-top: 50px;
+
    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);
 +
  }
 +
}
 +
 +
@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;
 +
  }
 +
 +
  .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;
 +
  }
 +
 +
  .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,
http://wiki.metin2.co.uk/images/3/39/Boxesheaderbackgroundnormal.png
+
  .cacheOrdi,
http://wiki.metin2.co.uk/images/6/66/Valentineboxheader.png
+
  .tooltip-info:after {
http://wiki.metin2.co.uk/images/6/67/Easterboxheader.png
+
    display: none;
http://wiki.metin2.co.uk/images/4/47/Boxesheaderbackgroundxmas.png
+
  }
http://wiki.metin2.co.uk/images/0/09/Boxesheaderbackgroundhalloween.png
+
}
*/
+
 
 +
@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;
 +
  }
 +
}

Version actuelle datée du 23 décembre 2024 à 21:04

/* Le CSS placé ici sera chargé sur toutes les pages */

html {
  scroll-behavior: smooth;
}

/*
  body {
    background-image: url('https://fr-wiki.metin2.gameforge.com/images/b/bf/Fondhalloween.png');
  }
  */

body {
  background-image: url("https://fr-wiki.metin2.gameforge.com/images/1/15/Fond2015.jpg");
}

#mw-content ul {
  margin-bottom: 0.3em;
}

#mw-content ol {
  list-style: none;
  counter-reset: custom-counter;
  margin: 0.3em 0 0.3em 1.6em;
  padding: 0;
}

ol li {
  padding: 0;
  counter-increment: custom-counter;
}

ol li::marker {
  content: counter(custom-counter) ".  ";
  font-weight: bold;
}

td,
th {
  padding: 2px;
}

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

table.map a.mw-collapsible-text,
.prettytable > span.mw-collapsible-toggle,
.prettytable > span.mw-collapsible-toggle > a {
  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%;
  box-shadow: 3px 3px 9px 0px #544e41;
}

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

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

table.pretty-table td {
  padding: 5px 10px;
}

table.pretty-table th {
  padding: 2px 10px;
  font-weight: normal;
  font-size: 1.1em;
}

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

table.pretty-table tr:first-child > th:first-child {
  border-radius: 8px 0 0 0;
  overflow: hidden;
}

table.pretty-table caption {
  margin-top: 10px;
  font-weight: bold;
}

.fondfenetre a,
.fondfenetre span,
table.pretty-table th a,
table.pretty-table th span {
  color: white;
}

table.sticky-header-row thead tr {
  position: sticky;
  top: 0;
  z-index: 10;
}

table.sticky-header-column th:first-child {
  position: sticky;
  left: 0;
  z-index: 20;
}

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

.modeleAnnonce {
  border-image: url("https://fr-wiki.metin2.gameforge.com/images/f/fb/Modeleannonce.png")
    17 35 3 fill / auto / 0 repeat;
}

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

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

.monster-card > :first-child {
  display: flex;
  justify-content: space-between;
  margin-bottom: 5px;
  line-height: 25px;
  padding: 0 5px;
  background: none;
  background-color: black;
  color: white;
  white-space: nowrap;
}

.monster-card > :first-child a {
  color: white;
}

.monster-card > :nth-child(2) {
  display: flex;
  justify-content: space-between;
  margin-bottom: 5px;
}

.monster-card > :nth-child(3) {
  background: rgba(0, 0, 0, 0.1);
  display: grid;
  justify-content: center;
  align-items: start;
}

button.brown {
  background: #651e10;
}

button.brown-transparent {
  background: #651e10cc;
}

button.brown:hover,
button.brown:focus {
  background: #551a0e;
}

button.red {
  background: #ef4444;
}

button.red:hover,
button.red:focus {
  background: #b91c1c;
}

button:active {
  opacity: 0.8;
}

.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;
  white-space: nowrap;
}

.button:hover {
  background: transparent;
}

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

.cacheOrdi,
.gen-active {
  display: block;
}

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

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

.shop-img img {
  height: auto;
  width: auto;
  max-height: 130px;
  max-width: 130px;
}

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

.popContenu {
  display: inline-block;
  transition: all 0.4s ease;
}

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

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

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

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(14px);
  z-index: 1;
}

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

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

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

div.ul-res ul {
  margin: 0;
  list-style: none;
}

.tab-glob {
  display: flex;
  flex-direction: row;
  margin: 10px 0;
  column-gap: 2px;
  align-items: flex-start;
}

.tab-glob > :first-child {
  display: grid;
  grid-template-columns: max-content;
  row-gap: 2px;
}

.tab-glob > :first-child > * {
  border: 1px black solid;
}

.tab-glob > :first-child > *:not(.fondfenetre) {
  font-weight: bold;
  display: flex;
  justify-content: center;
  align-items: center;
}

.tab-glob > :nth-child(2) {
  width: 100%;
  overflow-x: auto;
}

.tab-glob > :nth-child(2) > :first-child {
  display: grid;
  grid-template-columns: repeat(10, minmax(75px, 1fr));
  gap: 2px;
}

.tab-glob > :nth-child(2) > :first-child > * {
  border: 1px black solid;
}

.tab-glob > :nth-child(2) > :first-child > :not(.fondfenetre) {
  display: flex;
}

.tab-glob > :nth-child(2) > :first-child > :not(.fondfenetre) > * {
  margin: auto;
}

.list-equip {
  padding: 5px;
  border: 1px solid #2f1d1f;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.list-equip > :first-child {
  width: 100%;
  line-height: 25px;
}

.list-equip > :first-child > * {
  padding: 0 5px;
}

.fabrication {
  position: relative;
}

.fabrication > * {
  position: absolute;
  top: -188px;
}

.fabrication > .bottom-fab,
.fabrication > .bottom-fab ~ * {
  top: -58px;
}

.fabrication > * > *:nth-child(2) {
  position: relative;
}

.fabrication > * > *:nth-child(2) > * {
  position: absolute;
  top: -18px;
}

.fabrication > * > *:nth-child(n + 3) {
  position: absolute;
  top: 100px;
}

.info-boutique ul {
  list-style-image: none;
}

.info-boutique p:last-child {
  margin-bottom: 0;
}

kbd {
  background-color: #eee;
  border-radius: 3px;
  border: 1px solid #b4b4b4;
  box-shadow: 0 1px 1px rgb(0 0 0 / 20%), 0 2px 0 0 rgb(255 255 255 / 70%) inset;
  color: #333;
  display: inline-block;
  font-size: 0.85em;
  font-weight: 700;
  line-height: 1;
  padding: 2px 4px;
  white-space: nowrap;
}

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

.show-button {
  opacity: 1;
  transform: translateY(0);
}

.ul-row ul {
  display: flex;
  column-gap: 30px;
  flex-wrap: wrap;
  overflow: hidden;
  margin: 0;
  list-style-image: none;
}

.flex {
  display: flex;
}

#catlinks {
  margin-top: 10px;
}

.improved-collapsible > .mw-collapsible-toggle {
  grid-area: 1 / -1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  float: initial;
  z-index: 1;
  padding-right: 5px;
}

.improved-collapsible .mw-collapsible-toggle:before {
  content: "";
}

.improved-collapsible .mw-collapsible-text {
  display: none;
}

.improved-collapsible .mw-collapsible-toggle:after {
  width: 32px;
  height: 32px;
  content: "";
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23000000' height='32' viewBox='0 -960 960 960' width='32'%3E%3Cpath d='M480-345 240-585l56-56 184 184 184-184 56 56-240 240Z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  transition: transform 0.2s ease-in-out;
}

.improved-collapsible .mw-collapsible-toggle-expanded:after {
  transform: rotate(-180deg);
}

.tooltip-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='24' viewBox='0 -960 960 960' width='24'%3E%3Cpath d='M443-285h75v-234h-75v234Zm36.895-311Q496-596 507-606.895q11-10.894 11-27Q518-650 507.105-661q-10.894-11-27-11Q464-672 453-661.105q-11 10.894-11 27Q442-618 452.895-607q10.894 11 27 11ZM480-90q-80.907 0-152.065-30.763-71.159-30.763-123.797-83.5Q151.5-257 120.75-328.087 90-399.175 90-480q0-80.907 30.763-152.065 30.763-71.159 83.5-123.797Q257-808.5 328.087-839.25 399.175-870 480-870q80.907 0 152.065 30.763 71.159 30.763 123.797 83.5Q808.5-703 839.25-631.913 870-560.825 870-480q0 80.907-30.763 152.065-30.763 71.159-83.5 123.797Q703-151.5 631.913-120.75 560.825-90 480-90Zm0-75q131.5 0 223.25-91.75T795-480q0-131.5-91.75-223.25T480-795q-131.5 0-223.25 91.75T165-480q0 131.5 91.75 223.25T480-165Zm0-315Z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
}

.tooltip-info {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  max-width: 290px;
  width: max-content;
  z-index: 50;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.tooltip-info:after {
  content: "";
  border: 8px solid transparent;
  border-top-color: inherit;
  position: absolute;
  left: calc(50% - 8px);
  top: 100%;
  z-index: 50;
}

.tooltip-icon:hover > .tooltip-info {
  opacity: 1;
  visibility: visible;
}

input,
input[type="checkbox"],
select {
  border: 3px #d0e0e3 solid;
}

input[type="checkbox"] {
  background-color: white;
}

input[type="checkbox"]:checked {
  background-color: #19bd94;
  border: none;
  position: relative;
}

input[type="checkbox"]:checked:after {
  content: "";
  position: absolute;
  background: transparent;
  left: 20%;
  top: 20%;
  width: 45%;
  height: 25%;
  transform: rotate(-45deg);
  border: 0.18em white solid;
  border-top: none;
  border-right: none;
}

input:focus,
select:focus {
  border: 3px rgb(102, 175, 233) solid;
}

input:focus:not([type='checkbox']),
select:focus {
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075),
    0 0 8px rgba(102, 175, 233, 0.6);
}

.label-hover label:hover {
  background-color: rgba(0, 0, 0, 0.1);
  border-radius: 8px;
}

.cacheTel,
.tabber-container > :last-child > :not(.tabber-active),
.tabber-noactive {
  display: none;
}

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

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

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

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