MediaWiki:Common.css

De Wiki The-West FR
Aller à la navigation

Note : après avoir publié 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 appuyez sur Ctrl + F5 ou Ctrl + R (⌘ + R sur un Mac).
  • Google Chrome : appuyez sur Ctrl + Maj + R (⌘ + Shift + R sur un Mac).
  • Internet Explorer / Edge : maintenez la touche Ctrl en cliquant sur le bouton Actualiser ou pressez Ctrl + F5.
  • Opera : appuyez sur Ctrl + F5.
/* ***************************************************** */
/* Le CSS placé ici sera appliqué à tous les habillages. */
/* ***************************************************** */

/* Paramètres globaux de mise en page du Wiki => en cours de Test */
*:focus {
    outline: none;
}
#wrapper {width: 1120px; } /* Largeur du wiki */
#container {width: 860px;} /* Largeur de la zone contenu */
#contentTop {width: 860px; background-size: 100% 77px;}  /* zone supérieure */
#p-search .pBody {width: 200px; background-size:200px 24px;}  /* Diminution en largeur du module de recherche */
#searchInput {width: 173px;}
#navigationTop {
  position: relative;
  background: url("http://wiki.the-west.fr/images/1/16/MenuTopNew.png") no-repeat;
  width: 260px;
  height: 130px;
}
#navigationBottom {
  position: absolute;
  background: url("http://wiki.the-west.fr/images/e/e2/MenuBottomNew.png") no-repeat;
  width: 260px;
  height: 95px;
  right: -15px;
  bottom: -51px;
}
#navigation {width: 225px; font-size: 11px;}
#west_pl_hints_container {width: 830px!important; background-size: 100%!important;}
#content {width: 830px; background-size: 100%;}
#contentFooter {background-size: 101%;z-index: 0;}
#p-cactions {width: 810px;}
.portlet h5 {font-size: 120%; font-weight: bold; font-style: italic; font-family:georgia; color: #804000;}
textarea {width: 793px;}

#fondstd {
  background-image: url("http://wiki.the-west.fr/skins/thewest/images/content/contentBg.png");
  background-repeat: repeat;
}


}
table.prerequis {
  background-image:url('images/content/contentBg.png');
  background-repeat: repeat;
  border:0px;
  border-spacing:0;
  margin:0 auto;  
}

div.prerequis {
/*  background: url("http://wiki.the-west.fr/skins/thewest/images/content/contentBg.png") repeat-y; */
  border:1px solid #CCC; 
  border-radius:10px; 
  background:#FFF; 
  border-right:3px solid #ccc; 
  border-bottom:3px solid #ccc; 
  padding:5px; 
  line-height:1.3; 
  margin-left:2px; 
  margin-right:1px;
  text-align:center;
}

.survol {position:relative;}
/* change l'opacité de l'image au survol de la souris */
.survol:hover {
  opacity:0.75;
  filter:alpha(opacity=75);
}

/* définit une fonction de zoom x 1.3 */
.zoom:hover {
-webkit-transform: scale(1.3);
-moz-transform: scale(1.3);
-o-transform: scale(1.3);
transform: scale(1.3);
/* -webkit-transform-origin: 50% 50%;
-webkit-transform-origin: 50% 50%;
-webkit-transform-origin: 50% 50%;
transform-origin: 50% 50%; */
}
.zoom {
-webkit-transition: all 1s ease;
-moz-transition: all 1s ease;
-o-transition: all 1s ease;
transition: all 1s ease;
}
.zoom {
border: 0px solid #fff;
margin: 40px 0px;
padding: 10px;
}

