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

سطر ٦: سطر ٦:
 
/* ستؤثر الأنماط المتراصة (CSS) المعروضة هنا على كل الواجهات */
 
/* ستؤثر الأنماط المتراصة (CSS) المعروضة هنا على كل الواجهات */
  
* { font-family: Tahoma}
+
* {  
 +
  font-family: Tahoma
 +
}
 +
 
 
body.page-الصفحة_الرئيسية #catlinks,
 
body.page-الصفحة_الرئيسية #catlinks,
body.page-الصفحة_الرئيسية h1.firstHeading{
+
body.page-الصفحة_الرئيسية h1.firstHeading {
display: none;
+
  display: none;
 
}
 
}
  
 
/* Tabel Flex*/
 
/* Tabel Flex*/
 
.t-responsive {
 
.t-responsive {
    display: table;
+
  display: table;
 
}
 
}
  
 
.t-responsive .cell {
 
.t-responsive .cell {
    display: table-cell;
+
  display: table-cell;
 
}
 
}
  
.t-responsive .row, .t-responsive .row {
+
.t-responsive .row,
    display: table-row;
+
.t-responsive .row {
 +
  display: table-row;
 
}
 
}
 
.container {
 
  display: flex;
 
  flex-direction: column;
 
  }
 
  
 
/*Gallery Box */
 
/*Gallery Box */
 
div.thumb {
 
div.thumb {
    background-color: transparent;
+
  background-color: transparent;
    border-color: transparent;
+
  border-color: transparent;
 
}
 
}
  
 
li.gallerybox {
 
li.gallerybox {
    background-color: transparent;
+
  background-color: transparent;
 
}
 
}
  
 
li.gallerybox div.thumb,
 
li.gallerybox div.thumb,
 
div.tright div.thumbinner {
 
div.tright div.thumbinner {
background-color:transparent;
+
  background-color:transparent;
border: 1px solid rgb(150, 150, 150);
+
  border: 1px solid rgb(150, 150, 150);
 
}
 
}
  
 
html .thumbimage {
 
html .thumbimage {
border: 1px solid rgb(180, 180, 180);
+
  border: 1px solid rgb(180, 180, 180);
 
}
 
}
  
 
li.gallerybox div.thumb,
 
li.gallerybox div.thumb,
 
div.tright div.thumbinner {
 
div.tright div.thumbinner {
    background: url("http://wiki.metin2.com.pt/images/9/9f/Transparentbackground.png") repeat scroll 0% 0% transparent;
+
  background: url("http://wiki.metin2.com.pt/images/9/9f/Transparentbackground.png") repeat scroll 0% 0% transparent;
    border: 1px solid #88283a;
+
  border: 1px solid #88283a;
 
}
 
}
  
div.thumbinner {background-color:transparent;}
+
div.thumbinner {
div.thumb {border-color: transparent;}
+
  background-color:transparent;
 +
}
  
 +
div.thumb {
 +
  border-color: transparent;
 +
}
  
 
.transparentbackground {
 
.transparentbackground {
سطر ٦٥: سطر ٦٨:
 
}
 
}
  
 
+
#bodyContent a.external,
#bodyContent a.external, #bodyContent a.external[href^="gopher://"] {
+
#bodyContent a.external[href^="gopher://"] {
    background: url("http://metin2wiki.de/images/a/af/External-link.png") no-repeat scroll right center transparent;
+
  background: url("http://metin2wiki.de/images/a/af/External-link.png") no-repeat scroll right center transparent;
    padding-left: 13px;
+
  padding-left: 13px;
}
 
 
 
.drachenstein_colhead {
 
width: 120px;
 
border: 1px solid #5d0505;
 
border-radius: 10px;
 
box-shadow: 2px 2px 5px #000000;
 
background: #5d0505;
 
color: #dadada;
 
font-weight: bold;
 
padding: 5px;
 
}
 
 
 
