MediaWiki:Gadget-niceInfoboxes.css

Z Kitakija

Wersija z 14:37, 19 apryla 2009 wót wužywarja Tlustulimu (diskusija)
Źi na bok: Nawigacija, Pytaś

Pokazka: Jo móžno, až dejš wuprozniś cache wobglědowaka, aby změny wiźeł. Mozilla/Firefox/Safari: Źarź Umsch tłocony, mjaztym až kliknjoš Znowego abo tłoc pak Strg-F5 pak Strg-R (Command-R na Makintošu); Konqueror: Klikni na Aktualisieren abo tłoc F5; Opera: wuprozni cache w Extras -> Eisntellungen; Internet Explorer: źarź Strg tłocony, mjaztym až kliknjoš na Aktualisieren abo tłoc Strg-F5.

/* z górnoserbskeje wikipedije */
/* How slěduju formaty, kótarež maju infokašćiki porjeńšić  */
/* To funkcioněruja ako specialna funkcija (engelski Gadget) z pomocu CSS */
 
/* infobox */
.infobox .gorna-cera {
  height:45px;
  vertical-align:middle;
  text-align:center;
  font-size:150%; 
  font-weight:bolder;
  line-height:1.2em;
  color:#000
}
 
/* rozdźělne pśiměrjenja */
.infobox caption.gorna-cera {
   vertical-align:top;
   border:1px solid gray;
}
 
.infobox .gorna-cera.l1 {
   line-height:2.7em;
}
 
.infobox .gorna-cera.l3 {
   height:67px;
}
 
.infobox .gorna-cera.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 pšawe cele */
 
/* definujo śamnjejšu barwu za lěwu celu, kótaraž wšak jo tak mjenjowane prědne źěćo (engelski first child) infokašćika z klasoma .infobox a .taxobox */
.infobox td:first-child,
.infobox th:first-child {
  background-color:#eee;
}
 
/* wótstronjenje barwy z pomocnu klasy bzezbarwny, kótaraž se musy k HTML-elemenśe tr pśidawa. 
bźezbarwny njejo móžno how, dokulaž to njejo pó CSS-normje */
.infobox .bzezbarwny td,
.infobox .bzezbarwny th {
  background-color:transparent;
}
 
/* Za Infokašćiki - pó francojskej wikipediji "entete" */
/* Něnto teke funkcioněrujo, jolic slězynowe barwy se z pomocnu wosebitych klasow definěruju. */
.gorna-cera.neco {}
.gorna-cera.ziwadlowe-grase {
  background-image: url("http://upload.wikimedia.org/wikipedia/commons/3/37/Picto_infobox_masks.png");
  background-repeat: no-repeat;
  background-position: top right;
} /* forma "źiwadłowe-graśe" njejo móžna */
.gorna-cera.comicsy  {
  background-image: url("http://upload.wikimedia.org/wikipedia/commons/2/2c/Picto_infobox_comicballoon.png");
  background-repeat: no-repeat;
  background-position: top right;
} 
.gorna-cera.film,
.gorna-cera.kino  {
  background-image: url("http://upload.wikimedia.org/wikipedia/commons/e/ea/Picto_infobox_cinema.png");
  background-repeat:  no-repeat;
  background-position: top right;
}
.gorna-cera.komunikacija    {
  background-image: url("http://upload.wikimedia.org/wikipedia/commons/a/a2/Picto_infobox_antenna.png");
  background-repeat: no-repeat;
  background-position: top right;
}
.gorna-cera.korta  {
  background-image: url("http://upload.wikimedia.org/wikipedia/commons/7/7a/Picto_infobox_map.png");
  background-repeat: no-repeat;
  background-position: top right;
} /* forma "kórta" njejo móžna */
.gorna-cera.muzika {
  background-image: url("http://upload.wikimedia.org/wikipedia/commons/6/60/Picto_infobox_music.png");
  background-repeat: no-repeat;
  background-position: top right;
}
.gorna-cera.piwo {
  background-image: url("http://upload.wikimedia.org/wikipedia/commons/0/04/Picto_infobox_beer.png");
  background-repeat: no-repeat;
  background-position: top right;
}
.gorna-cera.spisowasel {
  background-image: url("http://upload.wikimedia.org/wikipedia/commons/1/1e/Picto_infobox_auteur.png");
  background-repeat: no-repeat;
  background-position: top right;
} /* forma "spisowaśel" njejo móžna */
.gorna-cera.sport   {
  background-image: url("http://upload.wikimedia.org/wikipedia/commons/8/8e/Picto_infobox_Olympic.png");
  background-repeat: no-repeat;
  background-position: top right;
}
.gorna-cera.wideowa-grase     {
  background-image: url("http://upload.wikimedia.org/wikipedia/commons/2/2d/Picto_infobox_gamepad.png");
  background-repeat: no-repeat;
  background-position: bottom right;
} /* forma "graśe" njejo móžna */
.gorna-cera.wosoba {
  background-image: url("http://upload.wikimedia.org/wikipedia/commons/8/82/Picto_infobox_manwoman.png");
  background-repeat: no-repeat;
  background-position: top right;
} /* forma "wósoba" njejo móžna */
 
