GW2Wiki:Proyectos/CSS/template infoboxes- common

De Guild Wars 2 Wiki
Ir a la navegaciónIr a la búsqueda
/** cajaINFO **/
div.caja{
 border-radius:6px 6px 6px 6px;
}

div.cajaInfo {
  float:right;
  position:relative;
  width:250px;
  background:#FFF;
  font-size:.923em;
  border:1px solid #AAA;
  margin:0 0 1em 1em;
  padding:0;
  background-image:linear-gradient(135deg, #fff 0%, #eee 100%);
}

div.cajaInfo .icono {
  float:right;
  position:relative;
  z-index:2;
  width:auto;
  margin:5px;
}

/* Sin borde ni color de fondo */
div.cajaInfo .icono-sin{
  float:right;
  z-index:2;
  margin-top: 4px;
  margin-right: 4px;
 /* border:1px solid #BBB; */
 /* background-color: #FFF; */
  padding:1px;
 /* box-shadow:0px 3px 5px #888; */
}

/* Missing icons */
div.cajaInfo .icono a.new {
  color:transparent;
  display:inline-block;
  font:0/0 a;
  overflow:hidden;
  vertical-align:middle;
  background-image:url(/images/thumb/4/4a/Habilidad.png/40px-Habilidad.png);
  height:40px;
  width:40px;
}
div.cajaInfo.habilidad .icono a.new {
  color:transparent;
  display:inline-block;
  font:0/0 a;
  overflow:hidden;
  vertical-align:middle;
  background-image:url(/images/thumb/4/4a/Habilidad.png/48px-Habilidad.png);
  height:48px;
  width:48px;
}

/* animation link beneath icon */
div.cajaInfo .icono p {
  text-align:center;
  color:#444;
  font-size:9px!important;
  background-color:rgba(255,255,255,0.5);
  border-radius:.75em;
  line-height:1em;
  margin:.25em -.5em;
  padding:2px;
}

div.cajaInfo .heading {
  font-family: EasonPro,"Times New Roman",serif !important;
  font-size: 1.417em !important;
  color: #FFF !important;
  text-shadow: rgb(0 0 0 / 75%) 0 0 0.25em;
  line-height: 1.176em;
  padding: 0.5em !important;
  font-weight:700;
  background-image:url(/images/c/cc/Infobox_header_overlay.png) !important;
  text-align:center;
  border:1px solid rgba(0,0,0,0.25);
  border-bottom-width:0;
  position:relative;
  z-index:1;
  margin:-1px -1px 5px!important;
  background-color: #444;
}

div.cajaInfo .statistics {
  text-align:center;
  margin:0 8px;
}

div.cajaInfo .image_wrapper {
  text-align:center;
  padding:0;
  margin:10px 0;
}

div.cajaInfo .statistics span + span { margin-left:5px; }

div.cajaInfo .wrapper {
  clear:both;
  padding:0;
}

div.cajaInfo dt {
  float:left;
  text-align:right;
  width:78px;
  line-height:1em;
  font-weight:700;
  clear:left;
  border-right:2px solid #999;
  border-radius:4px 4px 0px 0px; 
  margin:0 -2px 0 0;
  padding:2px 8px 2px 3px;
}

div.cajaInfo dd {
  float:left;
  width:125px;
  font-weight:400;
  border-left:2px solid #999;
  border-radius:4px 4px 0px 0px; 
  margin:0;
  padding:2px 7px;
}

div.cajaInfo::after,
div.cajaInfo .heading::after {
  content:"";
  position:absolute;
  width:100%;
  left:0;
  height:3px;
  background-image:url(/images/4/45/Shadow_after.png);
  background-size:100% 3px;
}

div.cajaInfo::after,
div.cajaInfo .heading::after { bottom:-3px; }


div.cajaInfo table { background-color:transparent; }

div.cajaInfo dt,
div.cajaInfo dd { line-height:1.667em; }

/* declare skill and trait infoboxes first because these colours are overwritten by professions */
div.cajaInfo.habilidad .heading
div.cajaInfo.rasgo .heading { background:#444; }
div.cajaInfo.habilidad dd,
div.cajaInfo.habilidad dt,
div.cajaInfo.rasgo dd,
div.cajaInfo.rasgo dt { border-color:#999; }

div.cajaInfo.habilidad .icono > div { border:2px solid #111; }

div.cajaInfo.guardián .heading { background-color:#066; }
div.cajaInfo.guardián dd,
div.cajaInfo.guardián dt { border-color:#066; }

div.cajaInfo.retornado .heading { background-color:#861313; }
div.cajaInfo.retornado dd,
div.cajaInfo.retornado dt { border-color:#861313; }

div.cajaInfo.guerrero .heading { background-color:#c60; }
div.cajaInfo.guerrero dd,
div.cajaInfo.guerrero dt { border-color:#c60; }

div.cajaInfo.ingeniero .heading { background-color:#630; }
div.cajaInfo.ingeniero dd,
div.cajaInfo.ingeniero dt { border-color:#630; }

div.cajaInfo.guardabosques .heading { background-color:#360; }
div.cajaInfo.guardabosques dd,
div.cajaInfo.guardabosques dt { border-color:#360; }

div.cajaInfo.ladrón .heading { background-color:#933; }
div.cajaInfo.ladrón dd,
div.cajaInfo.ladrón dt { border-color:#933; }

div.cajaInfo.elementalista .heading { background-color:#c00; }
div.cajaInfo.elementalista dd,
div.cajaInfo.elementalista dt { border-color:#c00; }

div.cajaInfo.hipnotizador .heading { background-color:#606; }
div.cajaInfo.hipnotizador dd,
div.cajaInfo.hipnotizador dt { border-color:#606; }

div.cajaInfo.nigromante .heading { background-color:#063; }
div.cajaInfo.nigromante dd,
div.cajaInfo.nigromante dt { border-color:#063; }

div.cajaInfo.asura .heading { background-color:#63c; }
div.cajaInfo.asura dd,
div.cajaInfo.asura dt { border-color:#63c; }

div.cajaInfo.charr .heading { background-color:#900; }
div.cajaInfo.charr dd,
div.cajaInfo.charr dt { border-color:#900; }

div.cajaInfo.humano .heading { background-color:#c90; }
div.cajaInfo.humano dd,
div.cajaInfo.humano dt { border-color:#c90; }

div.cajaInfo.norn .heading { background-color:#069; }
div.cajaInfo.norn dd,
div.cajaInfo.norn dt { border-color:#069; }

div.cajaInfo.sylvari .heading { background-color:#060; }
div.cajaInfo.sylvari dd,
div.cajaInfo.sylvari dt { border-color:#060; }

div.cajaInfo.bendición .heading { background-color:#399; }
div.cajaInfo.bendición dd,
div.cajaInfo.bendición dt { border-color:#399; }

div.cajaInfo.condición .heading { background-color:#363; }
div.cajaInfo.condición dd,
div.cajaInfo.condición dt { border-color:#363; }

div.cajaInfo.promo .heading { background-color:#6EA500; }
div.cajaInfo.promo dd,
div.cajaInfo.promo dt { border-color:#6EA500; }

div.cajaInfo.objeto .heading { background:#C30; }
div.cajaInfo.objeto dd,
div.cajaInfo.objeto dt { border-color:#C30; }

div.cajaInfo.diseño .heading { background:#C4003E; }
div.cajaInfo.diseño dd,
div.cajaInfo.diseño dt { border-color:#C4003E; }

div.cajaInfo.artesanía .heading { background:#533610; }
div.cajaInfo.artesanía dd,
div.cajaInfo.artesanía dt { border-color:#533610; }

div.cajaInfo.pnj .heading { background:#390; }
div.cajaInfo.pnj dd,
div.cajaInfo.pnj dt { border-color:#390; }

div.cajaInfo.mascota .heading { background:#360; }
div.cajaInfo.mascota dd,
div.cajaInfo.mascota dt { border-color:#360; }

div.cajaInfo.quest .heading { background:#F90; }
div.cajaInfo.quest dd,
div.cajaInfo.quest dt { border-color:#F90; }

div.cajaInfo.área .heading { background:#306; }
div.cajaInfo.área dd,
div.cajaInfo.área dt { border-color:#306; }

div.cajaInfo.rutarecompensas .heading { background:#001434; }
div.cajaInfo.rutarecompensas dd,
div.cajaInfo.rutarecompensas dt { border-color:#4c5a70; }

/* Cajas de receta */
div.receta-box {
  min-width:300px;
  display:inline-block;
  float:none;
  clear:none;
  vertical-align:top;
  font-size:1em;
  margin:0 1em 0 0;
  position:relative;
  background:#FFF;
  border:1px solid #AAA;
  padding:0;
  filter:progid:DXImageTransform.Microsoft.Gradient(GradientType=0,StartColorStr=#FFFFFFFF,EndColorStr=#FFEEEEEE);
  background-image:linear-gradient(top,#FFF 0%,#EEE 100%);
  background-image:-o-linear-gradient(top,#FFF 0%,#EEE 100%);
  background-image:-moz-linear-gradient(top,#FFF 0%,#EEE 100%);
  background-image:-webkit-linear-gradient(top,#FFF 0%,#EEE 100%);
  background-image:-ms-linear-gradient(top,#FFF 0%,#EEE 100%);
  background-image:-webkit-gradient(linear,left top,left bottom,color-stop(0,#FFF),color-stop(1,#EEE));
}

div.receta-box::after {
  /* from div.cajaInfo:after */
  bottom:-4px;
  content:"";
  position:absolute;
  width:100%;
  left:0;
  height:3px;
  background-image:url(/images/4/45/Shadow_after.png);
  background-size:100% 3px;
}

div.receta-box .subheading,
div.receta-box .heading {
  text-align:center;
  background-color:#D3C0A8;
  padding:2px;
  font-weight:bold;
  background-image:url(/images/c/cc/Infobox_header_overlay.png)!important;
  border:1px solid rgba(0,0,0,0.25);
  margin:-1px -1px 5px!important;
}

div.receta-box .subheading { border-width:0 1px; }

div.receta-box dl { margin:10px 0; }

div.receta-box dt {
  float:left;
  text-align:right;
  width:78px;
  line-height:1em;
  font-weight:700;
  clear:left;
  border-right:2px solid #A99A86;
  margin:0 -2px 0 0;
  padding:2px 8px 2px 3px;
  line-height:1.667em;
}

div.receta-box dd {
  float:left;
  border-left:2px solid #999;
  margin:0;
  padding:2px 7px;
}

.cajaInfo .clear, .receta-box .clear { height:5px; }