«ميدياويكي:Common.css»: الفرق بين المراجعتين

 
(٣٥ مراجعة متوسطة بواسطة نفس المستخدم غير معروضة)
سطر ٥: سطر ٥:
  
 
/* ستؤثر الأنماط المتراصة (CSS) المعروضة هنا على كل الواجهات */
 
/* ستؤثر الأنماط المتراصة (CSS) المعروضة هنا على كل الواجهات */
 +
/*((((((((((((((This area for desktop view))))))))))))))))))*/
  
 
* {  
 
* {  
سطر ١٥: سطر ١٦:
 
   }
 
   }
 
    
 
    
   /* Tabel Flex*/
+
    div.thumb {
 +
        background-color: transparent;
 +
        border-color: transparent;
 +
      }
 +
     
 +
      li.gallerybox {
 +
        background-color: transparent;
 +
      }
 +
     
 +
      li.gallerybox div.thumb,
 +
      div.tright div.thumbinner {
 +
       
 +
        background-color:transparent;
 +
        border: 1px solid rgb(150, 150, 150);
 +
      }
 +
     
 +
      html .thumbimage {
 +
        border: 1px solid rgb(180, 180, 180);
 +
      }
 +
     
 +
      li.gallerybox div.thumb,
 +
      div.tright div.thumbinner {
 +
        background: url("http://wiki.metin2.com.pt/images/9/9f/Transparentbackground.png") repeat scroll 0% 0% transparent;
 +
        border: 1px solid #88283a;
 +
      }
 +
     
 +
      div.thumbinner {
 +
        background-color:transparent;
 +
      }
 +
     
 +
      div.thumb {
 +
        border-color: transparent;
 +
      }
 +
     
 +
  #bodyContent a.external,
 +
  #bodyContent a.external[href^="gopher://"] {
 +
    background: url("http://metin2wiki.de/images/a/af/External-link.png") no-repeat scroll right center transparent;
 +
    padding-left: 13px;
 +
  }
 +
 
 +
#mw-content ul {
 +
    margin-bottom: 0.3em;
 +
}
 +
 
 +
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;
 +
}
 +
  table.collapsed tr.collapsible {
 +
    display: none;
 +
  }
 +
 
 +
/*==============media wiki background==============*/
 +
  body {
 +
    background: url('https://ae-wiki.metin2.gameforge.com/images/c/c7/Background_210.jpg') no-repeat fixed center top #000;
 +
    background-size: 100%;
 +
  }
 +
 
 +
  /*Archives*/
 +
  /*  'https://ae-wiki.metin2.gameforge.com/images/9/99/Background_212.jpg' */
 +
  /*  'https://ae-wiki.metin2.gameforge.com/images/3/3c/Background_211.jpg' */
 +
/*==============media wiki background END==============*/
 +
 
 +
/*==============Table titles background==============*/
 +
  .boxesheaderbackground, .cadre > div:first-child {
 +
    background: repeat url("https://ae-wiki.metin2.gameforge.com/images/6/60/BoxesheaderbackgroundAE_Xmas.png");
 +
  }
 +
  /*Archives*/
 +
  /*  'https://ae-wiki.metin2.gameforge.com/images/0/05/BoxesheaderbackgroundAE_3.png'  */
 +
  /*  'https://ae-wiki.metin2.gameforge.com/images/9/98/BoxesheaderbackgroundAE_4.png'  */
 +
  /*  'https://ae-wiki.metin2.gameforge.com/images/a/ae/Boxesheaderbackground-white_dragon.png' */
 +
  /*  'https://ae-wiki.metin2.gameforge.com/images/7/76/BoxesheaderbackgroundAE_5.png' */
 +
 
 +
/*==============Table titles background END==============*/
 +
 
 +
/*==============Used in map template Start==============*/
 +
.fondfenetre,
 +
.sous-titre,
 +
table.pretty-table th {
 +
   background: url("https://ae-wiki.metin2.gameforge.com/images/7/76/BoxesheaderbackgroundAE_5.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, .1);
 +
}
 +
 
 +
table.pretty-table tr:hover {
 +
  background: rgba(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;
 +
}
 +
 
 +
.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;
 +
}
 +
 
 +
.cacheTel,
 +
.tabber-container > :last-child > :not(.tabber-active),
 +
.tabber-noactive {
 +
  display: none;
 +
}
 +
 
 +
.cacheOrdi,
 +
.gen-active {
 +
  display: block;
 +
}
 +
 
 +
.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;
 +
}
 +
 
 +