.drachenstein_head {
 
width: 425px;
 
border: 1px solid #5d0505;
 
border-top-left-radius: 10px;
 
border-top-right-radius: 10px;
 
box-shadow:2px 2px 5px #000000;
 
background: #5d0505;
 
color: #f0d9a2;
 
font-weight: bold;
 
padding: 5px 15px;
 
}
 
 
 
.drachenstein_reinheit {
 
width: 110px;
 
height: 92px;
 
border-radius: 55px;
 
font-size: 20px;
 
color: #f0d9a2;
 
padding-top: 18px;
 
line-height: 30px;
 
align: center;
 
text-align: center;
 
background: #5d0505;
 
box-shadow: 2px 2px 5px #000000;
 
}
 
 
 
.drachenstein_level {
 
width: 50px;
 
height: 50px;
 
border-radius: 25px;
 
font-size: 20px;
 
color: #dadada;
 
line-height: 50px;
 
text-align: center;
 
background: #5d0505;
 
box-shadow: 2px 2px 5px #000000;
 
}
 
 
 
.drachenstein_bonus {
 
color: #5d0505;
 
font-size: 17px;
 
border-top: 1px dashed #5d0505;
 
border-Bottom: 1px dashed #5d0505;
 
}
 
 
 
.drachenstein_eBonus {
 
color: #5d0505;
 
font-size: 15px;
 
}
 
 
 
.drachenstein_td1 {
 
border-left: 1px dashed #5d0505;
 
border-top: 1px dashed #5d0505;
 
border-bottom: 1px dashed #5d0505;
 
}
 
 
 
.drachenstein_td2 {
 
border-right: 1px dashed #5d0505;
 
border-top: 1px dashed #5d0505;
 
border-bottom: 1px dashed #5d0505;
 
}
 
 
 
.drachenstein_table {
 
border: 1px solid #5d0505;
 
padding-right: 10px;
 
padding-bottom: 10px;
 
 
}
 
}
  
 
table.collapsed tr.collapsible {
 
table.collapsed tr.collapsible {
        display: none;
+
  display: none;
}
 
 
 
 
.ds_head {
 
background-color:#5d0505;
 
color:#f0d9a2;
 
border:1px solid transparent;
 
border-top-left-radius:7px;
 
border-top-right-radius:7px;
 
text-align:center;
 
padding:2px;
 
}
 
 
 
.ds_colhead {
 
background-color:#820707;
 
border-bottom-left-radius:5px;
 
border-bottom-right-radius:5px;
 
margin-top:1px;
 
 
}
 
}
  
سطر ٢٦٤: سطر ١٧٠:
 
