MediaWiki:Gadget-niceInfoboxes.css

z Kitakija

(rozdźěl mjez wersijomaj)
Dźi do: Nawigacija, Pytać
S (dodawk)
S (dodawk)
Rjadka 144: Rjadka 144:
   background-position: top right;
   background-position: top right;
} /* móst njeje móžny */
} /* móst njeje móžny */
 +
 +
.hornja-linka.nastroje {
 +
  background-image: url("http://upload.wikimedia.org/wikipedia/commons/c/cb/Picto_infobox_tools.png");
 +
  background-repeat: no-repeat;
 +
  background-position: top right;
 +
}
 +
.hornja-linka.pomoc,
.hornja-linka.pomoc,
.hornja-linka.projekt {
.hornja-linka.projekt {
Rjadka 150: Rjadka 157:
   background-position: top right;
   background-position: top right;
}
}
 +
 +
.hornja-linka.wojsko {
 +
  background-image: url("http://upload.wikimedia.org/wikipedia/commons/0/03/Picto_infobox_military.png");
 +
  background-repeat: no-repeat;
 +
  background-position: top right;
 +
} /* wójsko njeje móžne */ 
/* přewidne pozadkowe wobrazy */
/* přewidne pozadkowe wobrazy */

Wersija z 12:22, 9. apr 2009

/* Tu slěduja formaty, kotrež maja infokašćiki porjeńšić  */
/* To funguje jako specialna funkcija (jendźelsce Gadget) z pomocu CSS */
 
/* infobox */
.infobox .hornja-linka {
  height:45px;
  vertical-align:middle;
  text-align:center;
  font-size:150%; 
  font-weight:bolder;
  line-height:1.2em;
  color:#000
}
 
/* rozdźělne připodobnjenja */
.infobox caption.hornja-linka {
   vertical-align:top;
   border:1px solid gray;
}
 
.infobox .hornja-linka.l1 {
   line-height:2.7em;
}
 
.infobox .hornja-linka.l3 {
   height:67px;
}
 
.infobox .hornja-linka.lx {
   height:auto;
}
 
.infobox .media {
   height:35px;
   vertical-align:middle;
   text-align:center;
   font-weight:bolder;
   color:#000
}
 
/* specifiske formaty za lěwe (:first-child) a prawe cele */
 
/* definuje ćěmnišu barbu za lěwu celu, kotraž wšak je tak mjenowane prěnje dźěćo (jendźelsce first child) infokašćika z klasomaj .infobox a .taxobox */
.infobox td:first-child,
.infobox th:first-child {
  background-color:#eee;
}
 
/* wotstronjenje barby z pomocnu klasy bjezbarbny, kotraž so dyrbi k HTML-elemenće tr přidawa. */
.infobox .bjezbarbny td,
.infobox .bjezbarbny th {
  background-color:transparent;
}
 
