MediaWiki:Common.css : Différence entre versions

 
(118 révisions intermédiaires par 4 utilisateurs 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;
 +
}
  
div#content .content-footer{
+
/*
position: relative;
+
body {
width: 960px;
+
  background-image: url('https://fr-wiki.metin2.gameforge.com/images/b/bf/Fondhalloween.png');
padding: 0px 0px 5px 0px;
 
left: -35px;
 
right: 0px;
 
bottom: -35px;
 
background: url('http://wiki.metin2.co.uk/images/b/bb/WikiContentFooterBackground.png') no-repeat scroll top center transparent !important;
 
height: 45px;
 
z-index: 0;
 
 
}
 
}
 +
*/
  
h1, h2, h3, h4, h5, h6 {
+
body {
color: #8B4500;
+
  background-image: url('https://fr-wiki.metin2.gameforge.com/images/1/15/Fond2015.jpg');
border-bottom: 0px solid #8B4500;
 
 
}
 
}
  
#bodyContent h3, #bodyContent h4, #bodyContent h5 {
+
#mw-content ul {
margin-bottom: .3em;
+
    margin-bottom: 0.3em;
color: #8B4500;
 
 
}
 
}
  
#firstHeading{
+
td, th {
color: #8B4500;
+
  padding: 2px;
border-bottom: 0px solid #8B4500;
 
 
}
 
}
  
div#column-one {
+
.map span.mw-collapsible-toggle {
padding-top: 126px;
+
  padding-right: 10px;
margin: 0px auto 0px auto;
 
 
}
 
}
  
#p-cactions .new a {  
+
table.map a.mw-collapsible-text,
color: #EEB422;
+
.prettytable > span.mw-collapsible-toggle,
 +
.prettytable > span.mw-collapsible-toggle > a {
 +
  color: #ffffff;
 
}
 
}
  
#p-cactions li.selected {
+
.boxesheaderbackground, .cadre > div:first-child {
border-bottom: 0 px solid transparent !important;
+
  background: repeat url("https://fr-wiki.metin2.gameforge.com/images/a/a7/Boxheaderbrown.png");
border-left: 0px solid transparent !important;
 
border-right: 0px solid transparent !important;
 
border-top: 0px solid transparent !important;
 
font-weight: 700;
 
background-color: transparent;
 
 
}
 
}
  
#p-cactions li {  
+
.cadre {
background: transparent;
+
  border: 1px solid #2f1d1f;
border-bottom: 0 px solid transparent !important;
+
  border-radius: 15px 0;
border-left: 0px solid transparent !important;
+
  width: 100%;
border-right: 0px solid transparent !important;
+
  box-shadow: 3px 3px 9px 0px #544e41;
border-top: 0px solid transparent !important;
 
display: inline;
 
margin: 0px;
 
overflow: visible;
 
 
}
 
}
  
#p-cactions li.selected a, #p-cactions .new a, #p-cactions li a, #p-cactions li a:hover {
+
.cadre > div:first-child {
font-weight: normal;
+
  text-align: center;
font-size: 15px;
+
  color: white;
color: #fece58;
+
  line-height: 25px;
border: 1px solid #f1de8e;
+
  overflow: hidden;
background: transparent;
+
  border-top-left-radius: 15px;
z-index: 1;
+
}
border-radius: 6px;
+
 
padding-bottom: 3px;
+
.fondfenetre,
 +
.sous-titre,
 +
table.pretty-table th {
 +
  background: url("https://fr-wiki.metin2.gameforge.com/images/8/89/Fondfenetre.png") repeat;
 +
  color: white;
 
}
 
}
  
#searchInput::-webkit-input-placeholder {  
+
table.pretty-table td {
    color:#8B4513;
+
  padding: 5px 10px;
 
}
 
}
#searchInput:-moz-placeholder {  
+
 
    color:#8B4513;