.breadcrumb li a:hover:after { border-right-color: #390007 !important; }
 
.breadcrumb li a:hover:after { border-right-color: #390007 !important; }
  
.boxesheaderbackground {
+
.mw-content-ltr {
background: url("https://ae-wiki.metin2.gameforge.com/images/7/76/BoxesheaderbackgroundAE_5.png") repeat 0em 0em
+
  direction: rtl !important;
/*    background: url("https://ae-wiki.metin2.gameforge.com/images/0/05/BoxesheaderbackgroundAE_3.png") repeat 0em 0em;*/
 
/*    background: url("https://ae-wiki.metin2.gameforge.com/images/9/98/BoxesheaderbackgroundAE_4.png") repeat 0em 0em;*/
 
/*    background: url("https://ae-wiki.metin2.gameforge.com/images/a/ae/Boxesheaderbackground-white_dragon.png") repeat 0em 0em;*/
 
/*    background: url("https://ae-wiki.metin2.gameforge.com/images/6/60/BoxesheaderbackgroundAE_Xmas.png") repeat 0em 0em;*/
 
 
}
 
}
  
 
+
body {
/*to be removed later*/
+
  background: url('https://ae-wiki.metin2.gameforge.com/images/c/c7/Background_210.jpg') no-repeat fixed center top #000;
 
+
  background-size: 100%;
.mw-content-ltr {
 
    direction: rtl !important;
 
 
}
 
}
 
/* *********************************************************************** */
 
/*                            DESKTOP VERSION                              */
 
/* *********************************************************************** */
 
@media only screen and (min-width: 801px){
 
 
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*/
 
/*Archives*/
/*     background: url('https://ae-wiki.metin2.gameforge.com/images/9/99/Background_212.jpg') no-repeat fixed center top #000;
+
/*   'https://ae-wiki.metin2.gameforge.com/images/9/99/Background_212.jpg' */
    background-size: 100%;*/
+
/*   'https://ae-wiki.metin2.gameforge.com/images/3/3c/Background_211.jpg' */
/*     background: url('https://ae-wiki.metin2.gameforge.com/images/3/3c/Background_211.jpg') no-repeat fixed center top #000;
 
    background-size: 100%;*/
 
}
 
  
.container {  
+
.boxesheaderbackground, .cadre > div:first-child {
flex-direction: row;
+
  background: repeat url("https://ae-wiki.metin2.gameforge.com/images/7/76/BoxesheaderbackgroundAE_5.png");
}
 
 
 
 
 
/****************************************************************************************/
 
/******************************************TABBER****************************************/
 
/****************************************************************************************/
 
.tabber-active.button {
 
  background: rgba(75, 85, 95);
 
  color: white;
 
  border: 2px solid rgba(75, 85, 95);
 
 
}
 
}
  
.tabber-noactive {
+
/*  'https://ae-wiki.metin2.gameforge.com/images/0/05/BoxesheaderbackgroundAE_3.png'  */
  display: none;
+
/*  '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' */
  
.tabberlive .tabbertabhide {
+
/*to be removed later*/
display: none;
 
}
 
  
/*--------------------------------------------------
+
.container {  
  .tabber = before the tabber interface is set up
+
   display: flex;
  .tabberlive = after the tabber interface is set up
+
   flex-direction: row;  
  --------------------------------------------------*/
 
.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;
 
}
 
 
 
}
 
/****************************************************************************************/
 
/******************************************Test****************************************/
 
/****************************************************************************************/
 
 
 
.boxesheaderbackground, .cadre > div:first-child {
 
  background: repeat url("https://ae-wiki.metin2.gameforge.com/images/7/76/BoxesheaderbackgroundAE_5.png");
 
 
}
 
}
  
سطر ٤٣٠: سطر ٢١٣:
 
   overflow: hidden;
 
   overflow: hidden;
 
   border-top-left-radius: 15px;
 
   border-top-left-radius: 15px;
}
 
 
.fondfenetre,
 
.sous-titre,
 
table.pretty-table th {
 
  background: #390007;
 
repeat;
 
  color: white;
 
}
 
 
table.pretty-table td {
 
  padding: 5px 10px;
 
}
 
 
table.pretty-table th {
 
  padding: 2px 10px;
 
  font-weight: normal;
 
  padding: 2px 10px;
 
  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 a,
.fondfenetre span,
+
.fondfenetre span {
table.pretty-table th a,
 
table.pretty-table th span {
 
 
   color: white;
 
   color: white;
}
 
 
.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;
 
 
}
 
}
  
سطر ٥١٦: سطر ٢٤٤:
 
   padding: 10px;
 
   padding: 10px;
 
   backdrop-filter: blur(4px);
 
   backdrop-filter: blur(4px);
}
 
 
.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;
 
 
}
 
}
  
سطر ٥٤٤: سطر ٢٦٢:
 
}
 
}
  
.modal {
+
.tabber-active.button {
   background-color: rgba(0, 0, 0, 0.5);
+
   background: rgba(75, 85, 95);
   display: none;
+
   color: white;
   height: 100%;
+
   border: 2px solid rgba(75, 85, 95);
  left: 0;
 
  position: fixed;
 
  top: 0;
 
  width: 100%;
 
  z-index: 99;
 
 
}
 
}
  