.info-boutique ul {
 +
  list-style-image: none;
 +
}
 +
 
 +
.info-boutique p:last-child {
 +
  margin-bottom: 0;
 +
}
 +
 
 +
@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: .1;}
 +
}
 +
 
 +
.shop-img img {
 +
    height: auto;
 +
    width: auto;
 +
    max-height: 130px;
 +
    max-width: 130px;
 +
}
 +
/*==============Used in map template END==============*/
 +
 
 +
/*==============Used in quests template Start==============*/
 
   .t-responsive {
 
   .t-responsive {
 
     display: table;
 
     display: table;
سطر ٢٨: سطر ٢٢٩:
 
     display: table-row;
 
     display: table-row;
 
   }
 
   }
 
+
/*==============Used in quests template End==============*/
  /*Gallery Box */
+
 
  div.thumb {
+
/*==============Used in Old monster template to be removed later==============*/
    background-color: transparent;
 
    border-color: transparent;
 
  }
 
 
 
  li.gallerybox {
 
    background-color: transparent;
 
  }
 
 
 
  li.gallerybox div.thumb,
 
  div.tright div.thumbinner {
 
    background-color:transparent;
 
    border: 1px solid rgb(150, 150, 150);
 
  }
 
 
 
  html .thumbimage {
 
    border: 1px solid rgb(180, 180, 180);
 
  }
 
 
 
  li.gallerybox div.thumb,
 
  div.tright div.thumbinner {
 
    background: url("http://wiki.metin2.com.pt/images/9/9f/Transparentbackground.png") repeat scroll 0% 0% transparent;
 
    border: 1px solid #88283a;
 
  }
 
 
 
  div.thumbinner {
 
    background-color:transparent;
 
  }
 
 
 
  div.thumb {
 
    border-color: transparent;
 
  }
 
 
 
  .transparentbackground {
 
    background: url("http://wiki.metin2.com.pt/images/9/9f/Transparentbackground.png") repeat;
 
    border: 1px solid #000000;
 
  }
 
 
 
  #bodyContent a.external,
 
  #bodyContent a.external[href^="gopher://"] {
 
    background: url("http://metin2wiki.de/images/a/af/External-link.png") no-repeat scroll right center transparent;
 
    padding-left: 13px;
 
  }
 
 
 
  table.collapsed tr.collapsible {
 
    display: none;
 
  }
 
 
 
 
   .nativelooktop {
 
   .nativelooktop {
 
     background: url("https://en-wiki.metin2.gameforge.com/images/1/1c/Nativelooktop.jpg") no-repeat;
 
     background: url("https://en-wiki.metin2.gameforge.com/images/1/1c/Nativelooktop.jpg") no-repeat;
سطر ٩٨: سطر ٢٥٢:
 
     height: 10px;
 
     height: 10px;
 
   }
 
   }
 
+
/*==============Used in Old monster template to be removed later END==============*/
  /*for Subpage Template*/
+
 
  ul.subpage {
+
/*==============Subpage Template==============*/
    display: flex;
+
ul.subpage {
    list-style: none;
+
  display: flex;
    margin: 0 0 10px;
+
  list-style: none;
    padding: 0;
+
  margin: 0 0 10px;
    background: rgba(81,36,16, 0.3);
+
  padding: 0;
    overflow: hidden;
+
  background: #c0a276;
    line-height: 30px;
+
  overflow: hidden;
    white-space: nowrap;
+
  line-height: 30px;
  }
+
  white-space: nowrap;
 
+
}
  .subpage a {
+
 
    padding-left: 20px;
+
.subpage a {
    background: #390007;
+
  padding-right: 20px;
    display: inline-block;
+
  background: #390007;
    line-height: 30px;
+
  display: inline-block;
    position: relative;
+
  line-height: 30px;
    color: #f1de8e;
+
  position: relative;
    cursor: pointer;
+
  color: #f1de8e;
  }
+
  cursor: pointer;
 
+
}
  .subpage a:before,
