MediaWiki:Gadget-niceInfoboxes.css
z Kitakija
(rozdźěl mjez wersijomaj)
S (dodawk informacije) |
S (18 wersijow: Systemowe zdźělenki) |
||
(Přirunanje wersijow zapřija 13 mjez nimaj ležacych wersijow.) | |||
Rjadka 16: | Rjadka 16: | ||
.infobox caption.hornja-linka { | .infobox caption.hornja-linka { | ||
vertical-align:top; | vertical-align:top; | ||
+ | border:1px solid gray; | ||
} | } | ||
Rjadka 36: | Rjadka 37: | ||
font-weight:bolder; | font-weight:bolder; | ||
color:#000 | color:#000 | ||
+ | } | ||
+ | |||
+ | /* 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" */ | /* 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.nesto {} | ||
- | .hornja-linka.cinohra {background: url("http://upload.wikimedia.org/wikipedia/commons/3/37/Picto_infobox_masks.png") no-repeat top right;} | + | .hornja-linka.cinohra { |
- | .hornja-linka.comicsy {background: url("http://upload.wikimedia.org/wikipedia/commons/2/2c/Picto_infobox_comicballoon.png") no-repeat top right;} | + | background-image: url("http://upload.wikimedia.org/wikipedia/commons/3/37/Picto_infobox_masks.png"); |
+ | background-repeat: no-repeat; | ||
+ | background-position: top right; | ||
+ | } /* forma "č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.film, | ||
- | .hornja-linka.kino {background: url("http://upload.wikimedia.org/wikipedia/commons/e/ea/Picto_infobox_cinema.png") no-repeat top right;} | + | .hornja-linka.kino { |
- | .hornja-linka.komunikacija {background: url("http://upload.wikimedia.org/wikipedia/commons/a/a2/Picto_infobox_antenna.png") | + | background-image: url("http://upload.wikimedia.org/wikipedia/commons/e/ea/Picto_infobox_cinema.png"); |
- | .hornja-linka.mapa {background: url("http://upload.wikimedia.org/wikipedia/commons/7/7a/Picto_infobox_map.png") no-repeat top right;} | + | background-repeat: no-repeat; |
- | .hornja-linka.muzika {background: url("http://upload.wikimedia.org/wikipedia/commons/6/60/Picto_infobox_music.png") | + | background-position: top right; |
- | .hornja-linka.sport {background: url("http://upload.wikimedia.org/wikipedia/commons/8/8e/Picto_infobox_Olympic.png") | + | } |
- | .hornja-linka.widejowa-hra | + | .hornja-linka.komunikacija { |
- | .hornja-linka.wosoba {background: url("http://upload.wikimedia.org/wikipedia/commons/8/82/Picto_infobox_manwoman.png") no-repeat top right;} | + | 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; | ||
+ | } /* forma "spisowaćel" njeje móžna */ | ||
+ | .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.bamz, | ||
+ | .hornja-linka.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ž" njeje móžna */ | ||
+ | .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; | ||
+ | } /* forma "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; | ||
+ | } | ||
+ | |||
+ | /* Dalše wobrazy */ | ||
+ | .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.bul, | ||
+ | .hornja-linka.kopanca, | ||
+ | .hornja-linka.kopar { | ||
+ | background-image: url("http://upload.wikimedia.org/wikipedia/commons/a/a8/Picto_infobox_football.png"); | ||
+ | background-repeat: no-repeat; | ||
+ | background-position: top right; | ||
+ | } /* forma "kopańca" njeje móžna */ | ||
+ | .hornja-linka.kompjuter2, | ||
+ | .hornja-linka.informatika2 { | ||
+ | background-image: url("http://upload.wikimedia.org/wikipedia/commons/5/56/Picto_infobox_laptop.png"); | ||
+ | background-repeat: no-repeat; | ||
+ | background-position: top right; | ||
+ | } /* warianta bjez ličby 2 steji deleka */ | ||
+ | .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; | ||
+ | } /* forma "móst" njeje móžna */ | ||
+ | .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.utopija, | ||
+ | .hornja-linka.science-fiction { | ||
+ | background-image: url("http://upload.wikimedia.org/wikipedia/commons/e/ed/Picto_infobox_fliyingsaucer.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; | ||
+ | } /* forma "wójsko" njeje móžna */ | ||
+ | |||
+ | /* wobrazki po portugalskej wikipediji */ | ||
+ | .hornja-linka.astronawt, | ||
+ | .hornja-linka.kosmonawt { | ||
+ | background-image: url("http://upload.wikimedia.org/wikipedia/commons/0/0a/Picto_infobox_astronaut.png"); | ||
+ | background-repeat: no-repeat; | ||
+ | background-position: top right; | ||
+ | } | ||
+ | .hornja-linka.hra, | ||
+ | .hornja-linka.hrajka, | ||
+ | .hornja-linka.hrajki { | ||
+ | background-image: url("http://upload.wikimedia.org/wikipedia/commons/b/b8/Picto_info_toys_and_games.png"); | ||
+ | background-repeat: no-repeat; | ||
+ | background-position: top right; | ||
+ | } | ||
+ | .hornja-linka.kniha { | ||
+ | background-image: url("http://upload.wikimedia.org/wikipedia/commons/4/42/Picto_infobox_book.png"); | ||
+ | background-repeat: no-repeat; | ||
+ | background-position: top right; | ||
+ | } | ||
+ | .hornja-linka.kompjuter, | ||
+ | .hornja-linka.informatika, | ||
+ | .hornja-linka.licak { | ||
+ | background-image: url("http://upload.wikimedia.org/wikipedia/commons/d/d1/Picto_infobox_pc.png"); | ||
+ | background-repeat: no-repeat; | ||
+ | background-position: top right; | ||
+ | } /* forma "ličak" njeje móžna */ | ||
+ | .hornja-linka.nowina, | ||
+ | .hornja-linka.nowiny { | ||
+ | background-image: url("http://upload.wikimedia.org/wikipedia/commons/d/d6/Picto_infobox_newspaper.png"); | ||
+ | background-repeat: no-repeat; | ||
+ | background-position: top right; | ||
+ | } | ||
+ | .hornja-linka.plod, | ||
+ | .hornja-linka.sad { | ||
+ | background-image: url("http://upload.wikimedia.org/wikipedia/commons/6/66/Picto_info_grape.png"); | ||
+ | background-repeat: no-repeat; | ||
+ | background-position: top right; | ||
+ | } /* forma "płód" njeje móžna */ | ||
+ | .hornja-linka.TV, | ||
+ | .hornja-linka.telewizija { | ||
+ | background-image: url("http://upload.wikimedia.org/wikipedia/commons/4/44/Picto_infobox_TV-icon-novela.png"); | ||
+ | background-repeat: no-repeat; | ||
+ | background-position: top right; | ||
+ | } | ||
/* přewidne pozadkowe wobrazy */ | /* 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.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;} | .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 */ | /* 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 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 } /* 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; } /* forma "č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; } /* forma "spisowaćel" njeje móžna */ .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.bamz, .hornja-linka.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ž" njeje móžna */ .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; } /* forma "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; } /* Dalše wobrazy */ .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.bul, .hornja-linka.kopanca, .hornja-linka.kopar { background-image: url("http://upload.wikimedia.org/wikipedia/commons/a/a8/Picto_infobox_football.png"); background-repeat: no-repeat; background-position: top right; } /* forma "kopańca" njeje móžna */ .hornja-linka.kompjuter2, .hornja-linka.informatika2 { background-image: url("http://upload.wikimedia.org/wikipedia/commons/5/56/Picto_infobox_laptop.png"); background-repeat: no-repeat; background-position: top right; } /* warianta bjez ličby 2 steji deleka */ .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; } /* forma "móst" njeje móžna */ .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.utopija, .hornja-linka.science-fiction { background-image: url("http://upload.wikimedia.org/wikipedia/commons/e/ed/Picto_infobox_fliyingsaucer.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; } /* forma "wójsko" njeje móžna */ /* wobrazki po portugalskej wikipediji */ .hornja-linka.astronawt, .hornja-linka.kosmonawt { background-image: url("http://upload.wikimedia.org/wikipedia/commons/0/0a/Picto_infobox_astronaut.png"); background-repeat: no-repeat; background-position: top right; } .hornja-linka.hra, .hornja-linka.hrajka, .hornja-linka.hrajki { background-image: url("http://upload.wikimedia.org/wikipedia/commons/b/b8/Picto_info_toys_and_games.png"); background-repeat: no-repeat; background-position: top right; } .hornja-linka.kniha { background-image: url("http://upload.wikimedia.org/wikipedia/commons/4/42/Picto_infobox_book.png"); background-repeat: no-repeat; background-position: top right; } .hornja-linka.kompjuter, .hornja-linka.informatika, .hornja-linka.licak { background-image: url("http://upload.wikimedia.org/wikipedia/commons/d/d1/Picto_infobox_pc.png"); background-repeat: no-repeat; background-position: top right; } /* forma "ličak" njeje móžna */ .hornja-linka.nowina, .hornja-linka.nowiny { background-image: url("http://upload.wikimedia.org/wikipedia/commons/d/d6/Picto_infobox_newspaper.png"); background-repeat: no-repeat; background-position: top right; } .hornja-linka.plod, .hornja-linka.sad { background-image: url("http://upload.wikimedia.org/wikipedia/commons/6/66/Picto_info_grape.png"); background-repeat: no-repeat; background-position: top right; } /* forma "płód" njeje móžna */ .hornja-linka.TV, .hornja-linka.telewizija { background-image: url("http://upload.wikimedia.org/wikipedia/commons/4/44/Picto_infobox_TV-icon-novela.png"); background-repeat: no-repeat; background-position: top right; } /* 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; }