.modeleAnnonce {
+
.tabber-noactive {
  border: solid;
+
   display: none;
  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;
 
}
 
 
 
.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;
 
 
}
 
}
  
سطر ٦٢٦: سطر ٣١٣:
 
}
 
}
  
.cacheOrdi,
 
 
.tabber-texte > .tabber-active,
 
.tabber-texte > .tabber-active,
 
.gen-active {
 
.gen-active {
 
   display: block;
 
   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;
 
 
}
 
}
  
سطر ٦٨١: سطر ٣٤٨:
 
   position: absolute;
 
   position: absolute;
 
   top: 100px;
 
   top: 100px;
 +
}
 +
 +
@media screen and (max-width: 768px){
 +
 
 +
  .modal-content {
 +
    padding: 30px 0 0 10px;
 +
    width: 90%;
 +
  }
 +
 +
  .container {
 +
    flex-direction: column;
 +
  }
 +
 
 +
  .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;
 +
  }
 +
 
}
 
}

مراجعة ١٤:٥٤، ١٣ سبتمبر ٢٠٢٢

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

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

* { 
  font-family: Tahoma
}

body.page-الصفحة_الرئيسية #catlinks,
body.page-الصفحة_الرئيسية h1.firstHeading {
  display: none;
}

/* Tabel Flex*/
.t-responsive {
  display: table;
}

.t-responsive .cell {
  display: table-cell;
}

.t-responsive .row,
.t-responsive .row {
  display: table-row;
}

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

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

/*for Subpage Template*/
.breadcrumb { 
  list-style: none; 
  overflow: hidden; 
}
.breadcrumb li { 
  float: right; 
}
.breadcrumb li a {
    color: #f1de8e;
    text-decoration: none !important;
    padding: 4px 25px 7px 0;
    background: #390007;
    position: relative;
    display: block;
    float: right;
}
.breadcrumb li a:before {
    content: " ";
    display: block;
    width: 0;
    height: 0;
    border-top: 14px solid transparent;
    border-bottom: 14px solid transparent;
    border-right: 14px solid white;
    position: absolute;
    top: 46%;
    margin-top: -14px;
    margin-right: 1px;
    right: 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-right: 14px solid #390007;
    position: absolute;
    top: 46%;
    margin-top: -14px;
    right: 100%;
    z-index: 2;
    padding: 1.3px;
}  
.breadcrumb li:first-child a {
  padding-right: 10px;
}
.breadcrumb li:nth-child(2) a       { background:#390007; }
.breadcrumb li:nth-child(2) a:after { border-right-color: #390007; }
.breadcrumb li:nth-child(3) a       { background:#390007; }
.breadcrumb li:nth-child(3) a:after { border-right-color: #390007; }
.breadcrumb li:nth-child(4) a       { background:#390007; }
.breadcrumb li:nth-child(4) a:after { border-right-color: #390007; }
.breadcrumb li:nth-child(5) a       { background:#390007; }
.breadcrumb li:nth-child(5) a:after { border-right-color: #390007; }

.breadcrumb li:last-child a {
  background: transparent !important;
  color: black;
  pointer-events: none;
  cursor: default;
}
.breadcrumb li:last-child a:before {border-right: 0px solid !important}
.breadcrumb li:last-child a:after { border: 0; }
.breadcrumb li a:hover { background: #390007; }
.breadcrumb li a:hover:after { border-right-color: #390007 !important; }

.mw-content-ltr {
  direction: rtl !important;
}

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

.boxesheaderbackground, .cadre > div:first-child {
  background: repeat url("https://ae-wiki.metin2.gameforge.com/images/7/76/BoxesheaderbackgroundAE_5.png");
}

/*  '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 { 
  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 a,
.fondfenetre span {
  color: white;
}

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

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

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

@media screen and (max-width: 768px){
  
  .modal-content {
    padding: 30px 0 0 10px;
    width: 90%;
  }

  .container {
    flex-direction: column; 
  }
  
  .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;
  }

}