+
 
  .subpage a:after {  
+
.subpage a:before,
    content: "";
+
.subpage a:after {  
    position: absolute;
+
  content: "";
    width: 0;
+
  position: absolute;
    height: 0;
+
  width: 0;
    right: 0;
+
  height: 0;
    padding: 1px 0;
+
  left: 0;
    border-top: 14px solid transparent;
+
  padding: 1px 0;
    border-bottom: 14px solid transparent;
+
  border-top: 14px solid transparent;
    border-left: 14px solid white;
+
  border-bottom: 14px solid transparent;
    transform: translate(14px);
+
  border-right: 14px solid white;
    z-index: 1;
+
  transform: translate(-14px);
  }
+
  z-index: 1;
 
+
}
  .subpage a:after {
+
 
    border-right: 14px solid #512410;
+
.subpage a:after {
    transform: translate(13px);
+
  border-right: 14px solid #390007;
    z-index: 2;
+
  transform: translate(-13px);
  }
+
  z-index: 2;
 
+
}
  .subpage > li:last-child {
+
 
    padding-right: 20px;
+
.subpage > li:last-child {
  }
+
  padding-right: 20px;
 
+
}
  ul.subpage > li:first-child {
+
 
    flex-shrink: 0;
+
ul.subpage > li:first-child {
  }
+
  flex-shrink: 0;
 
+
}
  ul.subpage > li:first-child > a {
+
 
    height: 100%;
+
ul.subpage > li:first-child > a {
    display: flex;
+
  height: 100%;
    align-items: center;
+
  display: flex;
    padding-left: 10px;
+
  align-items: center;
  }
+
  padding-right: 10px;
 
+
}
  ul.subpage > li > a:hover {
+
 
    background: #390007;
+
/*Button colors when selecting Mouse*/
  }
+
ul.subpage > li > a:hover {
 
+
  background: #4e0009;
  ul.subpage > li > a:hover:after {
+
}
    border-left-color: #390007;
+
 
  }
+
ul.subpage > li > a:hover:after {
 
+
  border-right-color: #4e0009;  
  body {
+
}
    background: url('https://ae-wiki.metin2.gameforge.com/images/c/c7/Background_210.jpg') no-repeat fixed center top #000;
+
/*==============Subpage Template END==============*/
    background-size: 100%;
+
 
  }
+
/*to be removed later*/
  /*Archives*/
 
  /*  'https://ae-wiki.metin2.gameforge.com/images/9/99/Background_212.jpg' */
 
  /*  'https://ae-wiki.metin2.gameforge.com/images/3/3c/Background_211.jpg' */
 
 
 
  .boxesheaderbackground, .cadre > div:first-child {
 
    background: repeat url("https://ae-wiki.metin2.gameforge.com/images/7/76/BoxesheaderbackgroundAE_5.png");
 
  }
 
  /*Archives*/
 
  /*  'https://ae-wiki.metin2.gameforge.com/images/0/05/BoxesheaderbackgroundAE_3.png'  */
 
  /*  'https://ae-wiki.metin2.gameforge.com/images/9/98/BoxesheaderbackgroundAE_4.png'  */
 
  /*  'https://ae-wiki.metin2.gameforge.com/images/a/ae/Boxesheaderbackground-white_dragon.png' */
 
  /*  'https://ae-wiki.metin2.gameforge.com/images/6/60/BoxesheaderbackgroundAE_Xmas.png' */
 
 
 
  /*to be removed later*/
 
 
    
 
    
 
   .container {  
 
   .container {  
سطر ٢١٥: سطر ٣٥٥:
 
   }
 
   }
 
    
 
    
 +
/*==============IconeHelp Template Start==============*/
 
   .popContenu {
 
   .popContenu {
 
     display: inline-block;
 
     display: inline-block;
سطر ٢٣٠: سطر ٣٧١:
 
     transition: all 0.4s ease;
 
     transition: all 0.4s ease;
 
   }
 
   }
 
+
/*==============IconeHelp Template END==============*/
 +
 
 
   .cadreFenetre {
 
   .cadreFenetre {
 
     border: solid;
 
     border: solid;
سطر ٣١٦: سطر ٤٥٨:
 
     text-decoration: none;
 
     text-decoration: none;
 
   }
 
   }
 