+
table.pretty-table th {
  opacity: 1;
+
  padding: 2px 10px;
 +
  font-weight: normal;
 +
  font-size: 1.1em;
 
}
 
}
#searchInput::-moz-placeholder {  
+
 
    color:#8B4513;
+
table.pretty-table tbody > *:nth-child(2n+1) > td {
  opacity: 1;
+
  background: rgba(0, 0, 0, .1);
 
}
 
}
#searchInput:-ms-input-placeholder {  
+
 
    color:#8B4513;
+
table.pretty-table tr:hover {
 +
  background: rgba(0, 0, 0, .05);
 
}
 
}
  
ul {
+
table.pretty-table tr:first-child > th:first-child {
line-height: 1.5em;
+
  border-radius: 8px 0 0 0;
list-style-image: url("http://wiki.metin2.co.uk/images/7/7a/Bullet.png");
+
  overflow: hidden;
list-style-type: square;
 
margin: 0.3em 0px 0px 1.5em;
 
padding: 0px;
 
 
}
 
}
  
#p-tb{
+
table.pretty-table caption {
position: relative;
+
  margin-top: 10px;
z-index: 1;
+
  font-weight: bold;
inline-block;
 
 
}
 
}
  
#p-search{
+
.fondfenetre a,
position: relative;
+
.fondfenetre span,
z-index: 1;
+
table.pretty-table th a,
inline-block;
+
table.pretty-table th span {
 +
  color: white;
 
}
 
}
  
#p-lang{
+
.sous-titre {
position: relative;
+
  max-width: 180px;
z-index: 1;
+
  border: 1px solid black;
inline-block;
+
  border-radius: 8px;
 +
  color: white;
 
}
 
}
  
#p-Community{
+
.modeleAnnonce {
position: relative;
+
  border-image: url("https://fr-wiki.metin2.gameforge.com/images/f/fb/Modeleannonce.png") 17 35 3 fill / auto / 0 repeat;
z-index: 1;
 
inline-block;
 
 
}
 
}
  
#p-navigation {
+
.container {  
position: relative;
+
display: flex;
z-index:1;
+
flex-direction: row;  
inline-block;
 
 
}
 
}
  
#p-Liens_Utiles {
+
.button {
position: relative;
+
  border: 2px solid grey;
z-index:1;
+
  padding: 0 12px;
inline-block;
+
  line-height: 25px;
 +
  border-radius: 16px;
 +
  background: rgba(234, 234, 234);
 +
  cursor: pointer;
 +
  display: inline-block;
 +
  position: relative;
 +
  user-select: none;
 +
  white-space: nowrap;
 
}
 
}
  
#p-personal {
+
.button:hover {
background: url("http://wiki.metin2.co.uk/images/8/8b/WikiTopBarBackground.png") transparent;
+
  background: transparent;
 
}
 
}
  
#f-copyrightico{
+
.modal {
left: 45px;
+
  background-color: rgba(0, 0, 0, 0.5);
top: 130px;}
+
  display: none;
 +
  height: 100%;
 +
  left: 0;
 +
  position: fixed;
 +
  top: 0;
 +
  width: 100%;
 +
  z-index: 99;
 +
}
  
#f-list{margin-top:160px;}
+
.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;
 +
}
  
body {
+
.close {
    background: url('http://wiki.metin2.fr/images/6/6b/Background_Natale_2018.jpg') no-repeat fixed center top #000;
+
  color: #000000;
    overflow-x: visible !important;
+
  cursor: pointer;
    -webkit-background-size: cover;
+
  font-size: 20px;
    -moz-background-size: cover;
+
  padding: 6px 12px;
     -o-background-size: cover;
+
  position: absolute;
     background-size: cover;
+
  right: 0;
     font-family: "Trebuchet MS", Arial, sans-serif;
+
  top: 0;
 +
  transition: color .2s linear, background-color .2s linear;
 +
}
 +
 
 +
.close:hover {
 +
  background: red;
 +
  color: #ffffff;
 +
}
 +
 
 +
.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;
 
}
 
}
  