/* Pour des effets de clignotements */
.tilt {
  -webkit-transition: all 3s ease;
  -moz-transition: all 3s ease;
  -o-transition: all 3s ease;
  -ms-transition: all 3s ease;
  transition: all 3s ease;
}
.tilt:hover {
  -webkit-transform: rotate(-360deg);
  -moz-transform: rotate(-360deg);
  -o-transform: rotate(-360deg);
  -ms-transform: rotate(-360deg);
  transform: rotate(-360deg);
}
.pulse:hover {
  animation-name: pulse;
  -webkit-animation-name: pulse;	
  animation-duration: 1s;	
  -webkit-animation-duration: 1s;
  animation-iteration-count: infinite;
  -webkit-animation-iteration-count: infinite;
}
.clignote {
  animation-name: pulse;
  -webkit-animation-name: pulse;	
  animation-duration: 1.5s;	
  -webkit-animation-duration: 1.5s;
  animation-iteration-count: infinite;
  -webkit-animation-iteration-count: infinite;
}

@keyframes pulse {
  0% {
       transform: scale(0.95);
       opacity: 0.7;}
  50% {
       transform: scale(1);
       opacity: 1;}	
  100% {
       transform: scale(0.95);
       opacity: 0.7;}			
}

@-webkit-keyframes pulse {
  0% {
       -webkit-transform: scale(0.95);
       opacity: 0.7;}
  50% {
       -webkit-transform: scale(1);
       opacity: 1;}	
  100% {
       -webkit-transform: scale(0.95);
       opacity: 0.7;}			
}

/* ****  Propriétés de la classe infobulle **** */
span.infobulle, span.DDMbulle, span.infobulleTxtL,span.infobulleTxtR {
	position: relative;
	cursor: help; 
	outline: none;
	text-decoration: none;
}
span.infobulle, span.infobulleTxtL, span.infobulleTxtR {border-bottom: thin dotted; }
span.infobulle:hover, span.DDMbulle:hover, span.infobulleTxtL:hover, span.infobulleTxtR:hover{
	text-decoration: none; 
	z-index: 6; 
}
span.infobulle:hover, span.infobulleTxtL:hover,span.infobulleTxtR:hover {background: #FFEEDD; }
span.infobulle span, span.DDMbulle span{
	position: absolute; 
	margin: 20px 0 0 0px; 
	padding: 10px;
	background: #FFF7E6; 
	border: 1px solid #CD853F;
	border-radius: 5px 5px; 
	-moz-border-radius: 5px; 
	-webkit-border-radius: 5px; 
	box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.1); 
	-webkit-box-shadow: 5px 5px rgba(0, 0, 0, 0.1); 
	-moz-box-shadow: 5px 5px rgba(0, 0, 0, 0.1);
	text-align:justify; 
	font-size: 0.9em;
	line-height:14px;
	z-index: 6000;
}

span.infobulleTxtL span, span.infobulleTxtR span {
	position: absolute; 
	margin: 20px 0 0 0px; 
	padding: 10px;
	background: #F8E2B4; 
	border-radius: 10px; 
	box-shadow: 0px 0px 15px #000; 
	text-align:justify; 
	font-size: 0.9em;
	line-height:14px;
	z-index: 6000;
}


span.infobulle span {width: 450px; left: 80px; top: -150px; }
span.infobulleTxtRx span {left: 80px; top: -150px; }
span.infobulleTxtL span,span.infobulleTxtR span {top: -150px; }
.infobulleTxtL:hover span {left: -500px; top: -150px; }
.infobulleTxtR:hover span {left: 30px; top: -150px; }

span.DDMbulle span {width: 250px; right: -30px; top: -30px; }
span.DDMbuller span {width: 150px; top: -80px; left:100px; right:-30px}
span.infobulle:hover span, 
span.DDMbulle:hover span{
        left: 2%; 
	background: #FFF7E6; 
	z-index:6;
}
span.infobulleTxtL:hover span,span.infobulleTxtR:hover span{
        /*left: 2%; */
	background: #F8E2B4; 
	z-index:6;
}
span.infobulle span, span.infobulleTxtL span, span.infobulleTxtR span, span.DDMbulle span {
	position: absolute; 
	left: -9999px;
	margin: 4px 0 0 0px; 
	padding: 10px;
	border:solid 1px black;
}
span.infobulleTxtL span, span.infobulleTxtR span{
	position: absolute; 
	left: -9999px;
	margin: 4px 0 0 0px; 
	padding: 10px;
	border:solid 0px black;
        box-shadow: 0px 0px 15px #000;
        border-radius: 10px;

}

