MediaWiki:Gadget-niceTaxoboxes.css
z Kitakija
(rozdźěl mjez wersijomaj)
S (dodawk po mojej wužiwarskej stronje) |
S (korektura po mojej stronje) |
||
Rjadka 2: | Rjadka 2: | ||
/* To funguje jako specialna funkcija (jendźelsce Gadget) z pomocu CSS */ | /* To funguje jako specialna funkcija (jendźelsce Gadget) z pomocu CSS */ | ||
- | /* | + | /* infobox */ |
.taxobox .hornja-linka { | .taxobox .hornja-linka { | ||
height:45px; | height:45px; | ||
Rjadka 29: | 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; | ||
} | } | ||
Rjadka 37: | Rjadka 56: | ||
background-position: top right; | background-position: top right; | ||
} | } | ||
- | .hornja-linka.hrib {background: url("http://upload.wikimedia.org/wikipedia/commons/7/79/Picto_infobox_fungus.png") | + | .hornja-linka.hrib { |
- | .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/7/79/Picto_infobox_fungus.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.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 | + | /* kulojte róžki njejsu rjane při kašćiku z wobdźěłanskich wotkazach */ |
.taxobox td .toccolours { | .taxobox td .toccolours { | ||
-moz-border-radius:0 !important; | -moz-border-radius:0 !important; | ||
} | } |
Wersija z 11:20, 25. jul 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; }