MediaWiki:Common.css

Från Wiki The-West SE
Version från den 21 december 2016 kl. 21.26 av Höken (diskussion | bidrag)
Hoppa till navigering

OBS: Efter du har publicerat sidan kan du behöva tömma din webbläsares cache för att se ändringarna.

  • Firefox / Safari: Håll ned Skift och klicka på Uppdatera sidan eller tryck Ctrl-F5 eller Ctrl-R (⌘-R på Mac)
  • Google Chrome: Tryck Ctrl-Skift-R (⌘-Skift-R på Mac)
  • Internet Explorer / Edge: Håll ned Ctrl och klicka på Uppdatera eller tryck Ctrl-F5
  • Opera: Tryck Ctrl-F5.
/* CSS som skrivs här påverkar alla skal */

span.htest {
	color:red;
}

/* Ändrar storleken på fönstret  mm*/

#wrapper {width: 1120px; } /* Förstorar wikin*/
#container {width: 860px;} /* Innehållsrullen större */
#contentTop {width: 860px; background-size: 100% 77px;}  /* området högst upp */
#p-search .pBody {width: 200px; background-size:200px 24px;}  /* Förstoringsglaset större */
#searchInput {width: 173px;}
#navigationTop {
  position: relative;
  background: url("https://wiki.the-west.se/images/1/16/MenuTopNew.png") no-repeat;
  width: 260px;
  height: 130px;
}
#navigationBottom {
  position: absolute;
  background: url("https://wiki.the-west.se/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-family:arial; color: #804000;} /* Font, rubriker i sidebar */
textarea {width: 793px;}

/* Slut storleksreglering */

/* Nedan reglerar utseendet av tabeller skapade med "class:wikitable"; till
att ha svart ram samt ingen bakgrundsfärg i tabellhuvudet eller i övrigt. */

table.wikitable {
margin: 1em 1em 1em 0;
/* background-color: #f9f9f9; */
border: 1px #000000 solid;
border-collapse: collapse;
color: black;
}
table.wikitable > tr > th,
table.wikitable > tr > td,
table.wikitable > * > tr > th,
table.wikitable > * > tr > td {
border: 1px #000000 solid;
padding: 0.2em;
}
table.wikitable > tr > th,
table.wikitable > * > tr > th {
/* background-color: #f2f2f2; */
text-align: center;
}
table.wikitable > caption {
font-weight: bold;
}
/* hide initially collapsed collapsable tables */
table.collapsed tr.collapsable {
display: none;

/* Slut wikitable reglering */


/* ****  Reglering av class infobule. wiki.the-west.fr **** */
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; 
}
div.bulleTxtIn{
  color:#404040;
  border: 2px inset;
  background:#FCF5EA;
  padding:2px 5px;
  margin:0 0 15px 0;
}
p.bulleTxtInD, p.bulleTxtInF{
  /*text-shadow: 1px 1px 1px #000;*/
  font-size: 14px;
  font-style: italic;
  font-weight: bold;
}
p.bulleTxtInD{color:#2472BA;}
p.bulleTxtInF{color:#C4143D;}


/* infbulR = affichage de la bulle à droite, infbulL = affichage à gauche */
.infbulR,.infbulL,.infbulRT,.infbulLT{
  position:relative;
  color:#000;
  text-decoration:none
}
 
.infbulR:hover,.infbulL:hover,.infbulRT:hover,.infbulLT:hover{
  background-color: transparent;
}
 
.infbulR > span,.infbulL > span,.infbulRT > span,.infbulLT > span{
  display: none;
}
 
.infbulR:hover > span,.infbulL:hover > span,.infbulRT:hover > span,.infbulLT:hover > span{
  display:block;
  z-index:25;
  position:absolute;
  width:1px;
  border:5px solid #f00;
  background-color:#00F;
  color:#000;
  text-align: justify;
  font-weight:none;
  padding:5px;
}
.infbulR:hover > span{top:-30px; left:90px;}
.infbulL:hover > span{top:-30px; left:-250px;}
.infbulRT:hover > span{top:-350px; left:90px;}
.infbulLT:hover > span{top:-350px; left:-220px;}

.shadow{
border:5px solid #f00;
  -moz-box-shadow: 4px 4px 10px #888;  
  -webkit-box-shadow: 4px 4px 10px #888;  
  box-shadow:4px 4px 6px #888;
}
p.txtattr{
  font-weight: bold;
  padding-left:12px;
  font-size:12px;
  color:#007700;
  line-height: 0.8;
  font-family: Arial;
  text-align:left;
}

p.txtapt{
  padding-left:20px;
  font-size:12px;
  font-size:10px;
  color:#007700;
  line-height: 0.8;
  font-family: Arial;
  text-align:left;
}
p.txtapt2{
  color:#007777;
  padding-left:10px;
  padding-right:10px;
  font-size:11px;
  line-height: 1;
  font-family: Arial;
  white-space:normal;
  text-align:initial;
}
div.set{
  border:0px solid #ff0000;
  padding: 5px 10px 0px 10px;
  text-align:center;
}

div.bdf{
  font-family: Arial
  border:0px solid #ff0000;
  padding: 5px 10px 0px 10px;
  text-align:justify;
}

p.txtspeed,p.txtid,p.txtbdf,p.txtbdfs,p.txtdeg,p.txtset,p.txtinfo1,p.txtame
{ font-size:11px;}
p.txtspeed,p.txtid,p.txtdeg,p.txtset,p.genreitem,p.txtinfo,p.txtinfo1,p.txtame,p.titreitem,p.txtquete
{ display: inline; }
p.txtspeed,p.txtdeg,p.txtset,p.txtinfo {font-weight: bold;}

p.txtspeed{color:#8B4513;}
p.txtid{color:#2A2D9C;}
p.txtbdf, p.txtbdfs{
  line-height: 0.8;
  padding-left:6px;
}

p.txtbdf{color:#8B4513;}
p.txtbdfs{color:#5F3719;}
p.txtdeg{color:#000000;}
p.txtset{color:#800080;}

p.titreitem{
  color:#000000;
  font-weight: bold;
  font-size:12px;
  padding-left:10px;
  padding-right:10px;
}
p.genreitem{
  color:#000000;
  font-size:10px;
}
p.txtinfo{
  color:#000000;
  font-size:14px;
  text-align:center;
}
p.txtinfo1{
  color:#000000;
  text-align:center;
}

p.txtame{
  color:#A00000;
  text-align:center;
  font-style: italic;
}
p.txtquete{
  color:#800000;
  font-size:12px;
  text-align:center;
  font-style: italic;
  white-space:normal;
}
.tblprod{
  width:100%;
  border:1px solid #804000; 
  font-size:12px;
  padding:0;
  margin:0;
}
.tblprodpt{
  font-weight: bold;
  font-size:18px;
  color:#8B6452;
}

.bgbulle{
  width:223px;
  background: url(http://wiki.the-west.fr/images/9/90/Bgbulmid.png) repeat-y;
}

div.prodnb{
  position:absolute; 
  left:5px; 
  top:5px;	
  z-index:10;
  font-size:16pt;
  color: white;
  font-weight: bold;
  text-shadow: 2px 2px 2px #000;
}

.bubulle{
  border:0px solid red;
  box-shadow: 0px 0px 4px #000;
  border-radius: 10px;
  background-color:#EBEBCF;
  padding:10px;
}

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

/* *** Slut infobule *** */