span.infobulle:hover span, span.infobulleTxtL:hover span,span.infobulleTxtR:hover span { margin: 20px 0 0 125px; }
span.DDMbulle:hover span { margin: 30px 0 30px 30px; }
span.infobulle:hover em, span.infobulleTxtL:hover em, span.infobulleTxtR:hover em, span.DDMbulle:hover em {
	text-align:center; 
	font-family: Calibri, Tahoma, Geneva, sans-serif; 
	font-size: 1.4em; 
	font-weight: bold;
	line-height:30px;
	display: block; 
}

.infoSet{
  border:1px solid #806D47;
  box-shadow: 2px 2px 4px #000;
  padding:10px;
}

table.infosetatt{
  border:1px solid #806D47;
  /*box-shadow: 2px 2px 4px #000;*/
  background-color:#EBEBCF;
  padding:0px;
  height:44px;
}
table.infosetatt td{
  padding:0px;
  vertical-align:middle;
}

/* Tooltip bonus sets */
div.tw_bg_tl, div.tw_bg_tr, div.tw_bg_bl, div.tw_bg_br {
	background-image: url(https://wiki.the-west.fr/images/f/fc/Tooltip_bg.png);
	background-repeat: no-repeat;
	position: absolute;
	z-index: -1;
}
.tw_bg_tl {
	background-position: left top;
	bottom: 50%;
	right: 50%;
	left: 0;
	top: 0;
}
.tw_bg_tr {
	background-position: right top;
	width: 50%;
	bottom: 50%;
	right: 0;
	top: 0;
}
.tw_bg_bl {
	background-position: left bottom;
	height: 50%;
	right: 50%;
	bottom: 0;
	left: 0;
}
.tw_bg_br {
	background-position: right bottom;
	height: 50%;
	width: 50%;
	bottom: 0;
	right: 0;
}
.tooltip_outer {
	position:absolute;
	left:50%;
	bottom: 100%;
	margin-bottom: 8px;
	z-index:-1;
}
.tooltip {
	position:relative;
	padding:10px 13px 12px 13px;
	opacity:0;
	visibility:hidden;
	-webkit-transition: opacity .15s ease-in-out;
	-webkit-transform: translateZ(0) scale(1.0, 1.0);
	       -moz-transition: opacity .15s ease-in-out;
	            transition: opacity .15s ease-in-out;
	white-space:nowrap;
	max-width:350px;
        left:-50%;
        color:black;
}
.tooltip::after {
    content: " ";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-top: -4px;
    margin-left: -11px;
    background-image: url(https://wiki.the-west.fr/images/3/32/Tooltip_arrow.png);
    width: 22px;
    height: 11px;
}
.tooltip_container {
position:relative;
}
.tooltip_container:hover .tooltip {
	visibility:visible;
	-webkit-transition: opacity .15s ease-in-out 0.4s;
	       -moz-transition: opacity .15s ease-in-out 0.4s;
	            transition: opacity .15s ease-in-out 0.4s;
	opacity:1;
}
.tooltip_container:hover > .tooltip_outer {
	z-index:1000;
}
.per_level:after{
  content:"(par Niveau)";
}
/* Navigation Bar */
#navbar {
	position:absolute;
	top:29px;
	font-family:Calibri;
	width:800px;
	height:85px;
	margin:0;
	padding:0;
	background-image : url('https://wiki.the-west.fr/images/0/0d/Barre.png');
	text-align:center;
}
#navbar > #bull1 , #navbar > #bull2{
	position:absolute;
	top:20px;
	z-index:1;
	width:104px;
	height:64px;
	pointer-events: none;
}
#navbar > #bull1{
	left:40px;
	background-image : url('https://wiki.the-west.fr/images/2/20/Bull1.png');
}
#navbar > #bull2{
	right:40px;
	background-image : url('https://wiki.the-west.fr/images/9/91/Bull2.png');
}
#navbar ul {
	list-style-type: none;
	font-size:0;
	padding:0;
	overflow: hidden;
	position:relative;
	top:42px;
	height:37px;
}
#navbar li {
	font-size:18px;
	display:inline;
}
#navbar li a {
	position:relative;
	display:inline-block;
	color: white;
	font-weight:normal;
	text-align: center;
	padding: 8px 10px;
	line-height:20px;
	text-decoration: none;
	-webkit-transition: all .25s;
	-moz-transition: all .25s;
	-ms-transition: all .25s;
	-o-transition: all .25s;
	transition: all .25s;
}