.portletNavMiddle ul li a{
+
#mw-content .soulignement > a:link {
MARGIN: 0px 0px 0px 0px;
+
  text-decoration: none;
COLOR: #EEB422;
 
TEXT-DECORATION: none;
 
 
}
 
}
  
.portletNavBG h5 {
+
.popContenu {
color: #fef6aa;
+
  display: inline-block;
background: none;
+
  transition: all 0.4s ease;
font-weight: bold;
 
margin:6px 0px 5px 0px;
 
padding-top: .5em;
 
padding-bottom: .17em;
 
border-bottom: 0px solid #aaa;
 
font-size: 11.9px;
 
top: 6px;
 
 
}
 
}
  
.portletNavBG {
+
.popInfo:hover .popContenu {
background: url('http://wiki.metin2.co.uk/images/2/23/WikiPortletNavigationTopBackground.png') no-repeat;
+
  opacity: 1 !important;
width: 157px;
+
  transition: all 0.4s ease;
min-height: 34px;
 
overflow: hidden;
 
text-align: center;
 
 
}
 
}
  
.portletNavMiddle {
+
.cadreFenetre {
background: url('http://wiki.metin2.co.uk/images/1/1a/WikiPortletNavigationBackground.png') repeat-y;
+
  border: solid;
width: 157px;
+
  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);
 
}
 
}
  
.portletNavBtn{
+
.tabber-active.button {
background: url('http://wiki.metin2.co.uk/images/0/06/WikiPortletNavigationBottomBackground.png') no-repeat 0 100%;
+
  background: rgba(75, 85, 95);
max-height: 132px;
+
  color: white;
width: 157px;
+
  border: 2px solid rgba(75, 85, 95);
 
}
 
}
  
#p-logo {
+
ul.subpage {
position: relative;
+
  display: flex;
right: 0px;
+
  list-style: none;
left: 250px;
+
  margin: 0 0 10px;
top: -36px;
+
  padding: 0;
height: 90px;
+
  background: rgba(81,36,16, 0.3);
width: 350px;
+
  overflow: hidden;
 +
  line-height: 30px;
 +
  white-space: nowrap;
 
}
 
}
  
#p-logo a, #p-logo a:hover {  
+
.subpage a {
background: url('http://wiki.metin2.co.uk/images/4/40/Wiki_Logo1.png') no-repeat center top transparent !important;
+
  padding-left: 20px;
position: relative;
+
  background: #512410;
left: 450px;
+
  display: inline-block;
right: 0px;
+
  line-height: 30px;
height: 90px;
+
  position: relative;
width: 350px;
+
  color: #f1de8e;
margin: center;
+
  cursor: pointer;
overflow: visible;
 
 
}
 
}
  
div#column-content {
+
.subpage a:before,
left: 0px;
+
.subpage a:after {
right: 0px;
+
  content: "";
top: 262px;
+
  position: absolute;
opacity: 0.99;
+
  width: 0;
position: relative;
+
  height: 0;
z-index: 1;
+
  right: 0;
margin-bottom:50px;
+
  padding: 1px 0;
 +
  border-top: 14px solid transparent;
 +
  border-bottom: 14px solid transparent;
 +
  border-left: 14px solid white;
 +
  transform: translate(14px);
 +
  z-index: 1;
 
}
 
}
  
#p-cactions {
+
.subpage a:after {
position: absolute;
+
  border-left: 14px solid #512410;
width: 960px;
+
  transform: translate(13px);
padding: 0px;
+
  z-index: 2;
top: 155px;
 
left: 178px;
 
right: 0px;
 
background: url('http://wiki.metin2.co.uk/images/e/e1/WikiContentHeaderBackground.png') no-repeat scroll center center transparent !important;
 
height: 155px;
 
z-index: 0;
 
 
}
 
}
  