/* Za Infokašćiki - po francoskej wikipediji "entete" */
/* Nětko tež funguje, jeli pozadkowe barby so z pomocnu wosebitych klasow definuja. */
.hornja-linka.nesto {}
.hornja-linka.cinohra {
  background-image: url("http://upload.wikimedia.org/wikipedia/commons/3/37/Picto_infobox_masks.png");
  background-repeat: no-repeat;
  background-position: top right;
} /* činohra njeje móžna */
.hornja-linka.comicsy  {
  background-image: url("http://upload.wikimedia.org/wikipedia/commons/2/2c/Picto_infobox_comicballoon.png");
  background-repeat: no-repeat;
  background-position: top right;
} 
.hornja-linka.film,
.hornja-linka.kino  {
  background-image: url("http://upload.wikimedia.org/wikipedia/commons/e/ea/Picto_infobox_cinema.png");
  background-repeat:  no-repeat;
  background-position: top right;
}
.hornja-linka.komunikacija    {
  background-image: url("http://upload.wikimedia.org/wikipedia/commons/a/a2/Picto_infobox_antenna.png");
  background-repeat: no-repeat;
  background-position: top right;
}
.hornja-linka.mapa  {
  background-image: url("http://upload.wikimedia.org/wikipedia/commons/7/7a/Picto_infobox_map.png");
  background-repeat: no-repeat;
  background-position: top right;
}
.hornja-linka.muzika {
  background-image: url("http://upload.wikimedia.org/wikipedia/commons/6/60/Picto_infobox_music.png");
  background-repeat: no-repeat;
  background-position: top right;
}
.hornja-linka.piwo {
  background-image: url("http://upload.wikimedia.org/wikipedia/commons/0/04/Picto_infobox_beer.png");
  background-repeat: no-repeat;
  background-position: top right;
}
.hornja-linka.spisowacel {
  background-image: url("http://upload.wikimedia.org/wikipedia/commons/1/1e/Picto_infobox_auteur.png");
  background-repeat: no-repeat;
  background-position: top right;
}
.hornja-linka.sport   {
  background-image: url("http://upload.wikimedia.org/wikipedia/commons/8/8e/Picto_infobox_Olympic.png");
  background-repeat: no-repeat;
  background-position: top right;
}
.hornja-linka.widejowa-hra     {
  background-image: url("http://upload.wikimedia.org/wikipedia/commons/2/2d/Picto_infobox_gamepad.png");
  background-repeat: no-repeat;
  background-position: bottom right;
}
.hornja-linka.wosoba {
  background-image: url("http://upload.wikimedia.org/wikipedia/commons/8/82/Picto_infobox_manwoman.png");
  background-repeat: no-repeat;
  background-position: top right;
}
 
/* Dodaće wot Tlustulimu */
.hornja-linka.astronomija {
  background-image: url("http://upload.wikimedia.org/wikipedia/commons/7/71/Picto_infobox_astronomy.png");
  background-repeat: no-repeat;
  background-position: top right;
}
.hornja-linka.droha {
  background-image: url("http://upload.wikimedia.org/wikipedia/commons/5/57/Picto_infobox_motorway.png");
  background-repeat: no-repeat;
  background-position: top right;
}
.hornja-linka.fyzika {
  background-image: url("http://upload.wikimedia.org/wikipedia/commons/d/d1/Picto_infobox_physics.png");
  background-repeat: no-repeat;
  background-position: top right;
}
.hornja-linka.hwezda {
  background-image: url("http://upload.wikimedia.org/wikipedia/commons/2/2e/Picto_infobox_star.png");
  background-repeat: no-repeat;
  background-position: top right;
} /* hwězda njeje móžna */
.hornja-linka.chemija {
  background-image: url("http://upload.wikimedia.org/wikipedia/commons/9/95/Picto_infobox_chemistry.png");
  background-repeat: no-repeat;
  background-position: top right;
}
.hornja-linka.most {
  background-image: url("http://upload.wikimedia.org/wikipedia/commons/8/87/Picto_infobox_bridge.png");
  background-repeat: no-repeat;
  background-position: top right;
} /* móst njeje móžny */
 
.hornja-linka.nastroje {
  background-image: url("http://upload.wikimedia.org/wikipedia/commons/c/cb/Picto_infobox_tools.png");
  background-repeat: no-repeat;
  background-position: top right;
}
 
.hornja-linka.pomoc,
.hornja-linka.projekt {
  background-image: url("http://upload.wikimedia.org/wikipedia/commons/2/24/Picto_infobox_default.png");
  background-repeat: no-repeat;
  background-position: top right;
}
 
.hornja-linka.wojsko {
  background-image: url("http://upload.wikimedia.org/wikipedia/commons/0/03/Picto_infobox_military.png");
  background-repeat: no-repeat;
  background-position: top right;
} /* wójsko njeje móžne */  
 
/* přewidne pozadkowe wobrazy */
.media.audio {background: url("http://upload.wikimedia.org/wikipedia/commons/thumb/a/a6/Gnome-speakernotes.png/35px-Gnome-speakernotes.png") no-repeat top left;} 
.media.video {background: url("http://upload.wikimedia.org/wikipedia/en/thumb/2/20/Tango-video-x-generic.png/35px-Tango-video-x-generic.png") no-repeat top left;}
 
/* kulojte róžki njejsu rjane při kašćiku z wobdźěłanskich wotkazach */
.infobox td .toccolours,
.taxobox td .toccolours {
    -moz-border-radius:0 !important;
}
Wosobinske nastroje