MediaWiki:Common.css
Révision datée du 3 juin 2022 à 21:35 par Dexter (discussion | contributions)
Note : après avoir enregistré vos modifications, il se peut que vous deviez forcer le rechargement complet du cache de votre navigateur pour voir les changements.
- Firefox / Safari : maintenez la touche Maj (Shift) en cliquant sur le bouton Actualiser ou pressez Ctrl-F5 ou Ctrl-R (⌘-R sur un Mac)
- Google Chrome : appuyez sur Ctrl-Maj-R (⌘-Shift-R sur un Mac)
- Internet Explorer : maintenez la touche Ctrl en cliquant sur le bouton Actualiser ou pressez Ctrl-F5
- Opera : allez dans Menu → Settings (Opera → Préférences sur un Mac) et ensuite à Confidentialité & sécurité → Effacer les données d’exploration → Images et fichiers en cache.
/* CSS placed here will be applied to all skins */
/* New Skin CSS */
html {
scroll-behavior: smooth;
}
body {
background: url('https://fr-wiki.metin2.gameforge.com/images/1/15/Fond2015.jpg') no-repeat fixed center top #000;
overflow-x: visible !important;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
}
body.page-Main_Page #catlinks,
body.page-Main_Page h1.firstHeading,
.cacheTel,
.tabber-noactive {
display: none;
}
td,th {padding: 2px }
li.gallerybox div.thumb,
div.tright div.thumbinner {
background: none;
border: 1px solid rgb(150, 150, 150);
}
.transparentbckg800 {
background: url("https://en-wiki.metin2.gameforge.com/images/9/9f/Transparentbackground.png") repeat;
display: inline-block;
padding: 5px;
width: 790px;
color: #00000;
border: 1px solid #000000;
border-radius: 5px;
}
.transparentbackground {
background: url("https://en-wiki.metin2.gameforge.com/images/9/9f/Transparentbackground.png") repeat;
border: 1px solid #000000;
}
.nativelooktop {
background: url("https://en-wiki.metin2.gameforge.com/images/1/1c/Nativelooktop.jpg") no-repeat;
padding: 0px;
width: 190px;
height: 10px;
}
.nativelookbackground {
background-image: url("https://en-wiki.metin2.gameforge.com/images/1/12/Nativelookbackground.jpg");
background-repeat: repeat-y;
padding: 0px;
width: 190px;
}
.nativelookbottom {
background: url("https://en-wiki.metin2.gameforge.com/images/8/8b/Nativelookbottom.jpg") no-repeat;
padding: 0px;
width: 190px;
height: 10px;
}
li.gallerybox div.thumb,
div.tright div.thumbinner {
background: url("https://en-wiki.metin2.gameforge.com/images/9/9f/Transparentbackground.png") repeat scroll 0% 0% transparent;
border: 1px solid #88283a;
}
/* Fading animation */
.fade {
-webkit-animation-name: fade;
-webkit-animation-duration: 1.5s;
animation-name: fade;
animation-duration: 1.5s;
}
@-webkit-keyframes fade {
from {opacity: .4}
to {opacity: 1}
}
@keyframes fade {
from {opacity: .4}
to {opacity: 1}
}
table.map mw-collapsible-toggle a {
color:#ffffff !important;
}
table.map .mw-collapsible-toggle a {
color:#ffffff !important;
}
.map span.mw-collapsible-toggle.mw-collapsible-toggle-default.mw-collapsible-toggle-collapsed{
padding-right:10px;
}
.prettytable a.mw-collapsible-text{
color:#ffffff;
}
.prettytable .mw-collapsible-toggle-default:after{
color:#ffffff;
}
.prettytable .mw-collapsible-toggle-default:before{
color:#ffffff;
}
.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;
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 span {
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;
}
.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;
}
.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,
.tabber-texte > .tabber-active,
.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;
position: absolute;
bottom: 20px;
transform: translate(-50%);
z-index: 100;
opacity: 0;
transition: all 0.4s ease;
pointer-events: none;
}
.popInfo:hover .popContenu {
opacity: 1;
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);
}
.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;
}
.card-mob {
border: 1px black solid;
display: flex;
flex-direction: column;
padding: 5px;
}
.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 {
height: auto;
width: auto;
max-height: 300px;
max-width: 100%;
}
.image-sizing-200 img {
max-height: 200px;
}
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 {
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::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);
}
.ul-row ul {
display: flex;
column-gap: 30px;
flex-wrap: wrap;
overflow: hidden;
margin: 0;
list-style-image: none;
}
#mw-content-text select {
margin: 0;
}
@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 {
background: url(https://fr-wiki.metin2.gameforge.com/images/e/ed/Modalbackground.png);
border: 1px solid black;
border-radius: 8px;
left: 50%;
padding: 30px 0 0 10px;
position: fixed;
top: 50%;
transform: translate(-50%,-50%);
width: 90%;
max-height: 80%;
overflow-y: scroll;
}
.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 {
content: "\002191";
font-size: 20px;
color: white;
position: absolute;
left: 50%;
top: 40%;
transform: translate(-50%, -50%);
}
.subpage > li > a,
.cacheOrdi,
.top-button::before {
display: none;
}
}
@media screen and (min-width: 851px){
span.mw-headline:target {
padding-top: 50px;
}
#mw-content h2 {
overflow: visible;
}
}
@media screen and (max-width: 340px){
#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
*/