#p-cactions .pBodyTabs {
+
.subpage > li:last-child {
margin-top: 58px;
+
  padding-left: 20px;
margin-right: 10px;
 
 
}
 
}
  
#f-poweredbyico{display:none;}
+
ul.subpage > li:first-child {
 +
  flex-shrink: 0;
 +
}
  
div#content {
+
ul.subpage > li:first-child > a {
position:relative;
+
  height: 100%;
color: #000;
+
  display: flex;
padding: 10px 35px 0px;
+
  align-items: center;
margin-top: 0px;
+
  padding-left: 10px;
width: 890px;
 
border-width: 0px;
 
background: url("http://wiki.metin2.co.uk/images/7/79/WikiContentBackground.png") repeat-y;
 
 
}
 
}
  
div#footer {  
+
ul.subpage > li > a:hover {
position: absolute;
+
  background: #9D5B37;
margin: 0px;
 
padding: 50px 0px 0px;
 
display: block;
 
width: 100%;
 
border: medium none;
 
height: 203px;
 
background: url('http://wiki.metin2.co.uk/images/1/1b/WikiFooterForWolfBackground.png') no-repeat scroll center bottom transparent;
 
 
}
 
}
  
#bilder {  
+
ul.subpage > li > a:hover:after {
display: none !important;
+
  border-left-color: #9D5B37;  
 
}
 
}
  
#mw-content-text h2 {
+
.image-sizing img,
    background: url("http://wiki.metin2.com.pt/images/e/ee/BoardNewM.png") no-repeat scroll left center transparent;
+
.image-sizing-200 img,
    height: 30px;
+
.image-sizing-none img {
    color: !important;
+
  height: auto;
    text-indent: 40px;
+
  width: auto;
    font-weight: bold;
+
  max-height: 300px;
    color:#643200 !important
+
  max-width: 100%;
 +
}
  
border-style: solid;
+
.image-sizing-200 img {
border-width: 0px 0px 7px;
+
  max-height: 200px;
-moz-border-image: url("http://wiki.metin2.com.pt/images/7/74/Testwiki.png") 0 0 33 81 repeat;
 
-webkit-border-image: url("http://wiki.metin2.com.pt/images/7/74/Testwiki.png") 0 0 33 81 repeat;
 
-o-border-image: url("http://wiki.metin2.com.pt/images/7/74/Testwiki.png") 0 0 33 81 repeat;
 
border-image: url("http://wiki.metin2.com.pt/images/7/74/Testwiki.png") 0 0 33 81 fill repeat;
 
 
}
 
}
  
/* End New Skin CSS */
+
.image-sizing-none img {
 +
  max-height: none;
 +
}
  
body.page-Main_Page #catlinks,
+
div.ul-res ul {
body.page-Main_Page h1.firstHeading{
+
  margin: 0;
display: none;
+
  list-style: none;
 
}
 
}
  
.flaggedrevs-color-0 {  
+
.tab-glob {
text-decoration: blink;
+
    display: flex;
color: rgb(200, 0, 0);
+
    flex-direction: row;
background: none;
+
    margin: 10px 0;
 +
    column-gap: 2px;
 +
    align-items: flex-start;
 
}
 
}
  
.flaggedrevs-color-1 {
+
.tab-glob > :first-child {
background: none;
+
    display: grid;
 +
    grid-template-columns: max-content;
 +
    row-gap: 2px;
 
}
 
}
  
.mw-specialpagecached {
+
.tab-glob > :first-child > * {
font-style: italic;
+
    border: 1px black solid;
 
}
 
}
  
#bodyContent a.external {
+
.tab-glob > :first-child > *:not(.fondfenetre) {
padding-right: 0px;
+
    font-weight: bold;
 +
    display: flex;
 +
    justify-content: center;
 +
    align-items: center;
 
}
 
}
  
