MediaWiki:Gadget-niceTaxoboxes.css
z Kitakija
(rozdźěl mjez wersijomaj)
(nowa strona: - →taxobox: .taxobox .hornja-linka { height:45px; vertical-align:middle; text-align:center; font-size:150%; font-weight:bolder; line-height:1.2em; color:#000 } /* rozd...) |
S (5 wersijow: Systemowe zdźělenki) |
||
| (Přirunanje wersijow zapřija 4 mjez nimaj ležace wersije.) | |||
| Rjadka 1: | Rjadka 1: | ||
| - | /* | + | /* Tu slěduja formaty, kotrež maja taksonkašćiki porjeńšić */ |
| + | /* To funguje jako specialna funkcija (jendźelsce Gadget) z pomocu CSS */ | ||
| + | |||
| + | /* infobox */ | ||
.taxobox .hornja-linka { | .taxobox .hornja-linka { | ||
height:45px; | height:45px; | ||
| Rjadka 26: | Rjadka 29: | ||
.taxobox .hornja-linka.lx { | .taxobox .hornja-linka.lx { | ||
height:auto; | height:auto; | ||
| + | } | ||
| + | |||
| + | |||
| + | /* specifiske formaty za lěwe (:first-child) a prawe cele */ | ||
| + | /* jenoz za taxobox, dokelž za infobox so hižo definuje w MediaWiki:Common.css */ | ||
| + | .taxobox td { | ||
| + | background-color:#f8f8f8; | ||
| + | } | ||
| + | |||
| + | /* 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 */ | ||
| + | .taxobox td:first-child, | ||
| + | .taxobox th:first-child { | ||
| + | background-color:#eee; | ||
| + | } | ||
| + | |||
| + | /* wotstronjenje barby z pomocnu klasy bjezbarbny, kotraž so dyrbi k HTML-elemenće tr přidawa. */ | ||
| + | .taxobox .bjezbarbny td, | ||
| + | .taxobox .bjezbarbny th { | ||
| + | background-color:transparent; | ||
} | } | ||
/* za taksoboksy */ | /* za taksoboksy */ | ||
| - | .hornja-linka.hrib {background: url("http://upload.wikimedia.org/wikipedia/commons/7/79/Picto_infobox_fungus.png") | + | .hornja-linka.bakterija { |
| - | .hornja-linka.rostlina {background: url("http://upload.wikimedia.org/wikipedia/commons/0/0b/Picto_infobox_plant.png") | + | background-image: url("http://upload.wikimedia.org/wikipedia/commons/5/51/Picto_infobox_bacterium.PNG"); |
| - | .hornja-linka.wirus {background: url("http://upload.wikimedia.org/wikipedia/commons/d/dc/Picto_infobox_virus.png") | + | background-repeat: no-repeat; |
| - | .hornja-linka.zwerjata {background: url("http://upload.wikimedia.org/wikipedia/commons/5/54/Picto_infobox_animal.png") | + | background-position: top right; |
| + | } | ||
| + | .hornja-linka.hrib { | ||
| + | background-image: url("http://upload.wikimedia.org/wikipedia/commons/7/79/Picto_infobox_fungus.png"); | ||
| + | background-repeat: no-repeat; | ||
| + | background-position: top right; | ||
| + | } | ||
| + | .hornja-linka.rostlina { | ||
| + | background-image: url("http://upload.wikimedia.org/wikipedia/commons/0/0b/Picto_infobox_plant.png"); | ||
| + | background-repeat: no-repeat; | ||
| + | background-position: top right; | ||
| + | } | ||
| + | .hornja-linka.wirus { | ||
| + | background-image: url("http://upload.wikimedia.org/wikipedia/commons/d/dc/Picto_infobox_virus.png"); | ||
| + | background-repeat: no-repeat; | ||
| + | background-position: top right; | ||
| + | } | ||
| + | .hornja-linka.zwerjata { | ||
| + | background-image: url("http://upload.wikimedia.org/wikipedia/commons/5/54/Picto_infobox_animal.png"); | ||
| + | background-repeat: no-repeat; | ||
| + | background-position: top right; | ||
| + | } | ||
/* kulojte róžki njejsu rjane při kašćiku z wobdźěłanskich wotkazach */ | /* kulojte róžki njejsu rjane při kašćiku z wobdźěłanskich wotkazach */ | ||
Aktualna wersija wot 17:59, 13. dec 2009
/* Tu slěduja formaty, kotrež maja taksonkašćiki porjeńšić */ /* To funguje jako specialna funkcija (jendźelsce Gadget) z pomocu CSS */ /* infobox */ .taxobox .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 */ .taxobox caption.hornja-linka { vertical-align:top; border:1px solid gray; } .taxobox .hornja-linka.l1 { line-height:2.7em; } .taxobox .hornja-linka.l3 { height:67px; } .taxobox .hornja-linka.lx { height:auto; } /* specifiske formaty za lěwe (:first-child) a prawe cele */ /* jenoz za taxobox, dokelž za infobox so hižo definuje w MediaWiki:Common.css */ .taxobox td { background-color:#f8f8f8; } /* 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 */ .taxobox td:first-child, .taxobox th:first-child { background-color:#eee; } /* wotstronjenje barby z pomocnu klasy bjezbarbny, kotraž so dyrbi k HTML-elemenće tr přidawa. */ .taxobox .bjezbarbny td, .taxobox .bjezbarbny th { background-color:transparent; } /* za taksoboksy */ .hornja-linka.bakterija { background-image: url("http://upload.wikimedia.org/wikipedia/commons/5/51/Picto_infobox_bacterium.PNG"); background-repeat: no-repeat; background-position: top right; } .hornja-linka.hrib { background-image: url("http://upload.wikimedia.org/wikipedia/commons/7/79/Picto_infobox_fungus.png"); background-repeat: no-repeat; background-position: top right; } .hornja-linka.rostlina { background-image: url("http://upload.wikimedia.org/wikipedia/commons/0/0b/Picto_infobox_plant.png"); background-repeat: no-repeat; background-position: top right; } .hornja-linka.wirus { background-image: url("http://upload.wikimedia.org/wikipedia/commons/d/dc/Picto_infobox_virus.png"); background-repeat: no-repeat; background-position: top right; } .hornja-linka.zwerjata { background-image: url("http://upload.wikimedia.org/wikipedia/commons/5/54/Picto_infobox_animal.png"); background-repeat: no-repeat; background-position: top right; } /* kulojte róžki njejsu rjane při kašćiku z wobdźěłanskich wotkazach */ .taxobox td .toccolours { -moz-border-radius:0 !important; }