+
 
 +
/*==============Used in (صقل) Template Start==============*/
 
   .fabrication {
 
   .fabrication {
 
     position: relative;
 
     position: relative;
سطر ٣٤٤: سطر ٤٨٧:
 
     top: 100px;
 
     top: 100px;
 
   }
 
   }
 
+
/*==============Used in (صقل) Template END==============*/
 +
 
 +
/*==============Go up bottom==============*/
 
   .top-button {
 
   .top-button {
 
     opacity: 0;
 
     opacity: 0;
سطر ٣٨١: سطر ٥٢٦:
 
     opacity: 1;
 
     opacity: 1;
 
     transform: translateY(0);
 
     transform: translateY(0);
 +
  }
 +
/*==============Go up bottom END==============*/
 +
div.ul-res ul {
 +
  margin: 0;
 +
  list-style: none;
 +
}
 +
.flex {
 +
  display: flex;
 +
}
 +
 +
 +
  @media screen and (max-width: 768px){
 +
/*((((((((((((((This area for mobile view))))))))))))))))))*/
 +
 +
  .texte-long {
 +
    white-space: normal;
 +
    overflow: visible;
 +
  }
 +
 +
  .grid2 {
 +
    grid-template-columns: repeat(2, 1fr) !important;
 +
  }
 +
 +
  .grid3 {
 +
    grid-template-columns: repeat(3, auto) !important;
 +
  }
 +
 +
  .modal-content {
 +
    padding: 30px 0 0 10px;
 +
    width: 90%;
 +
  }
 +
 +
  .container {
 +
  flex-direction: column;
 
   }
 
   }
 
    
 
    
   @media screen and (max-width: 768px){
+
   .cacheTel,
 +
  .subpage > li:nth-last-child(2) > a {
 +
    display: block;
 +
  }
 
    
 
    
 +
/*==============Subpage Template For Mobile Start==============*/
 
     .subpage > li:nth-last-child(2) > a {
 
     .subpage > li:nth-last-child(2) > a {
 
       display: block;
 
       display: block;
سطر ٣٩٢: سطر ٥٧٥:
 
       display: none;
 
       display: none;
 
     }
 
     }
 +
/*==============Subpage Template For Mobile END==============*/
 
      
 
      
 
     .modal-content {
 
     .modal-content {
سطر ٤٠٢: سطر ٥٨٦:
 
     }
 
     }
 
      
 
      
 +
/*==============Go up bottom for mobile view==============*/
 
     .top-button {
 
     .top-button {
 
       background: rgba(0, 0, 0, 0.7);
 
       background: rgba(0, 0, 0, 0.7);
سطر ٤٢٢: سطر ٦٠٧:
 
       display: none;
 
       display: none;
 
     }
 
     }
 +
/*==============Go up bottom for mobile view END==============*/
 +
.cacheOrdi {
 +
    display: none;
 +
  }
 
    
 
    
 
   }
 
   }

المراجعة الحالية بتاريخ ١٨:١٦، ٢ ديسمبر ٢٠٢٤

/* Change Wiki Logo */
/*.mw-wiki-logo {
   background-image: url('https://ae-wiki.metin2.gameforge.com/images/a/a8/Ramadan_LOGO.png');
}*/

/* ستؤثر الأنماط المتراصة (CSS) المعروضة هنا على كل الواجهات */
 /*((((((((((((((This area for desktop view))))))))))))))))))*/

* { 
    font-family: Tahoma
  }
  
  body.page-الصفحة_الرئيسية #catlinks,
  body.page-الصفحة_الرئيسية h1.firstHeading {
    display: none;
  }
  
    div.thumb {
        background-color: transparent;
        border-color: transparent;
      }
      
      li.gallerybox {
        background-color: transparent;
      }
      
      li.gallerybox div.thumb,
      div.tright div.thumbinner {
        
        background-color:transparent;
        border: 1px solid rgb(150, 150, 150);
      }
      
      html .thumbimage {
        border: 1px solid rgb(180, 180, 180);
      }
      
      li.gallerybox div.thumb,
      div.tright div.thumbinner {
        background: url("http://wiki.metin2.com.pt/images/9/9f/Transparentbackground.png") repeat scroll 0% 0% transparent;
        border: 1px solid #88283a;
      }
      
      div.thumbinner {
        background-color:transparent;
      }
      
      div.thumb {
        border-color: transparent;
      }
      
  #bodyContent a.external,
  #bodyContent a.external[href^="gopher://"] {
    background: url("http://metin2wiki.de/images/a/af/External-link.png") no-repeat scroll right center transparent;
    padding-left: 13px;
  }
  