li.gallerybox div.thumb,
+
.tab-glob > :nth-child(2) {
div.tright div.thumbinner {
+
    width: 100%;
background: none;
+
    overflow-x: auto;
border: 1px solid rgb(150, 150, 150);
 
 
}
 
}
  
html .thumbimage {
+
.tab-glob > :nth-child(2) > :first-child {
border: 1px solid rgb(180, 180, 180);
+
    display: grid;
 +
    grid-template-columns: repeat(10,minmax(75px,1fr));
 +
    gap: 2px;
 
}
 
}
  
table.diff,
+
.tab-glob > :nth-child(2) > :first-child > * {
td.diff-otitle,
+
    border: 1px black solid;
td.diff-ntitle,
 
td.diff-context {
 
background: none;
 
 
}
 
}
  
th .mw-collapsible-toggle a {
+
.tab-glob > :nth-child(2) > :first-child > :not(.fondfenetre) {
color: rgb(255, 255, 255);
+
    display: flex;
 
}
 
}
  
.transparentbckg800 {
+
.tab-glob > :nth-child(2) > :first-child > :not(.fondfenetre) > * {
  background: url("http://wiki.metin2.co.uk/images/9/9f/Transparentbackground.png") repeat;
+
   margin: auto;
   display: inline-block;
+
}
 +
 
 +
.list-equip {
 
   padding: 5px;
 
   padding: 5px;
   width: 790px;
+
   border: 1px solid #2f1d1f;
   color: #00000;
+
   display: flex;
   border: 1px solid #000000;
+
   flex-direction: column;
   border-radius: 5px;
+
   align-items: center;
 +
  gap: 5px;
 
}
 
}
  
.transparentbackground {
+
.list-equip > :first-child {
   background: url("http://wiki.metin2.co.uk/images/9/9f/Transparentbackground.png") repeat;
+
   width: 100%;
   border: 1px solid #000000;
+
   line-height: 25px;
 
}
 
}
  
.editsection a:link {
+
.list-equip > :first-child > * {
text-decoration: underline;
+
  padding: 0 5px;
color: #0667d2;
 
 
}
 
}
  
.editsection a:visited {
+
.fabrication {
color: #0667d2;
+
  position: relative;
 
}
 
}
  
editsection a:active {
+
.fabrication > * {
color: #0667d2;
+
  position: absolute;
 +
  top: -188px;
 
}
 
}
  
.editsection a:hover {
+
.fabrication > .bottom-fab,
color: #0667d2;
+
.fabrication > .bottom-fab ~ * {
text-decoration: none;
+
  top: -58px;
 
}
 
}
  
.mw-collapsible-toggle a:link {
+
.fabrication > * > *:nth-child(2) {
    color: #0667d2;
+
  position: relative;
 
}
 
}
  
.mw-content-ltr .editsection,
+
.fabrication > * > *:nth-child(2) > * {
.mw-content-rtl .mw-content-ltr .editsection {
+
  position: absolute;
float: right;
+
  top: -18px;
margin: 0 35px 0 0;
 
 
}
 
}
  
#catlinks,
+
.fabrication > * > *:nth-child(n+3) {
.catlinks {
+
  position: absolute;
    background: url("http://wiki.metin2.com.pt/images/f/f3/Catlinks_background.png") no-repeat scroll center transparent;
+
  top: 100px;
    border: none;
+
}
    color: rgb(241, 222, 142);
+
 
 +
.info-boutique ul {
 +
  list-style-image: none;
 
}
 
}
  
#catlinks a,
+
.info-boutique p:last-child {
.catlinks a {
+
  margin-bottom: 0;
    color: rgb(241, 222, 142);
 
 
}
 
}
  