/* Dodaśe wot Tlustulimu */
.gorna-cera.astronomija {
  background-image: url("http://upload.wikimedia.org/wikipedia/commons/7/71/Picto_infobox_astronomy.png");
  background-repeat: no-repeat;
  background-position: top right;
}
.gorna-cera.bamz,
.gorna-cera.vatikan {
  background-image: url("http://upload.wikimedia.org/wikipedia/commons/3/31/Picto_Emblem_of_the_Papacy.PNG");
  background-repeat: no-repeat;
  background-position: top right;
} /* forma "bamž" njejo móžna */
 
.gorna-cera.fyzika {
  background-image: url("http://upload.wikimedia.org/wikipedia/commons/d/d1/Picto_infobox_physics.png");
  background-repeat: no-repeat;
  background-position: top right;
}
.gorna-cera.gwezda {
  background-image: url("http://upload.wikimedia.org/wikipedia/commons/2/2e/Picto_infobox_star.png");
  background-repeat: no-repeat;
  background-position: top right;
} /* forma "gwězda" njejo móžna */
.gorna-cera.chemija {
  background-image: url("http://upload.wikimedia.org/wikipedia/commons/9/95/Picto_infobox_chemistry.png");
  background-repeat: no-repeat;
  background-position: top right;
}
 
/* Dalšne wobraze */
.gorna-cera.droga {
  background-image: url("http://upload.wikimedia.org/wikipedia/commons/5/57/Picto_infobox_motorway.png");
  background-repeat: no-repeat;
  background-position: top right;
}
.gorna-cera.balo,
.gornja-cera.kopanca,
.gorna-cera.kopancar {
  background-image: url("http://upload.wikimedia.org/wikipedia/commons/a/a8/Picto_infobox_football.png");
  background-repeat: no-repeat;
  background-position: top right;
} /* formje "kopańca" a "kopańcaŕ" njejstej móžnej */
 
.gorna-cera.most {
  background-image: url("http://upload.wikimedia.org/wikipedia/commons/8/87/Picto_infobox_bridge.png");
  background-repeat: no-repeat;
  background-position: top right;
} /* forma "móst" njejo móžna */
 
.gorna-cera.pomoc,
.gorna-cera.projekt {
  background-image: url("http://upload.wikimedia.org/wikipedia/commons/2/24/Picto_infobox_default.png");
  background-repeat: no-repeat;
  background-position: top right;
}
.gorna-cera.redy {
  background-image: url("http://upload.wikimedia.org/wikipedia/commons/c/cb/Picto_infobox_tools.png");
  background-repeat: no-repeat;
  background-position: top right;
} /* forma "rědy" njejo móžna */
 
.gorna-cera.wojarstwo {
  background-image: url("http://upload.wikimedia.org/wikipedia/commons/0/03/Picto_infobox_military.png");
  background-repeat: no-repeat;
  background-position: top right;
} /* forma "wójarstwo" njeje móžna */  
 
/* pśewidne slězynowe wobraze */
.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;}
 
/* kulowate rožki njejsu rědne pśi kašćiku z wobźěłanskich wótkazach */
.infobox td .toccolours,
.taxobox td .toccolours {
    -moz-border-radius:0 !important;
}
Wósobinske pomocne srědki