#mw-content ul {
    margin-bottom: 0.3em;
}

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;
}
  table.collapsed tr.collapsible {
    display: none;
  }

/*==============media wiki background==============*/
  body {
    background: url('https://ae-wiki.metin2.gameforge.com/images/c/c7/Background_210.jpg') no-repeat fixed center top #000;
    background-size: 100%;
  }
  
  /*Archives*/
  /*   'https://ae-wiki.metin2.gameforge.com/images/9/99/Background_212.jpg' */
  /*   'https://ae-wiki.metin2.gameforge.com/images/3/3c/Background_211.jpg' */
/*==============media wiki background END==============*/

/*==============Table titles background==============*/
  .boxesheaderbackground, .cadre > div:first-child {
    background: repeat url("https://ae-wiki.metin2.gameforge.com/images/6/60/BoxesheaderbackgroundAE_Xmas.png");
  }
  /*Archives*/
  /*  'https://ae-wiki.metin2.gameforge.com/images/0/05/BoxesheaderbackgroundAE_3.png'  */
  /*  'https://ae-wiki.metin2.gameforge.com/images/9/98/BoxesheaderbackgroundAE_4.png'  */
  /*  'https://ae-wiki.metin2.gameforge.com/images/a/ae/Boxesheaderbackground-white_dragon.png' */
  /*  'https://ae-wiki.metin2.gameforge.com/images/7/76/BoxesheaderbackgroundAE_5.png' */

/*==============Table titles background END==============*/

/*==============Used in map template Start==============*/
.fondfenetre,
.sous-titre,
table.pretty-table th { 
  background: url("https://ae-wiki.metin2.gameforge.com/images/7/76/BoxesheaderbackgroundAE_5.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, .1);
}

table.pretty-table tr:hover {
  background: rgba(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;
}

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

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

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

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

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

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

 @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: .1;}
}

.shop-img img {
    height: auto;
    width: auto;
    max-height: 130px;
    max-width: 130px;
}
/*==============Used in map template END==============*/

/*==============Used in quests template Start==============*/
  .t-responsive {
    display: table;
  }
  
  .t-responsive .cell {
    display: table-cell;
  }
  
  .t-responsive .row,
  .t-responsive .row {
    display: table-row;
  }
/*==============Used in quests template End==============*/

/*==============Used in Old monster template to be removed later==============*/
  .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;
  }
/*==============Used in Old monster template to be removed later END==============*/

/*==============Subpage Template==============*/
ul.subpage {
  display: flex;
  list-style: none;
  margin: 0 0 10px;
  padding: 0;
  background: #c0a276;
  overflow: hidden;
  line-height: 30px;
  white-space: nowrap;
}

.subpage a {
  padding-right: 20px;
  background: #390007;
  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;
  left: 0;
  padding: 1px 0;
  border-top: 14px solid transparent;
  border-bottom: 14px solid transparent;
  border-right: 14px solid white;
  transform: translate(-14px);
  z-index: 1;
}

.subpage a:after {
  border-right: 14px solid #390007;
  transform: translate(-13px);
  z-index: 2;
}

.subpage > li:last-child {
  padding-right: 20px;
}

ul.subpage > li:first-child {
  flex-shrink: 0;
}

ul.subpage > li:first-child > a {
  height: 100%;
  display: flex;
  align-items: center;
  padding-right: 10px;
}

/*Button colors when selecting Mouse*/
ul.subpage > li > a:hover {
  background: #4e0009;
}

ul.subpage > li > a:hover:after {
  border-right-color: #4e0009; 
}
/*==============Subpage Template END==============*/