#toctitle h2{
+
kbd {
color:#ffffff !important;
+
  background-color: #eee;
border-style: none;  
+
  border-radius: 3px;
border-width: 0px;  
+
  border: 1px solid #b4b4b4;
-moz-border-image: none;  
+
  box-shadow: 0 1px 1px rgb(0 0 0 / 20%), 0 2px 0 0 rgb(255 255 255 / 70%) inset;
-webkit-border-image: none;  
+
  color: #333;
-o-border-image: none;  
+
  display: inline-block;
border-image: none;  
+
  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;
 
}
 
}
  
#toc,
+
.top-button:after {
.toc,
+
  content: "";
.mw-warning {
+
  height: 32px;
    background: url("http://wiki.metin2.co.uk/images/9/9f/Transparentbackground.png") repeat;
+
  width: 32px;
    border: 1px solid #000000;
+
  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");
    color: #FFFFFF;
+
  background-repeat: no-repeat;
    border-top-right-radius: 5px;
 
    border-top-left-radius: 5px;
 
    border-bottom-right-radius: 5px;
 
    border-bottom-left-radius: 5px;
 
display: inline-block !important;
 
padding: 10px !important;
 
 
}
 
}
  
#toc h2,
+
.show-button {
.toc h2 {
+
  opacity: 1;
display: inline;
+
  transform: translateY(0);
border: none;
 
padding: 0;
 
font-size: 100%;
 
font-weight: bold;
 
        background: none;
 
        color: #FFFFFF;
 
 
}
 
}
  
.nativelooktop {
+
.ul-row ul {
   background: url("http://wiki.metin2.co.uk/images/1/1c/Nativelooktop.jpg") no-repeat;
+
   display: flex;
   padding: 0px;
+
  column-gap: 30px;
   width: 190px;
+
  flex-wrap: wrap;
   height: 10px;
+
   overflow: hidden;
 +
   margin: 0;
 +
   list-style-image: none;
 
}
 
}
  
.nativelookbackground {
+
.flex {
   background-image: url("http://wiki.metin2.co.uk/images/1/12/Nativelookbackground.jpg");
+
   display: flex;
  background-repeat: repeat-y;
 
  padding: 0px;
 
  width: 190px;
 
 
}
 
}
  
.nativelookbottom {
+
#catlinks {
   background: url("http://wiki.metin2.co.uk/images/8/8b/Nativelookbottom.jpg") no-repeat;
+
   margin-top: 10px;
  padding: 0px;
 
  width: 190px;
 
  height: 10px;
 
 
}
 
}
  
li.gallerybox div.thumb,
+
.improved-collapsible > .mw-collapsible-toggle {
div.tright div.thumbinner {
+
  grid-area: 1 / -1;
    background: url("http://wiki.metin2.co.uk/images/9/9f/Transparentbackground.png") repeat scroll 0% 0% transparent;
+
  display: flex;
    border: 1px solid #88283a;
+
  justify-content: flex-end;
 +
  align-items: center;
 +
  float: initial;
 +
  z-index: 1;
 +
  padding-right: 5px;
 
}
 
}
  
.boxesheaderbackground {
+
.improved-collapsible .mw-collapsible-toggle:before {
    background: url("http://wiki.metin2.co.uk/images/3/39/Boxesheaderbackgroundnormal.png") repeat 0em 0em;
+
  content: "";
 
}
 
}
  
/* Slideshow container */
+
.improved-collapsible .mw-collapsible-text {
+
   display: none;
 
.slideshow-container {
 
   max-width: 1000px;
 
  position: relative;
 
  margin: auto;
 
 
}
 
}
  
/* Next & previous buttons */
+
.improved-collapsible .mw-collapsible-toggle:after {
.prev, .next {
+
   width: 32px;
   cursor: pointer;
+
   height: 32px;
   position: absolute;
+
   content: "";
   top: 50%;
+
   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");
  width: auto;
+
   background-repeat: no-repeat;
   margin-top: -22px;
+
   transition: transform .2s ease-in-out;
  padding: 16px;
 
  color: white;
 
   font-weight: bold;
 
  font-size: 18px;
 
   transition: 0.6s ease;
 
  border-radius: 0 3px 3px 0;
 
 
}
 
}
  