#navbar li a:hover {
	color:#FFDEAD;
}
#navbar .selflink {
	background-color: #FFDEAD;
	color:black;
	position:relative;
	display:inline-block;
	text-align: center;
	padding: 8px 10px;
	line-height:20px;
	border-bottom-left-radius:10px;
	border-bottom-right-radius:10px;
	box-shadow:0 1px 4px rgba(0, 0, 0, 0.3), 0 0 5px rgba(0, 0, 0, 0.2) inset;
	z-index:1;
}
#navbar li a:before {
	content: "";
	display: block;
	position: absolute;
	left: 0;
	bottom: 0;
	height: 4px;
	width: 0;
	background: #FFDEAD;
	-webkit-transition: width .25s;
	-moz-transition: width .25s;
	-ms-transition: width .25s;
	-o-transition: width .25s;
	transition: width .25s;
}
#navbar li a:hover:before {
	width:100%;
}
#navbar li a:after, #navbar .selflink:after{
	content: "";
	display: block;
	position: absolute;
	left: -2px;
	top: 17px;
	height: 4px;
	width: 4px;
	background: #ffffff;
	opacity: 0.5;
}
#navbar .selflink:after{
	width: 2px;
}
#navbar li:first-child *:after{
	opacity:0;
}
/* Items shop */
.shop_container {
    position: relative;
    background-image: url(https://wiki.the-west.fr/images/0/05/Shop_container.png);
    width: 149px;
    height: 176px;
    margin: 0px;
    text-align: center;
    display:inline-block;
}
.shop_container .shop_name {
    display: inline-block;
    width: 114px;
    color: white;
    text-shadow: 0.1em 0.1em 0.2em #000000;
    font-size: 12px;
    position: absolute;
    line-height: 1.1;
    left: 18px;
    top: 20px;
    font-size: 13px;
}
.shop_container .shop_item {
    top: 40px;
    left: 35px;
    position: absolute;
}
.shop_container .shop_price {
    background-image: url(https://wiki.the-west.fr/images/0/0b/Shop_price.png);
    width: 100%;
    height: 32px;
    position: absolute;
    top: 132px;
    line-height:32px;
    font-size:12px;
    font-weight:bold;
    color:white;
    text-shadow:0.1em 0.1em 0.2em #333333;
}
.shop_container .shop_border {
    width: 133px;
    height: 162px;
    position: absolute;
    left: 9px;
    top: 5px;
    background: url(https://wiki.the-west.fr/images/b/b1/Shop_frame.png) no-repeat;
}
.shop_container #vert {background-position: -133px 0;}
.shop_container #bleu {background-position: -266px 0;}
.shop_container #rouge {background-position: -399px 0;}
.shop_container #orange {background-position: -532px 0;}
.shop_container #marron {background-position: -665px 0;}
.shop_container #violet {background-position: -798px 0;}
.shop_container #cyan {background-position: -931px 0;}
.shop_container #gris {background-position: -1064px 0;}
/* Bannière nouveaux sets */
.new_set {
    width: 36px;
    height: 34px;
    position: absolute;
    top: 0px;
    right: 0px;
    background: url(https://wiki.the-west.fr/images/1/1a/New.png);
    pointer-events: none;
}
/* Test calendrier */
#calendar {
  border-image: url(https://westfrs.innogamescdn.com/images/tw2gui/table/table_border.png?3) 16 16 16 16 stretch;
  border-width: 16px;
  border-style: solid;
  width: 700px;
}
#calendar .week {
  position: relative;
}
#calendar .day {
  width:98px;
  height:100%;
  border:1px solid grey;
  display:inline-block;
  border-radius: 5px;
  position: relative;
  font-weight: bold;
}
#calendar .nb {
  position: absolute;
  top:0px;
  padding:5px;
  border-bottom:1px solid grey;
  border-bottom-right-radius: 5px;
  border-right: 1px solid grey;
}
#calendar .events {
  margin-top:30px;
  position: absolute;
  top:0px;
  width:100%;
}
#calendar .event {
  position: relative;
  margin-top:5px;
  height:10px;
  left:100px;
  border-radius:5px;
  box-shadow: 0px 1px 1px 0px black;
}
#calendar .today {color:red;}
/* Arrière plan noël */
.xmas {
	background-image: url(https://wiki.the-west.fr/images/5/58/Arri%C3%A8re-plan_No%C3%ABl.png) !important;
	background-repeat:no-repeat !important;
}
/* Nouvelles popup */
div.tw_bg_popup_tl,
div.tw_bg_popup_tr,
div.tw_bg_popup_bl,
div.tw_bg_popup_br {
    background-image: url(https://wiki.the-west.fr/images/5/59/Fond_objets.png);
    position: absolute;
    z-index: -1;
}
.tw_bg_popup_tl {
    background-position: left top;
    bottom: 50%;
    right: 50%;
    left: 0;
    top: 0;
}
.tw_bg_popup_tr {
    background-position: right top;
    width: 50%;
    bottom: 50%;
    right: 0;
    top: 0;
}
.tw_bg_popup_bl {
    background-position: left bottom;
    height: 50%;
    right: 50%;
    bottom: 0;
    left: 0;
}
.tw_bg_popup_br {
    background-position: right bottom;
    height: 50%;
    width: 50%;
    bottom: 0;
    right: 0;
}
div.popup_window {
    position: absolute;
    display: none;
    margin: 0px;
    min-width: 200px;
    white-space: nowrap;
    z-index:1000;
}
div.item_container {
    height: 79px;
    width: 79px;
    position: relative;
    background-image: url(https://wiki.the-west.fr/images/a/a9/Case_inventaire.png);
    background-repeat: no-repeat;
    display: inline-block;
}
div.item_container.wear {
    height: 93px;
    width: 94px;
    position: relative;
    background-image: url(https://wiki.the-west.fr/images/8/82/Item_box_wear.png);
    background-repeat: no-repeat;
    display: inline-block;
}
div.item_container.wear2 {
    height: 138px;
    width: 95px;
    position: relative;
    background-image: url(https://wiki.the-west.fr/images/5/54/Item_box_wear2.png);
    background-repeat: no-repeat;
    display: inline-block;
}
div.item_container.empty {
    background-image: none;
}
div.item_container > img {
    position: absolute;
    top: 3px;
    left: 3px;
}
div.item_border div.item_container > img,
div.item_container.wear > img,
div.item_container.wear2 > img {
    top: 0px !important;
    left: 0px !important;
}
div.item_container:hover div.popup_window {
    left: 120%;
    top: 10px;
    z-index: 10;
    display: block;
}
div.popup_contents {
    margin: 25px;
    font-family: Arial, Verdana, sans-serif;
    font-size: 12px;
}
div.popup_contents * {
    margin: 0;
}
div.popup_image {
    background-image: url(https://wiki.the-west.fr/images/a/a9/Case_inventaire.png);
    background-repeat: no-repeat;
    width: 79px;
    height: 79px;
    margin: auto;
}
.popup_divider {
    width:124px;
    height:6px;
    margin-top:4px !important;
    background-image: url(https://wiki.the-west.fr/images/d/d5/Barre_de_division.png);
    margin-left: auto !important;
    margin-right: auto !important;
    display: block;
}
div.popup_image img {
    padding-top: 3px;
    padding-left: 4px;
}
.popup_attribute {
    text-align: left;
    padding-left: 7px;
    font-size: 12px;
    color: #070;
    font-weight: bold;
}
.popup_skill {
    text-align: left;
    padding-left: 18px;
    font-size: 11px;
    color: #070;
}
.popup_type {
    font-style: italic;
    font-size: 8pt;
    text-align: center;
}
.popup_name {
    font-size: 13px;
    color: #070;
    font-weight: bold;
    text-align: center;
    padding-top: 4px;
}
.popup_infos {
    text-align: center;
}
.popup_id {
    color: blue;
}
.popup_set {
    color: #800080;
    font-weight: bold;
}
.popup_speed {
    color: #8b4513;
}
.popup_fb {
    color: #8b4513;
    font-weight: bold;
}
.popup_fb_stats {
    color: #8b4513;
    font-weight: bold;
}
.popup_dmg {
    font-weight: bold;
    text-align: center;
}
.popup_text {
    color: #007777;
    white-space: normal;
    max-width: 200px;
}
.popup_quest {
  color:#800000;
  text-align:center;
  font-style: italic;
}
.item_number {
    position: absolute;
    left: 5px;
    top: 5px;
    z-index: 10;
    font-size: 16pt;
    color: white;
    font-weight: bold;
    text-shadow: 2px 2px 2px #000;
}
.popup_bonus {
    color:#8b4513;
}
.popup_job {
    display:inline-block;
    border-radius: 3px;
    border: 1px solid #804000;
    padding-top: 3px;
    margin-top: 10px !important;
    margin-bottom: 10px !important;
}
.popup_job img {
    width:50px;
    height:50px;
}
.popup_crafteditem {
    display:inline-block;
    background: none;
    margin-top: 10px !important;
    margin-bottom: 10px !important;
}
.popup_crafteditem table {
    border-radius: 3px;
    border: 1px solid #804000;
    text-align: center;
}
.popup_txtgreen {
    color: green;
}
.popup_txtred {
    color: #900;
}
.item_level {
    position: absolute;
    display:block;
    top: 4px;
    left: 3px;
    height: 13px;
    line-height: 13px;
    background-color: rgba(0,0,0,0.4);
    text-align: center;
    font-size: 12px;
    padding: 1px 2px 0 2px;
    color: #ffffff;
    font-weight: normal;
    box-shadow: 1px 1px 3px #000000;
    border-radius: 0 0 2px 0;
    text-shadow: black -1px 0 1px, black 0 1px 1px, black 1px 0 1px, black 0 -1px 1px;
    white-space: nowrap;
    z-index: 1;
}
.icon_level {
    display: inline-block;
    width: 15px;
    height:12px;
    background:url(https://westfrs.innogamescdn.com/images/items/item_level.png);
    margin-right: 3px;
}
.level {
    vertical-align: top;
}
.upgrade {
    display: inline-block;
    width:12px;
    height: 12px;
    background: url(https://wiki.the-west.fr/images/c/ca/Upgrade_icons.png) 0px 12px;
    margin: 0px 3px 0 1px;
    cursor: pointer;
}
.upgrade:hover {
    background-position-y:0px;
}
.downgrade {
    display: inline-block;
    width:12px;
    height:12px;
    background: url(https://wiki.the-west.fr/images/c/ca/Upgrade_icons.png) 12px 12px;
    margin: 0px 3px 0 3px;
    cursor: pointer;
}
.downgrade:hover {
    background-position-y:0px;
}

.item_container[data-lvl="0"] .item_level {
	display:none;
}
.item_container:hover .item_level {
	display:block;
}
.item_container .upgrade, .item_container .downgrade {
	display:none;
}
.item_container:hover .upgrade, .item_container:hover .downgrade {
	display:inline-block;
}
#input_level,
#input_search {
    display: inline-block;
    background: url(https://westfrs.innogamescdn.com/images/tw2gui/textfield/textfield.png) top left no-repeat;
    height: 30px;
    width: 12px;
}
#input_search {
    position: absolute;
    right: 250px;
}
input.west {
    background: url(https://westfrs.innogamescdn.com/images/tw2gui/textfield/textfield.png) top right no-repeat;
    height: 30px;
    margin-left: 12px;
    padding: 0px 8px 0px 0px;
    border: 0;
    outline: none;
}