/*to be removed later*/
  
  .container { 
    display: flex;
    flex-direction: row; 
  }
  
  .cadre {
    border: 1px solid #2f1d1f;
    border-radius: 15px 0;
    background-color: #f1e5c9 ;
    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 {
    background: #390007;
    color: white;
  }
  
  .fondfenetre a,
  .fondfenetre span {
    color: white;
  }
  
/*==============IconeHelp Template Start==============*/
  .popContenu {
    display: inline-block;
    position: absolute;
    bottom: 20px;
    transform: translate(150px);
    z-index: 100;
    opacity: 0;
    transition: all 0.4s ease;
    pointer-events: none;
  }
  
  .popInfo:hover .popContenu {
    opacity: 1 !important;
    transition: all 0.4s ease;
  }
/*==============IconeHelp Template END==============*/

  .cadreFenetre {
    border: solid;
    border-image: url("https://fr-wiki.metin2.gameforge.com/images/1/11/Cadrefenetre.png");
    border-image-repeat: repeat;
    border-image-slice: 11 fill;
    border-image-width: auto;
    padding: 10px;
    backdrop-filter: blur(4px);
  }
  
  .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;
  }
  
  .tabber-active.button {
    background: rgba(75, 85, 95);
    color: white;
    border: 2px solid rgba(75, 85, 95);
  }
  
  .tabber-noactive {
    display: none;
  }
  
  .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;
    left: 0;
    top: 0;
    transition: color .2s linear, background-color .2s linear;
  }
  
  .close:hover {
    background: red;
    color: #ffffff;
  }
  
  .tabber-texte > .tabber-active,
  .gen-active {
    display: block;
  }
  
  #mw-content .soulignement > a:link {
    text-decoration: none;
  }

/*==============Used in (صقل) Template Start==============*/
  .fabrication {
    position: relative;
  }
  
  .fabrication > * {
    position: absolute;
    top: -188px;
  }
  
  .fabrication > .bottom-fab,
  .fabrication > .bottom-fab ~ * {
    top: -60px;
  }
  
  .fabrication > * > *:nth-child(2) {
    position: relative;
  }
  
  .fabrication > * > *:nth-child(2) > * {
    position: absolute;
    top: -18px;
  }
  
  .fabrication > * > *:nth-child(n+3) {
    position: absolute;
    top: 100px;
  }
/*==============Used in (صقل) Template END==============*/

/*==============Go up bottom==============*/
  .top-button {
    opacity: 0;
    cursor: pointer;
    position: fixed;
    bottom: 10px;
    left: 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::before {
    content: "";
    position: absolute;
    top: 40%;
    left: 50%;
    width: 10px;
    height: 10px;
    border-top: 3px rgb(255, 250, 203) solid;
    border-left: 3px rgb(255, 250, 203) solid;
    transform: translateX(-50%) rotate(45deg);
  }
  
  .show-button {
    opacity: 1;
    transform: translateY(0);
  }
/*==============Go up bottom END==============*/
div.ul-res ul {
  margin: 0;
  list-style: none;
}
.flex {
  display: flex;
}


  @media screen and (max-width: 768px){
/*((((((((((((((This area for mobile view))))))))))))))))))*/

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

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

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

  .modal-content {
    padding: 30px 0 0 10px;
    width: 90%;
  }

  .container { 
   flex-direction: column; 
  }
  
  .cacheTel,
  .subpage > li:nth-last-child(2) > a {
    display: block;
  }
  
/*==============Subpage Template For Mobile Start==============*/
    .subpage > li:nth-last-child(2) > a {
      display: block;
    }
  
    .subpage > li > a {
      display: none;
    }
/*==============Subpage Template For Mobile END==============*/
    
    .modal-content {
      padding: 30px 0 0 10px;
      width: 90%;
    }
  
    .container {
      flex-direction: column; 
    }
    
/*==============Go up bottom for mobile view==============*/
    .top-button {
      background: rgba(0, 0, 0, 0.7);
      color: #999;
      border: none;
      box-shadow: none;
    }
    
    .top-button::after {
      content: "\002191";
      font-size: 20px;
      color: white;
      position: absolute;
      left: 50%;
      top: 40%;
      transform: translate(-50%, -50%);
    }
    
    .top-button::before {
      display: none;
    }
/*==============Go up bottom for mobile view END==============*/
.cacheOrdi {
    display: none;
  }
  
  }