/* Position the "next button" to the right */
+
.improved-collapsible .mw-collapsible-toggle-expanded:after {
.next {
+
   transform: rotate(-180deg);
   right: 0;
 
  border-radius: 3px 0 0 3px;
 
 
}
 
}
  
/* On hover, add a black background color with a little bit see-through */
+
.tooltip-icon {
.prev:hover, .next:hover {
+
   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-color: rgba(0,0,0,0.8);
+
  background-repeat: no-repeat;
 
}
 
}
  
/* Caption text */
+
.tooltip-info {
.text {
 
  color: #f2f2f2;
 
  font-size: 15px;
 
  padding: 8px 12px;
 
 
   position: absolute;
 
   position: absolute;
   bottom:20px;
+
   bottom: calc(100% + 8px);
   width: 100%;
+
  left: 50%;
   text-align: center;
+
  transform: translateX(-50%);
 +
  max-width: 290px;
 +
   width: max-content;
 +
   z-index: 50;
 +
  opacity: 0;
 +
  visibility: hidden;
 +
  transition: opacity 0.3s ease, visibility 0.3s ease;
 
}
 
}
.mySlides {
+
 
  display:none;
+
.tooltip-info:after {
 +
    content: "";
 +
    border: 8px solid transparent;
 +
    border-top-color: inherit;
 +
    position: absolute;
 +
    left: calc(50% - 8px);
 +
    top: 100%;
 +
    z-index: 50;
 
}
 
}
.active-slide {
+
 
   display:block;
+
.tooltip-icon:hover > .tooltip-info {
 +
   opacity: 1;
 +
  visibility: visible;
 
}
 
}
/* Number text (1/3 etc) */
+
 
.numbertext {
+
.cacheTel,
  color: #f2f2f2;
+
.tabber-container > :last-child > :not(.tabber-active),
  font-size: 12px;
+
.tabber-noactive {
  padding: 8px 12px;
+
   display: none;
  position: absolute;
 
   top: 0;
 
 
}
 
}
  
/* The dots/bullets/indicators */
+
@keyframes pnj-square {
.dot {
+
   from {background-color: #f80000;}
   cursor:pointer;
+
   to {background-color: white;}
  height: 13px;
 
  width: 13px;
 
  margin: 0 2px;
 
  background-color: #bbb;
 
   border-radius: 50%;
 
  display: inline-block;
 
  transition: background-color 0.6s ease;
 
 
}
 
}
  
.active, .dot:hover {
+
@keyframes pnj-circle {
   background-color: #717171;
+
   from {border-color: #984c48;}
 +
  to {border-color: white;}
 +
  from {scale: 1;}
 +
  to {scale: .1;}
 
}
 
}
  
/* Fading animation */
+
@keyframes loading {
.fade {
+
   0% {
   -webkit-animation-name: fade;
+
    transform: scale(1.5);
  -webkit-animation-duration: 1.5s;
+
   }
   animation-name: fade;
+
   100% {
   animation-duration: 1.5s;
+
    transform: scale(1);
 +
  }
 
}
 
}
  
@-webkit-keyframes fade {
+
 
   from {opacity: .4}
+
@media screen and (max-width: 768px){
   to {opacity: 1}
+
  .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;
 +
  }
 +
 
 +
  .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;
 +
  }
 
}
 
}
  
@keyframes fade {
+
 
   from {opacity: .4}
+
@media screen and (max-width: 340px){
   to {opacity: 1}
+
   #mw-content {
 +
    padding-left: 10px;
 +
    padding-right: 10px;
 +
   }
 
}
 
}
 
/*
 
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
 
*/
 

Version actuelle datée du 22 février 2024 à 23:09

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

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

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

.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 .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.3s ease, visibility 0.3s 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;
}

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

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

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