Wikibooks plwikibooks https://pl.wikibooks.org/wiki/Wikibooks:Strona_g%C5%82%C3%B3wna MediaWiki 1.39.0-wmf.21 first-letter Media Specjalna Dyskusja Wikipedysta Dyskusja wikipedysty Wikibooks Dyskusja Wikibooks Plik Dyskusja pliku MediaWiki Dyskusja MediaWiki Szablon Dyskusja szablonu Pomoc Dyskusja pomocy Kategoria Dyskusja kategorii Wikijunior Dyskusja Wikijuniora TimedText TimedText talk Moduł Dyskusja modułu Gadżet Dyskusja gadżetu Definicja gadżetu Dyskusja definicji gadżetu Szablon:StronaStart 10 19820 435272 435262 2022-07-20T18:19:04Z Persino 2851 wikitext text/x-wiki <includeonly><templatestyles src="Szablon:StronaStart/stronastart.css" /><templatestyles src="Szablon:TOC_limit/styles.css" />{{#if:{{{formatowanie|}}}|<templatestyles src="Szablon:StronaStart/styles.css" />{{#if:{{{boczne menu|}}}|{{#if:{{{spis treści|TOC}}}{{{wykaz modułów|WYKAZ}}}|<templatestyles src="Szablon:TOC/styles.css" />}}}}}}{{#ifeq:{{{boczne menu|}}}{{{spis treści|TOC}}}|||{{Mniejszy}}div class="strona_start" style="min-width:822px;width:auto;max-width:100%;height:auto;box-sizing:border-box;overflow:hidden"{{Większy}}{{Mniejszy}}div style="display:flex;flex-direction:column;"{{Większy}}{{#if:{{{podręcznik|tak}}}|{{Podręcznik|styl=order:1;}}}}{{Mniejszy}}div style="order:2;"{{Większy}} {{{nagłówek|}}}{{Mniejszy}}/div{{Większy}}{{Mniejszy}}div style="order:4;"{{Większy}} {{{stopka|}}}{{Mniejszy}}/div{{Większy}}{{Mniejszy}}div class="noprint" class="główna_strona tło" style="order:3;position:relative;top:0px;left:0px;display:flex;flex-direction:row;{{#if:{{{margines zewnętrzny|0}}}|margin:{{{margines zewnętrzny|0}}};}}"{{Większy}}{{#if:{{{boczne menu|}}}|__NOTOC__}}{{#if:{{{boczne menu|}}}{{{spis treści|TOC}}}{{{nagłówek prawy|}}}{{{stopka prawa|}}}| <div style="order:1;width:100%;" class="strona_lewa"><!-- --><div style="position:relative;height:100%;display:flex;flex-direction:column;box-sizing:border-box;z-index:1"><!-- -->{{#if:{{{nagłówek lewy|}}}|<!-- -->{{Tabela nawigacyjna | funkcja = PokazanaNiewikitabelowaListaMenu | styl = position:absolute;left:0;display:block; | styl tytułu = background-color:white; | tytuł = | bez dodatkowych sprawdzeń = tak | spis = {{Div|styl=position:absolute;left:0;|{{{nagłówek lewy}}}}} }}<!-- -->{{DivClear}}<!-- -->}}<!-- -->{{Div|styl=height:100%;box-sizing:border-box;}}<!-- -->{{#if:{{{stopka lewa|}}}|{{DivClear}}<!-- -->{{Tabela nawigacyjna | funkcja = PokazanaNiewikitabelowaListaMenu | styl = position:absolute;left:0;display:block; | styl tytułu = background-color:white; | tytuł = | bez dodatkowych sprawdzeń = tak | spis = {{Div|styl=position:absolute;left:0;|{{{stopka lewa}}}}} }}<!-- -->}}<!-- --> </div><!-- --></div><!-- --><div style="width:100%;order:3;" class="strona_prawa"><div class="mw-sticky-y toclimit {{#if:{{{limit|}}}|toclimit-{{{limit}}}}} {{#if:{{{formatowanie|}}}|fonty_rodzina_sans {{#if:{{{boczne menu|}}}|fonty_poboczna_kolumna|fonty_toc}}}} spis" style="display:flex;flex-direction:column;;z-index:2;position:absolute;right:0;top:52px;width:{{#if:{{{boczne menu|}}}|700px|auto}};max-width:700px;box-sizing:border-box;height:auto;{{#if:{{{boczne menu|}}}|border: solid #aaa 1px;}}overflow:visible;{{#if:{{{margines zewnętrzny poboczny|0}}}|margin:{{{margines zewnętrzny poboczny|0}}};}}{{#if:{{{czcionka {{#if:{{{boczne menu|}}}|bocznego menu|TOC}}|}}}|font:{{{czcionka {{#if:{{{boczne menu|}}}|bocznego menu|TOC}}|}}};}}{{#if:{{{czcionka {{#if:{{{boczne menu|}}}|bocznego menu|TOC}}|}}}||{{#if:{{{rozmiar czcionki {{#if:{{{boczne menu|}}}|bocznego menu|TOC}}|}}}|font-size:{{{rozmiar czcionki {{#if:{{{boczne menu|}}}|bocznego menu|TOC}}|}}};}}}}{{#if:{{{czcionka {{#if:{{{boczne menu|}}}|bocznego menu|TOC}}|}}}||{{#if:{{{wysokość linii czcionki {{#if:{{{boczne menu|}}}|bocznego menu|TOC}}|}}}|line-height:{{{wysokość linii czcionki {{#if:{{{boczne menu|}}}|bocznego menu|TOC}}|}}};}}}}{{#if:{{{czcionka {{#if:{{{boczne menu|}}}|bocznego menu|TOC}}|}}}||{{#if:{{{rodzina czcionki {{#if:{{{boczne menu|}}}|bocznego menu|TOC}}|}}}|font-family:{{{rodzina czcionki {{#if:{{{boczne menu|}}}|bocznego menu|TOC}}|}}};}}}}{{#if:{{{czcionka {{#if:{{{boczne menu|}}}|bocznego menu|TOC}}|}}}||{{#if:{{{wariant czcionki {{#if:{{{boczne menu|}}}|bocznego menu|TOC}}|}}}|font-variant:{{{wariant czcionki {{#if:{{{boczne menu|}}}|bocznego menu|TOC}}|}}};}}}}{{#if:{{{czcionka {{#if:{{{boczne menu|}}}|bocznego menu|TOC}}|}}}||{{#if:{{{rozciągnięcie czcionki {{#if:{{{boczne menu|}}}|bocznego menu|TOC}}|}}}|font-stretch:{{{rozciągnięcie czcionki {{#if:{{{boczne menu|}}}|bocznego menu|TOC}}|}}};}}}}{{#if:{{{czcionka {{#if:{{{boczne menu|}}}|bocznego menu|TOC}}|}}}||{{#if:{{{waga czcionki {{#if:{{{boczne menu|}}}|bocznego menu|TOC}}|}}}|font-weight:{{{waga czcionki {{#if:{{{boczne menu|}}}|bocznego menu|TOC}}|}}};}}}}{{#if:{{{czcionka {{#if:{{{boczne menu|}}}|bocznego menu|TOC}}|}}}||{{#if:{{{styl czcionki {{#if:{{{boczne menu|}}}|bocznego menu|TOC}}|}}}|font-style:{{{styl czcionki {{#if:{{{boczne menu|}}}|bocznego menu|TOC}}|}}};}}}};{{#if:{{{boczne menu|}}}|{{#if:{{{margines wewnętrzny poboczny|10px}}}|padding:{{{margines wewnętrzny poboczny|10px}}};}}}}background-color:{{#if:{{{boczne menu|}}}|white|transparent}}"><!-- -->{{#if:{{{boczne menu|}}}<!-- -->|{{#invoke:StronicowyParser|PierwszaStrona|{{{nazwa modułu|NAZWA MODUŁU}}}|{{{licencja|LICENCJA}}}|{{{wykaz modułów|WYKAZ}}}|{{{spis treści|TOC}}}|rozciągnij=tak|wysokość=calc( 100vh - 80px )|bez marginesu dolnego=tak}}<!-- -->|{{#switch:{{#invoke:Pudełko|Typ jednostki|obsługiwane jednostki użytkownika=tak|obsługiwane jednostki brudnopisu projektu=tak|obsługiwane strony jako niebrudnopisowe jednostki programowe=tak}}<!-- -->|podręcznik|podręcznik dla dzieci|podręcznik brudnopisu projektu|podręcznik użytkownika={{Jeśli niepuste|{{#invoke:StronicowyParser|WykazModolow|spis książkowy=tak|spis rzeczy=tak|nagłówki=tak|wysokość=calc( 100vh - 260px )}}|__NOTOC__{{TOC/silnik|funkcja=PokazanaNiewikitabelowaListaMenu|spis treści=Spis treści|spis artykułu=tak|limit={{{limit|}}}|bez dodatkowych sprawdzeń=tak|bez komunikatu błędu=tak|wysokość=calc( 100vh - 85px )}}|przed lewy={{Div start|styl=width:700px;background-color:white;display:flex;flex-direction:column;overflow:auto;}}{{StronaTytułowa|rozmiar=100%}}__NOTOC__|po lewy={{Div koniec}}}}<!-- -->|strona szablonu={{TOC/silnik|funkcja=PokazanaNiewikitabelowaListaMenu|spis treści=Spis treści|spis artykułu=tak|limit={{{limit|}}}|bez dodatkowych sprawdzeń=tak|bez komunikatu błędu=tak|wysokość=calc( 100vh - 85px )}}<!-- -->|#default=__NOTOC__{{TOC/silnik|funkcja=PokazanaNiewikitabelowaListaMenu|spis treści=Spis treści|spis artykułu=tak|limit={{{limit|}}}|bez dodatkowych sprawdzeń=tak|bez komunikatu błędu=tak|wysokość=calc( 100vh - 85px )}}<!-- -->}}<!-- -->}}<!-- --></div> <!-- --><div style="position:relative;height:auto;display:flex;flex-direction:column;position:relative;margin-top:360px;box-sizing:border-box;z-index:1;"><!-- -->{{#if:{{{nagłówek prawy|}}}|<!-- -->{{Tabela nawigacyjna | funkcja = PokazanaNiewikitabelowaListaMenu | styl = position:absolute;right:0;display:block; | styl tytułu = background-color:white; | tytuł = | bez dodatkowych sprawdzeń = tak | spis = {{Div|styl=position:absolute;right:0;|{{{nagłówek prawy}}}}} }}<!-- -->{{DivClear}}<!-- -->}}<!-- -->{{Div|styl=height:100%;box-sizing:border-box;}}<!-- -->{{#if:{{{stopka prawa|}}}|{{DivClear}}<!-- -->{{Tabela nawigacyjna | funkcja = PokazanaNiewikitabelowaListaMenu | styl = position:absolute;right:0;display:block; | styl tytułu = background-color:white; | tytuł = | bez dodatkowych sprawdzeń = tak | spis = {{Div|styl=position:absolute;right:0;|{{{stopka prawa}}}}} }}<!-- -->}}<!-- --> </div><!-- --></div>}}<!-- -->}}{{#if:{{{boczne menu|}}}{{{spis treści|TOC}}}|{{Mniejszy}}div style="order:2;display:flex;flex-direction:column;" class="strona_środkowa"{{Większy}}<!-- --><div style="order:1">{{{wstęp|}}}</div><!-- --><div style="order:3">{{{zakończenie|}}}</div><!-- -->}}{{Mniejszy}}div id="strona" {{#if:{{{formatowanie|}}}|class="strona mw-overflow-x print fonty_rodzina_sans fonty_główna_kolumna {{#if:{{{boczne menu|}}}{{{spis treści|TOC}}}||strona_start}}"|class="strona {{#if:{{{boczne menu|}}}{{{spis treści|TOC}}}||strona_start}}"}} style="{{#if:{{{boczne menu|}}}{{{spis treści|TOC}}}|order:2;}}display:flex;flex-direction:column;position:relative;left:0px;top:0px;min-width:{{{minimalna szerokość strony|{{{szerokość strony|822px}}}}}};max-width:{{{maksymalna szerokość strony|{{{szerokość strony|822px}}}}}};width:{{{szerokość strony|822px}}};height:{{{wysokość strony|100%}}};{{#if:{{{obramowanie|tak}}}|border: solid #aaa 1px;}}{{#if:{{{margines wewnętrzny|10px 10px 10px 10px}}}|padding:{{{margines wewnętrzny|10px 10px 10px 10px}}};}}{{#if:{{{margines zewnętrzny główny|0}}}|margin:{{{margines zewnętrzny główny|0}}};}}{{#ifeq:{{{boczne menu|}}}{{{spis treści|TOC}}}||{{#if:{{{margines zewnętrzny|5px 0 0 0}}}|margin:{{{margines zewnętrzny|5px 0 0 0}}};}}}}{{#if:{{{pasek przewijania|hidden}}}|overflow-x:{{{pasek przewijania|hidden}}};overflow-y:visible;}}{{#if:{{{margines wewnętrzny|10px 10px 10px 10px}}}{{{obramowanie|tak}}}|box-sizing:border-box;}}{{#if:{{{czcionka strony|}}}|font:{{{czcionka strony|}}};}}{{#if:{{{czcionka strony|}}}||{{#if:{{{rozmiar czcionki strony|}}}|font-size:{{{rozmiar czcionki strony|}}};}}}}{{#if:{{{czcionka strony|}}}||{{#if:{{{wysokość linii czcionki strony|}}}|line-height:{{{wysokość linii czcionki strony|}}};}}}}{{#if:{{{czcionka strony|}}}||{{#if:{{{rodzina czcionki strony|}}}|font-family:{{{rodzina czcionki strony|}}};}}}}{{#if:{{{czcionka strony|}}}||{{#if:{{{wariant czcionki strony|}}}|font-variant:{{{wariant czcionki strony|}}};}}}}{{#if:{{{czcionka strony|}}}||{{#if:{{{rozciągnięcie czcionki strony|}}}|font-stretch:{{{rozciągnięcie czcionki strony|}}};}}}}{{#if:{{{czcionka strony|}}}||{{#if:{{{waga czcionki strony|}}}|font-weight:{{{waga czcionki strony|}}};}}}}{{#if:{{{czcionka strony|}}}||{{#if:{{{styl czcionki strony|}}}|font-style:{{{styl czcionki strony|}}};}}}}background-color:white;"{{Większy}}<!-- -->{{Mniejszy}}div id="ciało_kontener" class="ciało_kontener" style="display:flex;flex-direction:column"{{Większy}}<!-- -->{{Mniejszy}}div style="order:1;flex:0 1 auto;max-width:100%;"{{Większy}}{{{nagłówek strony|}}}{{Mniejszy}}/div{{Większy}}<!-- -->{{Mniejszy}}div style="order:3;flex:0 1 auto;max-width:100%;"{{Większy}}{{{stopka strony|}}}{{Mniejszy}}/div{{Większy}}<!-- -->{{Mniejszy}}div id="ciało_strona" class="ciało_strona" style="order:2;flex:0 1 auto;max-width:100%;"{{Większy}}<!-- --></includeonly><noinclude>{{Dokumentacja}}</noinclude> sij3clqa3jahfns8w6ojh1b6kre0vux 435275 435272 2022-07-20T18:25:15Z Persino 2851 wikitext text/x-wiki <includeonly><templatestyles src="Szablon:StronaStart/stronastart.css" /><templatestyles src="Szablon:TOC_limit/styles.css" />{{#if:{{{formatowanie|}}}|<templatestyles src="Szablon:StronaStart/styles.css" />{{#if:{{{boczne menu|}}}|{{#if:{{{spis treści|TOC}}}{{{wykaz modułów|WYKAZ}}}|<templatestyles src="Szablon:TOC/styles.css" />}}}}}}{{#ifeq:{{{boczne menu|}}}{{{spis treści|TOC}}}|||{{Mniejszy}}div class="strona_start" style="min-width:822px;width:auto;max-width:100%;height:auto;box-sizing:border-box;overflow:hidden"{{Większy}}{{Mniejszy}}div style="display:flex;flex-direction:column;"{{Większy}}{{#if:{{{podręcznik|tak}}}|{{Podręcznik|styl=order:1;}}}}{{Mniejszy}}div style="order:2;"{{Większy}} {{{nagłówek|}}}{{Mniejszy}}/div{{Większy}}{{Mniejszy}}div style="order:4;"{{Większy}} {{{stopka|}}}{{Mniejszy}}/div{{Większy}}{{Mniejszy}}div class="noprint" class="główna_strona tło" style="order:3;position:relative;top:0px;left:0px;display:flex;flex-direction:row;{{#if:{{{margines zewnętrzny|0}}}|margin:{{{margines zewnętrzny|0}}};}}"{{Większy}}{{#if:{{{boczne menu|}}}|__NOTOC__}}{{#if:{{{boczne menu|}}}{{{spis treści|TOC}}}{{{nagłówek prawy|}}}{{{stopka prawa|}}}| <div style="order:1;width:100%;" class="strona_lewa"><!-- --><div style="position:relative;height:100%;display:flex;flex-direction:column;box-sizing:border-box;z-index:1"><!-- -->{{#if:{{{nagłówek lewy|}}}|<!-- -->{{Tabela nawigacyjna | funkcja = PokazanaNiewikitabelowaListaMenu | styl = position:absolute;left:0;display:block; | styl tytułu = background-color:white; | tytuł = | bez dodatkowych sprawdzeń = tak | spis = {{Div|styl=position:absolute;left:0;|{{{nagłówek lewy}}}}} }}<!-- -->{{DivClear}}<!-- -->}}<!-- -->{{Div|styl=height:100%;box-sizing:border-box;}}<!-- -->{{#if:{{{stopka lewa|}}}|{{DivClear}}<!-- -->{{Tabela nawigacyjna | funkcja = PokazanaNiewikitabelowaListaMenu | styl = position:absolute;left:0;display:block; | styl tytułu = background-color:white; | tytuł = | bez dodatkowych sprawdzeń = tak | spis = {{Div|styl=position:absolute;left:0;|{{{stopka lewa}}}}} }}<!-- -->}}<!-- --> </div><!-- --></div><!-- --><div style="width:100%;order:3;" class="strona_prawa"><div class="mw-sticky-y toclimit {{#if:{{{limit|}}}|toclimit-{{{limit}}}}} {{#if:{{{formatowanie|}}}|fonty_rodzina_sans {{#if:{{{boczne menu|}}}|fonty_poboczna_kolumna|fonty_toc}}}} spis" style="display:flex;flex-direction:column;;z-index:2;position:absolute;right:0;top:0;width:{{#if:{{{boczne menu|}}}|700px|auto}};max-width:700px;box-sizing:border-box;height:auto;{{#if:{{{boczne menu|}}}|border: solid #aaa 1px;}}overflow:visible;{{#if:{{{margines zewnętrzny poboczny|0}}}|margin:{{{margines zewnętrzny poboczny|0}}};}}{{#if:{{{czcionka {{#if:{{{boczne menu|}}}|bocznego menu|TOC}}|}}}|font:{{{czcionka {{#if:{{{boczne menu|}}}|bocznego menu|TOC}}|}}};}}{{#if:{{{czcionka {{#if:{{{boczne menu|}}}|bocznego menu|TOC}}|}}}||{{#if:{{{rozmiar czcionki {{#if:{{{boczne menu|}}}|bocznego menu|TOC}}|}}}|font-size:{{{rozmiar czcionki {{#if:{{{boczne menu|}}}|bocznego menu|TOC}}|}}};}}}}{{#if:{{{czcionka {{#if:{{{boczne menu|}}}|bocznego menu|TOC}}|}}}||{{#if:{{{wysokość linii czcionki {{#if:{{{boczne menu|}}}|bocznego menu|TOC}}|}}}|line-height:{{{wysokość linii czcionki {{#if:{{{boczne menu|}}}|bocznego menu|TOC}}|}}};}}}}{{#if:{{{czcionka {{#if:{{{boczne menu|}}}|bocznego menu|TOC}}|}}}||{{#if:{{{rodzina czcionki {{#if:{{{boczne menu|}}}|bocznego menu|TOC}}|}}}|font-family:{{{rodzina czcionki {{#if:{{{boczne menu|}}}|bocznego menu|TOC}}|}}};}}}}{{#if:{{{czcionka {{#if:{{{boczne menu|}}}|bocznego menu|TOC}}|}}}||{{#if:{{{wariant czcionki {{#if:{{{boczne menu|}}}|bocznego menu|TOC}}|}}}|font-variant:{{{wariant czcionki {{#if:{{{boczne menu|}}}|bocznego menu|TOC}}|}}};}}}}{{#if:{{{czcionka {{#if:{{{boczne menu|}}}|bocznego menu|TOC}}|}}}||{{#if:{{{rozciągnięcie czcionki {{#if:{{{boczne menu|}}}|bocznego menu|TOC}}|}}}|font-stretch:{{{rozciągnięcie czcionki {{#if:{{{boczne menu|}}}|bocznego menu|TOC}}|}}};}}}}{{#if:{{{czcionka {{#if:{{{boczne menu|}}}|bocznego menu|TOC}}|}}}||{{#if:{{{waga czcionki {{#if:{{{boczne menu|}}}|bocznego menu|TOC}}|}}}|font-weight:{{{waga czcionki {{#if:{{{boczne menu|}}}|bocznego menu|TOC}}|}}};}}}}{{#if:{{{czcionka {{#if:{{{boczne menu|}}}|bocznego menu|TOC}}|}}}||{{#if:{{{styl czcionki {{#if:{{{boczne menu|}}}|bocznego menu|TOC}}|}}}|font-style:{{{styl czcionki {{#if:{{{boczne menu|}}}|bocznego menu|TOC}}|}}};}}}};{{#if:{{{boczne menu|}}}|{{#if:{{{margines wewnętrzny poboczny|10px}}}|padding:{{{margines wewnętrzny poboczny|10px}}};}}}}background-color:{{#if:{{{boczne menu|}}}|white|transparent}}"><!-- -->{{#if:{{{boczne menu|}}}<!-- -->|{{#invoke:StronicowyParser|PierwszaStrona|{{{nazwa modułu|NAZWA MODUŁU}}}|{{{licencja|LICENCJA}}}|{{{wykaz modułów|WYKAZ}}}|{{{spis treści|TOC}}}|rozciągnij=tak|wysokość=calc( 100vh - 80px )|bez marginesu dolnego=tak}}<!-- -->|{{#switch:{{#invoke:Pudełko|Typ jednostki|obsługiwane jednostki użytkownika=tak|obsługiwane jednostki brudnopisu projektu=tak|obsługiwane strony jako niebrudnopisowe jednostki programowe=tak}}<!-- -->|podręcznik|podręcznik dla dzieci|podręcznik brudnopisu projektu|podręcznik użytkownika={{Jeśli niepuste|{{#invoke:StronicowyParser|WykazModolow|spis książkowy=tak|spis rzeczy=tak|nagłówki=tak|wysokość=calc( 100vh - 260px )}}|__NOTOC__{{TOC/silnik|funkcja=PokazanaNiewikitabelowaListaMenu|spis treści=Spis treści|spis artykułu=tak|limit={{{limit|}}}|bez dodatkowych sprawdzeń=tak|bez komunikatu błędu=tak|wysokość=calc( 100vh - 85px )}}|przed lewy={{Div start|styl=width:700px;background-color:white;display:flex;flex-direction:column;overflow:auto;}}{{StronaTytułowa|rozmiar=100%}}__NOTOC__|po lewy={{Div koniec}}}}<!-- -->|strona szablonu={{TOC/silnik|funkcja=PokazanaNiewikitabelowaListaMenu|spis treści=Spis treści|spis artykułu=tak|limit={{{limit|}}}|bez dodatkowych sprawdzeń=tak|bez komunikatu błędu=tak|wysokość=calc( 100vh - 85px )}}<!-- -->|#default=__NOTOC__{{TOC/silnik|funkcja=PokazanaNiewikitabelowaListaMenu|spis treści=Spis treści|spis artykułu=tak|limit={{{limit|}}}|bez dodatkowych sprawdzeń=tak|bez komunikatu błędu=tak|wysokość=calc( 100vh - 85px )}}<!-- -->}}<!-- -->}}<!-- --></div> <!-- --><div style="position:relative;height:auto;display:flex;flex-direction:column;position:relative;margin-top:360px;box-sizing:border-box;z-index:1;"><!-- -->{{#if:{{{nagłówek prawy|}}}|<!-- -->{{Tabela nawigacyjna | funkcja = PokazanaNiewikitabelowaListaMenu | styl = position:absolute;right:0;display:block; | styl tytułu = background-color:white; | tytuł = | bez dodatkowych sprawdzeń = tak | spis = {{Div|styl=position:absolute;right:0;|{{{nagłówek prawy}}}}} }}<!-- -->{{DivClear}}<!-- -->}}<!-- -->{{Div|styl=height:100%;box-sizing:border-box;}}<!-- -->{{#if:{{{stopka prawa|}}}|{{DivClear}}<!-- -->{{Tabela nawigacyjna | funkcja = PokazanaNiewikitabelowaListaMenu | styl = position:absolute;right:0;display:block; | styl tytułu = background-color:white; | tytuł = | bez dodatkowych sprawdzeń = tak | spis = {{Div|styl=position:absolute;right:0;|{{{stopka prawa}}}}} }}<!-- -->}}<!-- --> </div><!-- --></div>}}<!-- -->}}{{#if:{{{boczne menu|}}}{{{spis treści|TOC}}}|{{Mniejszy}}div style="order:2;display:flex;flex-direction:column;" class="strona_środkowa"{{Większy}}<!-- --><div style="order:1">{{{wstęp|}}}</div><!-- --><div style="order:3">{{{zakończenie|}}}</div><!-- -->}}{{Mniejszy}}div id="strona" {{#if:{{{formatowanie|}}}|class="strona mw-overflow-x print fonty_rodzina_sans fonty_główna_kolumna {{#if:{{{boczne menu|}}}{{{spis treści|TOC}}}||strona_start}}"|class="strona {{#if:{{{boczne menu|}}}{{{spis treści|TOC}}}||strona_start}}"}} style="{{#if:{{{boczne menu|}}}{{{spis treści|TOC}}}|order:2;}}display:flex;flex-direction:column;position:relative;left:0px;top:0px;min-width:{{{minimalna szerokość strony|{{{szerokość strony|822px}}}}}};max-width:{{{maksymalna szerokość strony|{{{szerokość strony|822px}}}}}};width:{{{szerokość strony|822px}}};height:{{{wysokość strony|100%}}};{{#if:{{{obramowanie|tak}}}|border: solid #aaa 1px;}}{{#if:{{{margines wewnętrzny|10px 10px 10px 10px}}}|padding:{{{margines wewnętrzny|10px 10px 10px 10px}}};}}{{#if:{{{margines zewnętrzny główny|0}}}|margin:{{{margines zewnętrzny główny|0}}};}}{{#ifeq:{{{boczne menu|}}}{{{spis treści|TOC}}}||{{#if:{{{margines zewnętrzny|5px 0 0 0}}}|margin:{{{margines zewnętrzny|5px 0 0 0}}};}}}}{{#if:{{{pasek przewijania|hidden}}}|overflow-x:{{{pasek przewijania|hidden}}};overflow-y:visible;}}{{#if:{{{margines wewnętrzny|10px 10px 10px 10px}}}{{{obramowanie|tak}}}|box-sizing:border-box;}}{{#if:{{{czcionka strony|}}}|font:{{{czcionka strony|}}};}}{{#if:{{{czcionka strony|}}}||{{#if:{{{rozmiar czcionki strony|}}}|font-size:{{{rozmiar czcionki strony|}}};}}}}{{#if:{{{czcionka strony|}}}||{{#if:{{{wysokość linii czcionki strony|}}}|line-height:{{{wysokość linii czcionki strony|}}};}}}}{{#if:{{{czcionka strony|}}}||{{#if:{{{rodzina czcionki strony|}}}|font-family:{{{rodzina czcionki strony|}}};}}}}{{#if:{{{czcionka strony|}}}||{{#if:{{{wariant czcionki strony|}}}|font-variant:{{{wariant czcionki strony|}}};}}}}{{#if:{{{czcionka strony|}}}||{{#if:{{{rozciągnięcie czcionki strony|}}}|font-stretch:{{{rozciągnięcie czcionki strony|}}};}}}}{{#if:{{{czcionka strony|}}}||{{#if:{{{waga czcionki strony|}}}|font-weight:{{{waga czcionki strony|}}};}}}}{{#if:{{{czcionka strony|}}}||{{#if:{{{styl czcionki strony|}}}|font-style:{{{styl czcionki strony|}}};}}}}background-color:white;"{{Większy}}<!-- -->{{Mniejszy}}div id="ciało_kontener" class="ciało_kontener" style="display:flex;flex-direction:column"{{Większy}}<!-- -->{{Mniejszy}}div style="order:1;flex:0 1 auto;max-width:100%;"{{Większy}}{{{nagłówek strony|}}}{{Mniejszy}}/div{{Większy}}<!-- -->{{Mniejszy}}div style="order:3;flex:0 1 auto;max-width:100%;"{{Większy}}{{{stopka strony|}}}{{Mniejszy}}/div{{Większy}}<!-- -->{{Mniejszy}}div id="ciało_strona" class="ciało_strona" style="order:2;flex:0 1 auto;max-width:100%;"{{Większy}}<!-- --></includeonly><noinclude>{{Dokumentacja}}</noinclude> ftl8ck4utj0nulpfhz9wdomyujqhav4 Wikipedysta:Persino/vector-2022.css 2 58229 435309 435061 2022-07-20T19:52:28Z Persino 2851 css text/css body.skin-vector-search-vue .mw-page-container{ max-width:100%; min-width:988px; padding-left:0; padding-right:0; border-left: 0; border-right: 0; box-sizing:border-box; display:table; width:100%; background-color:white; height:auto; } body.skin-vector-search-vue .mw-content-container{ max-width:100%; box-sizing:border-box; } body.skin-vector-search-vue .mw-logo-container{ margin-left: 10px; margin-right:0; } body.skin-vector-search-vue #p-lang-btn-label{ font-size:14px !important; line-height:1.2em !important; white-space:nowrap; } body.skin-vector-search-vue .mw-indicators{ font-size: calc( 14px * 0.875 ); line-height: 2.0em; white-space:nowrap; margin: auto 0 0 0; } body.skin-vector-search-vue.action-view.page-Wikibooks_Strona_główna #content{ display:grid; grid: 'aa aa aa' auto 'dd dd dd' auto 'bb bb bb' auto 'cc cc cc' auto '.. .. ff' auto 'ee ee ee' auto / minmax(auto,1fr) auto auto } body.skin-vector-search-vue.action-view.page-Wikibooks_Strona_główna #content > #top{ grid-area:aa; } body.skin-vector-search-vue.action-view.page-Wikibooks_Strona_główna #content > #siteNotice{ grid-area:bb; } body.skin-vector-search-vue.action-view.page-Wikibooks_Strona_główna #content > .vector-article-toolbar{ grid-area:dd; margin:0; } body.skin-vector-search-vue.action-view.page-Wikibooks_Strona_główna #content > .mw-body-header{ grid-area:cc; top:0; width:auto !important; height:auto !important; margin:0; margin-right:10px; box-sizing:border-box; border-bottom: 1px solid #a2a9b1; } body.skin-vector-search-vue.action-view.page-Wikibooks_Strona_główna #content > #p-lang-btn{ grid-area:ff; height:20px; width:auto; height:auto; margin-left:auto; top:0; margin: auto 5px 0 5px; padding-bottom:8px; box-sizing:border-box; } body.skin-vector-search-vue.action-view.page-Wikibooks_Strona_główna #content > #bodyContent{ grid-area:ee; } body.skin-vector-search-vue.action-view.page-Wikibooks_Strona_główna #content > .mw-body-header{ display:grid; grid: 'aa bb' auto / minmax(auto,1fr) auto; width:100%; min-height: 46px; box-sizing: border-box; position: relative; } body.skin-vector-search-vue.action-view.page-Wikibooks_Strona_główna #content > .mw-body-header > .firstHeading{ display:block !important; } body.skin-vector-search-vue.action-view.page-Wikibooks_Strona_główna #content > .mw-body-header > .firstHeading:not(:hover){ grid-area:aa; margin-bottom:2px; width:100%; max-width:fit-content; max-width:-moz-fit-content; margin-bottom: 0; margin-top: auto; border-bottom: none; padding-left: 3px; padding-right: 3px; border-bottom: 0; } body.skin-vector-search-vue.action-view.page-Wikibooks_Strona_główna #content > .mw-body-header > .mw-indicators{ grid-area: bb; width: auto; height: 1.6em; margin-bottom: 5px; margin-top: auto; margin-right: 5px; } body.skin-vector-search-vue.action-view:not(.page-Wikibooks_Strona_główna):not(.ns-special) #content > .mw-body-header > .firstHeading > .plainlinks, body.skin-vector-search-vue.action-view.ns-special #content > .mw-body-header > .firstHeading > .plainlinks body.skin-vector-search-vue:not(.action-view) #content > .mw-body-header > .firstHeading > .plainlinks{ padding-bottom:2px; } body.skin-vector-search-vue.action-view:not(.page-Wikibooks_Strona_główna):not(.ns-special) #content > .mw-body-header > #p-lang-btn{ grid-area:bb; right:0; margin:0; height:auto; width:auto; margin-top: auto; margin-bottom:0; padding: 0 3px; box-sizing:border-box; } body.skin-vector-search-vue.action-view:not(.page-Wikibooks_Strona_główna):not(.ns-special) #content > .mw-body-header, body.skin-vector-search-vue.action-view.ns-special #content > .mw-body-header, body.skin-vector-search-vue:not(.action-view) #content > .mw-body-header{ display:grid; grid:'aa bb' auto / minmax(auto,100%) auto; border-bottom:1px solid #a2a9b1; margin-top:auto; margin-bottom:0; min-height:46px; box-sizing:border-box; position:relative; } body.skin-vector-search-vue.action-view:not(.page-Wikibooks_Strona_główna):not(.ns-special) #content > .mw-body-header > .firstHeading:not(:hover), body.skin-vector-search-vue.action-view.ns-special #content > .mw-body-header > .firstHeading:not(:hover), body.skin-vector-search-vue:not(.action-view) #content > .mw-body-header > .firstHeading:not(:hover){ grid-area:aa; width:100%; max-width:fit-content; max-width:-moz-fit-content; margin-bottom:0; margin-top:auto; border-bottom:none; padding-left:3px; padding-right:3px; border-bottom:0; box-sizing:border-box; } body.skin-vector-search-vue.action-view.ns-special #content > .mw-body-header > .mw-indicators, body.skin-vector-search-vue:not(.action-view) #content > .mw-body-header > .mw-indicators{ grid-area:bb; right:0; margin:0; height:auto; width:100%; margin:auto 0 0 auto; padding: 0 10px; box-sizing:border-box; } body.skin-vector-search-vue.action-view.ns-special #content .mw-body-header > .mw-indicators > .mw-indicator, body.skin-vector-search-vue:not(.action-view) #content .mw-body-header > .mw-indicators > .mw-indicator{ padding: 2px 0 2px 0; margin: auto 0 0 0; } body.skin-vector-search-vue.action-view:not(.page-Wikibooks_Strona_główna):not(.ns-special) #content, body.skin-vector-search-vue.action-view.ns-special #content, body.skin-vector-search-vue:not(.action-view) #content{ display:grid; grid:'aa' auto 'cc' auto 'bb' auto 'dd' auto 'ee' auto / auto; width:100%; } body.skin-vector-search-vue.action-view:not(.page-Wikibooks_Strona_główna):not(.ns-special) #content > #top, body.skin-vector-search-vue.action-view.ns-special #content > #top, body.skin-vector-search-vue:not(.action-view) #content > #top{ grid-area:aa; } body.skin-vector-search-vue.action-view:not(.page-Wikibooks_Strona_główna):not(.ns-special) #content > #siteNotice, body.skin-vector-search-vue.action-view.ns-special #content > #siteNotice, body.skin-vector-search-vue:not(.action-view) #content > #siteNotice{ grid-area:bb; } body.skin-vector-search-vue.action-view:not(.page-Wikibooks_Strona_główna):not(.ns-special) #content > .vector-article-toolbar, body.skin-vector-search-vue.action-view.ns-special #content > .vector-article-toolbar, body.skin-vector-search-vue:not(.action-view) #content > .vector-article-toolbar{ grid-area:cc; } body.skin-vector-search-vue .mw-body-header::after{ display:none; } body.skin-vector-search-vue.action-view:not(.page-Wikibooks_Strona_główna):not(.ns-special) #content > .mw-body-header, body.skin-vector-search-vue.action-view.ns-special #content > .mw-body-header, body.skin-vector-search-vue:not(.action-view) #content > .mw-body-header{ grid-area:dd; margin:0; margin-right:10px; width:auto; padding-bottom:0; } body.skin-vector-search-vue .mw-body-subheader{ border-bottom:0; } /*body.skin-vector-search-vue #siteSub,*/ body.skin-vector-search-vue .firstHeading:not(:hover) > .plainlinks{ display:none; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; } body.skin-vector-search-vue .firstHeading:not(:hover){ display:block; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; border-bottom:0; } body.skin-vector-search-vue .firstHeading:hover{ display:block; border:1px solid #eaecf0; border-radius:10px; background-color:white; position:absolute; top:5px; left:-3px; width:auto; padding:5px; z-index:1 !important; } body.skin-vector-search-vue .mw-body-header > .firstHeading:hover > .plainlinks{ display:block; } body.skin-vector-search-vue.action-view:not(.page-Wikibooks_Strona_główna):not(.ns-special) #bodyContent > .mw-body-subheader{ margin: 2px 0 3px 0; min-height:1.6em; } body.skin-vector-search-vue.action-view.ns-special #bodyContent > .mw-body-subheader, body.skin-vector-search-vue:not(.action-view) #bodyContent > .mw-body-subheader{ margin: 0; } body.skin-vector-search-vue.action-view.page-Wikibooks_Strona_główna #bodyContent > .mw-body-subheader{ margin:0; margin-top: -2.0em; font-size: 1.2em; height: 2em; margin-bottom:5px; } body.skin-vector-search-vue.action-view.page-Wikibooks_Strona_główna #bodyContent > .mw-body-subheader > #siteSub{ display:table !important; width:auto; } body.skin-vector-search-vue.action-view:not(.page-Wikibooks_Strona_główna):not(.ns-special) #bodyContent > .mw-body-subheader> .mw-indicators{ margin-left:5px; margin-right:3px; display:block; } body.skin-vector-search-vue.action-view:not(.page-Wikibooks_Strona_główna):not(.ns-special) #bodyContent > .mw-body-subheader> #siteSub{ display:block; } body.skin-vector-search-vue .firstHeading, body.skin-vector-search-vue .firstHeading > .plainlinks{ max-width:100%; width:auto; } body.skin-vector-search-vue.action-view:not(.page-Wikibooks_Strona_główna):not(.ns-special) #content #bodyContent, body.skin-vector-search-vue.action-view.ns-special #content #bodyContent, body.skin-vector-search-vue:not(.action-view) #content #bodyContent{ grid-area:ee; } body.skin-vector-search-vue.skin-vector-disable-max-width .vector-layout-legacy #mw-sidebar-checkbox:checked ~ .mw-workspace-container #mw-navigation .mw-article-toolbar-container, body.skin-vector-search-vue.skin-vector-disable-max-width .vector-layout-legacy #mw-sidebar-checkbox:checked ~ .mw-workspace-container .mw-content-container, body.skin-vector-search-vue:not(.skin-vector-toc-experiment-control):not(.skin-vector-toc-experiment-unsampled) .vector-toc-visible .mw-workspace-container .mw-content-container, body.skin-vector-search-vue:not(.skin-vector-toc-experiment-control):not(.skin-vector-toc-experiment-unsampled) .vector-toc-visible .mw-workspace-container .mw-article-toolbar-container, body.skin-vector-search-vue.vector-toc-enabled .mw-checkbox-hack-checkbox:checked ~ .mw-workspace-container .mw-content-container, body.skin-vector-search-vue.vector-toc-enabled .mw-checkbox-hack-checkbox:checked ~ .mw-workspace-container .mw-article-toolbar-container, body.skin-vector-search-vue.skin-vector-disable-max-width .vector-toc-enabled .vector-layout-legacy #mw-sidebar-checkbox:checked ~ .mw-workspace-container .mw-content-container, body.skin-vector-search-vue:not(.skin-vector-toc-experiment-control):not(.skin-vector-toc-experiment-unsampled) .vector-layout-legacy .vector-toc-visible .mw-workspace-container .mw-content-container, body.skin-vector-search-vue:not(.skin-vector-toc-experiment-control):not(.skin-vector-toc-experiment-unsampled) .vector-layout-legacy .vector-toc-visible #mw-navigation .mw-article-toolbar-container, body.skin-vector-search-vue.vector-toc-enabled .vector-layout-legacy #mw-sidebar-checkbox:checked ~ .mw-workspace-container .mw-content-container, body.skin-vector-search-vue.vector-toc-enabled .vector-layout-legacy #mw-sidebar-checkbox:checked ~ .mw-workspace-container #mw-navigation .mw-article-toolbar-container{ margin-left:0; } body.skin-vector-search-vue .mw-workspace-container:not(.mw-footer-container){ display:grid; grid:'aa cc bb' auto / auto minmax(auto,1fr) auto; width:auto; box-sizing:border-box; } body.skin-vector-search-vue .mw-workspace-container:not(.mw-footer-container) > #mw-navigation{ grid-area:aa; width:100%; box-sizing:border-box; } body.skin-vector-search-vue .mw-workspace-container:not(.mw-footer-container) > .mw-table-of-contents-container.mw-sticky-header-element{ grid-area:bb; max-width:200px; display:block; box-sizing:border-box; margin-bottom:16px; z-index:1; } body.skin-vector-search-vue .mw-workspace-container:not(.mw-footer-container) > .mw-content-container{ grid-area:cc; box-sizing:border-box; } /**/ body.skin-vector-search-vue .mw-workspace-container .mw-content-container, body.skin-vector-search-vue .mw-workspace-container .mw-content-container #bodyContent, body.skin-vector-search-vue .mw-workspace-container .mw-content-container #content, body.skin-vector-search-vue .mw-workspace-container .mw-content-container .mw-body-header{ width:100%; box-sizing:border-box; } body.skin-vector-search-vue .mw-article-toolbar-container .mw-portlet-views { display: block; } body.skin-vector-search-vue .mw-article-toolbar-container .vector-more-collapsible-item { display: none; } body.skin-vector-search-vue .sidebar-toc{ left:auto; right:8px; } body.skin-vector-search-vue:not(.vector-below-page-title) .mw-checkbox-hack-checkbox:checked ~ .mw-workspace-container .sidebar-toc{ left:auto; right:8px; } body.skin-vector-search-vue.vector-toc-enabled .mw-checkbox-hack-checkbox:checked ~ .mw-workspace-container .sidebar-toc{ display: block; } body.skin-vector-search-vue.vector-toc-enabled .mw-checkbox-hack-checkbox:checked ~ .mw-workspace-container .sidebar-toc{ display: block; } body.skin-vector-search-vue .mw-checkbox-hack-checkbox:checked ~ .mw-workspace-container #mw-panel, body.skin-vector-search-vue #mw-sidebar-checkbox:checked ~ .mw-workspace-container #mw-panel{ left:-140px; top:-15px; position:absolute; width:140px; box-sizing:border-box; } body.skin-vector-search-vue.vector-toc-enabled .mw-sidebar{ margin-left:0; background-color: white; padding: 12px 0; margin-top:0; } .vector-animations-ready body.skin-vector-search-vue .mw-sidebar{ transition: none; transition-property: none; transition-duration: none; transition-timing-function: none; transition-delay: none; } body.skin-vector-search-vue.vector-toc-enabled #mw-sidebar-checkbox:not(:checked) ~ .mw-workspace-container .mw-sidebar{ display:block; } body.skin-vector-search-vue #mw-sidebar-checkbox:not(:checked) ~ .mw-workspace-container .mw-sidebar{ visibility: visible; opacity: 1; transform: none; } body.skin-vector-search-vue .mw-workspace-container #mw-panel{ left:-140px; top:-15px; position: absolute; float:left; box-sizing:border-box; } body.skin-vector-search-vue .ui-dialog{ font-size:75%; } body.skin-vector-search-vue .mw-body-content .error{ font-size:96%; } body.skin-vector-search-vue.action-purge .firstHeading{ padding-bottom:3px; } body.skin-vector-search-vue .firstHeading .plainlinks{ line-height:1.2em !important; } body.skin-vector-search-vue #mw-panel{ width:140px; box-sizing:border-box; } body.skin-vector-search-vue .mw-sidebar #p-navigation .vector-menu-heading{ display:block; } body.skin-vector-search-vue .mw-workspace-container{ margin-right:0; margin-left:140px; min-width:auto; max-width:100%; box-sizing:border-box; } body.skin-vector-search-vue .mw-checkbox-hack-checkbox:checked ~ .mw-workspace-container{ margin-left:140px; transition: margin-left 250ms ease-out; transition-property: margin-left; transition-duration: 250ms; transition-timing-function: ease-out; transition-delay: 0s; } body.skin-vector-search-vue .mw-checkbox-hack-checkbox:not(:checked) ~ .mw-workspace-container{ margin-left:0; transition: margin-left 250ms ease-out; transition-property: margin-left; transition-duration: 250ms; transition-timing-function: ease-out; transition-delay: 0s; } body.skin-vector-search-vue .mw-article-toolbar-container{ max-width:100%; box-sizing:border-box; position:relative; z-index:1; } body.skin-vector-search-vue .mw-footer-container{ padding-top:0; } body.skin-vector-search-vue .mw-content-container > .mw-body{ margin-left:0; margin-right:0; } body.skin-vector-search-vue .mw-article-toolbar-container > #left-navigation{ margin-left:0; margin-right:0; } body.skin-vector-search-vue .mw-content-container .mw-footer{ margin-left:8px; margin-right:0; padding: 0.75em 5px; } body.skin-vector-search-vue .mw-header { display:flex; flex-direction: row; margin: 8px 5px 0 5px; } body.skin-vector-search-vue .mw-workspace-container #mw-head{ min-width:832px; margin-right:5px; box-sizing:border-box; } body.skin-vector-search-vue .mw-logo-icon{ display:block; } body.skin-vector-search-vue .vector-user-links .vector-user-menu-more .vector-menu-content-list li.user-links-collapsible-item { display: block; } body.skin-vector-search-vue .vector-search-box-collapses > div{ display:block; } body.skin-vector-search-vue a.mw-ui-icon-wikimedia-search{ display:none; } body.skin-vector-search-vue .vector-sticky-header{ height:3.2em; padding: 6px 25px; display:flex; flex-direction:row; min-width:700px; margin-left:auto; margin-right:auto; width:90%; text-align:center; box-sizing:border-box; } @media screen and (max-width: 830px){ body.skin-vector-search-vue .vector-sticky-header{ display: none; } } .client-nojs body.skin-vector-search-vue .vector-sticky-header{ display:none !important; } body.skin-vector-search-vue .wvui-typeahead-suggestion{ padding-top:4px; padding-bottom:4px; text-align:left; } body.skin-vector-search-vue .vector-sticky-header.vector-header-search-toggled{ flex-basis: 460px; box-sizing:border-box; } body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--auto-expand-width:not(.wvui-typeahead-search--focused){ margin-left:10px; width:460px; box-sizing:border-box; } body.skin-vector-search-vue .wvui-typeahead-suggestion__thumbnail-placeholder, body.skin-vector-search-vue .wvui-typeahead-suggestion__thumbnail{ width: 36px; height: 36px; } body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail:not(.wvui-typeahead-search--auto-expand-width), body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--auto-expand-width.wvui-typeahead-search--focused{ margin-left:10px; width:460px; box-sizing:border-box; } body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail:not(.wvui-typeahead-search--auto-expand-width) .wvui-input__start-icon, body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--auto-expand-width.wvui-typeahead-search--focused .wvui-input__start-icon{ left:13px; width:37px; } body.skin-vector-search-vue .wvui-input, body.skin-vector-search-vue .vector-search-box, body.skin-vector-search-vue .wvui-typeahead-suggestion__title, body.skin-vector-search-vue .wvui-typeahead-search__wrapper, body.skin-vector-search-vue .vector-search-box-vue .vector-search-box-input, body.skin-vector-search-vue .wvui-input__input, body.skin-vector-search-vue .wvui-typeahead-search, body.skin-vector-search-vue .wvui-typeahead-search__form, body.skin-vector-search-vue #p-search #searchform #simpleSearch{ font-size:calc( 14px * 1.042 ); line-height:1.2em; height:30px; min-height:30px; box-sizing:border-box; } body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail:not(.wvui-typeahead-search--active) .wvui-input, body.skin-vector-search-vue .vector-search-box, body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail:not(.wvui-typeahead-search--active) .wvui-typeahead-suggestion__title, body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail:not(.wvui-typeahead-search--active) .wvui-typeahead-search__wrapper, body.skin-vector-search-vue .vector-search-box-vue .wvui-typeahead-search--show-thumbnail:not(.wvui-typeahead-search--active) .vector-search-box-input, body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail:not(.wvui-typeahead-search--active) .wvui-input__input, body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail:not(.wvui-typeahead-search--active) .wvui-typeahead-search, body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail:not(.wvui-typeahead-search--active) .wvui-typeahead-search__form, body.skin-vector-search-vue #p-search #searchform #simpleSearch{ width:460px; } body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--active .wvui-input, body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--active .wvui-typeahead-suggestion__title, body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--active .wvui-typeahead-search__wrapper, body.skin-vector-search-vue .vector-search-box-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--active .vector-search-box-input, body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--active .wvui-input__input, body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--active .wvui-typeahead-search, body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--active .wvui-typeahead-search__form{ width:calc( 460px - 64px); } body.skin-vector-search-vue .wvui-button{ font-size:calc( 14px * 1.042 ); line-height:1.2em; height:30px; min-height:30px; width:64px; border-left:0; box-sizing:border-box; } body.skin-vector-search-vue .mw-header #p-search #searchform #simpleSearch{ margin-left:10px; width:460px; box-sizing:border-box; } body.skin-vector-search-vue .wvui-typeahead-search__wrapper{ margin-right:0; } body.skin-vector-search-vue .wvui-typeahead-suggestion__title{ display: table-cell; vertical-align: middle; } .client-js body.skin-vector-search-vue .vector-search-box-show-thumbnail.vector-search-box-auto-expand-width .vector-search-box-input, .client-js .vector-search-box-vue .vector-search-box-show-thumbnail.vector-search-box-auto-expand-width .vector-search-box-input{ margin-left:0; box-sizing:border-box; width:460px; } .client-js body.skin-vector-search-vue .vector-search-box-show-thumbnail.vector-search-box-auto-expand-width .searchButton, .client-js .vector-search-box-vue .vector-search-box-show-thumbnail.vector-search-box-auto-expand-width .searchButton{ left:0; } body.skin-vector-search-vue .mw-header .vector-search-box.vector-search-box-auto-expand-width{ margin-left:10px; } body.skin-vector-search-vue .mw-header .vector-search-box.vector-search-box-auto-expand-width > div{ width:460px; box-sizing:border-box; } body.skin-vector-search-vue .vector-search-box-vue .searchButton{ background-size: 20px auto; } .client-js body.skin-vector-search-vue .vector-search-box-input, .client-js .vector-search-box-vue .vector-search-box-input{ padding-left:36px; padding-right:8px; } body.skin-vector-search-vue .wvui-input--has-start-icon .wvui-input__input{ padding-left:36px; padding-right:8px; } body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--auto-expand-width:not(.wvui-typeahead-search--focused) .wvui-input__input { border-right-color: #a2a9b1; width:460px; box-sizing:border-box; } body.skin-vector-search-vue .wvui-typeahead-search .wvui-input__input{ border-right-color: #a2a9b1; } body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--auto-expand-width:not(.wvui-typeahead-search--focused):not(.wvui-typeahead-search--active) .wvui-input__input { width: 460px; } body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--auto-expand-width:not(.wvui-typeahead-search--focused).wvui-typeahead-search--active .wvui-input__input { width:calc( 460px - 64px ); } body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail:not(.wvui-typeahead-search--auto-expand-width) .wvui-input__input, body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--auto-expand-width.wvui-typeahead-search--focused .wvui-input__input{ position:relative; padding-left: 62px; box-sizing:border-box; } body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail:not(.wvui-typeahead-search--auto-expand-width).wvui-typeahead-search--active .wvui-input__input, body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--auto-expand-width.wvui-typeahead-search--focused.wvui-typeahead-search--active .wvui-input__input{ width:calc( 460px - 64px ); } body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail:not(.wvui-typeahead-search--auto-expand-width):not(.wvui-typeahead-search--active) .wvui-input__input, body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--auto-expand-width.wvui-typeahead-search--focused:not(.wvui-typeahead-search--active) .wvui-input__input{ width:460px; } body.skin-vector-search-vue .wvui-typeahead-search--expanded .wvui-typeahead-search__suggestions{ width:calc( 460px - 64px ); top:30px; box-sizing:border-box; } body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--active .wvui-typeahead-search--expanded .wvui-typeahead-search__suggestions{ width:calc( 460px - 64px ); } body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail:not(.wvui-typeahead-search--active) .wvui-typeahead-search--expanded .wvui-typeahead-search__suggestions{ width:460px; } body.skin-vector-search-vue .mw-header .vector-search-box.vector-search-box-auto-expand-width > div{ max-width:460px; } body.skin-vector-search-vue .mw-logo{ min-width:144px; } body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--auto-expand-width:not(.wvui-typeahead-search--focused):not(.wvui-typeahead-search--active).wvui-typeahead-search--active .wvui-button{ display:block; width:64px; z-index:1; } body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail:not(.wvui-typeahead-search--auto-expand-width).wvui-typeahead-search--active .wvui-button, body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--auto-expand-width.wvui-typeahead-search--focused.wvui-typeahead-search--active .wvui-button{ display:block; width:64px; z-index:1; } body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail:not(.wvui-typeahead-search--active) .wvui-button{ display:none; } body.skin-vector-search-vue .wvui-button{ padding-left:0; padding-right:0; } body.skin-vector-search-vue .mw-ui-icon,.mw-ui-icon-before::before{ font-size:14px; } body.skin-vector-search-vue .mw-sidebar-action{ display:none; } body.skin-vector-search-vue, body.skin-vector-search-vue .mw-editsection{ font-family: Arial, Helvetica, "Free Helvetian", FreeSans, sans-serif; font-stretch:normal; font-variant:normal; font-style:normal; font-weight:normal; font-size-adjust:none; letter-spacing:normal; word-spacing:normal; text-align:left; word-wrap:break-word; hyphens:auto; } body.skin-vector-search-vue{ font-size:calc( 14px * 1.042 ); line-height:1.2em; background-color:#ffffff; } body.skin-vector-search-vue .mw-editsection{ font-size:12px; line-height:1.2em; } body.skin-vector-search-vue.action-view:not(.page-Wikibooks_Strona_główna):not(.ns-special) #contentSub, body.skin-vector-search-vue.action-view:not(.page-Wikibooks_Strona_główna):not(.ns-special) #contentSub ~ #contentSub2{ margin:0; } body.skin-vector-search-vue.action-view.ns-special #contentSub:empty, body.skin-vector-search-vue.action-view.ns-special #contentSub:not(:empty), body.skin-vector-search-vue.action-view.ns-special #contentSub:not(:empty) ~ #contentSub2, body.skin-vector-search-vue.action-view.ns-special #contentSub:empty ~ #contentSub2:not(:empty){ margin:2px 0 3px 0; } body.skin-vector-search-vue.action-view.ns-special #contentSub:empty ~ #contentSub2:empty{ margin:10px 0; } body.skin-vector-search-vue:not(.action-view) #contentSub:empty{ margin:2px 0 3px 0; } body.skin-vector-search-vue:not(.action-view) #contentSub:empty ~ #contentSub2:empty{ margin:10px 0; } body.skin-vector-search-vue:not(.action-view) #contentSub:not(:empty), body.skin-vector-search-vue:not(.action-view) #contentSub:not(:empty) ~ #contentSub2{ margin: 2px 0 2px 0; } body.skin-vector-search-vue:not(.action-view) #contentSub:empty ~ #contentSub2:not(:empty){ margin: 2px 0 3px 0; } body.skin-vector-search-vue.action-view.page-Wikibooks_Strona_główna #contentSub, body.skin-vector-search-vue.action-view.page-Wikibooks_Strona_główna #contentSub2{ margin:0; } body.skin-vector-search-vue.action-edit #contentSub:not(:empty) ~ #mw-content-text > form#editform{ margin-top:0; } body.skin-vector-search-vue.action-view #pwContent, body.skin-vector-search-vue:not(.action-view) #pwContent, body.skin-vector-search-vue.action-view .subpages, body.skin-vector-search-vue:not(.action-view) .subpages{ margin:0; font-size:12px; line-height:1.2em; margin-bottom:6px; } body.skin-vector-search-vue.action-view:not(.page-Wikibooks_Strona_główna) .warningbox, body.skin-vector-search-vue:not(.action-view) .warningbox{ margin:10px 0; } body.skin-vector-search-vue #mw-previewheader{ margin-top:14px; margin-bottom:10px; } body.skin-vector-search-vue .mw-userconfigpublic{ margin-top:8px; } body.skin-vector-search-vue .mw-contributions-user-tools{ margin-bottom:6px; } body.skin-vector-search-vue:not(.action-view) .mw-body, body.skin-vector-search-vue.action-view.ns-special .mw-body{ padding: 8px 0 10px 8px; position:relative; z-index:0; } body.skin-vector-search-vue.action-view.page-Wikibooks_Strona_główna .mw-body, body.skin-vector-search-vue.action-view:not(.ns-special):not(.page-Wikibooks_Strona_główna) .mw-body{ padding: 4px 0 10px 8px; position:relative; z-index:0; } body.skin-vector-search-vue #centralNotice:not(:empty){ margin:10px 8px 8px 8px; } body.skin-vector-search-vue .mw-content-container{ min-width:848px; } body.skin-vector-search-vue #content{ margin-left:0px; min-width:848px; box-sizing:border-box; } body.skin-vector-search-vue #mw-content-text{ clear:both; } body.skin-vector-search-vue #bodyContent{ box-sizing:border-box; min-width:832px; height:auto; clear:both; padding: 0 13px 0 5px; } body.skin-vector-search-vue .mw-table-of-contents-container.sidebar_obecny ~ .mw-content-container #bodyContent{ padding: 0 5px; } body.skin-vector-search-vue .mw-table-of-contents-container.sidebar_obecny ~ .mw-content-container .mw-body-header{ margin-right:3px !important; } body.skin-vector-search-vue.action-view #bodyContent #mw-content-text .mw-container-parser-output, body.skin-vector-search-vue:not(.action-view) #bodyContent #mw-content-text .mw-container-parser-output{ overflow:auto; overflow-x:auto; overflow-y:visible; min-width:822px; box-sizing:border-box; margin-bottom:5px; display:block; height:auto; position:relative; } body.skin-vector-search-vue.action-view #bodyContent #mw-content-text .mw-container-parser-output.has-mw-parser-output-whitespace, body.skin-vector-search-vue:not(.action-view) #bodyContent #mw-content-text .mw-container-parser-output.has-mw-parser-output-whitespace{ margin-bottom:0 !important; } body.skin-vector-search-vue.action-view #bodyContent #mw-content-text .mw-container-parser-output.mw-scrollbar-overflow-x, body.skin-vector-search-vue:not(.action-view) #bodyContent #mw-content-text #wikiPreview .mw-content-ltr .mw-container-parser-output.mw-scrollbar-overflow-x{ padding-bottom:5px; } body.skin-vector-search-vue.action-view #bodyContent #mw-content-text .mw-container-parser-output:not(.mw-scrollbar-overflow-x), body.skin-vector-search-vue:not(.action-view) #bodyContent #mw-content-text #wikiPreview .mw-content-ltr .mw-container-parser-output:not(.mw-scrollbar-overflow-x){ padding-bottom:0; } body.skin-vector-search-vue.action-view #bodyContent #mw-content-text .mw-container-parser-output.mw-scrollbar-overflow-y, body.skin-vector-search-vue:not(.action-view) #bodyContent #mw-content-text #wikiPreview .mw-content-ltr .mw-container-parser-output.mw-scrollbar-overflow-y{ padding-right:5px; } body.skin-vector-search-vue.action-view #bodyContent #mw-content-text:not(.mw-scrollbar-overflow-y), body.skin-vector-search-vue:not(.action-view) #bodyContent #mw-content-text #wikiPreview .mw-content-ltr:not(.mw-scrollbar-overflow-y){ padding-right:0; } body.skin-vector-search-vue.ns-10 #mw-content-text .mw-parser-output > :not(style):not(link):not(#documentation-meta-data):not(.template-documentation) ~ *:first-of-type, body.skin-vector-search-vue.ns-828 #mw-content-text .mw-parser-output > :not(style):not(link):not(#documentation-meta-data):not(.template-documentation) ~ *:first-of-type{ margin-top:5px !important; } body.skin-vector-search-vue #mw-content-text .mw-parser-output > :not(style):not(link):not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(p):first-child{ margin-top:0 !important; } body.skin-vector-search-vue #mw-content-text .mw-parser-output > :not(style):not(link) ~ :not(style):not(link):not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(p):not(.div-linia):first-of-type{ margin-top:5px !important; } body.skin-vector-search-vue #mw-content-text .mw-parser-output > div.div-linia + *{ margin-top:0px !important; } body.skin-vector-search-vue #mw-content-text .mw-parser-output > h1:first-child, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h2:first-child, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h3:first-child, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h4:first-child, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h5:first-child, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h6:first-child, body.skin-vector-search-vue #mw-content-text .mw-parser-output > :not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(p) + h1:first-of-type, body.skin-vector-search-vue #mw-content-text .mw-parser-output > :not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(p) + h2:first-of-type, body.skin-vector-search-vue #mw-content-text .mw-parser-output > :not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(p) + h3:first-of-type, body.skin-vector-search-vue #mw-content-text .mw-parser-output > :not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(p) + h4:first-of-type, body.skin-vector-search-vue #mw-content-text .mw-parser-output > :not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(p) + h5:first-of-type, body.skin-vector-search-vue #mw-content-text .mw-parser-output > :not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(p) + h6:first-of-type{ margin-top:0.5em !important; } body.skin-vector-search-vue #mw-content-text .mw-parser-output > h1 ~ h1, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h1 ~ h2, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h1 ~ h3, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h1 ~ h4, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h1 ~ h5, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h1 ~ h6, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h2 ~ h1, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h2 ~ h2, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h2 ~ h3, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h2 ~ h4, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h2 ~ h5, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h2 ~ h6, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h3 ~ h1, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h3 ~ h2, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h3 ~ h3, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h3 ~ h4, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h3 ~ h5, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h3 ~ h6, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h4 ~ h1, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h4 ~ h2, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h4 ~ h3, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h4 ~ h4, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h4 ~ h5, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h4 ~ h6, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h5 ~ h1, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h5 ~ h2, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h5 ~ h3, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h5 ~ h4, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h5 ~ h5, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h5 ~ h6, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h6 ~ h1, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h6 ~ h2, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h6 ~ h3, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h6 ~ h4, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h6 ~ h5, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h6 ~ h6{ margin-top:0.8em; } body.skin-vector-search-vue .tdg-editscreen-main{ margin-top:9px; margin-bottom:10px; } body.skin-vector-search-vue .mw-specialpage-summary > p:first-child{ margin: 0 0 4px 0; } body.skin-vector-search-vue .mw-rcfilters-head{ margin-bottom:15px; } body.skin-vector-search-vue.mw-special-Watchlist .mw-rcfilters-head{ min-height: 280px; } body.skin-vector-search-vue #bodyContent #mw-content-text .mw-parser-output .template-documentation:first-of-type{ margin-top:0; box-sizing:border-box; } body.skin-vector-search-vue #bodyContent #mw-content-text .mw-parser-output > :not(style):not(link) ~ .template-documentation{ margin-top:10px !important; box-sizing:border-box !important; } body.skin-vector-search-vue .mw-parser-output #documentation-meta-data:not(:last-child){ margin-top:3px !important; margin-bottom:3px !important; } body.skin-vector-search-vue .mw-parser-output #documentation-meta-data:last-child{ margin-top:3px !important; margin-bottom:0 !important; } body.skin-vector-search-vue #bodyContent #mw-content-text .mw-parser-output{ display:table; box-sizing:border-box; position:relative; width:100%; height:auto; margin:0; margin-bottom:5px; border-spacing:0; padding:0; border-collapse:collapse; border:0; } body.skin-vector-search-vue #bodyContent #mw-content-text .mw-container-parser-output > .mw-parser-output{ margin:0; } body.skin-vector-search-vue .catlinks:not(.catlinks-allhidden){ margin: 5px 0; } body.skin-vector-search-vue #mw-content-text .mw-parser-output > p:first-of-type{ margin-top:0.3em; } body.skin-vector-search-vue #mw-content-text .mw-parser-output > :not(p):not(:empty) + p:first-of-type{ margin-top:0.5em; } body.skin-vector-search-vue #mw-content-text .mw-parser-output > :not(p):not(.blank) + p:first-of-type{ margin-top:0.5em; } body.skin-vector-search-vue #mw-content-text .mw-parser-output > :not(p):not(:-moz-only-whitespace) + p:first-of-type{ margin-top:0.5em; } body.skin-vector-search-vue #mw-content-text .mw-parser-output > :not(p):not(:blank) + p:first-of-type{ margin-top:0.5em; } body.skin-vector-search-vue #mw-content-text .mw-parser-output > :not(p).floatleft + p:first-of-type, body.skin-vector-search-vue #mw-content-text .mw-parser-output > :not(p).floatright + p:first-of-type, body.skin-vector-search-vue #mw-content-text .mw-parser-output > :not(p).tleft + p:first-of-type, body.skin-vector-search-vue #mw-content-text .mw-parser-output > :not(p).tright + p:first-of-type{ margin-top:0; } body.skin-vector-search-vue #mw-content-text .mw-parser-output > p:last-child{ margin-bottom:0.3em; } body.skin-vector-search-vue pre{ margin-top:8px; margin-bottom:8px; padding:11px; background-color: #f8f9fa; color: #000; border: 1px solid #eaecf0; box-sizing:border-box; } body.skin-vector-search-vue div.mw-highlight > pre{ margin-top:8px; margin-bottom:8px; } body.ns-828.skin-vector-search-vue.action-view #mw-content-text .mw-parser-output > div.mw-highlight:last-child > pre:last-child{ margin-top:5px; margin-bottom:0; } body.skin-vector-search-vue.action-view #mw-content-text .mw-parser-output > div.mw-highlight:last-child > pre:last-child{ margin-bottom:0; margin-top:5px; } body.ns-828.skin-vector-search-vue:not(.action-view) #mw-content-text .mw-parser-output > div.mw-highlight:last-child > pre:last-child{ margin-top:0px; margin-bottom:0; } body.skin-vector-search-vue:not(.action-view) #mw-content-text .mw-parser-output > div.mw-highlight:last-child > pre:last-child{ margin-bottom:0; margin-top:0; } body.skin-vector-search-vue #mw-content-text .mw-parser-output > div.mw-highlight:only-child > pre:only-child{ margin-bottom:0 !important; margin-top:0 !important; } body.skin-vector-search-vue .oo-ui-panelLayout-padded.oo-ui-panelLayout-framed{ margin:0 0 8px 0; } body.skin-vector-search-vue .mw-body > h1{ margin-bottom:0; } body.skin-vector-search-vue #central-auth-images{ display:none; } body.skin-vector-search-vue .mw-message-box{ margin-top:10px; margin-bottom:10px; } body.skin-vector-search-vue #contentSub:not(:empty) ~ #mw-content-text > .mw-message-box:first-child{ margin-top:6px; margin-bottom:10px; } body.skin-vector-search-vue #contentSub > .mw-message-box{ margin-top:10px; margin-bottom:10px; } body.skin-vector-search-vue #contentSub > .subpages ~ .mw-message-box, body.skin-vector-search-vue #contentSub > #pwContent ~ .mw-message-box{ margin-bottom:10px; margin-top:0; } body.skin-vector-search-vue #wikiPreview.ontop{ margin-bottom:5px; } body.skin-vector-search-vue.skin-vector-disable-max-width #wikiPreview{ max-width:100%; } body.skin-vector-search-vue .previewnote{ margin-bottom:10px; } body.skin-vector-search-vue form#editform{ margin-top:5px; margin-bottom:5px; } body.skin-vector-search-vue #editform::after{ display:block; } body.skin-vector-search-vue .editOptions{ margin-bottom:10px; } body.skin-vector-search-vue .mw-category-generated > #mw-pages > h2, body.skin-vector-search-vue .mw-category-generated > #mw-subcategories > h2, body.skin-vector-search-vue .mw-category-generated > #mw-category-media > h2{ margin-top:15px !important; } body.skin-vector-search-vue .mw-category-generated > #mw-pages:last-child, body.skin-vector-search-vue .mw-category-generated > #mw-subcategories:last-child, body.skin-vector-search-vue .mw-category-generated > #mw-category-media:last-child{ margin-bottom:10px; } body.skin-vector-search-vue .mw-parser-output + .mw-category-generated > p:first-child, body.skin-vector-search-vue .mw-container-parser-output + .mw-category-generated > p:first-child, body.skin-vector-search-vue .noarticletext + .mw-category-generated > p:first-child{ margin-bottom:0; margin-top:0; } body.skin-vector-search-vue .mw-category-generated > *:first-child > h2{ margin-top:15px !important; } body.skin-vector-search-vue .mw-category-generated{ margin-bottom:5px; } body.skin-vector-search-vue .mw-editfooter-list{ margin-bottom:0; } body.skin-vector-search-vue #mw-clearyourcache:first-child > p:first-child{ margin-top:0; } body.skin-vector-search-vue .vector-menu-portal { margin: 0 5px; padding: 0.2em 0 0 0; direction: ltr; } body.skin-vector-search-vue .vector-menu-portal .vector-menu-content{ margin-left: 3px; } body.skin-vector-search-vue #mw-panel nav:first-child .vector-menu-content { margin-left: 0; } body.skin-vector-search-vue .vector-menu-portal .vector-menu-heading{ margin-left:3px; } body.skin-vector-search-vue .mw-undelete-pagetitle > p:first-child{ margin-top:0; } body.skin-vector-search-vue .mw-delete-warning-revisions{ display:block; margin-top:10px; } body.skin-vector-search-vue #p-lang-btn-label{ min-height:25px; padding:5px 25px 3px 5px; } body.skin-vector-search-vue .mw-delete-editreasons + h2, body.skin-vector-search-vue .mw-protect-editreasons + h2{ margin-top:0 !important; } body.skin-vector-search-vue .vector-article-toolbar .mw-article-toolbar-container{ margin-right:0; padding-right:0; } body.skin-vector-search-vue .vector-article-toolbar .mw-article-toolbar-container{ margin-right: 0; padding-right:0; } body.skin-vector-search-vue .vector-article-toolbar .mw-article-toolbar-container #right-navigation{ margin-right:4px; } body.skin-vector-search-vue .vector-article-toolbar .mw-article-toolbar-container #right-navigation{ margin-right: 4px; } body.skin-vector-search-vue .vector-article-toolbar .mw-article-toolbar-container #right-navigation::before{ display: flex; content: ''; width: auto; flex-direction: row; flex: 1 1 auto; box-sizing:border-box; } body.skin-vector-search-vue .vector-article-toolbar .mw-article-toolbar-container #right-navigation .vector-menu-content{ right:0; } body.skin-vector-search-vue .mw-table-of-contents-container{ direction: rtl; background-color:white; background-image: url('//upload.wikimedia.org/wikipedia/commons/thumb/b/ba/Wikibooks_multicolor_open_book_no_text.svg/200px-Wikibooks_multicolor_open_book_no_text.svg.png'); } body.skin-vector-search-vue .mw-table-of-contents-container:not(:-moz-only-whitespace){ margin-right:8px; margin-left:5px; } body.skin-vector-search-vue .mw-table-of-contents-container.sidebar_obecny{ width:200px; max-height:100%; margin-right:8px; margin-left:5px; box-sizing:border-box; position:static; } body.skin-vector-search-vue .mw-table-of-contents-container .sidebar-toc{ width:200px; direction: rtl; margin-right:0; margin-left:0; max-height:calc( 100vh - 59px ); margin-top:0 !important; display:block; } body.skin-vector-search-vue .mw-table-of-contents-container .sidebar-toc .sidebar-toc-contents{ direction:ltr; } body.skin-vector-search-vue .mw-table-of-contents-container.sidebar_obecny .sidebar-toc{ position:absolute; max-width:700px; min-width:200px; display:block; } body.skin-vector-search-vue .mw-table-of-contents-container.sidebar_obecny .sidebar-toc:not(:hover){ width:200px; transition: width 250ms ease-out; transition-property: width; transition-duration: 250ms; transition-timing-function: ease-out; transition-delay: 0s; } body.skin-vector-search-vue .mw-table-of-contents-container.sidebar_obecny .sidebar-toc:not(:hover) .sidebar-toc-level-2{ display:none; } body.skin-vector-search-vue .mw-table-of-contents-container.sidebar_obecny .sidebar-toc:hover{ width:auto; transition: width 250ms ease-out; transition-property: width; transition-duration: 250ms; transition-timing-function: ease-out; transition-delay: 0s; } body.skin-vector-search-vue .mw-article-toolbar-container{ margin-left:0 !important; } body.skin-vector-search-vue .mw-checkbox-hack-checkbox:checked ~ .mw-workspace-container .mw-content-container, body.skin-vector-search-vue .mw-checkbox-hack-checkbox:checked ~ .mw-workspace-container #mw-navigation .mw-article-toolbar-container { margin-left: 0 !important; } body.skin-vector-search-vue .vector-body h1, body.skin-vector-search-vue .vector-body h2, body.skin-vector-search-vue .vector-body h3, body.skin-vector-search-vue .vector-body h4, body.skin-vector-search-vue .vector-body h5, body.skin-vector-search-vue .vector-body h6{ margin-top:0.8em; } body.skin-vector-search-vue .mw-history-subtitle{ margin-bottom:6px; } body.skin-vector-search-vue .printfooter{ display:block; margin: 5px 0; padding:5px; white-space:normal; border: 1px solid #eaecf0; box-sizing:border-box; background-color: white; } .client-js body.skin-vector-search-vue .mw-search-form-wrapper { min-height: 112px; } body.skin-vector-search-vue .noarticletext{ margin-bottom:5px; } body.skin-vector-search-vue .mw-menu-active{ background-color:#E6E6FA; } body.skin-vector-search-vue .mw-menu-inactive{ background-color:#EEE8AA; } body.skin-vector-search-vue .mw-menu-active,body.skin-vector-search-vue .mw-menu-inactive{ padding-left:5px !important; padding-right:5px !important; margin-left:0 !important; display:block; border-radius:5px; border:1px solid #a2a9b1; margin-top:3px; } body.skin-vector-search-vue .mw-items-active{ display:block; border-radius:5px; border:1px solid #a2a9b1; padding: 0 5px; margin-top:2px; } body.skin-vector-search-vue .mw-items-active > ul{ margin-top:0; } body.skin-vector-search-vue .mw-items-inactive{ display:none; } body.skin-vector-search-vue .mw-items-active,body.skin-vector-search-vue .mw-items-inactive{ margin-left:0px !important; } 12ws8hw1yj9700ulcnzk8lftksmxdas 435310 435309 2022-07-20T19:53:55Z Persino 2851 css text/css body.skin-vector-search-vue .mw-page-container{ max-width:100%; min-width:988px; padding-left:0; padding-right:0; border-left: 0; border-right: 0; box-sizing:border-box; display:table; width:100%; background-color:white; height:auto; } body.skin-vector-search-vue .mw-content-container{ max-width:100%; box-sizing:border-box; } body.skin-vector-search-vue .mw-logo-container{ margin-left: 10px; margin-right:0; } body.skin-vector-search-vue #p-lang-btn-label{ font-size:14px !important; line-height:1.2em !important; white-space:nowrap; } body.skin-vector-search-vue .mw-indicators{ font-size: calc( 14px * 0.875 ); line-height: 2.0em; white-space:nowrap; margin: auto 0 0 0; } body.skin-vector-search-vue.action-view.page-Wikibooks_Strona_główna #content{ display:grid; grid: 'aa aa aa' auto 'dd dd dd' auto 'bb bb bb' auto 'cc cc cc' auto '.. .. ff' auto 'ee ee ee' auto / minmax(auto,1fr) auto auto } body.skin-vector-search-vue.action-view.page-Wikibooks_Strona_główna #content > #top{ grid-area:aa; } body.skin-vector-search-vue.action-view.page-Wikibooks_Strona_główna #content > #siteNotice{ grid-area:bb; } body.skin-vector-search-vue.action-view.page-Wikibooks_Strona_główna #content > .vector-article-toolbar{ grid-area:dd; margin:0; } body.skin-vector-search-vue.action-view.page-Wikibooks_Strona_główna #content > .mw-body-header{ grid-area:cc; top:0; width:auto !important; height:auto !important; margin:0; margin-right:10px; box-sizing:border-box; border-bottom: 1px solid #a2a9b1; } body.skin-vector-search-vue.action-view.page-Wikibooks_Strona_główna #content > #p-lang-btn{ grid-area:ff; height:20px; width:auto; height:auto; margin-left:auto; top:0; margin: auto 5px 0 5px; padding-bottom:8px; box-sizing:border-box; } body.skin-vector-search-vue.action-view.page-Wikibooks_Strona_główna #content > #bodyContent{ grid-area:ee; } body.skin-vector-search-vue.action-view.page-Wikibooks_Strona_główna #content > .mw-body-header{ display:grid; grid: 'aa bb' auto / minmax(auto,1fr) auto; width:100%; min-height: 46px; box-sizing: border-box; position: relative; } body.skin-vector-search-vue.action-view.page-Wikibooks_Strona_główna #content > .mw-body-header > .firstHeading{ display:block !important; } body.skin-vector-search-vue.action-view.page-Wikibooks_Strona_główna #content > .mw-body-header > .firstHeading:not(:hover){ grid-area:aa; margin-bottom:2px; width:100%; max-width:fit-content; max-width:-moz-fit-content; margin-bottom: 0; margin-top: auto; border-bottom: none; padding-left: 3px; padding-right: 3px; border-bottom: 0; } body.skin-vector-search-vue.action-view.page-Wikibooks_Strona_główna #content > .mw-body-header > .mw-indicators{ grid-area: bb; width: auto; height: 1.6em; margin-bottom: 5px; margin-top: auto; margin-right: 5px; } body.skin-vector-search-vue.action-view:not(.page-Wikibooks_Strona_główna):not(.ns-special) #content > .mw-body-header > .firstHeading > .plainlinks, body.skin-vector-search-vue.action-view.ns-special #content > .mw-body-header > .firstHeading > .plainlinks body.skin-vector-search-vue:not(.action-view) #content > .mw-body-header > .firstHeading > .plainlinks{ padding-bottom:2px; } body.skin-vector-search-vue.action-view:not(.page-Wikibooks_Strona_główna):not(.ns-special) #content > .mw-body-header > #p-lang-btn{ grid-area:bb; right:0; margin:0; height:auto; width:auto; margin-top: auto; margin-bottom:0; padding: 0 3px; box-sizing:border-box; } body.skin-vector-search-vue.action-view:not(.page-Wikibooks_Strona_główna):not(.ns-special) #content > .mw-body-header, body.skin-vector-search-vue.action-view.ns-special #content > .mw-body-header, body.skin-vector-search-vue:not(.action-view) #content > .mw-body-header{ display:grid; grid:'aa bb' auto / minmax(auto,100%) auto; border-bottom:1px solid #a2a9b1; margin-top:auto; margin-bottom:0; min-height:46px; box-sizing:border-box; position:relative; } body.skin-vector-search-vue.action-view:not(.page-Wikibooks_Strona_główna):not(.ns-special) #content > .mw-body-header > .firstHeading:not(:hover), body.skin-vector-search-vue.action-view.ns-special #content > .mw-body-header > .firstHeading:not(:hover), body.skin-vector-search-vue:not(.action-view) #content > .mw-body-header > .firstHeading:not(:hover){ grid-area:aa; width:100%; max-width:fit-content; max-width:-moz-fit-content; margin-bottom:0; margin-top:auto; border-bottom:none; padding-left:3px; padding-right:3px; border-bottom:0; box-sizing:border-box; } body.skin-vector-search-vue.action-view.ns-special #content > .mw-body-header > .mw-indicators, body.skin-vector-search-vue:not(.action-view) #content > .mw-body-header > .mw-indicators{ grid-area:bb; right:0; margin:0; height:auto; width:100%; margin:auto 0 0 auto; padding: 0 10px; box-sizing:border-box; } body.skin-vector-search-vue.action-view.ns-special #content .mw-body-header > .mw-indicators > .mw-indicator, body.skin-vector-search-vue:not(.action-view) #content .mw-body-header > .mw-indicators > .mw-indicator{ padding: 2px 0 2px 0; margin: auto 0 0 0; } body.skin-vector-search-vue.action-view:not(.page-Wikibooks_Strona_główna):not(.ns-special) #content, body.skin-vector-search-vue.action-view.ns-special #content, body.skin-vector-search-vue:not(.action-view) #content{ display:grid; grid:'aa' auto 'cc' auto 'bb' auto 'dd' auto 'ee' auto / auto; width:100%; } body.skin-vector-search-vue.action-view:not(.page-Wikibooks_Strona_główna):not(.ns-special) #content > #top, body.skin-vector-search-vue.action-view.ns-special #content > #top, body.skin-vector-search-vue:not(.action-view) #content > #top{ grid-area:aa; } body.skin-vector-search-vue.action-view:not(.page-Wikibooks_Strona_główna):not(.ns-special) #content > #siteNotice, body.skin-vector-search-vue.action-view.ns-special #content > #siteNotice, body.skin-vector-search-vue:not(.action-view) #content > #siteNotice{ grid-area:bb; } body.skin-vector-search-vue.action-view:not(.page-Wikibooks_Strona_główna):not(.ns-special) #content > .vector-article-toolbar, body.skin-vector-search-vue.action-view.ns-special #content > .vector-article-toolbar, body.skin-vector-search-vue:not(.action-view) #content > .vector-article-toolbar{ grid-area:cc; } body.skin-vector-search-vue .mw-body-header::after{ display:none; } body.skin-vector-search-vue.action-view:not(.page-Wikibooks_Strona_główna):not(.ns-special) #content > .mw-body-header, body.skin-vector-search-vue.action-view.ns-special #content > .mw-body-header, body.skin-vector-search-vue:not(.action-view) #content > .mw-body-header{ grid-area:dd; margin:0; margin-right:10px; width:auto; padding-bottom:0; } body.skin-vector-search-vue .mw-body-subheader{ border-bottom:0; } /*body.skin-vector-search-vue #siteSub,*/ body.skin-vector-search-vue .firstHeading:not(:hover) > .plainlinks{ display:none; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; } body.skin-vector-search-vue .firstHeading:not(:hover){ display:block; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; border-bottom:0; } body.skin-vector-search-vue .firstHeading:hover{ display:block; border:1px solid #eaecf0; border-radius:10px; background-color:white; position:absolute; top:5px; left:-3px; width:auto; padding:5px; z-index:1 !important; } body.skin-vector-search-vue .mw-body-header > .firstHeading:hover > .plainlinks{ display:block; } body.skin-vector-search-vue.action-view:not(.page-Wikibooks_Strona_główna):not(.ns-special) #bodyContent > .mw-body-subheader{ margin: 2px 0 3px 0; min-height:1.6em; } body.skin-vector-search-vue.action-view.ns-special #bodyContent > .mw-body-subheader, body.skin-vector-search-vue:not(.action-view) #bodyContent > .mw-body-subheader{ margin: 0; } body.skin-vector-search-vue.action-view.page-Wikibooks_Strona_główna #bodyContent > .mw-body-subheader{ margin:0; margin-top: -2.0em; font-size: 1.2em; height: 2em; margin-bottom:5px; } body.skin-vector-search-vue.action-view.page-Wikibooks_Strona_główna #bodyContent > .mw-body-subheader > #siteSub{ display:table !important; width:auto; } body.skin-vector-search-vue.action-view:not(.page-Wikibooks_Strona_główna):not(.ns-special) #bodyContent > .mw-body-subheader> .mw-indicators{ margin-left:5px; margin-right:3px; display:block; } body.skin-vector-search-vue.action-view:not(.page-Wikibooks_Strona_główna):not(.ns-special) #bodyContent > .mw-body-subheader> #siteSub{ display:block; } body.skin-vector-search-vue .firstHeading, body.skin-vector-search-vue .firstHeading > .plainlinks{ max-width:100%; width:auto; } body.skin-vector-search-vue.action-view:not(.page-Wikibooks_Strona_główna):not(.ns-special) #content #bodyContent, body.skin-vector-search-vue.action-view.ns-special #content #bodyContent, body.skin-vector-search-vue:not(.action-view) #content #bodyContent{ grid-area:ee; } body.skin-vector-search-vue.skin-vector-disable-max-width .vector-layout-legacy #mw-sidebar-checkbox:checked ~ .mw-workspace-container #mw-navigation .mw-article-toolbar-container, body.skin-vector-search-vue.skin-vector-disable-max-width .vector-layout-legacy #mw-sidebar-checkbox:checked ~ .mw-workspace-container .mw-content-container, body.skin-vector-search-vue:not(.skin-vector-toc-experiment-control):not(.skin-vector-toc-experiment-unsampled) .vector-toc-visible .mw-workspace-container .mw-content-container, body.skin-vector-search-vue:not(.skin-vector-toc-experiment-control):not(.skin-vector-toc-experiment-unsampled) .vector-toc-visible .mw-workspace-container .mw-article-toolbar-container, body.skin-vector-search-vue.vector-toc-enabled .mw-checkbox-hack-checkbox:checked ~ .mw-workspace-container .mw-content-container, body.skin-vector-search-vue.vector-toc-enabled .mw-checkbox-hack-checkbox:checked ~ .mw-workspace-container .mw-article-toolbar-container, body.skin-vector-search-vue.skin-vector-disable-max-width .vector-toc-enabled .vector-layout-legacy #mw-sidebar-checkbox:checked ~ .mw-workspace-container .mw-content-container, body.skin-vector-search-vue:not(.skin-vector-toc-experiment-control):not(.skin-vector-toc-experiment-unsampled) .vector-layout-legacy .vector-toc-visible .mw-workspace-container .mw-content-container, body.skin-vector-search-vue:not(.skin-vector-toc-experiment-control):not(.skin-vector-toc-experiment-unsampled) .vector-layout-legacy .vector-toc-visible #mw-navigation .mw-article-toolbar-container, body.skin-vector-search-vue.vector-toc-enabled .vector-layout-legacy #mw-sidebar-checkbox:checked ~ .mw-workspace-container .mw-content-container, body.skin-vector-search-vue.vector-toc-enabled .vector-layout-legacy #mw-sidebar-checkbox:checked ~ .mw-workspace-container #mw-navigation .mw-article-toolbar-container{ margin-left:0; } body.skin-vector-search-vue .mw-workspace-container:not(.mw-footer-container){ display:grid; grid:'aa cc bb' auto / auto minmax(auto,1fr) auto; width:auto; box-sizing:border-box; } body.skin-vector-search-vue .mw-workspace-container:not(.mw-footer-container) > #mw-navigation{ grid-area:aa; width:100%; box-sizing:border-box; } body.skin-vector-search-vue .mw-workspace-container:not(.mw-footer-container) > .mw-table-of-contents-container.mw-sticky-header-element{ grid-area:bb; max-width:200px; display:block; box-sizing:border-box; margin-bottom:16px; z-index:1; } body.skin-vector-search-vue .mw-workspace-container:not(.mw-footer-container) > .mw-content-container{ grid-area:cc; box-sizing:border-box; } /**/ body.skin-vector-search-vue .mw-workspace-container .mw-content-container, body.skin-vector-search-vue .mw-workspace-container .mw-content-container #bodyContent, body.skin-vector-search-vue .mw-workspace-container .mw-content-container #content, body.skin-vector-search-vue .mw-workspace-container .mw-content-container .mw-body-header{ width:100%; box-sizing:border-box; } body.skin-vector-search-vue .mw-article-toolbar-container .mw-portlet-views { display: block; } body.skin-vector-search-vue .mw-article-toolbar-container .vector-more-collapsible-item { display: none; } body.skin-vector-search-vue .sidebar-toc{ left:auto; right:8px; } body.skin-vector-search-vue:not(.vector-below-page-title) .mw-checkbox-hack-checkbox:checked ~ .mw-workspace-container .sidebar-toc{ left:auto; right:8px; } body.skin-vector-search-vue.vector-toc-enabled .mw-checkbox-hack-checkbox:checked ~ .mw-workspace-container .sidebar-toc{ display: block; } body.skin-vector-search-vue.vector-toc-enabled .mw-checkbox-hack-checkbox:checked ~ .mw-workspace-container .sidebar-toc{ display: block; } body.skin-vector-search-vue .mw-checkbox-hack-checkbox:checked ~ .mw-workspace-container #mw-panel, body.skin-vector-search-vue #mw-sidebar-checkbox:checked ~ .mw-workspace-container #mw-panel{ left:-140px; top:-15px; position:absolute; width:140px; box-sizing:border-box; } body.skin-vector-search-vue.vector-toc-enabled .mw-sidebar{ margin-left:0; background-color: white; padding: 12px 0; margin-top:0; } .vector-animations-ready body.skin-vector-search-vue .mw-sidebar{ transition: none; transition-property: none; transition-duration: none; transition-timing-function: none; transition-delay: none; } body.skin-vector-search-vue.vector-toc-enabled #mw-sidebar-checkbox:not(:checked) ~ .mw-workspace-container .mw-sidebar{ display:block; } body.skin-vector-search-vue #mw-sidebar-checkbox:not(:checked) ~ .mw-workspace-container .mw-sidebar{ visibility: visible; opacity: 1; transform: none; } body.skin-vector-search-vue .mw-workspace-container #mw-panel{ left:-140px; top:-15px; position: absolute; float:left; box-sizing:border-box; } body.skin-vector-search-vue .ui-dialog{ font-size:75%; } body.skin-vector-search-vue .mw-body-content .error{ font-size:96%; } body.skin-vector-search-vue.action-purge .firstHeading{ padding-bottom:3px; } body.skin-vector-search-vue .firstHeading .plainlinks{ line-height:1.2em !important; } body.skin-vector-search-vue #mw-panel{ width:140px; box-sizing:border-box; } body.skin-vector-search-vue .mw-sidebar #p-navigation .vector-menu-heading{ display:block; } body.skin-vector-search-vue .mw-workspace-container{ margin-right:0; margin-left:140px; min-width:auto; max-width:100%; box-sizing:border-box; } body.skin-vector-search-vue .mw-checkbox-hack-checkbox:checked ~ .mw-workspace-container{ margin-left:140px; transition: margin-left 250ms ease-out; transition-property: margin-left; transition-duration: 250ms; transition-timing-function: ease-out; transition-delay: 0s; } body.skin-vector-search-vue .mw-checkbox-hack-checkbox:not(:checked) ~ .mw-workspace-container{ margin-left:0; transition: margin-left 250ms ease-out; transition-property: margin-left; transition-duration: 250ms; transition-timing-function: ease-out; transition-delay: 0s; } body.skin-vector-search-vue .mw-article-toolbar-container{ max-width:100%; box-sizing:border-box; position:relative; z-index:1; } body.skin-vector-search-vue .mw-footer-container{ padding-top:0; } body.skin-vector-search-vue .mw-content-container > .mw-body{ margin-left:0; margin-right:0; } body.skin-vector-search-vue .mw-article-toolbar-container > #left-navigation{ margin-left:0; margin-right:0; } body.skin-vector-search-vue .mw-content-container .mw-footer{ margin-left:8px; margin-right:0; padding: 0.75em 5px; } body.skin-vector-search-vue .mw-header { display:flex; flex-direction: row; margin: 8px 5px 0 5px; } body.skin-vector-search-vue .mw-workspace-container #mw-head{ min-width:832px; margin-right:5px; box-sizing:border-box; } body.skin-vector-search-vue .mw-logo-icon{ display:block; } body.skin-vector-search-vue .vector-user-links .vector-user-menu-more .vector-menu-content-list li.user-links-collapsible-item { display: block; } body.skin-vector-search-vue .vector-search-box-collapses > div{ display:block; } body.skin-vector-search-vue a.mw-ui-icon-wikimedia-search{ display:none; } body.skin-vector-search-vue .vector-sticky-header{ height:3.2em; padding: 6px 25px; display:flex; flex-direction:row; min-width:700px; margin-left:auto; margin-right:auto; width:90%; text-align:center; box-sizing:border-box; } @media screen and (max-width: 830px){ body.skin-vector-search-vue .vector-sticky-header{ display: none; } } .client-nojs body.skin-vector-search-vue .vector-sticky-header{ display:none !important; } body.skin-vector-search-vue .wvui-typeahead-suggestion{ padding-top:4px; padding-bottom:4px; text-align:left; } body.skin-vector-search-vue .vector-sticky-header.vector-header-search-toggled{ flex-basis: 460px; box-sizing:border-box; } body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--auto-expand-width:not(.wvui-typeahead-search--focused){ margin-left:10px; width:460px; box-sizing:border-box; } body.skin-vector-search-vue .wvui-typeahead-suggestion__thumbnail-placeholder, body.skin-vector-search-vue .wvui-typeahead-suggestion__thumbnail{ width: 36px; height: 36px; } body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail:not(.wvui-typeahead-search--auto-expand-width), body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--auto-expand-width.wvui-typeahead-search--focused{ margin-left:10px; width:460px; box-sizing:border-box; } body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail:not(.wvui-typeahead-search--auto-expand-width) .wvui-input__start-icon, body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--auto-expand-width.wvui-typeahead-search--focused .wvui-input__start-icon{ left:13px; width:37px; } body.skin-vector-search-vue .wvui-input, body.skin-vector-search-vue .vector-search-box, body.skin-vector-search-vue .wvui-typeahead-suggestion__title, body.skin-vector-search-vue .wvui-typeahead-search__wrapper, body.skin-vector-search-vue .vector-search-box-vue .vector-search-box-input, body.skin-vector-search-vue .wvui-input__input, body.skin-vector-search-vue .wvui-typeahead-search, body.skin-vector-search-vue .wvui-typeahead-search__form, body.skin-vector-search-vue #p-search #searchform #simpleSearch{ font-size:calc( 14px * 1.042 ); line-height:1.2em; height:30px; min-height:30px; box-sizing:border-box; } body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail:not(.wvui-typeahead-search--active) .wvui-input, body.skin-vector-search-vue .vector-search-box, body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail:not(.wvui-typeahead-search--active) .wvui-typeahead-suggestion__title, body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail:not(.wvui-typeahead-search--active) .wvui-typeahead-search__wrapper, body.skin-vector-search-vue .vector-search-box-vue .wvui-typeahead-search--show-thumbnail:not(.wvui-typeahead-search--active) .vector-search-box-input, body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail:not(.wvui-typeahead-search--active) .wvui-input__input, body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail:not(.wvui-typeahead-search--active) .wvui-typeahead-search, body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail:not(.wvui-typeahead-search--active) .wvui-typeahead-search__form, body.skin-vector-search-vue #p-search #searchform #simpleSearch{ width:460px; } body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--active .wvui-input, body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--active .wvui-typeahead-suggestion__title, body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--active .wvui-typeahead-search__wrapper, body.skin-vector-search-vue .vector-search-box-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--active .vector-search-box-input, body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--active .wvui-input__input, body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--active .wvui-typeahead-search, body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--active .wvui-typeahead-search__form{ width:calc( 460px - 64px); } body.skin-vector-search-vue .wvui-button{ font-size:calc( 14px * 1.042 ); line-height:1.2em; height:30px; min-height:30px; width:64px; border-left:0; box-sizing:border-box; } body.skin-vector-search-vue .mw-header #p-search #searchform #simpleSearch{ margin-left:10px; width:460px; box-sizing:border-box; } body.skin-vector-search-vue .wvui-typeahead-search__wrapper{ margin-right:0; } body.skin-vector-search-vue .wvui-typeahead-suggestion__title{ display: table-cell; vertical-align: middle; } .client-js body.skin-vector-search-vue .vector-search-box-show-thumbnail.vector-search-box-auto-expand-width .vector-search-box-input, .client-js .vector-search-box-vue .vector-search-box-show-thumbnail.vector-search-box-auto-expand-width .vector-search-box-input{ margin-left:0; box-sizing:border-box; width:460px; } .client-js body.skin-vector-search-vue .vector-search-box-show-thumbnail.vector-search-box-auto-expand-width .searchButton, .client-js .vector-search-box-vue .vector-search-box-show-thumbnail.vector-search-box-auto-expand-width .searchButton{ left:0; } body.skin-vector-search-vue .mw-header .vector-search-box.vector-search-box-auto-expand-width{ margin-left:10px; } body.skin-vector-search-vue .mw-header .vector-search-box.vector-search-box-auto-expand-width > div{ width:460px; box-sizing:border-box; } body.skin-vector-search-vue .vector-search-box-vue .searchButton{ background-size: 20px auto; } .client-js body.skin-vector-search-vue .vector-search-box-input, .client-js .vector-search-box-vue .vector-search-box-input{ padding-left:36px; padding-right:8px; } body.skin-vector-search-vue .wvui-input--has-start-icon .wvui-input__input{ padding-left:36px; padding-right:8px; } body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--auto-expand-width:not(.wvui-typeahead-search--focused) .wvui-input__input { border-right-color: #a2a9b1; width:460px; box-sizing:border-box; } body.skin-vector-search-vue .wvui-typeahead-search .wvui-input__input{ border-right-color: #a2a9b1; } body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--auto-expand-width:not(.wvui-typeahead-search--focused):not(.wvui-typeahead-search--active) .wvui-input__input { width: 460px; } body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--auto-expand-width:not(.wvui-typeahead-search--focused).wvui-typeahead-search--active .wvui-input__input { width:calc( 460px - 64px ); } body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail:not(.wvui-typeahead-search--auto-expand-width) .wvui-input__input, body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--auto-expand-width.wvui-typeahead-search--focused .wvui-input__input{ position:relative; padding-left: 62px; box-sizing:border-box; } body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail:not(.wvui-typeahead-search--auto-expand-width).wvui-typeahead-search--active .wvui-input__input, body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--auto-expand-width.wvui-typeahead-search--focused.wvui-typeahead-search--active .wvui-input__input{ width:calc( 460px - 64px ); } body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail:not(.wvui-typeahead-search--auto-expand-width):not(.wvui-typeahead-search--active) .wvui-input__input, body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--auto-expand-width.wvui-typeahead-search--focused:not(.wvui-typeahead-search--active) .wvui-input__input{ width:460px; } body.skin-vector-search-vue .wvui-typeahead-search--expanded .wvui-typeahead-search__suggestions{ width:calc( 460px - 64px ); top:30px; box-sizing:border-box; } body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--active .wvui-typeahead-search--expanded .wvui-typeahead-search__suggestions{ width:calc( 460px - 64px ); } body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail:not(.wvui-typeahead-search--active) .wvui-typeahead-search--expanded .wvui-typeahead-search__suggestions{ width:460px; } body.skin-vector-search-vue .mw-header .vector-search-box.vector-search-box-auto-expand-width > div{ max-width:460px; } body.skin-vector-search-vue .mw-logo{ min-width:144px; } body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--auto-expand-width:not(.wvui-typeahead-search--focused):not(.wvui-typeahead-search--active).wvui-typeahead-search--active .wvui-button{ display:block; width:64px; z-index:1; } body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail:not(.wvui-typeahead-search--auto-expand-width).wvui-typeahead-search--active .wvui-button, body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--auto-expand-width.wvui-typeahead-search--focused.wvui-typeahead-search--active .wvui-button{ display:block; width:64px; z-index:1; } body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail:not(.wvui-typeahead-search--active) .wvui-button{ display:none; } body.skin-vector-search-vue .wvui-button{ padding-left:0; padding-right:0; } body.skin-vector-search-vue .mw-ui-icon,.mw-ui-icon-before::before{ font-size:14px; } body.skin-vector-search-vue .mw-sidebar-action{ display:none; } body.skin-vector-search-vue, body.skin-vector-search-vue .mw-editsection{ font-family: Arial, Helvetica, "Free Helvetian", FreeSans, sans-serif; font-stretch:normal; font-variant:normal; font-style:normal; font-weight:normal; font-size-adjust:none; letter-spacing:normal; word-spacing:normal; text-align:left; word-wrap:break-word; hyphens:auto; } body.skin-vector-search-vue{ font-size:calc( 14px * 1.042 ); line-height:1.2em; background-color:#ffffff; } body.skin-vector-search-vue .mw-editsection{ font-size:12px; line-height:1.2em; } body.skin-vector-search-vue.action-view:not(.page-Wikibooks_Strona_główna):not(.ns-special) #contentSub, body.skin-vector-search-vue.action-view:not(.page-Wikibooks_Strona_główna):not(.ns-special) #contentSub ~ #contentSub2{ margin:0; } body.skin-vector-search-vue.action-view.ns-special #contentSub:empty, body.skin-vector-search-vue.action-view.ns-special #contentSub:not(:empty), body.skin-vector-search-vue.action-view.ns-special #contentSub:not(:empty) ~ #contentSub2, body.skin-vector-search-vue.action-view.ns-special #contentSub:empty ~ #contentSub2:not(:empty){ margin:2px 0 3px 0; } body.skin-vector-search-vue.action-view.ns-special #contentSub:empty ~ #contentSub2:empty{ margin:10px 0; } body.skin-vector-search-vue:not(.action-view) #contentSub:empty{ margin:2px 0 3px 0; } body.skin-vector-search-vue:not(.action-view) #contentSub:empty ~ #contentSub2:empty{ margin:10px 0; } body.skin-vector-search-vue:not(.action-view) #contentSub:not(:empty), body.skin-vector-search-vue:not(.action-view) #contentSub:not(:empty) ~ #contentSub2{ margin: 2px 0 2px 0; } body.skin-vector-search-vue:not(.action-view) #contentSub:empty ~ #contentSub2:not(:empty){ margin: 2px 0 3px 0; } body.skin-vector-search-vue.action-view.page-Wikibooks_Strona_główna #contentSub, body.skin-vector-search-vue.action-view.page-Wikibooks_Strona_główna #contentSub2{ margin:0; } body.skin-vector-search-vue.action-edit #contentSub:not(:empty) ~ #mw-content-text > form#editform{ margin-top:0; } body.skin-vector-search-vue.action-view #pwContent, body.skin-vector-search-vue:not(.action-view) #pwContent, body.skin-vector-search-vue.action-view .subpages, body.skin-vector-search-vue:not(.action-view) .subpages{ margin:0; font-size:12px; line-height:1.2em; margin-bottom:6px; } body.skin-vector-search-vue.action-view:not(.page-Wikibooks_Strona_główna) .warningbox, body.skin-vector-search-vue:not(.action-view) .warningbox{ margin:10px 0; } body.skin-vector-search-vue #mw-previewheader{ margin-top:14px; margin-bottom:10px; } body.skin-vector-search-vue .mw-userconfigpublic{ margin-top:8px; } body.skin-vector-search-vue .mw-contributions-user-tools{ margin-bottom:6px; } body.skin-vector-search-vue:not(.action-view) .mw-body, body.skin-vector-search-vue.action-view.ns-special .mw-body{ padding: 8px 0 10px 8px; position:relative; z-index:0; } body.skin-vector-search-vue.action-view.page-Wikibooks_Strona_główna .mw-body, body.skin-vector-search-vue.action-view:not(.ns-special):not(.page-Wikibooks_Strona_główna) .mw-body{ padding: 4px 0 10px 8px; position:relative; z-index:0; } body.skin-vector-search-vue #centralNotice:not(:empty){ margin:10px 8px 8px 8px; } body.skin-vector-search-vue .mw-content-container{ min-width:848px; } body.skin-vector-search-vue #content{ margin-left:0px; min-width:848px; box-sizing:border-box; } body.skin-vector-search-vue #mw-content-text{ clear:both; } body.skin-vector-search-vue #bodyContent{ box-sizing:border-box; min-width:832px; height:auto; clear:both; padding: 0 13px 0 5px; } body.skin-vector-search-vue .mw-table-of-contents-container.sidebar_obecny ~ .mw-content-container #bodyContent{ padding: 0 5px; } body.skin-vector-search-vue .mw-table-of-contents-container.sidebar_obecny ~ .mw-content-container .mw-body-header{ margin-right:3px !important; } body.skin-vector-search-vue.action-view #bodyContent #mw-content-text .mw-container-parser-output, body.skin-vector-search-vue:not(.action-view) #bodyContent #mw-content-text .mw-container-parser-output{ overflow:auto; overflow-x:auto; overflow-y:visible; min-width:822px; box-sizing:border-box; margin-bottom:5px; display:block; height:auto; position:relative; } body.skin-vector-search-vue.action-view #bodyContent #mw-content-text .mw-container-parser-output.has-mw-parser-output-whitespace, body.skin-vector-search-vue:not(.action-view) #bodyContent #mw-content-text .mw-container-parser-output.has-mw-parser-output-whitespace{ margin-bottom:0 !important; } body.skin-vector-search-vue.action-view #bodyContent #mw-content-text .mw-container-parser-output.mw-scrollbar-overflow-x, body.skin-vector-search-vue:not(.action-view) #bodyContent #mw-content-text #wikiPreview .mw-content-ltr .mw-container-parser-output.mw-scrollbar-overflow-x{ padding-bottom:5px; } body.skin-vector-search-vue.action-view #bodyContent #mw-content-text .mw-container-parser-output:not(.mw-scrollbar-overflow-x), body.skin-vector-search-vue:not(.action-view) #bodyContent #mw-content-text #wikiPreview .mw-content-ltr .mw-container-parser-output:not(.mw-scrollbar-overflow-x){ padding-bottom:0; } body.skin-vector-search-vue.action-view #bodyContent #mw-content-text .mw-container-parser-output.mw-scrollbar-overflow-y, body.skin-vector-search-vue:not(.action-view) #bodyContent #mw-content-text #wikiPreview .mw-content-ltr .mw-container-parser-output.mw-scrollbar-overflow-y{ padding-right:5px; } body.skin-vector-search-vue.action-view #bodyContent #mw-content-text:not(.mw-scrollbar-overflow-y), body.skin-vector-search-vue:not(.action-view) #bodyContent #mw-content-text #wikiPreview .mw-content-ltr:not(.mw-scrollbar-overflow-y){ padding-right:0; } body.skin-vector-search-vue.ns-10 #mw-content-text .mw-parser-output > :not(style):not(link):not(#documentation-meta-data):not(.template-documentation) ~ *:first-of-type, body.skin-vector-search-vue.ns-828 #mw-content-text .mw-parser-output > :not(style):not(link):not(#documentation-meta-data):not(.template-documentation) ~ *:first-of-type{ margin-top:5px !important; } body.skin-vector-search-vue #mw-content-text .mw-parser-output > :not(style):not(link):not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(p):first-child{ margin-top:0 !important; } body.skin-vector-search-vue #mw-content-text .mw-parser-output > :not(style):not(link) ~ :not(style):not(link):not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(p):not(.div-linia):first-of-type{ margin-top:5px !important; } body.skin-vector-search-vue #mw-content-text .mw-parser-output > div.div-linia + *{ margin-top:0px !important; } body.skin-vector-search-vue #mw-content-text .mw-parser-output > h1:first-child, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h2:first-child, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h3:first-child, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h4:first-child, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h5:first-child, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h6:first-child, body.skin-vector-search-vue #mw-content-text .mw-parser-output > :not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(p) + h1:first-of-type, body.skin-vector-search-vue #mw-content-text .mw-parser-output > :not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(p) + h2:first-of-type, body.skin-vector-search-vue #mw-content-text .mw-parser-output > :not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(p) + h3:first-of-type, body.skin-vector-search-vue #mw-content-text .mw-parser-output > :not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(p) + h4:first-of-type, body.skin-vector-search-vue #mw-content-text .mw-parser-output > :not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(p) + h5:first-of-type, body.skin-vector-search-vue #mw-content-text .mw-parser-output > :not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(p) + h6:first-of-type{ margin-top:0.5em !important; } body.skin-vector-search-vue #mw-content-text .mw-parser-output > h1 ~ h1, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h1 ~ h2, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h1 ~ h3, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h1 ~ h4, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h1 ~ h5, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h1 ~ h6, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h2 ~ h1, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h2 ~ h2, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h2 ~ h3, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h2 ~ h4, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h2 ~ h5, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h2 ~ h6, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h3 ~ h1, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h3 ~ h2, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h3 ~ h3, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h3 ~ h4, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h3 ~ h5, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h3 ~ h6, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h4 ~ h1, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h4 ~ h2, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h4 ~ h3, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h4 ~ h4, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h4 ~ h5, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h4 ~ h6, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h5 ~ h1, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h5 ~ h2, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h5 ~ h3, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h5 ~ h4, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h5 ~ h5, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h5 ~ h6, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h6 ~ h1, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h6 ~ h2, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h6 ~ h3, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h6 ~ h4, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h6 ~ h5, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h6 ~ h6{ margin-top:0.8em; } body.skin-vector-search-vue .tdg-editscreen-main{ margin-top:9px; margin-bottom:10px; } body.skin-vector-search-vue .mw-specialpage-summary > p:first-child{ margin: 0 0 4px 0; } body.skin-vector-search-vue .mw-rcfilters-head{ margin-bottom:15px; } body.skin-vector-search-vue.mw-special-Watchlist .mw-rcfilters-head{ min-height: 280px; } body.skin-vector-search-vue #bodyContent #mw-content-text .mw-parser-output .template-documentation:first-of-type{ margin-top:0; box-sizing:border-box; } body.skin-vector-search-vue #bodyContent #mw-content-text .mw-parser-output > :not(style):not(link) ~ .template-documentation{ margin-top:10px !important; box-sizing:border-box !important; } body.skin-vector-search-vue .mw-parser-output #documentation-meta-data:not(:last-child){ margin-top:3px !important; margin-bottom:3px !important; } body.skin-vector-search-vue .mw-parser-output #documentation-meta-data:last-child{ margin-top:3px !important; margin-bottom:0 !important; } body.skin-vector-search-vue #bodyContent #mw-content-text .mw-parser-output{ display:table; box-sizing:border-box; position:relative; width:100%; height:auto; margin:0; margin-bottom:5px; border-spacing:0; padding:0; border-collapse:collapse; border:0; } body.skin-vector-search-vue #bodyContent #mw-content-text .mw-container-parser-output > .mw-parser-output{ margin:0; } body.skin-vector-search-vue .catlinks:not(.catlinks-allhidden){ margin: 5px 0; } body.skin-vector-search-vue #mw-content-text .mw-parser-output > p:first-of-type{ margin-top:0.3em; } body.skin-vector-search-vue #mw-content-text .mw-parser-output > :not(p):not(:empty) + p:first-of-type{ margin-top:0.5em; } body.skin-vector-search-vue #mw-content-text .mw-parser-output > :not(p):not(.blank) + p:first-of-type{ margin-top:0.5em; } body.skin-vector-search-vue #mw-content-text .mw-parser-output > :not(p):not(:-moz-only-whitespace) + p:first-of-type{ margin-top:0.5em; } body.skin-vector-search-vue #mw-content-text .mw-parser-output > :not(p):not(:blank) + p:first-of-type{ margin-top:0.5em; } body.skin-vector-search-vue #mw-content-text .mw-parser-output > :not(p).floatleft + p:first-of-type, body.skin-vector-search-vue #mw-content-text .mw-parser-output > :not(p).floatright + p:first-of-type, body.skin-vector-search-vue #mw-content-text .mw-parser-output > :not(p).tleft + p:first-of-type, body.skin-vector-search-vue #mw-content-text .mw-parser-output > :not(p).tright + p:first-of-type{ margin-top:0; } body.skin-vector-search-vue #mw-content-text .mw-parser-output > p:last-child{ margin-bottom:0.3em; } body.skin-vector-search-vue pre{ margin-top:8px; margin-bottom:8px; padding:11px; background-color: #f8f9fa; color: #000; border: 1px solid #eaecf0; box-sizing:border-box; } body.skin-vector-search-vue div.mw-highlight > pre{ margin-top:8px; margin-bottom:8px; } body.ns-828.skin-vector-search-vue.action-view #mw-content-text .mw-parser-output > div.mw-highlight:last-child > pre:last-child{ margin-top:5px; margin-bottom:0; } body.skin-vector-search-vue.action-view #mw-content-text .mw-parser-output > div.mw-highlight:last-child > pre:last-child{ margin-bottom:0; margin-top:5px; } body.ns-828.skin-vector-search-vue:not(.action-view) #mw-content-text .mw-parser-output > div.mw-highlight:last-child > pre:last-child{ margin-top:0px; margin-bottom:0; } body.skin-vector-search-vue:not(.action-view) #mw-content-text .mw-parser-output > div.mw-highlight:last-child > pre:last-child{ margin-bottom:0; margin-top:0; } body.skin-vector-search-vue #mw-content-text .mw-parser-output > div.mw-highlight:only-child > pre:only-child{ margin-bottom:0 !important; margin-top:0 !important; } body.skin-vector-search-vue .oo-ui-panelLayout-padded.oo-ui-panelLayout-framed{ margin:0 0 8px 0; } body.skin-vector-search-vue .mw-body > h1{ margin-bottom:0; } body.skin-vector-search-vue #central-auth-images{ display:none; } body.skin-vector-search-vue .mw-message-box{ margin-top:10px; margin-bottom:10px; } body.skin-vector-search-vue #contentSub:not(:empty) ~ #mw-content-text > .mw-message-box:first-child{ margin-top:6px; margin-bottom:10px; } body.skin-vector-search-vue #contentSub > .mw-message-box{ margin-top:10px; margin-bottom:10px; } body.skin-vector-search-vue #contentSub > .subpages ~ .mw-message-box, body.skin-vector-search-vue #contentSub > #pwContent ~ .mw-message-box{ margin-bottom:10px; margin-top:0; } body.skin-vector-search-vue #wikiPreview.ontop{ margin-bottom:5px; } body.skin-vector-search-vue.skin-vector-disable-max-width #wikiPreview{ max-width:100%; } body.skin-vector-search-vue .previewnote{ margin-bottom:10px; } body.skin-vector-search-vue form#editform{ margin-top:5px; margin-bottom:5px; } body.skin-vector-search-vue #editform::after{ display:block; } body.skin-vector-search-vue .editOptions{ margin-bottom:10px; } body.skin-vector-search-vue .mw-category-generated > #mw-pages > h2, body.skin-vector-search-vue .mw-category-generated > #mw-subcategories > h2, body.skin-vector-search-vue .mw-category-generated > #mw-category-media > h2{ margin-top:15px !important; } body.skin-vector-search-vue .mw-category-generated > #mw-pages:last-child, body.skin-vector-search-vue .mw-category-generated > #mw-subcategories:last-child, body.skin-vector-search-vue .mw-category-generated > #mw-category-media:last-child{ margin-bottom:10px; } body.skin-vector-search-vue .mw-parser-output + .mw-category-generated > p:first-child, body.skin-vector-search-vue .mw-container-parser-output + .mw-category-generated > p:first-child, body.skin-vector-search-vue .noarticletext + .mw-category-generated > p:first-child{ margin-bottom:0; margin-top:0; } body.skin-vector-search-vue .mw-category-generated > *:first-child > h2{ margin-top:15px !important; } body.skin-vector-search-vue .mw-category-generated{ margin-bottom:5px; } body.skin-vector-search-vue .mw-editfooter-list{ margin-bottom:0; } body.skin-vector-search-vue #mw-clearyourcache:first-child > p:first-child{ margin-top:0; } body.skin-vector-search-vue .vector-menu-portal { margin: 0 5px; padding: 0.2em 0 0 0; direction: ltr; } body.skin-vector-search-vue .vector-menu-portal .vector-menu-content{ margin-left: 3px; } body.skin-vector-search-vue #mw-panel nav:first-child .vector-menu-content { margin-left: 0; } body.skin-vector-search-vue .vector-menu-portal .vector-menu-heading{ margin-left:3px; } body.skin-vector-search-vue .mw-undelete-pagetitle > p:first-child{ margin-top:0; } body.skin-vector-search-vue .mw-delete-warning-revisions{ display:block; margin-top:10px; } body.skin-vector-search-vue #p-lang-btn-label{ min-height:25px; padding:5px 25px 3px 5px; } body.skin-vector-search-vue .mw-delete-editreasons + h2, body.skin-vector-search-vue .mw-protect-editreasons + h2{ margin-top:0 !important; } body.skin-vector-search-vue .vector-article-toolbar .mw-article-toolbar-container{ margin-right:0; padding-right:0; } body.skin-vector-search-vue .vector-article-toolbar .mw-article-toolbar-container{ margin-right: 0; padding-right:0; } body.skin-vector-search-vue .vector-article-toolbar .mw-article-toolbar-container #right-navigation{ margin-right:4px; } body.skin-vector-search-vue .vector-article-toolbar .mw-article-toolbar-container #right-navigation{ margin-right: 4px; } body.skin-vector-search-vue .vector-article-toolbar .mw-article-toolbar-container #right-navigation::before{ display: flex; content: ''; width: auto; flex-direction: row; flex: 1 1 auto; box-sizing:border-box; } body.skin-vector-search-vue .vector-article-toolbar .mw-article-toolbar-container #right-navigation .vector-menu-content{ right:0; } body.skin-vector-search-vue .mw-table-of-contents-container{ direction: rtl; background-color:white; background-image: url('//upload.wikimedia.org/wikipedia/commons/thumb/b/ba/Wikibooks_multicolor_open_book_no_text.svg/200px-Wikibooks_multicolor_open_book_no_text.svg.png'); } body.skin-vector-search-vue .mw-table-of-contents-container:not(:-moz-only-whitespace){ margin-right:8px; margin-left:5px; } body.skin-vector-search-vue .mw-table-of-contents-container.sidebar_obecny{ width:200px; max-height:100%; margin-right:8px; margin-left:5px; box-sizing:border-box; position:static; } body.skin-vector-search-vue .mw-table-of-contents-container .sidebar-toc{ width:200px; direction: rtl; overflow:visible; margin-right:0; margin-left:0; max-height:calc( 100vh - 59px ); margin-top:0 !important; display:block; } body.skin-vector-search-vue .mw-table-of-contents-container .sidebar-toc .sidebar-toc-contents{ direction:ltr; } body.skin-vector-search-vue .mw-table-of-contents-container.sidebar_obecny .sidebar-toc{ position:absolute; max-width:700px; min-width:200px; display:block; } body.skin-vector-search-vue .mw-table-of-contents-container.sidebar_obecny .sidebar-toc:not(:hover){ width:200px; transition: width 250ms ease-out; transition-property: width; transition-duration: 250ms; transition-timing-function: ease-out; transition-delay: 0s; } body.skin-vector-search-vue .mw-table-of-contents-container.sidebar_obecny .sidebar-toc:not(:hover) .sidebar-toc-level-2{ display:none; } body.skin-vector-search-vue .mw-table-of-contents-container.sidebar_obecny .sidebar-toc:hover{ width:auto; transition: width 250ms ease-out; transition-property: width; transition-duration: 250ms; transition-timing-function: ease-out; transition-delay: 0s; } body.skin-vector-search-vue .mw-article-toolbar-container{ margin-left:0 !important; } body.skin-vector-search-vue .mw-checkbox-hack-checkbox:checked ~ .mw-workspace-container .mw-content-container, body.skin-vector-search-vue .mw-checkbox-hack-checkbox:checked ~ .mw-workspace-container #mw-navigation .mw-article-toolbar-container { margin-left: 0 !important; } body.skin-vector-search-vue .vector-body h1, body.skin-vector-search-vue .vector-body h2, body.skin-vector-search-vue .vector-body h3, body.skin-vector-search-vue .vector-body h4, body.skin-vector-search-vue .vector-body h5, body.skin-vector-search-vue .vector-body h6{ margin-top:0.8em; } body.skin-vector-search-vue .mw-history-subtitle{ margin-bottom:6px; } body.skin-vector-search-vue .printfooter{ display:block; margin: 5px 0; padding:5px; white-space:normal; border: 1px solid #eaecf0; box-sizing:border-box; background-color: white; } .client-js body.skin-vector-search-vue .mw-search-form-wrapper { min-height: 112px; } body.skin-vector-search-vue .noarticletext{ margin-bottom:5px; } body.skin-vector-search-vue .mw-menu-active{ background-color:#E6E6FA; } body.skin-vector-search-vue .mw-menu-inactive{ background-color:#EEE8AA; } body.skin-vector-search-vue .mw-menu-active,body.skin-vector-search-vue .mw-menu-inactive{ padding-left:5px !important; padding-right:5px !important; margin-left:0 !important; display:block; border-radius:5px; border:1px solid #a2a9b1; margin-top:3px; } body.skin-vector-search-vue .mw-items-active{ display:block; border-radius:5px; border:1px solid #a2a9b1; padding: 0 5px; margin-top:2px; } body.skin-vector-search-vue .mw-items-active > ul{ margin-top:0; } body.skin-vector-search-vue .mw-items-inactive{ display:none; } body.skin-vector-search-vue .mw-items-active,body.skin-vector-search-vue .mw-items-inactive{ margin-left:0px !important; } s7dkn3bbkvnpd46ubbv6o8lm9dpbvqj 435315 435310 2022-07-20T20:06:28Z Persino 2851 css text/css body.skin-vector-search-vue .mw-page-container{ max-width:100%; min-width:988px; padding-left:0; padding-right:0; border-left: 0; border-right: 0; box-sizing:border-box; display:table; width:100%; background-color:white; height:auto; } body.skin-vector-search-vue .mw-content-container{ max-width:100%; box-sizing:border-box; } body.skin-vector-search-vue .mw-logo-container{ margin-left: 10px; margin-right:0; } body.skin-vector-search-vue #p-lang-btn-label{ font-size:14px !important; line-height:1.2em !important; white-space:nowrap; } body.skin-vector-search-vue .mw-indicators{ font-size: calc( 14px * 0.875 ); line-height: 2.0em; white-space:nowrap; margin: auto 0 0 0; } body.skin-vector-search-vue.action-view.page-Wikibooks_Strona_główna #content{ display:grid; grid: 'aa aa aa' auto 'dd dd dd' auto 'bb bb bb' auto 'cc cc cc' auto '.. .. ff' auto 'ee ee ee' auto / minmax(auto,1fr) auto auto } body.skin-vector-search-vue.action-view.page-Wikibooks_Strona_główna #content > #top{ grid-area:aa; } body.skin-vector-search-vue.action-view.page-Wikibooks_Strona_główna #content > #siteNotice{ grid-area:bb; } body.skin-vector-search-vue.action-view.page-Wikibooks_Strona_główna #content > .vector-article-toolbar{ grid-area:dd; margin:0; } body.skin-vector-search-vue.action-view.page-Wikibooks_Strona_główna #content > .mw-body-header{ grid-area:cc; top:0; width:auto !important; height:auto !important; margin:0; margin-right:10px; box-sizing:border-box; border-bottom: 1px solid #a2a9b1; } body.skin-vector-search-vue.action-view.page-Wikibooks_Strona_główna #content > #p-lang-btn{ grid-area:ff; height:20px; width:auto; height:auto; margin-left:auto; top:0; margin: auto 5px 0 5px; padding-bottom:8px; box-sizing:border-box; } body.skin-vector-search-vue.action-view.page-Wikibooks_Strona_główna #content > #bodyContent{ grid-area:ee; } body.skin-vector-search-vue.action-view.page-Wikibooks_Strona_główna #content > .mw-body-header{ display:grid; grid: 'aa bb' auto / minmax(auto,1fr) auto; width:100%; min-height: 46px; box-sizing: border-box; position: relative; } body.skin-vector-search-vue.action-view.page-Wikibooks_Strona_główna #content > .mw-body-header > .firstHeading{ display:block !important; } body.skin-vector-search-vue.action-view.page-Wikibooks_Strona_główna #content > .mw-body-header > .firstHeading:not(:hover){ grid-area:aa; margin-bottom:2px; width:100%; max-width:fit-content; max-width:-moz-fit-content; margin-bottom: 0; margin-top: auto; border-bottom: none; padding-left: 3px; padding-right: 3px; border-bottom: 0; } body.skin-vector-search-vue.action-view.page-Wikibooks_Strona_główna #content > .mw-body-header > .mw-indicators{ grid-area: bb; width: auto; height: 1.6em; margin-bottom: 5px; margin-top: auto; margin-right: 5px; } body.skin-vector-search-vue.action-view:not(.page-Wikibooks_Strona_główna):not(.ns-special) #content > .mw-body-header > .firstHeading > .plainlinks, body.skin-vector-search-vue.action-view.ns-special #content > .mw-body-header > .firstHeading > .plainlinks body.skin-vector-search-vue:not(.action-view) #content > .mw-body-header > .firstHeading > .plainlinks{ padding-bottom:2px; } body.skin-vector-search-vue.action-view:not(.page-Wikibooks_Strona_główna):not(.ns-special) #content > .mw-body-header > #p-lang-btn{ grid-area:bb; right:0; margin:0; height:auto; width:auto; margin-top: auto; margin-bottom:0; padding: 0 3px; box-sizing:border-box; } body.skin-vector-search-vue.action-view:not(.page-Wikibooks_Strona_główna):not(.ns-special) #content > .mw-body-header, body.skin-vector-search-vue.action-view.ns-special #content > .mw-body-header, body.skin-vector-search-vue:not(.action-view) #content > .mw-body-header{ display:grid; grid:'aa bb' auto / minmax(auto,100%) auto; border-bottom:1px solid #a2a9b1; margin-top:auto; margin-bottom:0; min-height:46px; box-sizing:border-box; position:relative; } body.skin-vector-search-vue.action-view:not(.page-Wikibooks_Strona_główna):not(.ns-special) #content > .mw-body-header > .firstHeading:not(:hover), body.skin-vector-search-vue.action-view.ns-special #content > .mw-body-header > .firstHeading:not(:hover), body.skin-vector-search-vue:not(.action-view) #content > .mw-body-header > .firstHeading:not(:hover){ grid-area:aa; width:100%; max-width:fit-content; max-width:-moz-fit-content; margin-bottom:0; margin-top:auto; border-bottom:none; padding-left:3px; padding-right:3px; border-bottom:0; box-sizing:border-box; } body.skin-vector-search-vue.action-view.ns-special #content > .mw-body-header > .mw-indicators, body.skin-vector-search-vue:not(.action-view) #content > .mw-body-header > .mw-indicators{ grid-area:bb; right:0; margin:0; height:auto; width:100%; margin:auto 0 0 auto; padding: 0 10px; box-sizing:border-box; } body.skin-vector-search-vue.action-view.ns-special #content .mw-body-header > .mw-indicators > .mw-indicator, body.skin-vector-search-vue:not(.action-view) #content .mw-body-header > .mw-indicators > .mw-indicator{ padding: 2px 0 2px 0; margin: auto 0 0 0; } body.skin-vector-search-vue.action-view:not(.page-Wikibooks_Strona_główna):not(.ns-special) #content, body.skin-vector-search-vue.action-view.ns-special #content, body.skin-vector-search-vue:not(.action-view) #content{ display:grid; grid:'aa' auto 'cc' auto 'bb' auto 'dd' auto 'ee' auto / auto; width:100%; } body.skin-vector-search-vue.action-view:not(.page-Wikibooks_Strona_główna):not(.ns-special) #content > #top, body.skin-vector-search-vue.action-view.ns-special #content > #top, body.skin-vector-search-vue:not(.action-view) #content > #top{ grid-area:aa; } body.skin-vector-search-vue.action-view:not(.page-Wikibooks_Strona_główna):not(.ns-special) #content > #siteNotice, body.skin-vector-search-vue.action-view.ns-special #content > #siteNotice, body.skin-vector-search-vue:not(.action-view) #content > #siteNotice{ grid-area:bb; } body.skin-vector-search-vue.action-view:not(.page-Wikibooks_Strona_główna):not(.ns-special) #content > .vector-article-toolbar, body.skin-vector-search-vue.action-view.ns-special #content > .vector-article-toolbar, body.skin-vector-search-vue:not(.action-view) #content > .vector-article-toolbar{ grid-area:cc; } body.skin-vector-search-vue .mw-body-header::after{ display:none; } body.skin-vector-search-vue.action-view:not(.page-Wikibooks_Strona_główna):not(.ns-special) #content > .mw-body-header, body.skin-vector-search-vue.action-view.ns-special #content > .mw-body-header, body.skin-vector-search-vue:not(.action-view) #content > .mw-body-header{ grid-area:dd; margin:0; margin-right:10px; width:auto; padding-bottom:0; } body.skin-vector-search-vue .mw-body-subheader{ border-bottom:0; } /*body.skin-vector-search-vue #siteSub,*/ body.skin-vector-search-vue .firstHeading:not(:hover) > .plainlinks{ display:none; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; } body.skin-vector-search-vue .firstHeading:not(:hover){ display:block; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; border-bottom:0; } body.skin-vector-search-vue .firstHeading:hover{ display:block; border:1px solid #eaecf0; border-radius:10px; background-color:white; position:absolute; top:5px; left:-3px; width:auto; padding:5px; z-index:1 !important; } body.skin-vector-search-vue .mw-body-header > .firstHeading:hover > .plainlinks{ display:block; } body.skin-vector-search-vue.action-view:not(.page-Wikibooks_Strona_główna):not(.ns-special) #bodyContent > .mw-body-subheader{ margin: 2px 0 3px 0; min-height:1.6em; } body.skin-vector-search-vue.action-view.ns-special #bodyContent > .mw-body-subheader, body.skin-vector-search-vue:not(.action-view) #bodyContent > .mw-body-subheader{ margin: 0; } body.skin-vector-search-vue.action-view.page-Wikibooks_Strona_główna #bodyContent > .mw-body-subheader{ margin:0; margin-top: -2.0em; font-size: 1.2em; height: 2em; margin-bottom:5px; } body.skin-vector-search-vue.action-view.page-Wikibooks_Strona_główna #bodyContent > .mw-body-subheader > #siteSub{ display:table !important; width:auto; } body.skin-vector-search-vue.action-view:not(.page-Wikibooks_Strona_główna):not(.ns-special) #bodyContent > .mw-body-subheader> .mw-indicators{ margin-left:5px; margin-right:3px; display:block; } body.skin-vector-search-vue.action-view:not(.page-Wikibooks_Strona_główna):not(.ns-special) #bodyContent > .mw-body-subheader> #siteSub{ display:block; } body.skin-vector-search-vue .firstHeading, body.skin-vector-search-vue .firstHeading > .plainlinks{ max-width:100%; width:auto; } body.skin-vector-search-vue.action-view:not(.page-Wikibooks_Strona_główna):not(.ns-special) #content #bodyContent, body.skin-vector-search-vue.action-view.ns-special #content #bodyContent, body.skin-vector-search-vue:not(.action-view) #content #bodyContent{ grid-area:ee; } body.skin-vector-search-vue.skin-vector-disable-max-width .vector-layout-legacy #mw-sidebar-checkbox:checked ~ .mw-workspace-container #mw-navigation .mw-article-toolbar-container, body.skin-vector-search-vue.skin-vector-disable-max-width .vector-layout-legacy #mw-sidebar-checkbox:checked ~ .mw-workspace-container .mw-content-container, body.skin-vector-search-vue:not(.skin-vector-toc-experiment-control):not(.skin-vector-toc-experiment-unsampled) .vector-toc-visible .mw-workspace-container .mw-content-container, body.skin-vector-search-vue:not(.skin-vector-toc-experiment-control):not(.skin-vector-toc-experiment-unsampled) .vector-toc-visible .mw-workspace-container .mw-article-toolbar-container, body.skin-vector-search-vue.vector-toc-enabled .mw-checkbox-hack-checkbox:checked ~ .mw-workspace-container .mw-content-container, body.skin-vector-search-vue.vector-toc-enabled .mw-checkbox-hack-checkbox:checked ~ .mw-workspace-container .mw-article-toolbar-container, body.skin-vector-search-vue.skin-vector-disable-max-width .vector-toc-enabled .vector-layout-legacy #mw-sidebar-checkbox:checked ~ .mw-workspace-container .mw-content-container, body.skin-vector-search-vue:not(.skin-vector-toc-experiment-control):not(.skin-vector-toc-experiment-unsampled) .vector-layout-legacy .vector-toc-visible .mw-workspace-container .mw-content-container, body.skin-vector-search-vue:not(.skin-vector-toc-experiment-control):not(.skin-vector-toc-experiment-unsampled) .vector-layout-legacy .vector-toc-visible #mw-navigation .mw-article-toolbar-container, body.skin-vector-search-vue.vector-toc-enabled .vector-layout-legacy #mw-sidebar-checkbox:checked ~ .mw-workspace-container .mw-content-container, body.skin-vector-search-vue.vector-toc-enabled .vector-layout-legacy #mw-sidebar-checkbox:checked ~ .mw-workspace-container #mw-navigation .mw-article-toolbar-container{ margin-left:0; } body.skin-vector-search-vue .mw-workspace-container:not(.mw-footer-container){ display:grid; grid:'aa cc bb' auto / auto minmax(auto,1fr) auto; width:auto; box-sizing:border-box; } body.skin-vector-search-vue .mw-workspace-container:not(.mw-footer-container) > #mw-navigation{ grid-area:aa; width:100%; box-sizing:border-box; } body.skin-vector-search-vue .mw-workspace-container:not(.mw-footer-container) > .mw-table-of-contents-container.mw-sticky-header-element{ grid-area:bb; max-width:200px; display:block; box-sizing:border-box; margin-bottom:16px; z-index:1; } body.skin-vector-search-vue .mw-workspace-container:not(.mw-footer-container) > .mw-content-container{ grid-area:cc; box-sizing:border-box; } /**/ body.skin-vector-search-vue .mw-workspace-container .mw-content-container, body.skin-vector-search-vue .mw-workspace-container .mw-content-container #bodyContent, body.skin-vector-search-vue .mw-workspace-container .mw-content-container #content, body.skin-vector-search-vue .mw-workspace-container .mw-content-container .mw-body-header{ width:100%; box-sizing:border-box; } body.skin-vector-search-vue .mw-article-toolbar-container .mw-portlet-views { display: block; } body.skin-vector-search-vue .mw-article-toolbar-container .vector-more-collapsible-item { display: none; } body.skin-vector-search-vue .sidebar-toc{ left:auto; right:8px; } body.skin-vector-search-vue:not(.vector-below-page-title) .mw-checkbox-hack-checkbox:checked ~ .mw-workspace-container .sidebar-toc{ left:auto; right:8px; } body.skin-vector-search-vue.vector-toc-enabled .mw-checkbox-hack-checkbox:checked ~ .mw-workspace-container .sidebar-toc{ display: block; } body.skin-vector-search-vue.vector-toc-enabled .mw-checkbox-hack-checkbox:checked ~ .mw-workspace-container .sidebar-toc{ display: block; } body.skin-vector-search-vue .mw-checkbox-hack-checkbox:checked ~ .mw-workspace-container #mw-panel, body.skin-vector-search-vue #mw-sidebar-checkbox:checked ~ .mw-workspace-container #mw-panel{ left:-140px; top:-15px; position:absolute; width:140px; box-sizing:border-box; } body.skin-vector-search-vue.vector-toc-enabled .mw-sidebar{ margin-left:0; background-color: white; padding: 12px 0; margin-top:0; } .vector-animations-ready body.skin-vector-search-vue .mw-sidebar{ transition: none; transition-property: none; transition-duration: none; transition-timing-function: none; transition-delay: none; } body.skin-vector-search-vue.vector-toc-enabled #mw-sidebar-checkbox:not(:checked) ~ .mw-workspace-container .mw-sidebar{ display:block; } body.skin-vector-search-vue #mw-sidebar-checkbox:not(:checked) ~ .mw-workspace-container .mw-sidebar{ visibility: visible; opacity: 1; transform: none; } body.skin-vector-search-vue .mw-workspace-container #mw-panel{ left:-140px; top:-15px; position: absolute; float:left; box-sizing:border-box; } body.skin-vector-search-vue .ui-dialog{ font-size:75%; } body.skin-vector-search-vue .mw-body-content .error{ font-size:96%; } body.skin-vector-search-vue.action-purge .firstHeading{ padding-bottom:3px; } body.skin-vector-search-vue .firstHeading .plainlinks{ line-height:1.2em !important; } body.skin-vector-search-vue #mw-panel{ width:140px; box-sizing:border-box; } body.skin-vector-search-vue .mw-sidebar #p-navigation .vector-menu-heading{ display:block; } body.skin-vector-search-vue .mw-workspace-container{ margin-right:0; margin-left:140px; min-width:auto; max-width:100%; box-sizing:border-box; } body.skin-vector-search-vue .mw-checkbox-hack-checkbox:checked ~ .mw-workspace-container{ margin-left:140px; transition: margin-left 250ms ease-out; transition-property: margin-left; transition-duration: 250ms; transition-timing-function: ease-out; transition-delay: 0s; } body.skin-vector-search-vue .mw-checkbox-hack-checkbox:not(:checked) ~ .mw-workspace-container{ margin-left:0; transition: margin-left 250ms ease-out; transition-property: margin-left; transition-duration: 250ms; transition-timing-function: ease-out; transition-delay: 0s; } body.skin-vector-search-vue .mw-article-toolbar-container{ max-width:100%; box-sizing:border-box; position:relative; z-index:1; } body.skin-vector-search-vue .mw-footer-container{ padding-top:0; } body.skin-vector-search-vue .mw-content-container > .mw-body{ margin-left:0; margin-right:0; } body.skin-vector-search-vue .mw-article-toolbar-container > #left-navigation{ margin-left:0; margin-right:0; } body.skin-vector-search-vue .mw-content-container .mw-footer{ margin-left:8px; margin-right:0; padding: 0.75em 5px; } body.skin-vector-search-vue .mw-header { display:flex; flex-direction: row; margin: 8px 5px 0 5px; } body.skin-vector-search-vue .mw-workspace-container #mw-head{ min-width:832px; margin-right:5px; box-sizing:border-box; } body.skin-vector-search-vue .mw-logo-icon{ display:block; } body.skin-vector-search-vue .vector-user-links .vector-user-menu-more .vector-menu-content-list li.user-links-collapsible-item { display: block; } body.skin-vector-search-vue .vector-search-box-collapses > div{ display:block; } body.skin-vector-search-vue a.mw-ui-icon-wikimedia-search{ display:none; } body.skin-vector-search-vue .vector-sticky-header{ height:3.2em; padding: 6px 25px; display:flex; flex-direction:row; min-width:700px; margin-left:auto; margin-right:auto; width:90%; text-align:center; box-sizing:border-box; } @media screen and (max-width: 830px){ body.skin-vector-search-vue .vector-sticky-header{ display: none; } } .client-nojs body.skin-vector-search-vue .vector-sticky-header{ display:none !important; } body.skin-vector-search-vue .wvui-typeahead-suggestion{ padding-top:4px; padding-bottom:4px; text-align:left; } body.skin-vector-search-vue .vector-sticky-header.vector-header-search-toggled{ flex-basis: 460px; box-sizing:border-box; } body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--auto-expand-width:not(.wvui-typeahead-search--focused){ margin-left:10px; width:460px; box-sizing:border-box; } body.skin-vector-search-vue .wvui-typeahead-suggestion__thumbnail-placeholder, body.skin-vector-search-vue .wvui-typeahead-suggestion__thumbnail{ width: 36px; height: 36px; } body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail:not(.wvui-typeahead-search--auto-expand-width), body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--auto-expand-width.wvui-typeahead-search--focused{ margin-left:10px; width:460px; box-sizing:border-box; } body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail:not(.wvui-typeahead-search--auto-expand-width) .wvui-input__start-icon, body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--auto-expand-width.wvui-typeahead-search--focused .wvui-input__start-icon{ left:13px; width:37px; } body.skin-vector-search-vue .wvui-input, body.skin-vector-search-vue .vector-search-box, body.skin-vector-search-vue .wvui-typeahead-suggestion__title, body.skin-vector-search-vue .wvui-typeahead-search__wrapper, body.skin-vector-search-vue .vector-search-box-vue .vector-search-box-input, body.skin-vector-search-vue .wvui-input__input, body.skin-vector-search-vue .wvui-typeahead-search, body.skin-vector-search-vue .wvui-typeahead-search__form, body.skin-vector-search-vue #p-search #searchform #simpleSearch{ font-size:calc( 14px * 1.042 ); line-height:1.2em; height:30px; min-height:30px; box-sizing:border-box; } body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail:not(.wvui-typeahead-search--active) .wvui-input, body.skin-vector-search-vue .vector-search-box, body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail:not(.wvui-typeahead-search--active) .wvui-typeahead-suggestion__title, body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail:not(.wvui-typeahead-search--active) .wvui-typeahead-search__wrapper, body.skin-vector-search-vue .vector-search-box-vue .wvui-typeahead-search--show-thumbnail:not(.wvui-typeahead-search--active) .vector-search-box-input, body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail:not(.wvui-typeahead-search--active) .wvui-input__input, body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail:not(.wvui-typeahead-search--active) .wvui-typeahead-search, body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail:not(.wvui-typeahead-search--active) .wvui-typeahead-search__form, body.skin-vector-search-vue #p-search #searchform #simpleSearch{ width:460px; } body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--active .wvui-input, body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--active .wvui-typeahead-suggestion__title, body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--active .wvui-typeahead-search__wrapper, body.skin-vector-search-vue .vector-search-box-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--active .vector-search-box-input, body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--active .wvui-input__input, body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--active .wvui-typeahead-search, body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--active .wvui-typeahead-search__form{ width:calc( 460px - 64px); } body.skin-vector-search-vue .wvui-button{ font-size:calc( 14px * 1.042 ); line-height:1.2em; height:30px; min-height:30px; width:64px; border-left:0; box-sizing:border-box; } body.skin-vector-search-vue .mw-header #p-search #searchform #simpleSearch{ margin-left:10px; width:460px; box-sizing:border-box; } body.skin-vector-search-vue .wvui-typeahead-search__wrapper{ margin-right:0; } body.skin-vector-search-vue .wvui-typeahead-suggestion__title{ display: table-cell; vertical-align: middle; } .client-js body.skin-vector-search-vue .vector-search-box-show-thumbnail.vector-search-box-auto-expand-width .vector-search-box-input, .client-js .vector-search-box-vue .vector-search-box-show-thumbnail.vector-search-box-auto-expand-width .vector-search-box-input{ margin-left:0; box-sizing:border-box; width:460px; } .client-js body.skin-vector-search-vue .vector-search-box-show-thumbnail.vector-search-box-auto-expand-width .searchButton, .client-js .vector-search-box-vue .vector-search-box-show-thumbnail.vector-search-box-auto-expand-width .searchButton{ left:0; } body.skin-vector-search-vue .mw-header .vector-search-box.vector-search-box-auto-expand-width{ margin-left:10px; } body.skin-vector-search-vue .mw-header .vector-search-box.vector-search-box-auto-expand-width > div{ width:460px; box-sizing:border-box; } body.skin-vector-search-vue .vector-search-box-vue .searchButton{ background-size: 20px auto; } .client-js body.skin-vector-search-vue .vector-search-box-input, .client-js .vector-search-box-vue .vector-search-box-input{ padding-left:36px; padding-right:8px; } body.skin-vector-search-vue .wvui-input--has-start-icon .wvui-input__input{ padding-left:36px; padding-right:8px; } body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--auto-expand-width:not(.wvui-typeahead-search--focused) .wvui-input__input { border-right-color: #a2a9b1; width:460px; box-sizing:border-box; } body.skin-vector-search-vue .wvui-typeahead-search .wvui-input__input{ border-right-color: #a2a9b1; } body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--auto-expand-width:not(.wvui-typeahead-search--focused):not(.wvui-typeahead-search--active) .wvui-input__input { width: 460px; } body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--auto-expand-width:not(.wvui-typeahead-search--focused).wvui-typeahead-search--active .wvui-input__input { width:calc( 460px - 64px ); } body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail:not(.wvui-typeahead-search--auto-expand-width) .wvui-input__input, body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--auto-expand-width.wvui-typeahead-search--focused .wvui-input__input{ position:relative; padding-left: 62px; box-sizing:border-box; } body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail:not(.wvui-typeahead-search--auto-expand-width).wvui-typeahead-search--active .wvui-input__input, body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--auto-expand-width.wvui-typeahead-search--focused.wvui-typeahead-search--active .wvui-input__input{ width:calc( 460px - 64px ); } body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail:not(.wvui-typeahead-search--auto-expand-width):not(.wvui-typeahead-search--active) .wvui-input__input, body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--auto-expand-width.wvui-typeahead-search--focused:not(.wvui-typeahead-search--active) .wvui-input__input{ width:460px; } body.skin-vector-search-vue .wvui-typeahead-search--expanded .wvui-typeahead-search__suggestions{ width:calc( 460px - 64px ); top:30px; box-sizing:border-box; } body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--active .wvui-typeahead-search--expanded .wvui-typeahead-search__suggestions{ width:calc( 460px - 64px ); } body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail:not(.wvui-typeahead-search--active) .wvui-typeahead-search--expanded .wvui-typeahead-search__suggestions{ width:460px; } body.skin-vector-search-vue .mw-header .vector-search-box.vector-search-box-auto-expand-width > div{ max-width:460px; } body.skin-vector-search-vue .mw-logo{ min-width:144px; } body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--auto-expand-width:not(.wvui-typeahead-search--focused):not(.wvui-typeahead-search--active).wvui-typeahead-search--active .wvui-button{ display:block; width:64px; z-index:1; } body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail:not(.wvui-typeahead-search--auto-expand-width).wvui-typeahead-search--active .wvui-button, body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--auto-expand-width.wvui-typeahead-search--focused.wvui-typeahead-search--active .wvui-button{ display:block; width:64px; z-index:1; } body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail:not(.wvui-typeahead-search--active) .wvui-button{ display:none; } body.skin-vector-search-vue .wvui-button{ padding-left:0; padding-right:0; } body.skin-vector-search-vue .mw-ui-icon,.mw-ui-icon-before::before{ font-size:14px; } body.skin-vector-search-vue .mw-sidebar-action{ display:none; } body.skin-vector-search-vue, body.skin-vector-search-vue .mw-editsection{ font-family: Arial, Helvetica, "Free Helvetian", FreeSans, sans-serif; font-stretch:normal; font-variant:normal; font-style:normal; font-weight:normal; font-size-adjust:none; letter-spacing:normal; word-spacing:normal; text-align:left; word-wrap:break-word; hyphens:auto; } body.skin-vector-search-vue{ font-size:calc( 14px * 1.042 ); line-height:1.2em; background-color:#ffffff; } body.skin-vector-search-vue .mw-editsection{ font-size:12px; line-height:1.2em; } body.skin-vector-search-vue.action-view:not(.page-Wikibooks_Strona_główna):not(.ns-special) #contentSub, body.skin-vector-search-vue.action-view:not(.page-Wikibooks_Strona_główna):not(.ns-special) #contentSub ~ #contentSub2{ margin:0; } body.skin-vector-search-vue.action-view.ns-special #contentSub:empty, body.skin-vector-search-vue.action-view.ns-special #contentSub:not(:empty), body.skin-vector-search-vue.action-view.ns-special #contentSub:not(:empty) ~ #contentSub2, body.skin-vector-search-vue.action-view.ns-special #contentSub:empty ~ #contentSub2:not(:empty){ margin:2px 0 3px 0; } body.skin-vector-search-vue.action-view.ns-special #contentSub:empty ~ #contentSub2:empty{ margin:10px 0; } body.skin-vector-search-vue:not(.action-view) #contentSub:empty{ margin:2px 0 3px 0; } body.skin-vector-search-vue:not(.action-view) #contentSub:empty ~ #contentSub2:empty{ margin:10px 0; } body.skin-vector-search-vue:not(.action-view) #contentSub:not(:empty), body.skin-vector-search-vue:not(.action-view) #contentSub:not(:empty) ~ #contentSub2{ margin: 2px 0 2px 0; } body.skin-vector-search-vue:not(.action-view) #contentSub:empty ~ #contentSub2:not(:empty){ margin: 2px 0 3px 0; } body.skin-vector-search-vue.action-view.page-Wikibooks_Strona_główna #contentSub, body.skin-vector-search-vue.action-view.page-Wikibooks_Strona_główna #contentSub2{ margin:0; } body.skin-vector-search-vue.action-edit #contentSub:not(:empty) ~ #mw-content-text > form#editform{ margin-top:0; } body.skin-vector-search-vue.action-view #pwContent, body.skin-vector-search-vue:not(.action-view) #pwContent, body.skin-vector-search-vue.action-view .subpages, body.skin-vector-search-vue:not(.action-view) .subpages{ margin:0; font-size:12px; line-height:1.2em; margin-bottom:6px; } body.skin-vector-search-vue.action-view:not(.page-Wikibooks_Strona_główna) .warningbox, body.skin-vector-search-vue:not(.action-view) .warningbox{ margin:10px 0; } body.skin-vector-search-vue #mw-previewheader{ margin-top:14px; margin-bottom:10px; } body.skin-vector-search-vue .mw-userconfigpublic{ margin-top:8px; } body.skin-vector-search-vue .mw-contributions-user-tools{ margin-bottom:6px; } body.skin-vector-search-vue:not(.action-view) .mw-body, body.skin-vector-search-vue.action-view.ns-special .mw-body{ padding: 8px 0 10px 8px; position:relative; z-index:0; } body.skin-vector-search-vue.action-view.page-Wikibooks_Strona_główna .mw-body, body.skin-vector-search-vue.action-view:not(.ns-special):not(.page-Wikibooks_Strona_główna) .mw-body{ padding: 4px 0 10px 8px; position:relative; z-index:0; } body.skin-vector-search-vue #centralNotice:not(:empty){ margin:10px 8px 8px 8px; } body.skin-vector-search-vue .mw-content-container{ min-width:848px; } body.skin-vector-search-vue #content{ margin-left:0px; min-width:848px; box-sizing:border-box; } body.skin-vector-search-vue #mw-content-text{ clear:both; } body.skin-vector-search-vue #bodyContent{ box-sizing:border-box; min-width:832px; height:auto; clear:both; padding: 0 13px 0 5px; } body.skin-vector-search-vue .mw-table-of-contents-container.sidebar_obecny ~ .mw-content-container #bodyContent{ padding: 0 5px; } body.skin-vector-search-vue .mw-table-of-contents-container.sidebar_obecny ~ .mw-content-container .mw-body-header{ margin-right:3px !important; } body.skin-vector-search-vue.action-view #bodyContent #mw-content-text .mw-container-parser-output, body.skin-vector-search-vue:not(.action-view) #bodyContent #mw-content-text .mw-container-parser-output{ overflow:auto; overflow-x:auto; overflow-y:visible; min-width:822px; box-sizing:border-box; margin-bottom:5px; display:block; height:auto; position:relative; } body.skin-vector-search-vue.action-view #bodyContent #mw-content-text .mw-container-parser-output.has-mw-parser-output-whitespace, body.skin-vector-search-vue:not(.action-view) #bodyContent #mw-content-text .mw-container-parser-output.has-mw-parser-output-whitespace{ margin-bottom:0 !important; } body.skin-vector-search-vue.action-view #bodyContent #mw-content-text .mw-container-parser-output.mw-scrollbar-overflow-x, body.skin-vector-search-vue:not(.action-view) #bodyContent #mw-content-text #wikiPreview .mw-content-ltr .mw-container-parser-output.mw-scrollbar-overflow-x{ padding-bottom:5px; } body.skin-vector-search-vue.action-view #bodyContent #mw-content-text .mw-container-parser-output:not(.mw-scrollbar-overflow-x), body.skin-vector-search-vue:not(.action-view) #bodyContent #mw-content-text #wikiPreview .mw-content-ltr .mw-container-parser-output:not(.mw-scrollbar-overflow-x){ padding-bottom:0; } body.skin-vector-search-vue.action-view #bodyContent #mw-content-text .mw-container-parser-output.mw-scrollbar-overflow-y, body.skin-vector-search-vue:not(.action-view) #bodyContent #mw-content-text #wikiPreview .mw-content-ltr .mw-container-parser-output.mw-scrollbar-overflow-y{ padding-right:5px; } body.skin-vector-search-vue.action-view #bodyContent #mw-content-text:not(.mw-scrollbar-overflow-y), body.skin-vector-search-vue:not(.action-view) #bodyContent #mw-content-text #wikiPreview .mw-content-ltr:not(.mw-scrollbar-overflow-y){ padding-right:0; } body.skin-vector-search-vue.ns-10 #mw-content-text .mw-parser-output > :not(style):not(link):not(#documentation-meta-data):not(.template-documentation) ~ *:first-of-type, body.skin-vector-search-vue.ns-828 #mw-content-text .mw-parser-output > :not(style):not(link):not(#documentation-meta-data):not(.template-documentation) ~ *:first-of-type{ margin-top:5px !important; } body.skin-vector-search-vue #mw-content-text .mw-parser-output > :not(style):not(link):not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(p):first-child{ margin-top:0 !important; } body.skin-vector-search-vue #mw-content-text .mw-parser-output > :not(style):not(link) ~ :not(style):not(link):not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(p):not(.div-linia):first-of-type{ margin-top:5px !important; } body.skin-vector-search-vue #mw-content-text .mw-parser-output > div.div-linia + *{ margin-top:0px !important; } body.skin-vector-search-vue #mw-content-text .mw-parser-output > h1:first-child, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h2:first-child, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h3:first-child, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h4:first-child, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h5:first-child, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h6:first-child, body.skin-vector-search-vue #mw-content-text .mw-parser-output > :not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(p) + h1:first-of-type, body.skin-vector-search-vue #mw-content-text .mw-parser-output > :not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(p) + h2:first-of-type, body.skin-vector-search-vue #mw-content-text .mw-parser-output > :not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(p) + h3:first-of-type, body.skin-vector-search-vue #mw-content-text .mw-parser-output > :not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(p) + h4:first-of-type, body.skin-vector-search-vue #mw-content-text .mw-parser-output > :not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(p) + h5:first-of-type, body.skin-vector-search-vue #mw-content-text .mw-parser-output > :not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(p) + h6:first-of-type{ margin-top:0.5em !important; } body.skin-vector-search-vue #mw-content-text .mw-parser-output > h1 ~ h1, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h1 ~ h2, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h1 ~ h3, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h1 ~ h4, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h1 ~ h5, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h1 ~ h6, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h2 ~ h1, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h2 ~ h2, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h2 ~ h3, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h2 ~ h4, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h2 ~ h5, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h2 ~ h6, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h3 ~ h1, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h3 ~ h2, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h3 ~ h3, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h3 ~ h4, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h3 ~ h5, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h3 ~ h6, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h4 ~ h1, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h4 ~ h2, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h4 ~ h3, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h4 ~ h4, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h4 ~ h5, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h4 ~ h6, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h5 ~ h1, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h5 ~ h2, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h5 ~ h3, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h5 ~ h4, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h5 ~ h5, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h5 ~ h6, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h6 ~ h1, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h6 ~ h2, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h6 ~ h3, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h6 ~ h4, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h6 ~ h5, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h6 ~ h6{ margin-top:0.8em; } body.skin-vector-search-vue .tdg-editscreen-main{ margin-top:9px; margin-bottom:10px; } body.skin-vector-search-vue .mw-specialpage-summary > p:first-child{ margin: 0 0 4px 0; } body.skin-vector-search-vue .mw-rcfilters-head{ margin-bottom:15px; } body.skin-vector-search-vue.mw-special-Watchlist .mw-rcfilters-head{ min-height: 280px; } body.skin-vector-search-vue #bodyContent #mw-content-text .mw-parser-output .template-documentation:first-of-type{ margin-top:0; box-sizing:border-box; } body.skin-vector-search-vue #bodyContent #mw-content-text .mw-parser-output > :not(style):not(link) ~ .template-documentation{ margin-top:10px !important; box-sizing:border-box !important; } body.skin-vector-search-vue .mw-parser-output #documentation-meta-data:not(:last-child){ margin-top:3px !important; margin-bottom:3px !important; } body.skin-vector-search-vue .mw-parser-output #documentation-meta-data:last-child{ margin-top:3px !important; margin-bottom:0 !important; } body.skin-vector-search-vue #bodyContent #mw-content-text .mw-parser-output{ display:table; box-sizing:border-box; position:relative; width:100%; height:auto; margin:0; margin-bottom:5px; border-spacing:0; padding:0; border-collapse:collapse; border:0; } body.skin-vector-search-vue #bodyContent #mw-content-text .mw-container-parser-output > .mw-parser-output{ margin:0; } body.skin-vector-search-vue .catlinks:not(.catlinks-allhidden){ margin: 5px 0; } body.skin-vector-search-vue #mw-content-text .mw-parser-output > p:first-of-type{ margin-top:0.3em; } body.skin-vector-search-vue #mw-content-text .mw-parser-output > :not(p):not(:empty) + p:first-of-type{ margin-top:0.5em; } body.skin-vector-search-vue #mw-content-text .mw-parser-output > :not(p):not(.blank) + p:first-of-type{ margin-top:0.5em; } body.skin-vector-search-vue #mw-content-text .mw-parser-output > :not(p):not(:-moz-only-whitespace) + p:first-of-type{ margin-top:0.5em; } body.skin-vector-search-vue #mw-content-text .mw-parser-output > :not(p):not(:blank) + p:first-of-type{ margin-top:0.5em; } body.skin-vector-search-vue #mw-content-text .mw-parser-output > :not(p).floatleft + p:first-of-type, body.skin-vector-search-vue #mw-content-text .mw-parser-output > :not(p).floatright + p:first-of-type, body.skin-vector-search-vue #mw-content-text .mw-parser-output > :not(p).tleft + p:first-of-type, body.skin-vector-search-vue #mw-content-text .mw-parser-output > :not(p).tright + p:first-of-type{ margin-top:0; } body.skin-vector-search-vue #mw-content-text .mw-parser-output > p:last-child{ margin-bottom:0.3em; } body.skin-vector-search-vue pre{ margin-top:8px; margin-bottom:8px; padding:11px; background-color: #f8f9fa; color: #000; border: 1px solid #eaecf0; box-sizing:border-box; } body.skin-vector-search-vue div.mw-highlight > pre{ margin-top:8px; margin-bottom:8px; } body.ns-828.skin-vector-search-vue.action-view #mw-content-text .mw-parser-output > div.mw-highlight:last-child > pre:last-child{ margin-top:5px; margin-bottom:0; } body.skin-vector-search-vue.action-view #mw-content-text .mw-parser-output > div.mw-highlight:last-child > pre:last-child{ margin-bottom:0; margin-top:5px; } body.ns-828.skin-vector-search-vue:not(.action-view) #mw-content-text .mw-parser-output > div.mw-highlight:last-child > pre:last-child{ margin-top:0px; margin-bottom:0; } body.skin-vector-search-vue:not(.action-view) #mw-content-text .mw-parser-output > div.mw-highlight:last-child > pre:last-child{ margin-bottom:0; margin-top:0; } body.skin-vector-search-vue #mw-content-text .mw-parser-output > div.mw-highlight:only-child > pre:only-child{ margin-bottom:0 !important; margin-top:0 !important; } body.skin-vector-search-vue .oo-ui-panelLayout-padded.oo-ui-panelLayout-framed{ margin:0 0 8px 0; } body.skin-vector-search-vue .mw-body > h1{ margin-bottom:0; } body.skin-vector-search-vue #central-auth-images{ display:none; } body.skin-vector-search-vue .mw-message-box{ margin-top:10px; margin-bottom:10px; } body.skin-vector-search-vue #contentSub:not(:empty) ~ #mw-content-text > .mw-message-box:first-child{ margin-top:6px; margin-bottom:10px; } body.skin-vector-search-vue #contentSub > .mw-message-box{ margin-top:10px; margin-bottom:10px; } body.skin-vector-search-vue #contentSub > .subpages ~ .mw-message-box, body.skin-vector-search-vue #contentSub > #pwContent ~ .mw-message-box{ margin-bottom:10px; margin-top:0; } body.skin-vector-search-vue #wikiPreview.ontop{ margin-bottom:5px; } body.skin-vector-search-vue.skin-vector-disable-max-width #wikiPreview{ max-width:100%; } body.skin-vector-search-vue .previewnote{ margin-bottom:10px; } body.skin-vector-search-vue form#editform{ margin-top:5px; margin-bottom:5px; } body.skin-vector-search-vue #editform::after{ display:block; } body.skin-vector-search-vue .editOptions{ margin-bottom:10px; } body.skin-vector-search-vue .mw-category-generated > #mw-pages > h2, body.skin-vector-search-vue .mw-category-generated > #mw-subcategories > h2, body.skin-vector-search-vue .mw-category-generated > #mw-category-media > h2{ margin-top:15px !important; } body.skin-vector-search-vue .mw-category-generated > #mw-pages:last-child, body.skin-vector-search-vue .mw-category-generated > #mw-subcategories:last-child, body.skin-vector-search-vue .mw-category-generated > #mw-category-media:last-child{ margin-bottom:10px; } body.skin-vector-search-vue .mw-parser-output + .mw-category-generated > p:first-child, body.skin-vector-search-vue .mw-container-parser-output + .mw-category-generated > p:first-child, body.skin-vector-search-vue .noarticletext + .mw-category-generated > p:first-child{ margin-bottom:0; margin-top:0; } body.skin-vector-search-vue .mw-category-generated > *:first-child > h2{ margin-top:15px !important; } body.skin-vector-search-vue .mw-category-generated{ margin-bottom:5px; } body.skin-vector-search-vue .mw-editfooter-list{ margin-bottom:0; } body.skin-vector-search-vue #mw-clearyourcache:first-child > p:first-child{ margin-top:0; } body.skin-vector-search-vue .vector-menu-portal { margin: 0 5px; padding: 0.2em 0 0 0; direction: ltr; } body.skin-vector-search-vue .vector-menu-portal .vector-menu-content{ margin-left: 3px; } body.skin-vector-search-vue #mw-panel nav:first-child .vector-menu-content { margin-left: 0; } body.skin-vector-search-vue .vector-menu-portal .vector-menu-heading{ margin-left:3px; } body.skin-vector-search-vue .mw-undelete-pagetitle > p:first-child{ margin-top:0; } body.skin-vector-search-vue .mw-delete-warning-revisions{ display:block; margin-top:10px; } body.skin-vector-search-vue #p-lang-btn-label{ min-height:25px; padding:5px 25px 3px 5px; } body.skin-vector-search-vue .mw-delete-editreasons + h2, body.skin-vector-search-vue .mw-protect-editreasons + h2{ margin-top:0 !important; } body.skin-vector-search-vue .vector-article-toolbar .mw-article-toolbar-container{ margin-right:0; padding-right:0; } body.skin-vector-search-vue .vector-article-toolbar .mw-article-toolbar-container{ margin-right: 0; padding-right:0; } body.skin-vector-search-vue .vector-article-toolbar .mw-article-toolbar-container #right-navigation{ margin-right:4px; } body.skin-vector-search-vue .vector-article-toolbar .mw-article-toolbar-container #right-navigation{ margin-right: 4px; } body.skin-vector-search-vue .vector-article-toolbar .mw-article-toolbar-container #right-navigation::before{ display: flex; content: ''; width: auto; flex-direction: row; flex: 1 1 auto; box-sizing:border-box; } body.skin-vector-search-vue .vector-article-toolbar .mw-article-toolbar-container #right-navigation .vector-menu-content{ right:0; } body.skin-vector-search-vue .mw-table-of-contents-container{ direction: rtl; align-self:auto; background-color:white; background-image: url('//upload.wikimedia.org/wikipedia/commons/thumb/b/ba/Wikibooks_multicolor_open_book_no_text.svg/200px-Wikibooks_multicolor_open_book_no_text.svg.png'); } body.skin-vector-search-vue .mw-table-of-contents-container:not(:-moz-only-whitespace){ margin-right:8px; margin-left:5px; } body.skin-vector-search-vue .mw-table-of-contents-container.sidebar_obecny{ width:200px; max-height:100%; margin-right:8px; margin-left:5px; box-sizing:border-box; position:static; } body.skin-vector-search-vue .mw-table-of-contents-container .sidebar-toc{ width:200px; direction: rtl; overflow:visible; margin-right:0; margin-left:0; max-height:calc( 100vh - 59px ); margin-top:0 !important; display:block; } body.skin-vector-search-vue .mw-table-of-contents-container .sidebar-toc .sidebar-toc-contents{ direction:ltr; } body.skin-vector-search-vue .mw-table-of-contents-container.sidebar_obecny .sidebar-toc{ position:absolute; max-width:700px; min-width:200px; display:block; } body.skin-vector-search-vue .mw-table-of-contents-container.sidebar_obecny .sidebar-toc:not(:hover){ width:200px; transition: width 250ms ease-out; transition-property: width; transition-duration: 250ms; transition-timing-function: ease-out; transition-delay: 0s; } body.skin-vector-search-vue .mw-table-of-contents-container.sidebar_obecny .sidebar-toc:not(:hover) .sidebar-toc-level-2{ display:none; } body.skin-vector-search-vue .mw-table-of-contents-container.sidebar_obecny .sidebar-toc:hover{ width:auto; transition: width 250ms ease-out; transition-property: width; transition-duration: 250ms; transition-timing-function: ease-out; transition-delay: 0s; } body.skin-vector-search-vue .mw-article-toolbar-container{ margin-left:0 !important; } body.skin-vector-search-vue .mw-checkbox-hack-checkbox:checked ~ .mw-workspace-container .mw-content-container, body.skin-vector-search-vue .mw-checkbox-hack-checkbox:checked ~ .mw-workspace-container #mw-navigation .mw-article-toolbar-container { margin-left: 0 !important; } body.skin-vector-search-vue .vector-body h1, body.skin-vector-search-vue .vector-body h2, body.skin-vector-search-vue .vector-body h3, body.skin-vector-search-vue .vector-body h4, body.skin-vector-search-vue .vector-body h5, body.skin-vector-search-vue .vector-body h6{ margin-top:0.8em; } body.skin-vector-search-vue .mw-history-subtitle{ margin-bottom:6px; } body.skin-vector-search-vue .printfooter{ display:block; margin: 5px 0; padding:5px; white-space:normal; border: 1px solid #eaecf0; box-sizing:border-box; background-color: white; } .client-js body.skin-vector-search-vue .mw-search-form-wrapper { min-height: 112px; } body.skin-vector-search-vue .noarticletext{ margin-bottom:5px; } body.skin-vector-search-vue .mw-menu-active{ background-color:#E6E6FA; } body.skin-vector-search-vue .mw-menu-inactive{ background-color:#EEE8AA; } body.skin-vector-search-vue .mw-menu-active,body.skin-vector-search-vue .mw-menu-inactive{ padding-left:5px !important; padding-right:5px !important; margin-left:0 !important; display:block; border-radius:5px; border:1px solid #a2a9b1; margin-top:3px; } body.skin-vector-search-vue .mw-items-active{ display:block; border-radius:5px; border:1px solid #a2a9b1; padding: 0 5px; margin-top:2px; } body.skin-vector-search-vue .mw-items-active > ul{ margin-top:0; } body.skin-vector-search-vue .mw-items-inactive{ display:none; } body.skin-vector-search-vue .mw-items-active,body.skin-vector-search-vue .mw-items-inactive{ margin-left:0px !important; } jeyfq5wcoor1m4psrpklq5h5l0w9mb8 435316 435315 2022-07-20T20:15:15Z Persino 2851 css text/css body.skin-vector-search-vue .mw-page-container{ max-width:100%; min-width:988px; padding-left:0; padding-right:0; border-left: 0; border-right: 0; box-sizing:border-box; display:table; width:100%; background-color:white; height:auto; } body.skin-vector-search-vue .mw-content-container{ max-width:100%; box-sizing:border-box; } body.skin-vector-search-vue .mw-logo-container{ margin-left: 10px; margin-right:0; } body.skin-vector-search-vue #p-lang-btn-label{ font-size:14px !important; line-height:1.2em !important; white-space:nowrap; } body.skin-vector-search-vue .mw-indicators{ font-size: calc( 14px * 0.875 ); line-height: 2.0em; white-space:nowrap; margin: auto 0 0 0; } body.skin-vector-search-vue.action-view.page-Wikibooks_Strona_główna #content{ display:grid; grid: 'aa aa aa' auto 'dd dd dd' auto 'bb bb bb' auto 'cc cc cc' auto '.. .. ff' auto 'ee ee ee' auto / minmax(auto,1fr) auto auto } body.skin-vector-search-vue.action-view.page-Wikibooks_Strona_główna #content > #top{ grid-area:aa; } body.skin-vector-search-vue.action-view.page-Wikibooks_Strona_główna #content > #siteNotice{ grid-area:bb; } body.skin-vector-search-vue.action-view.page-Wikibooks_Strona_główna #content > .vector-article-toolbar{ grid-area:dd; margin:0; } body.skin-vector-search-vue.action-view.page-Wikibooks_Strona_główna #content > .mw-body-header{ grid-area:cc; top:0; width:auto !important; height:auto !important; margin:0; margin-right:10px; box-sizing:border-box; border-bottom: 1px solid #a2a9b1; } body.skin-vector-search-vue.action-view.page-Wikibooks_Strona_główna #content > #p-lang-btn{ grid-area:ff; height:20px; width:auto; height:auto; margin-left:auto; top:0; margin: auto 5px 0 5px; padding-bottom:8px; box-sizing:border-box; } body.skin-vector-search-vue.action-view.page-Wikibooks_Strona_główna #content > #bodyContent{ grid-area:ee; } body.skin-vector-search-vue.action-view.page-Wikibooks_Strona_główna #content > .mw-body-header{ display:grid; grid: 'aa bb' auto / minmax(auto,1fr) auto; width:100%; min-height: 46px; box-sizing: border-box; position: relative; } body.skin-vector-search-vue.action-view.page-Wikibooks_Strona_główna #content > .mw-body-header > .firstHeading{ display:block !important; } body.skin-vector-search-vue.action-view.page-Wikibooks_Strona_główna #content > .mw-body-header > .firstHeading:not(:hover){ grid-area:aa; margin-bottom:2px; width:100%; max-width:fit-content; max-width:-moz-fit-content; margin-bottom: 0; margin-top: auto; border-bottom: none; padding-left: 3px; padding-right: 3px; border-bottom: 0; } body.skin-vector-search-vue.action-view.page-Wikibooks_Strona_główna #content > .mw-body-header > .mw-indicators{ grid-area: bb; width: auto; height: 1.6em; margin-bottom: 5px; margin-top: auto; margin-right: 5px; } body.skin-vector-search-vue.action-view:not(.page-Wikibooks_Strona_główna):not(.ns-special) #content > .mw-body-header > .firstHeading > .plainlinks, body.skin-vector-search-vue.action-view.ns-special #content > .mw-body-header > .firstHeading > .plainlinks body.skin-vector-search-vue:not(.action-view) #content > .mw-body-header > .firstHeading > .plainlinks{ padding-bottom:2px; } body.skin-vector-search-vue.action-view:not(.page-Wikibooks_Strona_główna):not(.ns-special) #content > .mw-body-header > #p-lang-btn{ grid-area:bb; right:0; margin:0; height:auto; width:auto; margin-top: auto; margin-bottom:0; padding: 0 3px; box-sizing:border-box; } body.skin-vector-search-vue.action-view:not(.page-Wikibooks_Strona_główna):not(.ns-special) #content > .mw-body-header, body.skin-vector-search-vue.action-view.ns-special #content > .mw-body-header, body.skin-vector-search-vue:not(.action-view) #content > .mw-body-header{ display:grid; grid:'aa bb' auto / minmax(auto,100%) auto; border-bottom:1px solid #a2a9b1; margin-top:auto; margin-bottom:0; min-height:46px; box-sizing:border-box; position:relative; } body.skin-vector-search-vue.action-view:not(.page-Wikibooks_Strona_główna):not(.ns-special) #content > .mw-body-header > .firstHeading:not(:hover), body.skin-vector-search-vue.action-view.ns-special #content > .mw-body-header > .firstHeading:not(:hover), body.skin-vector-search-vue:not(.action-view) #content > .mw-body-header > .firstHeading:not(:hover){ grid-area:aa; width:100%; max-width:fit-content; max-width:-moz-fit-content; margin-bottom:0; margin-top:auto; border-bottom:none; padding-left:3px; padding-right:3px; border-bottom:0; box-sizing:border-box; } body.skin-vector-search-vue.action-view.ns-special #content > .mw-body-header > .mw-indicators, body.skin-vector-search-vue:not(.action-view) #content > .mw-body-header > .mw-indicators{ grid-area:bb; right:0; margin:0; height:auto; width:100%; margin:auto 0 0 auto; padding: 0 10px; box-sizing:border-box; } body.skin-vector-search-vue.action-view.ns-special #content .mw-body-header > .mw-indicators > .mw-indicator, body.skin-vector-search-vue:not(.action-view) #content .mw-body-header > .mw-indicators > .mw-indicator{ padding: 2px 0 2px 0; margin: auto 0 0 0; } body.skin-vector-search-vue.action-view:not(.page-Wikibooks_Strona_główna):not(.ns-special) #content, body.skin-vector-search-vue.action-view.ns-special #content, body.skin-vector-search-vue:not(.action-view) #content{ display:grid; grid:'aa' auto 'cc' auto 'bb' auto 'dd' auto 'ee' auto / auto; width:100%; } body.skin-vector-search-vue.action-view:not(.page-Wikibooks_Strona_główna):not(.ns-special) #content > #top, body.skin-vector-search-vue.action-view.ns-special #content > #top, body.skin-vector-search-vue:not(.action-view) #content > #top{ grid-area:aa; } body.skin-vector-search-vue.action-view:not(.page-Wikibooks_Strona_główna):not(.ns-special) #content > #siteNotice, body.skin-vector-search-vue.action-view.ns-special #content > #siteNotice, body.skin-vector-search-vue:not(.action-view) #content > #siteNotice{ grid-area:bb; } body.skin-vector-search-vue.action-view:not(.page-Wikibooks_Strona_główna):not(.ns-special) #content > .vector-article-toolbar, body.skin-vector-search-vue.action-view.ns-special #content > .vector-article-toolbar, body.skin-vector-search-vue:not(.action-view) #content > .vector-article-toolbar{ grid-area:cc; } body.skin-vector-search-vue .mw-body-header::after{ display:none; } body.skin-vector-search-vue.action-view:not(.page-Wikibooks_Strona_główna):not(.ns-special) #content > .mw-body-header, body.skin-vector-search-vue.action-view.ns-special #content > .mw-body-header, body.skin-vector-search-vue:not(.action-view) #content > .mw-body-header{ grid-area:dd; margin:0; margin-right:10px; width:auto; padding-bottom:0; } body.skin-vector-search-vue .mw-body-subheader{ border-bottom:0; } /*body.skin-vector-search-vue #siteSub,*/ body.skin-vector-search-vue .firstHeading:not(:hover) > .plainlinks{ display:none; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; } body.skin-vector-search-vue .firstHeading:not(:hover){ display:block; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; border-bottom:0; } body.skin-vector-search-vue .firstHeading:hover{ display:block; border:1px solid #eaecf0; border-radius:10px; background-color:white; position:absolute; top:5px; left:-3px; width:auto; padding:5px; z-index:1 !important; } body.skin-vector-search-vue .mw-body-header > .firstHeading:hover > .plainlinks{ display:block; } body.skin-vector-search-vue.action-view:not(.page-Wikibooks_Strona_główna):not(.ns-special) #bodyContent > .mw-body-subheader{ margin: 2px 0 3px 0; min-height:1.6em; } body.skin-vector-search-vue.action-view.ns-special #bodyContent > .mw-body-subheader, body.skin-vector-search-vue:not(.action-view) #bodyContent > .mw-body-subheader{ margin: 0; } body.skin-vector-search-vue.action-view.page-Wikibooks_Strona_główna #bodyContent > .mw-body-subheader{ margin:0; margin-top: -2.0em; font-size: 1.2em; height: 2em; margin-bottom:5px; } body.skin-vector-search-vue.action-view.page-Wikibooks_Strona_główna #bodyContent > .mw-body-subheader > #siteSub{ display:table !important; width:auto; } body.skin-vector-search-vue.action-view:not(.page-Wikibooks_Strona_główna):not(.ns-special) #bodyContent > .mw-body-subheader> .mw-indicators{ margin-left:5px; margin-right:3px; display:block; } body.skin-vector-search-vue.action-view:not(.page-Wikibooks_Strona_główna):not(.ns-special) #bodyContent > .mw-body-subheader> #siteSub{ display:block; } body.skin-vector-search-vue .firstHeading, body.skin-vector-search-vue .firstHeading > .plainlinks{ max-width:100%; width:auto; } body.skin-vector-search-vue.action-view:not(.page-Wikibooks_Strona_główna):not(.ns-special) #content #bodyContent, body.skin-vector-search-vue.action-view.ns-special #content #bodyContent, body.skin-vector-search-vue:not(.action-view) #content #bodyContent{ grid-area:ee; } body.skin-vector-search-vue.skin-vector-disable-max-width .vector-layout-legacy #mw-sidebar-checkbox:checked ~ .mw-workspace-container #mw-navigation .mw-article-toolbar-container, body.skin-vector-search-vue.skin-vector-disable-max-width .vector-layout-legacy #mw-sidebar-checkbox:checked ~ .mw-workspace-container .mw-content-container, body.skin-vector-search-vue:not(.skin-vector-toc-experiment-control):not(.skin-vector-toc-experiment-unsampled) .vector-toc-visible .mw-workspace-container .mw-content-container, body.skin-vector-search-vue:not(.skin-vector-toc-experiment-control):not(.skin-vector-toc-experiment-unsampled) .vector-toc-visible .mw-workspace-container .mw-article-toolbar-container, body.skin-vector-search-vue.vector-toc-enabled .mw-checkbox-hack-checkbox:checked ~ .mw-workspace-container .mw-content-container, body.skin-vector-search-vue.vector-toc-enabled .mw-checkbox-hack-checkbox:checked ~ .mw-workspace-container .mw-article-toolbar-container, body.skin-vector-search-vue.skin-vector-disable-max-width .vector-toc-enabled .vector-layout-legacy #mw-sidebar-checkbox:checked ~ .mw-workspace-container .mw-content-container, body.skin-vector-search-vue:not(.skin-vector-toc-experiment-control):not(.skin-vector-toc-experiment-unsampled) .vector-layout-legacy .vector-toc-visible .mw-workspace-container .mw-content-container, body.skin-vector-search-vue:not(.skin-vector-toc-experiment-control):not(.skin-vector-toc-experiment-unsampled) .vector-layout-legacy .vector-toc-visible #mw-navigation .mw-article-toolbar-container, body.skin-vector-search-vue.vector-toc-enabled .vector-layout-legacy #mw-sidebar-checkbox:checked ~ .mw-workspace-container .mw-content-container, body.skin-vector-search-vue.vector-toc-enabled .vector-layout-legacy #mw-sidebar-checkbox:checked ~ .mw-workspace-container #mw-navigation .mw-article-toolbar-container{ margin-left:0; } body.skin-vector-search-vue .mw-workspace-container:not(.mw-footer-container){ display:grid; grid:'aa cc bb' auto / auto minmax(auto,1fr) auto; width:auto; box-sizing:border-box; } body.skin-vector-search-vue .mw-workspace-container:not(.mw-footer-container) > #mw-navigation{ grid-area:aa; width:100%; box-sizing:border-box; } body.skin-vector-search-vue .mw-workspace-container:not(.mw-footer-container) > .mw-table-of-contents-container.mw-sticky-header-element{ grid-area:bb; max-width:200px; display:block; box-sizing:border-box; margin-bottom:16px; z-index:1; } body.skin-vector-search-vue .mw-workspace-container:not(.mw-footer-container) > .mw-content-container{ grid-area:cc; box-sizing:border-box; } /**/ body.skin-vector-search-vue .mw-workspace-container .mw-content-container, body.skin-vector-search-vue .mw-workspace-container .mw-content-container #bodyContent, body.skin-vector-search-vue .mw-workspace-container .mw-content-container #content, body.skin-vector-search-vue .mw-workspace-container .mw-content-container .mw-body-header{ width:100%; box-sizing:border-box; } body.skin-vector-search-vue .mw-article-toolbar-container .mw-portlet-views { display: block; } body.skin-vector-search-vue .mw-article-toolbar-container .vector-more-collapsible-item { display: none; } body.skin-vector-search-vue .sidebar-toc{ left:auto; right:8px; } body.skin-vector-search-vue:not(.vector-below-page-title) .mw-checkbox-hack-checkbox:checked ~ .mw-workspace-container .sidebar-toc{ left:auto; right:8px; } body.skin-vector-search-vue.vector-toc-enabled .mw-checkbox-hack-checkbox:checked ~ .mw-workspace-container .sidebar-toc{ display: block; } body.skin-vector-search-vue.vector-toc-enabled .mw-checkbox-hack-checkbox:checked ~ .mw-workspace-container .sidebar-toc{ display: block; } body.skin-vector-search-vue .mw-checkbox-hack-checkbox:checked ~ .mw-workspace-container #mw-panel, body.skin-vector-search-vue #mw-sidebar-checkbox:checked ~ .mw-workspace-container #mw-panel{ left:-140px; top:-15px; position:absolute; width:140px; box-sizing:border-box; } body.skin-vector-search-vue.vector-toc-enabled .mw-sidebar{ margin-left:0; background-color: white; padding: 12px 0; margin-top:0; } .vector-animations-ready body.skin-vector-search-vue .mw-sidebar{ transition: none; transition-property: none; transition-duration: none; transition-timing-function: none; transition-delay: none; } body.skin-vector-search-vue.vector-toc-enabled #mw-sidebar-checkbox:not(:checked) ~ .mw-workspace-container .mw-sidebar{ display:block; } body.skin-vector-search-vue #mw-sidebar-checkbox:not(:checked) ~ .mw-workspace-container .mw-sidebar{ visibility: visible; opacity: 1; transform: none; } body.skin-vector-search-vue .mw-workspace-container #mw-panel{ left:-140px; top:-15px; position: absolute; float:left; box-sizing:border-box; } body.skin-vector-search-vue .ui-dialog{ font-size:75%; } body.skin-vector-search-vue .mw-body-content .error{ font-size:96%; } body.skin-vector-search-vue.action-purge .firstHeading{ padding-bottom:3px; } body.skin-vector-search-vue .firstHeading .plainlinks{ line-height:1.2em !important; } body.skin-vector-search-vue #mw-panel{ width:140px; box-sizing:border-box; } body.skin-vector-search-vue .mw-sidebar #p-navigation .vector-menu-heading{ display:block; } body.skin-vector-search-vue .mw-workspace-container{ margin-right:0; margin-left:140px; min-width:auto; max-width:100%; box-sizing:border-box; } body.skin-vector-search-vue .mw-checkbox-hack-checkbox:checked ~ .mw-workspace-container{ margin-left:140px; transition: margin-left 250ms ease-out; transition-property: margin-left; transition-duration: 250ms; transition-timing-function: ease-out; transition-delay: 0s; } body.skin-vector-search-vue .mw-checkbox-hack-checkbox:not(:checked) ~ .mw-workspace-container{ margin-left:0; transition: margin-left 250ms ease-out; transition-property: margin-left; transition-duration: 250ms; transition-timing-function: ease-out; transition-delay: 0s; } body.skin-vector-search-vue .mw-article-toolbar-container{ max-width:100%; box-sizing:border-box; position:relative; z-index:1; } body.skin-vector-search-vue .mw-footer-container{ padding-top:0; } body.skin-vector-search-vue .mw-content-container > .mw-body{ margin-left:0; margin-right:0; } body.skin-vector-search-vue .mw-article-toolbar-container > #left-navigation{ margin-left:0; margin-right:0; } body.skin-vector-search-vue .mw-content-container .mw-footer{ margin-left:8px; margin-right:0; padding: 0.75em 5px; } body.skin-vector-search-vue .mw-header { display:flex; flex-direction: row; margin: 8px 5px 0 5px; } body.skin-vector-search-vue .mw-workspace-container #mw-head{ min-width:832px; margin-right:5px; box-sizing:border-box; } body.skin-vector-search-vue .mw-logo-icon{ display:block; } body.skin-vector-search-vue .vector-user-links .vector-user-menu-more .vector-menu-content-list li.user-links-collapsible-item { display: block; } body.skin-vector-search-vue .vector-search-box-collapses > div{ display:block; } body.skin-vector-search-vue a.mw-ui-icon-wikimedia-search{ display:none; } body.skin-vector-search-vue .vector-sticky-header{ height:3.2em; padding: 6px 25px; display:flex; flex-direction:row; min-width:700px; margin-left:auto; margin-right:auto; width:90%; text-align:center; box-sizing:border-box; } @media screen and (max-width: 830px){ body.skin-vector-search-vue .vector-sticky-header{ display: none; } } .client-nojs body.skin-vector-search-vue .vector-sticky-header{ display:none !important; } body.skin-vector-search-vue .wvui-typeahead-suggestion{ padding-top:4px; padding-bottom:4px; text-align:left; } body.skin-vector-search-vue .vector-sticky-header.vector-header-search-toggled{ flex-basis: 460px; box-sizing:border-box; } body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--auto-expand-width:not(.wvui-typeahead-search--focused){ margin-left:10px; width:460px; box-sizing:border-box; } body.skin-vector-search-vue .wvui-typeahead-suggestion__thumbnail-placeholder, body.skin-vector-search-vue .wvui-typeahead-suggestion__thumbnail{ width: 36px; height: 36px; } body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail:not(.wvui-typeahead-search--auto-expand-width), body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--auto-expand-width.wvui-typeahead-search--focused{ margin-left:10px; width:460px; box-sizing:border-box; } body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail:not(.wvui-typeahead-search--auto-expand-width) .wvui-input__start-icon, body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--auto-expand-width.wvui-typeahead-search--focused .wvui-input__start-icon{ left:13px; width:37px; } body.skin-vector-search-vue .wvui-input, body.skin-vector-search-vue .vector-search-box, body.skin-vector-search-vue .wvui-typeahead-suggestion__title, body.skin-vector-search-vue .wvui-typeahead-search__wrapper, body.skin-vector-search-vue .vector-search-box-vue .vector-search-box-input, body.skin-vector-search-vue .wvui-input__input, body.skin-vector-search-vue .wvui-typeahead-search, body.skin-vector-search-vue .wvui-typeahead-search__form, body.skin-vector-search-vue #p-search #searchform #simpleSearch{ font-size:calc( 14px * 1.042 ); line-height:1.2em; height:30px; min-height:30px; box-sizing:border-box; } body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail:not(.wvui-typeahead-search--active) .wvui-input, body.skin-vector-search-vue .vector-search-box, body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail:not(.wvui-typeahead-search--active) .wvui-typeahead-suggestion__title, body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail:not(.wvui-typeahead-search--active) .wvui-typeahead-search__wrapper, body.skin-vector-search-vue .vector-search-box-vue .wvui-typeahead-search--show-thumbnail:not(.wvui-typeahead-search--active) .vector-search-box-input, body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail:not(.wvui-typeahead-search--active) .wvui-input__input, body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail:not(.wvui-typeahead-search--active) .wvui-typeahead-search, body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail:not(.wvui-typeahead-search--active) .wvui-typeahead-search__form, body.skin-vector-search-vue #p-search #searchform #simpleSearch{ width:460px; } body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--active .wvui-input, body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--active .wvui-typeahead-suggestion__title, body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--active .wvui-typeahead-search__wrapper, body.skin-vector-search-vue .vector-search-box-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--active .vector-search-box-input, body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--active .wvui-input__input, body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--active .wvui-typeahead-search, body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--active .wvui-typeahead-search__form{ width:calc( 460px - 64px); } body.skin-vector-search-vue .wvui-button{ font-size:calc( 14px * 1.042 ); line-height:1.2em; height:30px; min-height:30px; width:64px; border-left:0; box-sizing:border-box; } body.skin-vector-search-vue .mw-header #p-search #searchform #simpleSearch{ margin-left:10px; width:460px; box-sizing:border-box; } body.skin-vector-search-vue .wvui-typeahead-search__wrapper{ margin-right:0; } body.skin-vector-search-vue .wvui-typeahead-suggestion__title{ display: table-cell; vertical-align: middle; } .client-js body.skin-vector-search-vue .vector-search-box-show-thumbnail.vector-search-box-auto-expand-width .vector-search-box-input, .client-js .vector-search-box-vue .vector-search-box-show-thumbnail.vector-search-box-auto-expand-width .vector-search-box-input{ margin-left:0; box-sizing:border-box; width:460px; } .client-js body.skin-vector-search-vue .vector-search-box-show-thumbnail.vector-search-box-auto-expand-width .searchButton, .client-js .vector-search-box-vue .vector-search-box-show-thumbnail.vector-search-box-auto-expand-width .searchButton{ left:0; } body.skin-vector-search-vue .mw-header .vector-search-box.vector-search-box-auto-expand-width{ margin-left:10px; } body.skin-vector-search-vue .mw-header .vector-search-box.vector-search-box-auto-expand-width > div{ width:460px; box-sizing:border-box; } body.skin-vector-search-vue .vector-search-box-vue .searchButton{ background-size: 20px auto; } .client-js body.skin-vector-search-vue .vector-search-box-input, .client-js .vector-search-box-vue .vector-search-box-input{ padding-left:36px; padding-right:8px; } body.skin-vector-search-vue .wvui-input--has-start-icon .wvui-input__input{ padding-left:36px; padding-right:8px; } body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--auto-expand-width:not(.wvui-typeahead-search--focused) .wvui-input__input { border-right-color: #a2a9b1; width:460px; box-sizing:border-box; } body.skin-vector-search-vue .wvui-typeahead-search .wvui-input__input{ border-right-color: #a2a9b1; } body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--auto-expand-width:not(.wvui-typeahead-search--focused):not(.wvui-typeahead-search--active) .wvui-input__input { width: 460px; } body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--auto-expand-width:not(.wvui-typeahead-search--focused).wvui-typeahead-search--active .wvui-input__input { width:calc( 460px - 64px ); } body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail:not(.wvui-typeahead-search--auto-expand-width) .wvui-input__input, body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--auto-expand-width.wvui-typeahead-search--focused .wvui-input__input{ position:relative; padding-left: 62px; box-sizing:border-box; } body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail:not(.wvui-typeahead-search--auto-expand-width).wvui-typeahead-search--active .wvui-input__input, body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--auto-expand-width.wvui-typeahead-search--focused.wvui-typeahead-search--active .wvui-input__input{ width:calc( 460px - 64px ); } body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail:not(.wvui-typeahead-search--auto-expand-width):not(.wvui-typeahead-search--active) .wvui-input__input, body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--auto-expand-width.wvui-typeahead-search--focused:not(.wvui-typeahead-search--active) .wvui-input__input{ width:460px; } body.skin-vector-search-vue .wvui-typeahead-search--expanded .wvui-typeahead-search__suggestions{ width:calc( 460px - 64px ); top:30px; box-sizing:border-box; } body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--active .wvui-typeahead-search--expanded .wvui-typeahead-search__suggestions{ width:calc( 460px - 64px ); } body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail:not(.wvui-typeahead-search--active) .wvui-typeahead-search--expanded .wvui-typeahead-search__suggestions{ width:460px; } body.skin-vector-search-vue .mw-header .vector-search-box.vector-search-box-auto-expand-width > div{ max-width:460px; } body.skin-vector-search-vue .mw-logo{ min-width:144px; } body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--auto-expand-width:not(.wvui-typeahead-search--focused):not(.wvui-typeahead-search--active).wvui-typeahead-search--active .wvui-button{ display:block; width:64px; z-index:1; } body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail:not(.wvui-typeahead-search--auto-expand-width).wvui-typeahead-search--active .wvui-button, body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--auto-expand-width.wvui-typeahead-search--focused.wvui-typeahead-search--active .wvui-button{ display:block; width:64px; z-index:1; } body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail:not(.wvui-typeahead-search--active) .wvui-button{ display:none; } body.skin-vector-search-vue .wvui-button{ padding-left:0; padding-right:0; } body.skin-vector-search-vue .mw-ui-icon,.mw-ui-icon-before::before{ font-size:14px; } body.skin-vector-search-vue .mw-sidebar-action{ display:none; } body.skin-vector-search-vue, body.skin-vector-search-vue .mw-editsection{ font-family: Arial, Helvetica, "Free Helvetian", FreeSans, sans-serif; font-stretch:normal; font-variant:normal; font-style:normal; font-weight:normal; font-size-adjust:none; letter-spacing:normal; word-spacing:normal; text-align:left; word-wrap:break-word; hyphens:auto; } body.skin-vector-search-vue{ font-size:calc( 14px * 1.042 ); line-height:1.2em; background-color:#ffffff; } body.skin-vector-search-vue .mw-editsection{ font-size:12px; line-height:1.2em; } body.skin-vector-search-vue.action-view:not(.page-Wikibooks_Strona_główna):not(.ns-special) #contentSub, body.skin-vector-search-vue.action-view:not(.page-Wikibooks_Strona_główna):not(.ns-special) #contentSub ~ #contentSub2{ margin:0; } body.skin-vector-search-vue.action-view.ns-special #contentSub:empty, body.skin-vector-search-vue.action-view.ns-special #contentSub:not(:empty), body.skin-vector-search-vue.action-view.ns-special #contentSub:not(:empty) ~ #contentSub2, body.skin-vector-search-vue.action-view.ns-special #contentSub:empty ~ #contentSub2:not(:empty){ margin:2px 0 3px 0; } body.skin-vector-search-vue.action-view.ns-special #contentSub:empty ~ #contentSub2:empty{ margin:10px 0; } body.skin-vector-search-vue:not(.action-view) #contentSub:empty{ margin:2px 0 3px 0; } body.skin-vector-search-vue:not(.action-view) #contentSub:empty ~ #contentSub2:empty{ margin:10px 0; } body.skin-vector-search-vue:not(.action-view) #contentSub:not(:empty), body.skin-vector-search-vue:not(.action-view) #contentSub:not(:empty) ~ #contentSub2{ margin: 2px 0 2px 0; } body.skin-vector-search-vue:not(.action-view) #contentSub:empty ~ #contentSub2:not(:empty){ margin: 2px 0 3px 0; } body.skin-vector-search-vue.action-view.page-Wikibooks_Strona_główna #contentSub, body.skin-vector-search-vue.action-view.page-Wikibooks_Strona_główna #contentSub2{ margin:0; } body.skin-vector-search-vue.action-edit #contentSub:not(:empty) ~ #mw-content-text > form#editform{ margin-top:0; } body.skin-vector-search-vue.action-view #pwContent, body.skin-vector-search-vue:not(.action-view) #pwContent, body.skin-vector-search-vue.action-view .subpages, body.skin-vector-search-vue:not(.action-view) .subpages{ margin:0; font-size:12px; line-height:1.2em; margin-bottom:6px; } body.skin-vector-search-vue.action-view:not(.page-Wikibooks_Strona_główna) .warningbox, body.skin-vector-search-vue:not(.action-view) .warningbox{ margin:10px 0; } body.skin-vector-search-vue #mw-previewheader{ margin-top:14px; margin-bottom:10px; } body.skin-vector-search-vue .mw-userconfigpublic{ margin-top:8px; } body.skin-vector-search-vue .mw-contributions-user-tools{ margin-bottom:6px; } body.skin-vector-search-vue:not(.action-view) .mw-body, body.skin-vector-search-vue.action-view.ns-special .mw-body{ padding: 8px 0 10px 8px; position:relative; z-index:0; } body.skin-vector-search-vue.action-view.page-Wikibooks_Strona_główna .mw-body, body.skin-vector-search-vue.action-view:not(.ns-special):not(.page-Wikibooks_Strona_główna) .mw-body{ padding: 4px 0 10px 8px; position:relative; z-index:0; } body.skin-vector-search-vue #centralNotice:not(:empty){ margin:10px 8px 8px 8px; } body.skin-vector-search-vue .mw-content-container{ min-width:848px; } body.skin-vector-search-vue #content{ margin-left:0px; min-width:848px; box-sizing:border-box; } body.skin-vector-search-vue #mw-content-text{ clear:both; } body.skin-vector-search-vue #bodyContent{ box-sizing:border-box; min-width:832px; height:auto; clear:both; padding: 0 13px 0 5px; } body.skin-vector-search-vue .mw-table-of-contents-container.sidebar_obecny ~ .mw-content-container #bodyContent{ padding: 0 5px; } body.skin-vector-search-vue .mw-table-of-contents-container.sidebar_obecny ~ .mw-content-container .mw-body-header{ margin-right:3px !important; } body.skin-vector-search-vue.action-view #bodyContent #mw-content-text .mw-container-parser-output, body.skin-vector-search-vue:not(.action-view) #bodyContent #mw-content-text .mw-container-parser-output{ overflow:auto; overflow-x:auto; overflow-y:visible; min-width:822px; box-sizing:border-box; margin-bottom:5px; display:block; height:auto; position:relative; } body.skin-vector-search-vue.action-view #bodyContent #mw-content-text .mw-container-parser-output.has-mw-parser-output-whitespace, body.skin-vector-search-vue:not(.action-view) #bodyContent #mw-content-text .mw-container-parser-output.has-mw-parser-output-whitespace{ margin-bottom:0 !important; } body.skin-vector-search-vue.action-view #bodyContent #mw-content-text .mw-container-parser-output.mw-scrollbar-overflow-x, body.skin-vector-search-vue:not(.action-view) #bodyContent #mw-content-text #wikiPreview .mw-content-ltr .mw-container-parser-output.mw-scrollbar-overflow-x{ padding-bottom:5px; } body.skin-vector-search-vue.action-view #bodyContent #mw-content-text .mw-container-parser-output:not(.mw-scrollbar-overflow-x), body.skin-vector-search-vue:not(.action-view) #bodyContent #mw-content-text #wikiPreview .mw-content-ltr .mw-container-parser-output:not(.mw-scrollbar-overflow-x){ padding-bottom:0; } body.skin-vector-search-vue.action-view #bodyContent #mw-content-text .mw-container-parser-output.mw-scrollbar-overflow-y, body.skin-vector-search-vue:not(.action-view) #bodyContent #mw-content-text #wikiPreview .mw-content-ltr .mw-container-parser-output.mw-scrollbar-overflow-y{ padding-right:5px; } body.skin-vector-search-vue.action-view #bodyContent #mw-content-text:not(.mw-scrollbar-overflow-y), body.skin-vector-search-vue:not(.action-view) #bodyContent #mw-content-text #wikiPreview .mw-content-ltr:not(.mw-scrollbar-overflow-y){ padding-right:0; } body.skin-vector-search-vue.ns-10 #mw-content-text .mw-parser-output > :not(style):not(link):not(#documentation-meta-data):not(.template-documentation) ~ *:first-of-type, body.skin-vector-search-vue.ns-828 #mw-content-text .mw-parser-output > :not(style):not(link):not(#documentation-meta-data):not(.template-documentation) ~ *:first-of-type{ margin-top:5px !important; } body.skin-vector-search-vue #mw-content-text .mw-parser-output > :not(style):not(link):not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(p):first-child{ margin-top:0 !important; } body.skin-vector-search-vue #mw-content-text .mw-parser-output > :not(style):not(link) ~ :not(style):not(link):not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(p):not(.div-linia):first-of-type{ margin-top:5px !important; } body.skin-vector-search-vue #mw-content-text .mw-parser-output > div.div-linia + *{ margin-top:0px !important; } body.skin-vector-search-vue #mw-content-text .mw-parser-output > h1:first-child, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h2:first-child, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h3:first-child, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h4:first-child, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h5:first-child, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h6:first-child, body.skin-vector-search-vue #mw-content-text .mw-parser-output > :not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(p) + h1:first-of-type, body.skin-vector-search-vue #mw-content-text .mw-parser-output > :not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(p) + h2:first-of-type, body.skin-vector-search-vue #mw-content-text .mw-parser-output > :not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(p) + h3:first-of-type, body.skin-vector-search-vue #mw-content-text .mw-parser-output > :not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(p) + h4:first-of-type, body.skin-vector-search-vue #mw-content-text .mw-parser-output > :not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(p) + h5:first-of-type, body.skin-vector-search-vue #mw-content-text .mw-parser-output > :not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(p) + h6:first-of-type{ margin-top:0.5em !important; } body.skin-vector-search-vue #mw-content-text .mw-parser-output > h1 ~ h1, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h1 ~ h2, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h1 ~ h3, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h1 ~ h4, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h1 ~ h5, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h1 ~ h6, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h2 ~ h1, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h2 ~ h2, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h2 ~ h3, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h2 ~ h4, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h2 ~ h5, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h2 ~ h6, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h3 ~ h1, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h3 ~ h2, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h3 ~ h3, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h3 ~ h4, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h3 ~ h5, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h3 ~ h6, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h4 ~ h1, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h4 ~ h2, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h4 ~ h3, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h4 ~ h4, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h4 ~ h5, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h4 ~ h6, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h5 ~ h1, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h5 ~ h2, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h5 ~ h3, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h5 ~ h4, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h5 ~ h5, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h5 ~ h6, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h6 ~ h1, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h6 ~ h2, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h6 ~ h3, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h6 ~ h4, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h6 ~ h5, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h6 ~ h6{ margin-top:0.8em; } body.skin-vector-search-vue .tdg-editscreen-main{ margin-top:9px; margin-bottom:10px; } body.skin-vector-search-vue .mw-specialpage-summary > p:first-child{ margin: 0 0 4px 0; } body.skin-vector-search-vue .mw-rcfilters-head{ margin-bottom:15px; } body.skin-vector-search-vue.mw-special-Watchlist .mw-rcfilters-head{ min-height: 280px; } body.skin-vector-search-vue #bodyContent #mw-content-text .mw-parser-output .template-documentation:first-of-type{ margin-top:0; box-sizing:border-box; } body.skin-vector-search-vue #bodyContent #mw-content-text .mw-parser-output > :not(style):not(link) ~ .template-documentation{ margin-top:10px !important; box-sizing:border-box !important; } body.skin-vector-search-vue .mw-parser-output #documentation-meta-data:not(:last-child){ margin-top:3px !important; margin-bottom:3px !important; } body.skin-vector-search-vue .mw-parser-output #documentation-meta-data:last-child{ margin-top:3px !important; margin-bottom:0 !important; } body.skin-vector-search-vue #bodyContent #mw-content-text .mw-parser-output{ display:table; box-sizing:border-box; position:relative; width:100%; height:auto; margin:0; margin-bottom:5px; border-spacing:0; padding:0; border-collapse:collapse; border:0; } body.skin-vector-search-vue #bodyContent #mw-content-text .mw-container-parser-output > .mw-parser-output{ margin:0; } body.skin-vector-search-vue .catlinks:not(.catlinks-allhidden){ margin: 5px 0; } body.skin-vector-search-vue #mw-content-text .mw-parser-output > p:first-of-type{ margin-top:0.3em; } body.skin-vector-search-vue #mw-content-text .mw-parser-output > :not(p):not(:empty) + p:first-of-type{ margin-top:0.5em; } body.skin-vector-search-vue #mw-content-text .mw-parser-output > :not(p):not(.blank) + p:first-of-type{ margin-top:0.5em; } body.skin-vector-search-vue #mw-content-text .mw-parser-output > :not(p):not(:-moz-only-whitespace) + p:first-of-type{ margin-top:0.5em; } body.skin-vector-search-vue #mw-content-text .mw-parser-output > :not(p):not(:blank) + p:first-of-type{ margin-top:0.5em; } body.skin-vector-search-vue #mw-content-text .mw-parser-output > :not(p).floatleft + p:first-of-type, body.skin-vector-search-vue #mw-content-text .mw-parser-output > :not(p).floatright + p:first-of-type, body.skin-vector-search-vue #mw-content-text .mw-parser-output > :not(p).tleft + p:first-of-type, body.skin-vector-search-vue #mw-content-text .mw-parser-output > :not(p).tright + p:first-of-type{ margin-top:0; } body.skin-vector-search-vue #mw-content-text .mw-parser-output > p:last-child{ margin-bottom:0.3em; } body.skin-vector-search-vue pre{ margin-top:8px; margin-bottom:8px; padding:11px; background-color: #f8f9fa; color: #000; border: 1px solid #eaecf0; box-sizing:border-box; } body.skin-vector-search-vue div.mw-highlight > pre{ margin-top:8px; margin-bottom:8px; } body.ns-828.skin-vector-search-vue.action-view #mw-content-text .mw-parser-output > div.mw-highlight:last-child > pre:last-child{ margin-top:5px; margin-bottom:0; } body.skin-vector-search-vue.action-view #mw-content-text .mw-parser-output > div.mw-highlight:last-child > pre:last-child{ margin-bottom:0; margin-top:5px; } body.ns-828.skin-vector-search-vue:not(.action-view) #mw-content-text .mw-parser-output > div.mw-highlight:last-child > pre:last-child{ margin-top:0px; margin-bottom:0; } body.skin-vector-search-vue:not(.action-view) #mw-content-text .mw-parser-output > div.mw-highlight:last-child > pre:last-child{ margin-bottom:0; margin-top:0; } body.skin-vector-search-vue #mw-content-text .mw-parser-output > div.mw-highlight:only-child > pre:only-child{ margin-bottom:0 !important; margin-top:0 !important; } body.skin-vector-search-vue .oo-ui-panelLayout-padded.oo-ui-panelLayout-framed{ margin:0 0 8px 0; } body.skin-vector-search-vue .mw-body > h1{ margin-bottom:0; } body.skin-vector-search-vue #central-auth-images{ display:none; } body.skin-vector-search-vue .mw-message-box{ margin-top:10px; margin-bottom:10px; } body.skin-vector-search-vue #contentSub:not(:empty) ~ #mw-content-text > .mw-message-box:first-child{ margin-top:6px; margin-bottom:10px; } body.skin-vector-search-vue #contentSub > .mw-message-box{ margin-top:10px; margin-bottom:10px; } body.skin-vector-search-vue #contentSub > .subpages ~ .mw-message-box, body.skin-vector-search-vue #contentSub > #pwContent ~ .mw-message-box{ margin-bottom:10px; margin-top:0; } body.skin-vector-search-vue #wikiPreview.ontop{ margin-bottom:5px; } body.skin-vector-search-vue.skin-vector-disable-max-width #wikiPreview{ max-width:100%; } body.skin-vector-search-vue .previewnote{ margin-bottom:10px; } body.skin-vector-search-vue form#editform{ margin-top:5px; margin-bottom:5px; } body.skin-vector-search-vue #editform::after{ display:block; } body.skin-vector-search-vue .editOptions{ margin-bottom:10px; } body.skin-vector-search-vue .mw-category-generated > #mw-pages > h2, body.skin-vector-search-vue .mw-category-generated > #mw-subcategories > h2, body.skin-vector-search-vue .mw-category-generated > #mw-category-media > h2{ margin-top:15px !important; } body.skin-vector-search-vue .mw-category-generated > #mw-pages:last-child, body.skin-vector-search-vue .mw-category-generated > #mw-subcategories:last-child, body.skin-vector-search-vue .mw-category-generated > #mw-category-media:last-child{ margin-bottom:10px; } body.skin-vector-search-vue .mw-parser-output + .mw-category-generated > p:first-child, body.skin-vector-search-vue .mw-container-parser-output + .mw-category-generated > p:first-child, body.skin-vector-search-vue .noarticletext + .mw-category-generated > p:first-child{ margin-bottom:0; margin-top:0; } body.skin-vector-search-vue .mw-category-generated > *:first-child > h2{ margin-top:15px !important; } body.skin-vector-search-vue .mw-category-generated{ margin-bottom:5px; } body.skin-vector-search-vue .mw-editfooter-list{ margin-bottom:0; } body.skin-vector-search-vue #mw-clearyourcache:first-child > p:first-child{ margin-top:0; } body.skin-vector-search-vue .vector-menu-portal { margin: 0 5px; padding: 0.2em 0 0 0; direction: ltr; } body.skin-vector-search-vue .vector-menu-portal .vector-menu-content{ margin-left: 3px; } body.skin-vector-search-vue #mw-panel nav:first-child .vector-menu-content { margin-left: 0; } body.skin-vector-search-vue .vector-menu-portal .vector-menu-heading{ margin-left:3px; } body.skin-vector-search-vue .mw-undelete-pagetitle > p:first-child{ margin-top:0; } body.skin-vector-search-vue .mw-delete-warning-revisions{ display:block; margin-top:10px; } body.skin-vector-search-vue #p-lang-btn-label{ min-height:25px; padding:5px 25px 3px 5px; } body.skin-vector-search-vue .mw-delete-editreasons + h2, body.skin-vector-search-vue .mw-protect-editreasons + h2{ margin-top:0 !important; } body.skin-vector-search-vue .vector-article-toolbar .mw-article-toolbar-container{ margin-right:0; padding-right:0; } body.skin-vector-search-vue .vector-article-toolbar .mw-article-toolbar-container{ margin-right: 0; padding-right:0; } body.skin-vector-search-vue .vector-article-toolbar .mw-article-toolbar-container #right-navigation{ margin-right:4px; } body.skin-vector-search-vue .vector-article-toolbar .mw-article-toolbar-container #right-navigation{ margin-right: 4px; } body.skin-vector-search-vue .vector-article-toolbar .mw-article-toolbar-container #right-navigation::before{ display: flex; content: ''; width: auto; flex-direction: row; flex: 1 1 auto; box-sizing:border-box; } body.skin-vector-search-vue .vector-article-toolbar .mw-article-toolbar-container #right-navigation .vector-menu-content{ right:0; } body.skin-vector-search-vue .mw-table-of-contents-container{ direction: rtl; align-self:auto; background-color:white; background-image: url('//upload.wikimedia.org/wikipedia/commons/thumb/b/ba/Wikibooks_multicolor_open_book_no_text.svg/200px-Wikibooks_multicolor_open_book_no_text.svg.png'); } body.skin-vector-search-vue .mw-table-of-contents-container:not(:-moz-only-whitespace){ margin-right:8px; margin-left:5px; } body.skin-vector-search-vue .mw-table-of-contents-container.sidebar_obecny{ width:200px; max-height:100%; margin-right:8px; margin-left:5px; box-sizing:border-box; position:static; } body.skin-vector-search-vue .mw-table-of-contents-container .sidebar-toc{ width:200px; direction: rtl; overflow:hidden; margin-right:0; margin-left:0; max-height:calc( 100vh - 59px ); margin-top:0 !important; display:block; } body.skin-vector-search-vue .mw-table-of-contents-container .sidebar-toc .sidebar-toc-contents{ direction:ltr; } body.skin-vector-search-vue .mw-table-of-contents-container.sidebar_obecny .sidebar-toc{ position:absolute; max-width:700px; min-width:200px; display:block; } body.skin-vector-search-vue .mw-table-of-contents-container.sidebar_obecny .sidebar-toc:not(:hover){ width:200px; transition: width 250ms ease-out; transition-property: width; transition-duration: 250ms; transition-timing-function: ease-out; transition-delay: 0s; } body.skin-vector-search-vue .mw-table-of-contents-container.sidebar_obecny .sidebar-toc:not(:hover) .sidebar-toc-level-2{ display:none; } body.skin-vector-search-vue .mw-table-of-contents-container.sidebar_obecny .sidebar-toc:hover{ width:auto; transition: width 250ms ease-out; transition-property: width; transition-duration: 250ms; transition-timing-function: ease-out; transition-delay: 0s; } body.skin-vector-search-vue .mw-article-toolbar-container{ margin-left:0 !important; } body.skin-vector-search-vue .mw-checkbox-hack-checkbox:checked ~ .mw-workspace-container .mw-content-container, body.skin-vector-search-vue .mw-checkbox-hack-checkbox:checked ~ .mw-workspace-container #mw-navigation .mw-article-toolbar-container { margin-left: 0 !important; } body.skin-vector-search-vue .vector-body h1, body.skin-vector-search-vue .vector-body h2, body.skin-vector-search-vue .vector-body h3, body.skin-vector-search-vue .vector-body h4, body.skin-vector-search-vue .vector-body h5, body.skin-vector-search-vue .vector-body h6{ margin-top:0.8em; } body.skin-vector-search-vue .mw-history-subtitle{ margin-bottom:6px; } body.skin-vector-search-vue .printfooter{ display:block; margin: 5px 0; padding:5px; white-space:normal; border: 1px solid #eaecf0; box-sizing:border-box; background-color: white; } .client-js body.skin-vector-search-vue .mw-search-form-wrapper { min-height: 112px; } body.skin-vector-search-vue .noarticletext{ margin-bottom:5px; } body.skin-vector-search-vue .mw-menu-active{ background-color:#E6E6FA; } body.skin-vector-search-vue .mw-menu-inactive{ background-color:#EEE8AA; } body.skin-vector-search-vue .mw-menu-active,body.skin-vector-search-vue .mw-menu-inactive{ padding-left:5px !important; padding-right:5px !important; margin-left:0 !important; display:block; border-radius:5px; border:1px solid #a2a9b1; margin-top:3px; } body.skin-vector-search-vue .mw-items-active{ display:block; border-radius:5px; border:1px solid #a2a9b1; padding: 0 5px; margin-top:2px; } body.skin-vector-search-vue .mw-items-active > ul{ margin-top:0; } body.skin-vector-search-vue .mw-items-inactive{ display:none; } body.skin-vector-search-vue .mw-items-active,body.skin-vector-search-vue .mw-items-inactive{ margin-left:0px !important; } cerldvv85x5bl8kbnw3kzgqt1e3zkf1 435319 435316 2022-07-21T10:05:25Z Persino 2851 Persino przeniósł stronę [[Wikipedysta:Persino/vector-2022.css]] na [[Wikipedysta:Persino/vector-2022-brudnopis.css]], bez pozostawienia przekierowania pod starym tytułem css text/css body.skin-vector-search-vue .mw-page-container{ max-width:100%; min-width:988px; padding-left:0; padding-right:0; border-left: 0; border-right: 0; box-sizing:border-box; display:table; width:100%; background-color:white; height:auto; } body.skin-vector-search-vue .mw-content-container{ max-width:100%; box-sizing:border-box; } body.skin-vector-search-vue .mw-logo-container{ margin-left: 10px; margin-right:0; } body.skin-vector-search-vue #p-lang-btn-label{ font-size:14px !important; line-height:1.2em !important; white-space:nowrap; } body.skin-vector-search-vue .mw-indicators{ font-size: calc( 14px * 0.875 ); line-height: 2.0em; white-space:nowrap; margin: auto 0 0 0; } body.skin-vector-search-vue.action-view.page-Wikibooks_Strona_główna #content{ display:grid; grid: 'aa aa aa' auto 'dd dd dd' auto 'bb bb bb' auto 'cc cc cc' auto '.. .. ff' auto 'ee ee ee' auto / minmax(auto,1fr) auto auto } body.skin-vector-search-vue.action-view.page-Wikibooks_Strona_główna #content > #top{ grid-area:aa; } body.skin-vector-search-vue.action-view.page-Wikibooks_Strona_główna #content > #siteNotice{ grid-area:bb; } body.skin-vector-search-vue.action-view.page-Wikibooks_Strona_główna #content > .vector-article-toolbar{ grid-area:dd; margin:0; } body.skin-vector-search-vue.action-view.page-Wikibooks_Strona_główna #content > .mw-body-header{ grid-area:cc; top:0; width:auto !important; height:auto !important; margin:0; margin-right:10px; box-sizing:border-box; border-bottom: 1px solid #a2a9b1; } body.skin-vector-search-vue.action-view.page-Wikibooks_Strona_główna #content > #p-lang-btn{ grid-area:ff; height:20px; width:auto; height:auto; margin-left:auto; top:0; margin: auto 5px 0 5px; padding-bottom:8px; box-sizing:border-box; } body.skin-vector-search-vue.action-view.page-Wikibooks_Strona_główna #content > #bodyContent{ grid-area:ee; } body.skin-vector-search-vue.action-view.page-Wikibooks_Strona_główna #content > .mw-body-header{ display:grid; grid: 'aa bb' auto / minmax(auto,1fr) auto; width:100%; min-height: 46px; box-sizing: border-box; position: relative; } body.skin-vector-search-vue.action-view.page-Wikibooks_Strona_główna #content > .mw-body-header > .firstHeading{ display:block !important; } body.skin-vector-search-vue.action-view.page-Wikibooks_Strona_główna #content > .mw-body-header > .firstHeading:not(:hover){ grid-area:aa; margin-bottom:2px; width:100%; max-width:fit-content; max-width:-moz-fit-content; margin-bottom: 0; margin-top: auto; border-bottom: none; padding-left: 3px; padding-right: 3px; border-bottom: 0; } body.skin-vector-search-vue.action-view.page-Wikibooks_Strona_główna #content > .mw-body-header > .mw-indicators{ grid-area: bb; width: auto; height: 1.6em; margin-bottom: 5px; margin-top: auto; margin-right: 5px; } body.skin-vector-search-vue.action-view:not(.page-Wikibooks_Strona_główna):not(.ns-special) #content > .mw-body-header > .firstHeading > .plainlinks, body.skin-vector-search-vue.action-view.ns-special #content > .mw-body-header > .firstHeading > .plainlinks body.skin-vector-search-vue:not(.action-view) #content > .mw-body-header > .firstHeading > .plainlinks{ padding-bottom:2px; } body.skin-vector-search-vue.action-view:not(.page-Wikibooks_Strona_główna):not(.ns-special) #content > .mw-body-header > #p-lang-btn{ grid-area:bb; right:0; margin:0; height:auto; width:auto; margin-top: auto; margin-bottom:0; padding: 0 3px; box-sizing:border-box; } body.skin-vector-search-vue.action-view:not(.page-Wikibooks_Strona_główna):not(.ns-special) #content > .mw-body-header, body.skin-vector-search-vue.action-view.ns-special #content > .mw-body-header, body.skin-vector-search-vue:not(.action-view) #content > .mw-body-header{ display:grid; grid:'aa bb' auto / minmax(auto,100%) auto; border-bottom:1px solid #a2a9b1; margin-top:auto; margin-bottom:0; min-height:46px; box-sizing:border-box; position:relative; } body.skin-vector-search-vue.action-view:not(.page-Wikibooks_Strona_główna):not(.ns-special) #content > .mw-body-header > .firstHeading:not(:hover), body.skin-vector-search-vue.action-view.ns-special #content > .mw-body-header > .firstHeading:not(:hover), body.skin-vector-search-vue:not(.action-view) #content > .mw-body-header > .firstHeading:not(:hover){ grid-area:aa; width:100%; max-width:fit-content; max-width:-moz-fit-content; margin-bottom:0; margin-top:auto; border-bottom:none; padding-left:3px; padding-right:3px; border-bottom:0; box-sizing:border-box; } body.skin-vector-search-vue.action-view.ns-special #content > .mw-body-header > .mw-indicators, body.skin-vector-search-vue:not(.action-view) #content > .mw-body-header > .mw-indicators{ grid-area:bb; right:0; margin:0; height:auto; width:100%; margin:auto 0 0 auto; padding: 0 10px; box-sizing:border-box; } body.skin-vector-search-vue.action-view.ns-special #content .mw-body-header > .mw-indicators > .mw-indicator, body.skin-vector-search-vue:not(.action-view) #content .mw-body-header > .mw-indicators > .mw-indicator{ padding: 2px 0 2px 0; margin: auto 0 0 0; } body.skin-vector-search-vue.action-view:not(.page-Wikibooks_Strona_główna):not(.ns-special) #content, body.skin-vector-search-vue.action-view.ns-special #content, body.skin-vector-search-vue:not(.action-view) #content{ display:grid; grid:'aa' auto 'cc' auto 'bb' auto 'dd' auto 'ee' auto / auto; width:100%; } body.skin-vector-search-vue.action-view:not(.page-Wikibooks_Strona_główna):not(.ns-special) #content > #top, body.skin-vector-search-vue.action-view.ns-special #content > #top, body.skin-vector-search-vue:not(.action-view) #content > #top{ grid-area:aa; } body.skin-vector-search-vue.action-view:not(.page-Wikibooks_Strona_główna):not(.ns-special) #content > #siteNotice, body.skin-vector-search-vue.action-view.ns-special #content > #siteNotice, body.skin-vector-search-vue:not(.action-view) #content > #siteNotice{ grid-area:bb; } body.skin-vector-search-vue.action-view:not(.page-Wikibooks_Strona_główna):not(.ns-special) #content > .vector-article-toolbar, body.skin-vector-search-vue.action-view.ns-special #content > .vector-article-toolbar, body.skin-vector-search-vue:not(.action-view) #content > .vector-article-toolbar{ grid-area:cc; } body.skin-vector-search-vue .mw-body-header::after{ display:none; } body.skin-vector-search-vue.action-view:not(.page-Wikibooks_Strona_główna):not(.ns-special) #content > .mw-body-header, body.skin-vector-search-vue.action-view.ns-special #content > .mw-body-header, body.skin-vector-search-vue:not(.action-view) #content > .mw-body-header{ grid-area:dd; margin:0; margin-right:10px; width:auto; padding-bottom:0; } body.skin-vector-search-vue .mw-body-subheader{ border-bottom:0; } /*body.skin-vector-search-vue #siteSub,*/ body.skin-vector-search-vue .firstHeading:not(:hover) > .plainlinks{ display:none; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; } body.skin-vector-search-vue .firstHeading:not(:hover){ display:block; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; border-bottom:0; } body.skin-vector-search-vue .firstHeading:hover{ display:block; border:1px solid #eaecf0; border-radius:10px; background-color:white; position:absolute; top:5px; left:-3px; width:auto; padding:5px; z-index:1 !important; } body.skin-vector-search-vue .mw-body-header > .firstHeading:hover > .plainlinks{ display:block; } body.skin-vector-search-vue.action-view:not(.page-Wikibooks_Strona_główna):not(.ns-special) #bodyContent > .mw-body-subheader{ margin: 2px 0 3px 0; min-height:1.6em; } body.skin-vector-search-vue.action-view.ns-special #bodyContent > .mw-body-subheader, body.skin-vector-search-vue:not(.action-view) #bodyContent > .mw-body-subheader{ margin: 0; } body.skin-vector-search-vue.action-view.page-Wikibooks_Strona_główna #bodyContent > .mw-body-subheader{ margin:0; margin-top: -2.0em; font-size: 1.2em; height: 2em; margin-bottom:5px; } body.skin-vector-search-vue.action-view.page-Wikibooks_Strona_główna #bodyContent > .mw-body-subheader > #siteSub{ display:table !important; width:auto; } body.skin-vector-search-vue.action-view:not(.page-Wikibooks_Strona_główna):not(.ns-special) #bodyContent > .mw-body-subheader> .mw-indicators{ margin-left:5px; margin-right:3px; display:block; } body.skin-vector-search-vue.action-view:not(.page-Wikibooks_Strona_główna):not(.ns-special) #bodyContent > .mw-body-subheader> #siteSub{ display:block; } body.skin-vector-search-vue .firstHeading, body.skin-vector-search-vue .firstHeading > .plainlinks{ max-width:100%; width:auto; } body.skin-vector-search-vue.action-view:not(.page-Wikibooks_Strona_główna):not(.ns-special) #content #bodyContent, body.skin-vector-search-vue.action-view.ns-special #content #bodyContent, body.skin-vector-search-vue:not(.action-view) #content #bodyContent{ grid-area:ee; } body.skin-vector-search-vue.skin-vector-disable-max-width .vector-layout-legacy #mw-sidebar-checkbox:checked ~ .mw-workspace-container #mw-navigation .mw-article-toolbar-container, body.skin-vector-search-vue.skin-vector-disable-max-width .vector-layout-legacy #mw-sidebar-checkbox:checked ~ .mw-workspace-container .mw-content-container, body.skin-vector-search-vue:not(.skin-vector-toc-experiment-control):not(.skin-vector-toc-experiment-unsampled) .vector-toc-visible .mw-workspace-container .mw-content-container, body.skin-vector-search-vue:not(.skin-vector-toc-experiment-control):not(.skin-vector-toc-experiment-unsampled) .vector-toc-visible .mw-workspace-container .mw-article-toolbar-container, body.skin-vector-search-vue.vector-toc-enabled .mw-checkbox-hack-checkbox:checked ~ .mw-workspace-container .mw-content-container, body.skin-vector-search-vue.vector-toc-enabled .mw-checkbox-hack-checkbox:checked ~ .mw-workspace-container .mw-article-toolbar-container, body.skin-vector-search-vue.skin-vector-disable-max-width .vector-toc-enabled .vector-layout-legacy #mw-sidebar-checkbox:checked ~ .mw-workspace-container .mw-content-container, body.skin-vector-search-vue:not(.skin-vector-toc-experiment-control):not(.skin-vector-toc-experiment-unsampled) .vector-layout-legacy .vector-toc-visible .mw-workspace-container .mw-content-container, body.skin-vector-search-vue:not(.skin-vector-toc-experiment-control):not(.skin-vector-toc-experiment-unsampled) .vector-layout-legacy .vector-toc-visible #mw-navigation .mw-article-toolbar-container, body.skin-vector-search-vue.vector-toc-enabled .vector-layout-legacy #mw-sidebar-checkbox:checked ~ .mw-workspace-container .mw-content-container, body.skin-vector-search-vue.vector-toc-enabled .vector-layout-legacy #mw-sidebar-checkbox:checked ~ .mw-workspace-container #mw-navigation .mw-article-toolbar-container{ margin-left:0; } body.skin-vector-search-vue .mw-workspace-container:not(.mw-footer-container){ display:grid; grid:'aa cc bb' auto / auto minmax(auto,1fr) auto; width:auto; box-sizing:border-box; } body.skin-vector-search-vue .mw-workspace-container:not(.mw-footer-container) > #mw-navigation{ grid-area:aa; width:100%; box-sizing:border-box; } body.skin-vector-search-vue .mw-workspace-container:not(.mw-footer-container) > .mw-table-of-contents-container.mw-sticky-header-element{ grid-area:bb; max-width:200px; display:block; box-sizing:border-box; margin-bottom:16px; z-index:1; } body.skin-vector-search-vue .mw-workspace-container:not(.mw-footer-container) > .mw-content-container{ grid-area:cc; box-sizing:border-box; } /**/ body.skin-vector-search-vue .mw-workspace-container .mw-content-container, body.skin-vector-search-vue .mw-workspace-container .mw-content-container #bodyContent, body.skin-vector-search-vue .mw-workspace-container .mw-content-container #content, body.skin-vector-search-vue .mw-workspace-container .mw-content-container .mw-body-header{ width:100%; box-sizing:border-box; } body.skin-vector-search-vue .mw-article-toolbar-container .mw-portlet-views { display: block; } body.skin-vector-search-vue .mw-article-toolbar-container .vector-more-collapsible-item { display: none; } body.skin-vector-search-vue .sidebar-toc{ left:auto; right:8px; } body.skin-vector-search-vue:not(.vector-below-page-title) .mw-checkbox-hack-checkbox:checked ~ .mw-workspace-container .sidebar-toc{ left:auto; right:8px; } body.skin-vector-search-vue.vector-toc-enabled .mw-checkbox-hack-checkbox:checked ~ .mw-workspace-container .sidebar-toc{ display: block; } body.skin-vector-search-vue.vector-toc-enabled .mw-checkbox-hack-checkbox:checked ~ .mw-workspace-container .sidebar-toc{ display: block; } body.skin-vector-search-vue .mw-checkbox-hack-checkbox:checked ~ .mw-workspace-container #mw-panel, body.skin-vector-search-vue #mw-sidebar-checkbox:checked ~ .mw-workspace-container #mw-panel{ left:-140px; top:-15px; position:absolute; width:140px; box-sizing:border-box; } body.skin-vector-search-vue.vector-toc-enabled .mw-sidebar{ margin-left:0; background-color: white; padding: 12px 0; margin-top:0; } .vector-animations-ready body.skin-vector-search-vue .mw-sidebar{ transition: none; transition-property: none; transition-duration: none; transition-timing-function: none; transition-delay: none; } body.skin-vector-search-vue.vector-toc-enabled #mw-sidebar-checkbox:not(:checked) ~ .mw-workspace-container .mw-sidebar{ display:block; } body.skin-vector-search-vue #mw-sidebar-checkbox:not(:checked) ~ .mw-workspace-container .mw-sidebar{ visibility: visible; opacity: 1; transform: none; } body.skin-vector-search-vue .mw-workspace-container #mw-panel{ left:-140px; top:-15px; position: absolute; float:left; box-sizing:border-box; } body.skin-vector-search-vue .ui-dialog{ font-size:75%; } body.skin-vector-search-vue .mw-body-content .error{ font-size:96%; } body.skin-vector-search-vue.action-purge .firstHeading{ padding-bottom:3px; } body.skin-vector-search-vue .firstHeading .plainlinks{ line-height:1.2em !important; } body.skin-vector-search-vue #mw-panel{ width:140px; box-sizing:border-box; } body.skin-vector-search-vue .mw-sidebar #p-navigation .vector-menu-heading{ display:block; } body.skin-vector-search-vue .mw-workspace-container{ margin-right:0; margin-left:140px; min-width:auto; max-width:100%; box-sizing:border-box; } body.skin-vector-search-vue .mw-checkbox-hack-checkbox:checked ~ .mw-workspace-container{ margin-left:140px; transition: margin-left 250ms ease-out; transition-property: margin-left; transition-duration: 250ms; transition-timing-function: ease-out; transition-delay: 0s; } body.skin-vector-search-vue .mw-checkbox-hack-checkbox:not(:checked) ~ .mw-workspace-container{ margin-left:0; transition: margin-left 250ms ease-out; transition-property: margin-left; transition-duration: 250ms; transition-timing-function: ease-out; transition-delay: 0s; } body.skin-vector-search-vue .mw-article-toolbar-container{ max-width:100%; box-sizing:border-box; position:relative; z-index:1; } body.skin-vector-search-vue .mw-footer-container{ padding-top:0; } body.skin-vector-search-vue .mw-content-container > .mw-body{ margin-left:0; margin-right:0; } body.skin-vector-search-vue .mw-article-toolbar-container > #left-navigation{ margin-left:0; margin-right:0; } body.skin-vector-search-vue .mw-content-container .mw-footer{ margin-left:8px; margin-right:0; padding: 0.75em 5px; } body.skin-vector-search-vue .mw-header { display:flex; flex-direction: row; margin: 8px 5px 0 5px; } body.skin-vector-search-vue .mw-workspace-container #mw-head{ min-width:832px; margin-right:5px; box-sizing:border-box; } body.skin-vector-search-vue .mw-logo-icon{ display:block; } body.skin-vector-search-vue .vector-user-links .vector-user-menu-more .vector-menu-content-list li.user-links-collapsible-item { display: block; } body.skin-vector-search-vue .vector-search-box-collapses > div{ display:block; } body.skin-vector-search-vue a.mw-ui-icon-wikimedia-search{ display:none; } body.skin-vector-search-vue .vector-sticky-header{ height:3.2em; padding: 6px 25px; display:flex; flex-direction:row; min-width:700px; margin-left:auto; margin-right:auto; width:90%; text-align:center; box-sizing:border-box; } @media screen and (max-width: 830px){ body.skin-vector-search-vue .vector-sticky-header{ display: none; } } .client-nojs body.skin-vector-search-vue .vector-sticky-header{ display:none !important; } body.skin-vector-search-vue .wvui-typeahead-suggestion{ padding-top:4px; padding-bottom:4px; text-align:left; } body.skin-vector-search-vue .vector-sticky-header.vector-header-search-toggled{ flex-basis: 460px; box-sizing:border-box; } body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--auto-expand-width:not(.wvui-typeahead-search--focused){ margin-left:10px; width:460px; box-sizing:border-box; } body.skin-vector-search-vue .wvui-typeahead-suggestion__thumbnail-placeholder, body.skin-vector-search-vue .wvui-typeahead-suggestion__thumbnail{ width: 36px; height: 36px; } body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail:not(.wvui-typeahead-search--auto-expand-width), body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--auto-expand-width.wvui-typeahead-search--focused{ margin-left:10px; width:460px; box-sizing:border-box; } body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail:not(.wvui-typeahead-search--auto-expand-width) .wvui-input__start-icon, body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--auto-expand-width.wvui-typeahead-search--focused .wvui-input__start-icon{ left:13px; width:37px; } body.skin-vector-search-vue .wvui-input, body.skin-vector-search-vue .vector-search-box, body.skin-vector-search-vue .wvui-typeahead-suggestion__title, body.skin-vector-search-vue .wvui-typeahead-search__wrapper, body.skin-vector-search-vue .vector-search-box-vue .vector-search-box-input, body.skin-vector-search-vue .wvui-input__input, body.skin-vector-search-vue .wvui-typeahead-search, body.skin-vector-search-vue .wvui-typeahead-search__form, body.skin-vector-search-vue #p-search #searchform #simpleSearch{ font-size:calc( 14px * 1.042 ); line-height:1.2em; height:30px; min-height:30px; box-sizing:border-box; } body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail:not(.wvui-typeahead-search--active) .wvui-input, body.skin-vector-search-vue .vector-search-box, body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail:not(.wvui-typeahead-search--active) .wvui-typeahead-suggestion__title, body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail:not(.wvui-typeahead-search--active) .wvui-typeahead-search__wrapper, body.skin-vector-search-vue .vector-search-box-vue .wvui-typeahead-search--show-thumbnail:not(.wvui-typeahead-search--active) .vector-search-box-input, body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail:not(.wvui-typeahead-search--active) .wvui-input__input, body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail:not(.wvui-typeahead-search--active) .wvui-typeahead-search, body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail:not(.wvui-typeahead-search--active) .wvui-typeahead-search__form, body.skin-vector-search-vue #p-search #searchform #simpleSearch{ width:460px; } body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--active .wvui-input, body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--active .wvui-typeahead-suggestion__title, body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--active .wvui-typeahead-search__wrapper, body.skin-vector-search-vue .vector-search-box-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--active .vector-search-box-input, body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--active .wvui-input__input, body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--active .wvui-typeahead-search, body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--active .wvui-typeahead-search__form{ width:calc( 460px - 64px); } body.skin-vector-search-vue .wvui-button{ font-size:calc( 14px * 1.042 ); line-height:1.2em; height:30px; min-height:30px; width:64px; border-left:0; box-sizing:border-box; } body.skin-vector-search-vue .mw-header #p-search #searchform #simpleSearch{ margin-left:10px; width:460px; box-sizing:border-box; } body.skin-vector-search-vue .wvui-typeahead-search__wrapper{ margin-right:0; } body.skin-vector-search-vue .wvui-typeahead-suggestion__title{ display: table-cell; vertical-align: middle; } .client-js body.skin-vector-search-vue .vector-search-box-show-thumbnail.vector-search-box-auto-expand-width .vector-search-box-input, .client-js .vector-search-box-vue .vector-search-box-show-thumbnail.vector-search-box-auto-expand-width .vector-search-box-input{ margin-left:0; box-sizing:border-box; width:460px; } .client-js body.skin-vector-search-vue .vector-search-box-show-thumbnail.vector-search-box-auto-expand-width .searchButton, .client-js .vector-search-box-vue .vector-search-box-show-thumbnail.vector-search-box-auto-expand-width .searchButton{ left:0; } body.skin-vector-search-vue .mw-header .vector-search-box.vector-search-box-auto-expand-width{ margin-left:10px; } body.skin-vector-search-vue .mw-header .vector-search-box.vector-search-box-auto-expand-width > div{ width:460px; box-sizing:border-box; } body.skin-vector-search-vue .vector-search-box-vue .searchButton{ background-size: 20px auto; } .client-js body.skin-vector-search-vue .vector-search-box-input, .client-js .vector-search-box-vue .vector-search-box-input{ padding-left:36px; padding-right:8px; } body.skin-vector-search-vue .wvui-input--has-start-icon .wvui-input__input{ padding-left:36px; padding-right:8px; } body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--auto-expand-width:not(.wvui-typeahead-search--focused) .wvui-input__input { border-right-color: #a2a9b1; width:460px; box-sizing:border-box; } body.skin-vector-search-vue .wvui-typeahead-search .wvui-input__input{ border-right-color: #a2a9b1; } body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--auto-expand-width:not(.wvui-typeahead-search--focused):not(.wvui-typeahead-search--active) .wvui-input__input { width: 460px; } body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--auto-expand-width:not(.wvui-typeahead-search--focused).wvui-typeahead-search--active .wvui-input__input { width:calc( 460px - 64px ); } body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail:not(.wvui-typeahead-search--auto-expand-width) .wvui-input__input, body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--auto-expand-width.wvui-typeahead-search--focused .wvui-input__input{ position:relative; padding-left: 62px; box-sizing:border-box; } body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail:not(.wvui-typeahead-search--auto-expand-width).wvui-typeahead-search--active .wvui-input__input, body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--auto-expand-width.wvui-typeahead-search--focused.wvui-typeahead-search--active .wvui-input__input{ width:calc( 460px - 64px ); } body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail:not(.wvui-typeahead-search--auto-expand-width):not(.wvui-typeahead-search--active) .wvui-input__input, body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--auto-expand-width.wvui-typeahead-search--focused:not(.wvui-typeahead-search--active) .wvui-input__input{ width:460px; } body.skin-vector-search-vue .wvui-typeahead-search--expanded .wvui-typeahead-search__suggestions{ width:calc( 460px - 64px ); top:30px; box-sizing:border-box; } body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--active .wvui-typeahead-search--expanded .wvui-typeahead-search__suggestions{ width:calc( 460px - 64px ); } body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail:not(.wvui-typeahead-search--active) .wvui-typeahead-search--expanded .wvui-typeahead-search__suggestions{ width:460px; } body.skin-vector-search-vue .mw-header .vector-search-box.vector-search-box-auto-expand-width > div{ max-width:460px; } body.skin-vector-search-vue .mw-logo{ min-width:144px; } body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--auto-expand-width:not(.wvui-typeahead-search--focused):not(.wvui-typeahead-search--active).wvui-typeahead-search--active .wvui-button{ display:block; width:64px; z-index:1; } body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail:not(.wvui-typeahead-search--auto-expand-width).wvui-typeahead-search--active .wvui-button, body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--auto-expand-width.wvui-typeahead-search--focused.wvui-typeahead-search--active .wvui-button{ display:block; width:64px; z-index:1; } body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail:not(.wvui-typeahead-search--active) .wvui-button{ display:none; } body.skin-vector-search-vue .wvui-button{ padding-left:0; padding-right:0; } body.skin-vector-search-vue .mw-ui-icon,.mw-ui-icon-before::before{ font-size:14px; } body.skin-vector-search-vue .mw-sidebar-action{ display:none; } body.skin-vector-search-vue, body.skin-vector-search-vue .mw-editsection{ font-family: Arial, Helvetica, "Free Helvetian", FreeSans, sans-serif; font-stretch:normal; font-variant:normal; font-style:normal; font-weight:normal; font-size-adjust:none; letter-spacing:normal; word-spacing:normal; text-align:left; word-wrap:break-word; hyphens:auto; } body.skin-vector-search-vue{ font-size:calc( 14px * 1.042 ); line-height:1.2em; background-color:#ffffff; } body.skin-vector-search-vue .mw-editsection{ font-size:12px; line-height:1.2em; } body.skin-vector-search-vue.action-view:not(.page-Wikibooks_Strona_główna):not(.ns-special) #contentSub, body.skin-vector-search-vue.action-view:not(.page-Wikibooks_Strona_główna):not(.ns-special) #contentSub ~ #contentSub2{ margin:0; } body.skin-vector-search-vue.action-view.ns-special #contentSub:empty, body.skin-vector-search-vue.action-view.ns-special #contentSub:not(:empty), body.skin-vector-search-vue.action-view.ns-special #contentSub:not(:empty) ~ #contentSub2, body.skin-vector-search-vue.action-view.ns-special #contentSub:empty ~ #contentSub2:not(:empty){ margin:2px 0 3px 0; } body.skin-vector-search-vue.action-view.ns-special #contentSub:empty ~ #contentSub2:empty{ margin:10px 0; } body.skin-vector-search-vue:not(.action-view) #contentSub:empty{ margin:2px 0 3px 0; } body.skin-vector-search-vue:not(.action-view) #contentSub:empty ~ #contentSub2:empty{ margin:10px 0; } body.skin-vector-search-vue:not(.action-view) #contentSub:not(:empty), body.skin-vector-search-vue:not(.action-view) #contentSub:not(:empty) ~ #contentSub2{ margin: 2px 0 2px 0; } body.skin-vector-search-vue:not(.action-view) #contentSub:empty ~ #contentSub2:not(:empty){ margin: 2px 0 3px 0; } body.skin-vector-search-vue.action-view.page-Wikibooks_Strona_główna #contentSub, body.skin-vector-search-vue.action-view.page-Wikibooks_Strona_główna #contentSub2{ margin:0; } body.skin-vector-search-vue.action-edit #contentSub:not(:empty) ~ #mw-content-text > form#editform{ margin-top:0; } body.skin-vector-search-vue.action-view #pwContent, body.skin-vector-search-vue:not(.action-view) #pwContent, body.skin-vector-search-vue.action-view .subpages, body.skin-vector-search-vue:not(.action-view) .subpages{ margin:0; font-size:12px; line-height:1.2em; margin-bottom:6px; } body.skin-vector-search-vue.action-view:not(.page-Wikibooks_Strona_główna) .warningbox, body.skin-vector-search-vue:not(.action-view) .warningbox{ margin:10px 0; } body.skin-vector-search-vue #mw-previewheader{ margin-top:14px; margin-bottom:10px; } body.skin-vector-search-vue .mw-userconfigpublic{ margin-top:8px; } body.skin-vector-search-vue .mw-contributions-user-tools{ margin-bottom:6px; } body.skin-vector-search-vue:not(.action-view) .mw-body, body.skin-vector-search-vue.action-view.ns-special .mw-body{ padding: 8px 0 10px 8px; position:relative; z-index:0; } body.skin-vector-search-vue.action-view.page-Wikibooks_Strona_główna .mw-body, body.skin-vector-search-vue.action-view:not(.ns-special):not(.page-Wikibooks_Strona_główna) .mw-body{ padding: 4px 0 10px 8px; position:relative; z-index:0; } body.skin-vector-search-vue #centralNotice:not(:empty){ margin:10px 8px 8px 8px; } body.skin-vector-search-vue .mw-content-container{ min-width:848px; } body.skin-vector-search-vue #content{ margin-left:0px; min-width:848px; box-sizing:border-box; } body.skin-vector-search-vue #mw-content-text{ clear:both; } body.skin-vector-search-vue #bodyContent{ box-sizing:border-box; min-width:832px; height:auto; clear:both; padding: 0 13px 0 5px; } body.skin-vector-search-vue .mw-table-of-contents-container.sidebar_obecny ~ .mw-content-container #bodyContent{ padding: 0 5px; } body.skin-vector-search-vue .mw-table-of-contents-container.sidebar_obecny ~ .mw-content-container .mw-body-header{ margin-right:3px !important; } body.skin-vector-search-vue.action-view #bodyContent #mw-content-text .mw-container-parser-output, body.skin-vector-search-vue:not(.action-view) #bodyContent #mw-content-text .mw-container-parser-output{ overflow:auto; overflow-x:auto; overflow-y:visible; min-width:822px; box-sizing:border-box; margin-bottom:5px; display:block; height:auto; position:relative; } body.skin-vector-search-vue.action-view #bodyContent #mw-content-text .mw-container-parser-output.has-mw-parser-output-whitespace, body.skin-vector-search-vue:not(.action-view) #bodyContent #mw-content-text .mw-container-parser-output.has-mw-parser-output-whitespace{ margin-bottom:0 !important; } body.skin-vector-search-vue.action-view #bodyContent #mw-content-text .mw-container-parser-output.mw-scrollbar-overflow-x, body.skin-vector-search-vue:not(.action-view) #bodyContent #mw-content-text #wikiPreview .mw-content-ltr .mw-container-parser-output.mw-scrollbar-overflow-x{ padding-bottom:5px; } body.skin-vector-search-vue.action-view #bodyContent #mw-content-text .mw-container-parser-output:not(.mw-scrollbar-overflow-x), body.skin-vector-search-vue:not(.action-view) #bodyContent #mw-content-text #wikiPreview .mw-content-ltr .mw-container-parser-output:not(.mw-scrollbar-overflow-x){ padding-bottom:0; } body.skin-vector-search-vue.action-view #bodyContent #mw-content-text .mw-container-parser-output.mw-scrollbar-overflow-y, body.skin-vector-search-vue:not(.action-view) #bodyContent #mw-content-text #wikiPreview .mw-content-ltr .mw-container-parser-output.mw-scrollbar-overflow-y{ padding-right:5px; } body.skin-vector-search-vue.action-view #bodyContent #mw-content-text:not(.mw-scrollbar-overflow-y), body.skin-vector-search-vue:not(.action-view) #bodyContent #mw-content-text #wikiPreview .mw-content-ltr:not(.mw-scrollbar-overflow-y){ padding-right:0; } body.skin-vector-search-vue.ns-10 #mw-content-text .mw-parser-output > :not(style):not(link):not(#documentation-meta-data):not(.template-documentation) ~ *:first-of-type, body.skin-vector-search-vue.ns-828 #mw-content-text .mw-parser-output > :not(style):not(link):not(#documentation-meta-data):not(.template-documentation) ~ *:first-of-type{ margin-top:5px !important; } body.skin-vector-search-vue #mw-content-text .mw-parser-output > :not(style):not(link):not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(p):first-child{ margin-top:0 !important; } body.skin-vector-search-vue #mw-content-text .mw-parser-output > :not(style):not(link) ~ :not(style):not(link):not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(p):not(.div-linia):first-of-type{ margin-top:5px !important; } body.skin-vector-search-vue #mw-content-text .mw-parser-output > div.div-linia + *{ margin-top:0px !important; } body.skin-vector-search-vue #mw-content-text .mw-parser-output > h1:first-child, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h2:first-child, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h3:first-child, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h4:first-child, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h5:first-child, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h6:first-child, body.skin-vector-search-vue #mw-content-text .mw-parser-output > :not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(p) + h1:first-of-type, body.skin-vector-search-vue #mw-content-text .mw-parser-output > :not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(p) + h2:first-of-type, body.skin-vector-search-vue #mw-content-text .mw-parser-output > :not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(p) + h3:first-of-type, body.skin-vector-search-vue #mw-content-text .mw-parser-output > :not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(p) + h4:first-of-type, body.skin-vector-search-vue #mw-content-text .mw-parser-output > :not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(p) + h5:first-of-type, body.skin-vector-search-vue #mw-content-text .mw-parser-output > :not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(p) + h6:first-of-type{ margin-top:0.5em !important; } body.skin-vector-search-vue #mw-content-text .mw-parser-output > h1 ~ h1, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h1 ~ h2, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h1 ~ h3, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h1 ~ h4, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h1 ~ h5, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h1 ~ h6, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h2 ~ h1, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h2 ~ h2, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h2 ~ h3, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h2 ~ h4, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h2 ~ h5, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h2 ~ h6, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h3 ~ h1, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h3 ~ h2, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h3 ~ h3, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h3 ~ h4, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h3 ~ h5, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h3 ~ h6, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h4 ~ h1, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h4 ~ h2, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h4 ~ h3, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h4 ~ h4, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h4 ~ h5, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h4 ~ h6, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h5 ~ h1, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h5 ~ h2, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h5 ~ h3, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h5 ~ h4, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h5 ~ h5, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h5 ~ h6, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h6 ~ h1, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h6 ~ h2, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h6 ~ h3, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h6 ~ h4, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h6 ~ h5, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h6 ~ h6{ margin-top:0.8em; } body.skin-vector-search-vue .tdg-editscreen-main{ margin-top:9px; margin-bottom:10px; } body.skin-vector-search-vue .mw-specialpage-summary > p:first-child{ margin: 0 0 4px 0; } body.skin-vector-search-vue .mw-rcfilters-head{ margin-bottom:15px; } body.skin-vector-search-vue.mw-special-Watchlist .mw-rcfilters-head{ min-height: 280px; } body.skin-vector-search-vue #bodyContent #mw-content-text .mw-parser-output .template-documentation:first-of-type{ margin-top:0; box-sizing:border-box; } body.skin-vector-search-vue #bodyContent #mw-content-text .mw-parser-output > :not(style):not(link) ~ .template-documentation{ margin-top:10px !important; box-sizing:border-box !important; } body.skin-vector-search-vue .mw-parser-output #documentation-meta-data:not(:last-child){ margin-top:3px !important; margin-bottom:3px !important; } body.skin-vector-search-vue .mw-parser-output #documentation-meta-data:last-child{ margin-top:3px !important; margin-bottom:0 !important; } body.skin-vector-search-vue #bodyContent #mw-content-text .mw-parser-output{ display:table; box-sizing:border-box; position:relative; width:100%; height:auto; margin:0; margin-bottom:5px; border-spacing:0; padding:0; border-collapse:collapse; border:0; } body.skin-vector-search-vue #bodyContent #mw-content-text .mw-container-parser-output > .mw-parser-output{ margin:0; } body.skin-vector-search-vue .catlinks:not(.catlinks-allhidden){ margin: 5px 0; } body.skin-vector-search-vue #mw-content-text .mw-parser-output > p:first-of-type{ margin-top:0.3em; } body.skin-vector-search-vue #mw-content-text .mw-parser-output > :not(p):not(:empty) + p:first-of-type{ margin-top:0.5em; } body.skin-vector-search-vue #mw-content-text .mw-parser-output > :not(p):not(.blank) + p:first-of-type{ margin-top:0.5em; } body.skin-vector-search-vue #mw-content-text .mw-parser-output > :not(p):not(:-moz-only-whitespace) + p:first-of-type{ margin-top:0.5em; } body.skin-vector-search-vue #mw-content-text .mw-parser-output > :not(p):not(:blank) + p:first-of-type{ margin-top:0.5em; } body.skin-vector-search-vue #mw-content-text .mw-parser-output > :not(p).floatleft + p:first-of-type, body.skin-vector-search-vue #mw-content-text .mw-parser-output > :not(p).floatright + p:first-of-type, body.skin-vector-search-vue #mw-content-text .mw-parser-output > :not(p).tleft + p:first-of-type, body.skin-vector-search-vue #mw-content-text .mw-parser-output > :not(p).tright + p:first-of-type{ margin-top:0; } body.skin-vector-search-vue #mw-content-text .mw-parser-output > p:last-child{ margin-bottom:0.3em; } body.skin-vector-search-vue pre{ margin-top:8px; margin-bottom:8px; padding:11px; background-color: #f8f9fa; color: #000; border: 1px solid #eaecf0; box-sizing:border-box; } body.skin-vector-search-vue div.mw-highlight > pre{ margin-top:8px; margin-bottom:8px; } body.ns-828.skin-vector-search-vue.action-view #mw-content-text .mw-parser-output > div.mw-highlight:last-child > pre:last-child{ margin-top:5px; margin-bottom:0; } body.skin-vector-search-vue.action-view #mw-content-text .mw-parser-output > div.mw-highlight:last-child > pre:last-child{ margin-bottom:0; margin-top:5px; } body.ns-828.skin-vector-search-vue:not(.action-view) #mw-content-text .mw-parser-output > div.mw-highlight:last-child > pre:last-child{ margin-top:0px; margin-bottom:0; } body.skin-vector-search-vue:not(.action-view) #mw-content-text .mw-parser-output > div.mw-highlight:last-child > pre:last-child{ margin-bottom:0; margin-top:0; } body.skin-vector-search-vue #mw-content-text .mw-parser-output > div.mw-highlight:only-child > pre:only-child{ margin-bottom:0 !important; margin-top:0 !important; } body.skin-vector-search-vue .oo-ui-panelLayout-padded.oo-ui-panelLayout-framed{ margin:0 0 8px 0; } body.skin-vector-search-vue .mw-body > h1{ margin-bottom:0; } body.skin-vector-search-vue #central-auth-images{ display:none; } body.skin-vector-search-vue .mw-message-box{ margin-top:10px; margin-bottom:10px; } body.skin-vector-search-vue #contentSub:not(:empty) ~ #mw-content-text > .mw-message-box:first-child{ margin-top:6px; margin-bottom:10px; } body.skin-vector-search-vue #contentSub > .mw-message-box{ margin-top:10px; margin-bottom:10px; } body.skin-vector-search-vue #contentSub > .subpages ~ .mw-message-box, body.skin-vector-search-vue #contentSub > #pwContent ~ .mw-message-box{ margin-bottom:10px; margin-top:0; } body.skin-vector-search-vue #wikiPreview.ontop{ margin-bottom:5px; } body.skin-vector-search-vue.skin-vector-disable-max-width #wikiPreview{ max-width:100%; } body.skin-vector-search-vue .previewnote{ margin-bottom:10px; } body.skin-vector-search-vue form#editform{ margin-top:5px; margin-bottom:5px; } body.skin-vector-search-vue #editform::after{ display:block; } body.skin-vector-search-vue .editOptions{ margin-bottom:10px; } body.skin-vector-search-vue .mw-category-generated > #mw-pages > h2, body.skin-vector-search-vue .mw-category-generated > #mw-subcategories > h2, body.skin-vector-search-vue .mw-category-generated > #mw-category-media > h2{ margin-top:15px !important; } body.skin-vector-search-vue .mw-category-generated > #mw-pages:last-child, body.skin-vector-search-vue .mw-category-generated > #mw-subcategories:last-child, body.skin-vector-search-vue .mw-category-generated > #mw-category-media:last-child{ margin-bottom:10px; } body.skin-vector-search-vue .mw-parser-output + .mw-category-generated > p:first-child, body.skin-vector-search-vue .mw-container-parser-output + .mw-category-generated > p:first-child, body.skin-vector-search-vue .noarticletext + .mw-category-generated > p:first-child{ margin-bottom:0; margin-top:0; } body.skin-vector-search-vue .mw-category-generated > *:first-child > h2{ margin-top:15px !important; } body.skin-vector-search-vue .mw-category-generated{ margin-bottom:5px; } body.skin-vector-search-vue .mw-editfooter-list{ margin-bottom:0; } body.skin-vector-search-vue #mw-clearyourcache:first-child > p:first-child{ margin-top:0; } body.skin-vector-search-vue .vector-menu-portal { margin: 0 5px; padding: 0.2em 0 0 0; direction: ltr; } body.skin-vector-search-vue .vector-menu-portal .vector-menu-content{ margin-left: 3px; } body.skin-vector-search-vue #mw-panel nav:first-child .vector-menu-content { margin-left: 0; } body.skin-vector-search-vue .vector-menu-portal .vector-menu-heading{ margin-left:3px; } body.skin-vector-search-vue .mw-undelete-pagetitle > p:first-child{ margin-top:0; } body.skin-vector-search-vue .mw-delete-warning-revisions{ display:block; margin-top:10px; } body.skin-vector-search-vue #p-lang-btn-label{ min-height:25px; padding:5px 25px 3px 5px; } body.skin-vector-search-vue .mw-delete-editreasons + h2, body.skin-vector-search-vue .mw-protect-editreasons + h2{ margin-top:0 !important; } body.skin-vector-search-vue .vector-article-toolbar .mw-article-toolbar-container{ margin-right:0; padding-right:0; } body.skin-vector-search-vue .vector-article-toolbar .mw-article-toolbar-container{ margin-right: 0; padding-right:0; } body.skin-vector-search-vue .vector-article-toolbar .mw-article-toolbar-container #right-navigation{ margin-right:4px; } body.skin-vector-search-vue .vector-article-toolbar .mw-article-toolbar-container #right-navigation{ margin-right: 4px; } body.skin-vector-search-vue .vector-article-toolbar .mw-article-toolbar-container #right-navigation::before{ display: flex; content: ''; width: auto; flex-direction: row; flex: 1 1 auto; box-sizing:border-box; } body.skin-vector-search-vue .vector-article-toolbar .mw-article-toolbar-container #right-navigation .vector-menu-content{ right:0; } body.skin-vector-search-vue .mw-table-of-contents-container{ direction: rtl; align-self:auto; background-color:white; background-image: url('//upload.wikimedia.org/wikipedia/commons/thumb/b/ba/Wikibooks_multicolor_open_book_no_text.svg/200px-Wikibooks_multicolor_open_book_no_text.svg.png'); } body.skin-vector-search-vue .mw-table-of-contents-container:not(:-moz-only-whitespace){ margin-right:8px; margin-left:5px; } body.skin-vector-search-vue .mw-table-of-contents-container.sidebar_obecny{ width:200px; max-height:100%; margin-right:8px; margin-left:5px; box-sizing:border-box; position:static; } body.skin-vector-search-vue .mw-table-of-contents-container .sidebar-toc{ width:200px; direction: rtl; overflow:hidden; margin-right:0; margin-left:0; max-height:calc( 100vh - 59px ); margin-top:0 !important; display:block; } body.skin-vector-search-vue .mw-table-of-contents-container .sidebar-toc .sidebar-toc-contents{ direction:ltr; } body.skin-vector-search-vue .mw-table-of-contents-container.sidebar_obecny .sidebar-toc{ position:absolute; max-width:700px; min-width:200px; display:block; } body.skin-vector-search-vue .mw-table-of-contents-container.sidebar_obecny .sidebar-toc:not(:hover){ width:200px; transition: width 250ms ease-out; transition-property: width; transition-duration: 250ms; transition-timing-function: ease-out; transition-delay: 0s; } body.skin-vector-search-vue .mw-table-of-contents-container.sidebar_obecny .sidebar-toc:not(:hover) .sidebar-toc-level-2{ display:none; } body.skin-vector-search-vue .mw-table-of-contents-container.sidebar_obecny .sidebar-toc:hover{ width:auto; transition: width 250ms ease-out; transition-property: width; transition-duration: 250ms; transition-timing-function: ease-out; transition-delay: 0s; } body.skin-vector-search-vue .mw-article-toolbar-container{ margin-left:0 !important; } body.skin-vector-search-vue .mw-checkbox-hack-checkbox:checked ~ .mw-workspace-container .mw-content-container, body.skin-vector-search-vue .mw-checkbox-hack-checkbox:checked ~ .mw-workspace-container #mw-navigation .mw-article-toolbar-container { margin-left: 0 !important; } body.skin-vector-search-vue .vector-body h1, body.skin-vector-search-vue .vector-body h2, body.skin-vector-search-vue .vector-body h3, body.skin-vector-search-vue .vector-body h4, body.skin-vector-search-vue .vector-body h5, body.skin-vector-search-vue .vector-body h6{ margin-top:0.8em; } body.skin-vector-search-vue .mw-history-subtitle{ margin-bottom:6px; } body.skin-vector-search-vue .printfooter{ display:block; margin: 5px 0; padding:5px; white-space:normal; border: 1px solid #eaecf0; box-sizing:border-box; background-color: white; } .client-js body.skin-vector-search-vue .mw-search-form-wrapper { min-height: 112px; } body.skin-vector-search-vue .noarticletext{ margin-bottom:5px; } body.skin-vector-search-vue .mw-menu-active{ background-color:#E6E6FA; } body.skin-vector-search-vue .mw-menu-inactive{ background-color:#EEE8AA; } body.skin-vector-search-vue .mw-menu-active,body.skin-vector-search-vue .mw-menu-inactive{ padding-left:5px !important; padding-right:5px !important; margin-left:0 !important; display:block; border-radius:5px; border:1px solid #a2a9b1; margin-top:3px; } body.skin-vector-search-vue .mw-items-active{ display:block; border-radius:5px; border:1px solid #a2a9b1; padding: 0 5px; margin-top:2px; } body.skin-vector-search-vue .mw-items-active > ul{ margin-top:0; } body.skin-vector-search-vue .mw-items-inactive{ display:none; } body.skin-vector-search-vue .mw-items-active,body.skin-vector-search-vue .mw-items-inactive{ margin-left:0px !important; } cerldvv85x5bl8kbnw3kzgqt1e3zkf1 435320 435319 2022-07-21T10:49:08Z Persino 2851 Persino przeniósł stronę [[Wikipedysta:Persino/vector-2022-brudnopis.css]] na [[Wikipedysta:Persino/vector-2022.css]], bez pozostawienia przekierowania pod starym tytułem css text/css body.skin-vector-search-vue .mw-page-container{ max-width:100%; min-width:988px; padding-left:0; padding-right:0; border-left: 0; border-right: 0; box-sizing:border-box; display:table; width:100%; background-color:white; height:auto; } body.skin-vector-search-vue .mw-content-container{ max-width:100%; box-sizing:border-box; } body.skin-vector-search-vue .mw-logo-container{ margin-left: 10px; margin-right:0; } body.skin-vector-search-vue #p-lang-btn-label{ font-size:14px !important; line-height:1.2em !important; white-space:nowrap; } body.skin-vector-search-vue .mw-indicators{ font-size: calc( 14px * 0.875 ); line-height: 2.0em; white-space:nowrap; margin: auto 0 0 0; } body.skin-vector-search-vue.action-view.page-Wikibooks_Strona_główna #content{ display:grid; grid: 'aa aa aa' auto 'dd dd dd' auto 'bb bb bb' auto 'cc cc cc' auto '.. .. ff' auto 'ee ee ee' auto / minmax(auto,1fr) auto auto } body.skin-vector-search-vue.action-view.page-Wikibooks_Strona_główna #content > #top{ grid-area:aa; } body.skin-vector-search-vue.action-view.page-Wikibooks_Strona_główna #content > #siteNotice{ grid-area:bb; } body.skin-vector-search-vue.action-view.page-Wikibooks_Strona_główna #content > .vector-article-toolbar{ grid-area:dd; margin:0; } body.skin-vector-search-vue.action-view.page-Wikibooks_Strona_główna #content > .mw-body-header{ grid-area:cc; top:0; width:auto !important; height:auto !important; margin:0; margin-right:10px; box-sizing:border-box; border-bottom: 1px solid #a2a9b1; } body.skin-vector-search-vue.action-view.page-Wikibooks_Strona_główna #content > #p-lang-btn{ grid-area:ff; height:20px; width:auto; height:auto; margin-left:auto; top:0; margin: auto 5px 0 5px; padding-bottom:8px; box-sizing:border-box; } body.skin-vector-search-vue.action-view.page-Wikibooks_Strona_główna #content > #bodyContent{ grid-area:ee; } body.skin-vector-search-vue.action-view.page-Wikibooks_Strona_główna #content > .mw-body-header{ display:grid; grid: 'aa bb' auto / minmax(auto,1fr) auto; width:100%; min-height: 46px; box-sizing: border-box; position: relative; } body.skin-vector-search-vue.action-view.page-Wikibooks_Strona_główna #content > .mw-body-header > .firstHeading{ display:block !important; } body.skin-vector-search-vue.action-view.page-Wikibooks_Strona_główna #content > .mw-body-header > .firstHeading:not(:hover){ grid-area:aa; margin-bottom:2px; width:100%; max-width:fit-content; max-width:-moz-fit-content; margin-bottom: 0; margin-top: auto; border-bottom: none; padding-left: 3px; padding-right: 3px; border-bottom: 0; } body.skin-vector-search-vue.action-view.page-Wikibooks_Strona_główna #content > .mw-body-header > .mw-indicators{ grid-area: bb; width: auto; height: 1.6em; margin-bottom: 5px; margin-top: auto; margin-right: 5px; } body.skin-vector-search-vue.action-view:not(.page-Wikibooks_Strona_główna):not(.ns-special) #content > .mw-body-header > .firstHeading > .plainlinks, body.skin-vector-search-vue.action-view.ns-special #content > .mw-body-header > .firstHeading > .plainlinks body.skin-vector-search-vue:not(.action-view) #content > .mw-body-header > .firstHeading > .plainlinks{ padding-bottom:2px; } body.skin-vector-search-vue.action-view:not(.page-Wikibooks_Strona_główna):not(.ns-special) #content > .mw-body-header > #p-lang-btn{ grid-area:bb; right:0; margin:0; height:auto; width:auto; margin-top: auto; margin-bottom:0; padding: 0 3px; box-sizing:border-box; } body.skin-vector-search-vue.action-view:not(.page-Wikibooks_Strona_główna):not(.ns-special) #content > .mw-body-header, body.skin-vector-search-vue.action-view.ns-special #content > .mw-body-header, body.skin-vector-search-vue:not(.action-view) #content > .mw-body-header{ display:grid; grid:'aa bb' auto / minmax(auto,100%) auto; border-bottom:1px solid #a2a9b1; margin-top:auto; margin-bottom:0; min-height:46px; box-sizing:border-box; position:relative; } body.skin-vector-search-vue.action-view:not(.page-Wikibooks_Strona_główna):not(.ns-special) #content > .mw-body-header > .firstHeading:not(:hover), body.skin-vector-search-vue.action-view.ns-special #content > .mw-body-header > .firstHeading:not(:hover), body.skin-vector-search-vue:not(.action-view) #content > .mw-body-header > .firstHeading:not(:hover){ grid-area:aa; width:100%; max-width:fit-content; max-width:-moz-fit-content; margin-bottom:0; margin-top:auto; border-bottom:none; padding-left:3px; padding-right:3px; border-bottom:0; box-sizing:border-box; } body.skin-vector-search-vue.action-view.ns-special #content > .mw-body-header > .mw-indicators, body.skin-vector-search-vue:not(.action-view) #content > .mw-body-header > .mw-indicators{ grid-area:bb; right:0; margin:0; height:auto; width:100%; margin:auto 0 0 auto; padding: 0 10px; box-sizing:border-box; } body.skin-vector-search-vue.action-view.ns-special #content .mw-body-header > .mw-indicators > .mw-indicator, body.skin-vector-search-vue:not(.action-view) #content .mw-body-header > .mw-indicators > .mw-indicator{ padding: 2px 0 2px 0; margin: auto 0 0 0; } body.skin-vector-search-vue.action-view:not(.page-Wikibooks_Strona_główna):not(.ns-special) #content, body.skin-vector-search-vue.action-view.ns-special #content, body.skin-vector-search-vue:not(.action-view) #content{ display:grid; grid:'aa' auto 'cc' auto 'bb' auto 'dd' auto 'ee' auto / auto; width:100%; } body.skin-vector-search-vue.action-view:not(.page-Wikibooks_Strona_główna):not(.ns-special) #content > #top, body.skin-vector-search-vue.action-view.ns-special #content > #top, body.skin-vector-search-vue:not(.action-view) #content > #top{ grid-area:aa; } body.skin-vector-search-vue.action-view:not(.page-Wikibooks_Strona_główna):not(.ns-special) #content > #siteNotice, body.skin-vector-search-vue.action-view.ns-special #content > #siteNotice, body.skin-vector-search-vue:not(.action-view) #content > #siteNotice{ grid-area:bb; } body.skin-vector-search-vue.action-view:not(.page-Wikibooks_Strona_główna):not(.ns-special) #content > .vector-article-toolbar, body.skin-vector-search-vue.action-view.ns-special #content > .vector-article-toolbar, body.skin-vector-search-vue:not(.action-view) #content > .vector-article-toolbar{ grid-area:cc; } body.skin-vector-search-vue .mw-body-header::after{ display:none; } body.skin-vector-search-vue.action-view:not(.page-Wikibooks_Strona_główna):not(.ns-special) #content > .mw-body-header, body.skin-vector-search-vue.action-view.ns-special #content > .mw-body-header, body.skin-vector-search-vue:not(.action-view) #content > .mw-body-header{ grid-area:dd; margin:0; margin-right:10px; width:auto; padding-bottom:0; } body.skin-vector-search-vue .mw-body-subheader{ border-bottom:0; } /*body.skin-vector-search-vue #siteSub,*/ body.skin-vector-search-vue .firstHeading:not(:hover) > .plainlinks{ display:none; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; } body.skin-vector-search-vue .firstHeading:not(:hover){ display:block; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; border-bottom:0; } body.skin-vector-search-vue .firstHeading:hover{ display:block; border:1px solid #eaecf0; border-radius:10px; background-color:white; position:absolute; top:5px; left:-3px; width:auto; padding:5px; z-index:1 !important; } body.skin-vector-search-vue .mw-body-header > .firstHeading:hover > .plainlinks{ display:block; } body.skin-vector-search-vue.action-view:not(.page-Wikibooks_Strona_główna):not(.ns-special) #bodyContent > .mw-body-subheader{ margin: 2px 0 3px 0; min-height:1.6em; } body.skin-vector-search-vue.action-view.ns-special #bodyContent > .mw-body-subheader, body.skin-vector-search-vue:not(.action-view) #bodyContent > .mw-body-subheader{ margin: 0; } body.skin-vector-search-vue.action-view.page-Wikibooks_Strona_główna #bodyContent > .mw-body-subheader{ margin:0; margin-top: -2.0em; font-size: 1.2em; height: 2em; margin-bottom:5px; } body.skin-vector-search-vue.action-view.page-Wikibooks_Strona_główna #bodyContent > .mw-body-subheader > #siteSub{ display:table !important; width:auto; } body.skin-vector-search-vue.action-view:not(.page-Wikibooks_Strona_główna):not(.ns-special) #bodyContent > .mw-body-subheader> .mw-indicators{ margin-left:5px; margin-right:3px; display:block; } body.skin-vector-search-vue.action-view:not(.page-Wikibooks_Strona_główna):not(.ns-special) #bodyContent > .mw-body-subheader> #siteSub{ display:block; } body.skin-vector-search-vue .firstHeading, body.skin-vector-search-vue .firstHeading > .plainlinks{ max-width:100%; width:auto; } body.skin-vector-search-vue.action-view:not(.page-Wikibooks_Strona_główna):not(.ns-special) #content #bodyContent, body.skin-vector-search-vue.action-view.ns-special #content #bodyContent, body.skin-vector-search-vue:not(.action-view) #content #bodyContent{ grid-area:ee; } body.skin-vector-search-vue.skin-vector-disable-max-width .vector-layout-legacy #mw-sidebar-checkbox:checked ~ .mw-workspace-container #mw-navigation .mw-article-toolbar-container, body.skin-vector-search-vue.skin-vector-disable-max-width .vector-layout-legacy #mw-sidebar-checkbox:checked ~ .mw-workspace-container .mw-content-container, body.skin-vector-search-vue:not(.skin-vector-toc-experiment-control):not(.skin-vector-toc-experiment-unsampled) .vector-toc-visible .mw-workspace-container .mw-content-container, body.skin-vector-search-vue:not(.skin-vector-toc-experiment-control):not(.skin-vector-toc-experiment-unsampled) .vector-toc-visible .mw-workspace-container .mw-article-toolbar-container, body.skin-vector-search-vue.vector-toc-enabled .mw-checkbox-hack-checkbox:checked ~ .mw-workspace-container .mw-content-container, body.skin-vector-search-vue.vector-toc-enabled .mw-checkbox-hack-checkbox:checked ~ .mw-workspace-container .mw-article-toolbar-container, body.skin-vector-search-vue.skin-vector-disable-max-width .vector-toc-enabled .vector-layout-legacy #mw-sidebar-checkbox:checked ~ .mw-workspace-container .mw-content-container, body.skin-vector-search-vue:not(.skin-vector-toc-experiment-control):not(.skin-vector-toc-experiment-unsampled) .vector-layout-legacy .vector-toc-visible .mw-workspace-container .mw-content-container, body.skin-vector-search-vue:not(.skin-vector-toc-experiment-control):not(.skin-vector-toc-experiment-unsampled) .vector-layout-legacy .vector-toc-visible #mw-navigation .mw-article-toolbar-container, body.skin-vector-search-vue.vector-toc-enabled .vector-layout-legacy #mw-sidebar-checkbox:checked ~ .mw-workspace-container .mw-content-container, body.skin-vector-search-vue.vector-toc-enabled .vector-layout-legacy #mw-sidebar-checkbox:checked ~ .mw-workspace-container #mw-navigation .mw-article-toolbar-container{ margin-left:0; } body.skin-vector-search-vue .mw-workspace-container:not(.mw-footer-container){ display:grid; grid:'aa cc bb' auto / auto minmax(auto,1fr) auto; width:auto; box-sizing:border-box; } body.skin-vector-search-vue .mw-workspace-container:not(.mw-footer-container) > #mw-navigation{ grid-area:aa; width:100%; box-sizing:border-box; } body.skin-vector-search-vue .mw-workspace-container:not(.mw-footer-container) > .mw-table-of-contents-container.mw-sticky-header-element{ grid-area:bb; max-width:200px; display:block; box-sizing:border-box; margin-bottom:16px; z-index:1; } body.skin-vector-search-vue .mw-workspace-container:not(.mw-footer-container) > .mw-content-container{ grid-area:cc; box-sizing:border-box; } /**/ body.skin-vector-search-vue .mw-workspace-container .mw-content-container, body.skin-vector-search-vue .mw-workspace-container .mw-content-container #bodyContent, body.skin-vector-search-vue .mw-workspace-container .mw-content-container #content, body.skin-vector-search-vue .mw-workspace-container .mw-content-container .mw-body-header{ width:100%; box-sizing:border-box; } body.skin-vector-search-vue .mw-article-toolbar-container .mw-portlet-views { display: block; } body.skin-vector-search-vue .mw-article-toolbar-container .vector-more-collapsible-item { display: none; } body.skin-vector-search-vue .sidebar-toc{ left:auto; right:8px; } body.skin-vector-search-vue:not(.vector-below-page-title) .mw-checkbox-hack-checkbox:checked ~ .mw-workspace-container .sidebar-toc{ left:auto; right:8px; } body.skin-vector-search-vue.vector-toc-enabled .mw-checkbox-hack-checkbox:checked ~ .mw-workspace-container .sidebar-toc{ display: block; } body.skin-vector-search-vue.vector-toc-enabled .mw-checkbox-hack-checkbox:checked ~ .mw-workspace-container .sidebar-toc{ display: block; } body.skin-vector-search-vue .mw-checkbox-hack-checkbox:checked ~ .mw-workspace-container #mw-panel, body.skin-vector-search-vue #mw-sidebar-checkbox:checked ~ .mw-workspace-container #mw-panel{ left:-140px; top:-15px; position:absolute; width:140px; box-sizing:border-box; } body.skin-vector-search-vue.vector-toc-enabled .mw-sidebar{ margin-left:0; background-color: white; padding: 12px 0; margin-top:0; } .vector-animations-ready body.skin-vector-search-vue .mw-sidebar{ transition: none; transition-property: none; transition-duration: none; transition-timing-function: none; transition-delay: none; } body.skin-vector-search-vue.vector-toc-enabled #mw-sidebar-checkbox:not(:checked) ~ .mw-workspace-container .mw-sidebar{ display:block; } body.skin-vector-search-vue #mw-sidebar-checkbox:not(:checked) ~ .mw-workspace-container .mw-sidebar{ visibility: visible; opacity: 1; transform: none; } body.skin-vector-search-vue .mw-workspace-container #mw-panel{ left:-140px; top:-15px; position: absolute; float:left; box-sizing:border-box; } body.skin-vector-search-vue .ui-dialog{ font-size:75%; } body.skin-vector-search-vue .mw-body-content .error{ font-size:96%; } body.skin-vector-search-vue.action-purge .firstHeading{ padding-bottom:3px; } body.skin-vector-search-vue .firstHeading .plainlinks{ line-height:1.2em !important; } body.skin-vector-search-vue #mw-panel{ width:140px; box-sizing:border-box; } body.skin-vector-search-vue .mw-sidebar #p-navigation .vector-menu-heading{ display:block; } body.skin-vector-search-vue .mw-workspace-container{ margin-right:0; margin-left:140px; min-width:auto; max-width:100%; box-sizing:border-box; } body.skin-vector-search-vue .mw-checkbox-hack-checkbox:checked ~ .mw-workspace-container{ margin-left:140px; transition: margin-left 250ms ease-out; transition-property: margin-left; transition-duration: 250ms; transition-timing-function: ease-out; transition-delay: 0s; } body.skin-vector-search-vue .mw-checkbox-hack-checkbox:not(:checked) ~ .mw-workspace-container{ margin-left:0; transition: margin-left 250ms ease-out; transition-property: margin-left; transition-duration: 250ms; transition-timing-function: ease-out; transition-delay: 0s; } body.skin-vector-search-vue .mw-article-toolbar-container{ max-width:100%; box-sizing:border-box; position:relative; z-index:1; } body.skin-vector-search-vue .mw-footer-container{ padding-top:0; } body.skin-vector-search-vue .mw-content-container > .mw-body{ margin-left:0; margin-right:0; } body.skin-vector-search-vue .mw-article-toolbar-container > #left-navigation{ margin-left:0; margin-right:0; } body.skin-vector-search-vue .mw-content-container .mw-footer{ margin-left:8px; margin-right:0; padding: 0.75em 5px; } body.skin-vector-search-vue .mw-header { display:flex; flex-direction: row; margin: 8px 5px 0 5px; } body.skin-vector-search-vue .mw-workspace-container #mw-head{ min-width:832px; margin-right:5px; box-sizing:border-box; } body.skin-vector-search-vue .mw-logo-icon{ display:block; } body.skin-vector-search-vue .vector-user-links .vector-user-menu-more .vector-menu-content-list li.user-links-collapsible-item { display: block; } body.skin-vector-search-vue .vector-search-box-collapses > div{ display:block; } body.skin-vector-search-vue a.mw-ui-icon-wikimedia-search{ display:none; } body.skin-vector-search-vue .vector-sticky-header{ height:3.2em; padding: 6px 25px; display:flex; flex-direction:row; min-width:700px; margin-left:auto; margin-right:auto; width:90%; text-align:center; box-sizing:border-box; } @media screen and (max-width: 830px){ body.skin-vector-search-vue .vector-sticky-header{ display: none; } } .client-nojs body.skin-vector-search-vue .vector-sticky-header{ display:none !important; } body.skin-vector-search-vue .wvui-typeahead-suggestion{ padding-top:4px; padding-bottom:4px; text-align:left; } body.skin-vector-search-vue .vector-sticky-header.vector-header-search-toggled{ flex-basis: 460px; box-sizing:border-box; } body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--auto-expand-width:not(.wvui-typeahead-search--focused){ margin-left:10px; width:460px; box-sizing:border-box; } body.skin-vector-search-vue .wvui-typeahead-suggestion__thumbnail-placeholder, body.skin-vector-search-vue .wvui-typeahead-suggestion__thumbnail{ width: 36px; height: 36px; } body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail:not(.wvui-typeahead-search--auto-expand-width), body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--auto-expand-width.wvui-typeahead-search--focused{ margin-left:10px; width:460px; box-sizing:border-box; } body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail:not(.wvui-typeahead-search--auto-expand-width) .wvui-input__start-icon, body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--auto-expand-width.wvui-typeahead-search--focused .wvui-input__start-icon{ left:13px; width:37px; } body.skin-vector-search-vue .wvui-input, body.skin-vector-search-vue .vector-search-box, body.skin-vector-search-vue .wvui-typeahead-suggestion__title, body.skin-vector-search-vue .wvui-typeahead-search__wrapper, body.skin-vector-search-vue .vector-search-box-vue .vector-search-box-input, body.skin-vector-search-vue .wvui-input__input, body.skin-vector-search-vue .wvui-typeahead-search, body.skin-vector-search-vue .wvui-typeahead-search__form, body.skin-vector-search-vue #p-search #searchform #simpleSearch{ font-size:calc( 14px * 1.042 ); line-height:1.2em; height:30px; min-height:30px; box-sizing:border-box; } body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail:not(.wvui-typeahead-search--active) .wvui-input, body.skin-vector-search-vue .vector-search-box, body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail:not(.wvui-typeahead-search--active) .wvui-typeahead-suggestion__title, body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail:not(.wvui-typeahead-search--active) .wvui-typeahead-search__wrapper, body.skin-vector-search-vue .vector-search-box-vue .wvui-typeahead-search--show-thumbnail:not(.wvui-typeahead-search--active) .vector-search-box-input, body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail:not(.wvui-typeahead-search--active) .wvui-input__input, body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail:not(.wvui-typeahead-search--active) .wvui-typeahead-search, body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail:not(.wvui-typeahead-search--active) .wvui-typeahead-search__form, body.skin-vector-search-vue #p-search #searchform #simpleSearch{ width:460px; } body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--active .wvui-input, body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--active .wvui-typeahead-suggestion__title, body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--active .wvui-typeahead-search__wrapper, body.skin-vector-search-vue .vector-search-box-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--active .vector-search-box-input, body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--active .wvui-input__input, body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--active .wvui-typeahead-search, body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--active .wvui-typeahead-search__form{ width:calc( 460px - 64px); } body.skin-vector-search-vue .wvui-button{ font-size:calc( 14px * 1.042 ); line-height:1.2em; height:30px; min-height:30px; width:64px; border-left:0; box-sizing:border-box; } body.skin-vector-search-vue .mw-header #p-search #searchform #simpleSearch{ margin-left:10px; width:460px; box-sizing:border-box; } body.skin-vector-search-vue .wvui-typeahead-search__wrapper{ margin-right:0; } body.skin-vector-search-vue .wvui-typeahead-suggestion__title{ display: table-cell; vertical-align: middle; } .client-js body.skin-vector-search-vue .vector-search-box-show-thumbnail.vector-search-box-auto-expand-width .vector-search-box-input, .client-js .vector-search-box-vue .vector-search-box-show-thumbnail.vector-search-box-auto-expand-width .vector-search-box-input{ margin-left:0; box-sizing:border-box; width:460px; } .client-js body.skin-vector-search-vue .vector-search-box-show-thumbnail.vector-search-box-auto-expand-width .searchButton, .client-js .vector-search-box-vue .vector-search-box-show-thumbnail.vector-search-box-auto-expand-width .searchButton{ left:0; } body.skin-vector-search-vue .mw-header .vector-search-box.vector-search-box-auto-expand-width{ margin-left:10px; } body.skin-vector-search-vue .mw-header .vector-search-box.vector-search-box-auto-expand-width > div{ width:460px; box-sizing:border-box; } body.skin-vector-search-vue .vector-search-box-vue .searchButton{ background-size: 20px auto; } .client-js body.skin-vector-search-vue .vector-search-box-input, .client-js .vector-search-box-vue .vector-search-box-input{ padding-left:36px; padding-right:8px; } body.skin-vector-search-vue .wvui-input--has-start-icon .wvui-input__input{ padding-left:36px; padding-right:8px; } body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--auto-expand-width:not(.wvui-typeahead-search--focused) .wvui-input__input { border-right-color: #a2a9b1; width:460px; box-sizing:border-box; } body.skin-vector-search-vue .wvui-typeahead-search .wvui-input__input{ border-right-color: #a2a9b1; } body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--auto-expand-width:not(.wvui-typeahead-search--focused):not(.wvui-typeahead-search--active) .wvui-input__input { width: 460px; } body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--auto-expand-width:not(.wvui-typeahead-search--focused).wvui-typeahead-search--active .wvui-input__input { width:calc( 460px - 64px ); } body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail:not(.wvui-typeahead-search--auto-expand-width) .wvui-input__input, body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--auto-expand-width.wvui-typeahead-search--focused .wvui-input__input{ position:relative; padding-left: 62px; box-sizing:border-box; } body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail:not(.wvui-typeahead-search--auto-expand-width).wvui-typeahead-search--active .wvui-input__input, body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--auto-expand-width.wvui-typeahead-search--focused.wvui-typeahead-search--active .wvui-input__input{ width:calc( 460px - 64px ); } body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail:not(.wvui-typeahead-search--auto-expand-width):not(.wvui-typeahead-search--active) .wvui-input__input, body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--auto-expand-width.wvui-typeahead-search--focused:not(.wvui-typeahead-search--active) .wvui-input__input{ width:460px; } body.skin-vector-search-vue .wvui-typeahead-search--expanded .wvui-typeahead-search__suggestions{ width:calc( 460px - 64px ); top:30px; box-sizing:border-box; } body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--active .wvui-typeahead-search--expanded .wvui-typeahead-search__suggestions{ width:calc( 460px - 64px ); } body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail:not(.wvui-typeahead-search--active) .wvui-typeahead-search--expanded .wvui-typeahead-search__suggestions{ width:460px; } body.skin-vector-search-vue .mw-header .vector-search-box.vector-search-box-auto-expand-width > div{ max-width:460px; } body.skin-vector-search-vue .mw-logo{ min-width:144px; } body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--auto-expand-width:not(.wvui-typeahead-search--focused):not(.wvui-typeahead-search--active).wvui-typeahead-search--active .wvui-button{ display:block; width:64px; z-index:1; } body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail:not(.wvui-typeahead-search--auto-expand-width).wvui-typeahead-search--active .wvui-button, body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--auto-expand-width.wvui-typeahead-search--focused.wvui-typeahead-search--active .wvui-button{ display:block; width:64px; z-index:1; } body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail:not(.wvui-typeahead-search--active) .wvui-button{ display:none; } body.skin-vector-search-vue .wvui-button{ padding-left:0; padding-right:0; } body.skin-vector-search-vue .mw-ui-icon,.mw-ui-icon-before::before{ font-size:14px; } body.skin-vector-search-vue .mw-sidebar-action{ display:none; } body.skin-vector-search-vue, body.skin-vector-search-vue .mw-editsection{ font-family: Arial, Helvetica, "Free Helvetian", FreeSans, sans-serif; font-stretch:normal; font-variant:normal; font-style:normal; font-weight:normal; font-size-adjust:none; letter-spacing:normal; word-spacing:normal; text-align:left; word-wrap:break-word; hyphens:auto; } body.skin-vector-search-vue{ font-size:calc( 14px * 1.042 ); line-height:1.2em; background-color:#ffffff; } body.skin-vector-search-vue .mw-editsection{ font-size:12px; line-height:1.2em; } body.skin-vector-search-vue.action-view:not(.page-Wikibooks_Strona_główna):not(.ns-special) #contentSub, body.skin-vector-search-vue.action-view:not(.page-Wikibooks_Strona_główna):not(.ns-special) #contentSub ~ #contentSub2{ margin:0; } body.skin-vector-search-vue.action-view.ns-special #contentSub:empty, body.skin-vector-search-vue.action-view.ns-special #contentSub:not(:empty), body.skin-vector-search-vue.action-view.ns-special #contentSub:not(:empty) ~ #contentSub2, body.skin-vector-search-vue.action-view.ns-special #contentSub:empty ~ #contentSub2:not(:empty){ margin:2px 0 3px 0; } body.skin-vector-search-vue.action-view.ns-special #contentSub:empty ~ #contentSub2:empty{ margin:10px 0; } body.skin-vector-search-vue:not(.action-view) #contentSub:empty{ margin:2px 0 3px 0; } body.skin-vector-search-vue:not(.action-view) #contentSub:empty ~ #contentSub2:empty{ margin:10px 0; } body.skin-vector-search-vue:not(.action-view) #contentSub:not(:empty), body.skin-vector-search-vue:not(.action-view) #contentSub:not(:empty) ~ #contentSub2{ margin: 2px 0 2px 0; } body.skin-vector-search-vue:not(.action-view) #contentSub:empty ~ #contentSub2:not(:empty){ margin: 2px 0 3px 0; } body.skin-vector-search-vue.action-view.page-Wikibooks_Strona_główna #contentSub, body.skin-vector-search-vue.action-view.page-Wikibooks_Strona_główna #contentSub2{ margin:0; } body.skin-vector-search-vue.action-edit #contentSub:not(:empty) ~ #mw-content-text > form#editform{ margin-top:0; } body.skin-vector-search-vue.action-view #pwContent, body.skin-vector-search-vue:not(.action-view) #pwContent, body.skin-vector-search-vue.action-view .subpages, body.skin-vector-search-vue:not(.action-view) .subpages{ margin:0; font-size:12px; line-height:1.2em; margin-bottom:6px; } body.skin-vector-search-vue.action-view:not(.page-Wikibooks_Strona_główna) .warningbox, body.skin-vector-search-vue:not(.action-view) .warningbox{ margin:10px 0; } body.skin-vector-search-vue #mw-previewheader{ margin-top:14px; margin-bottom:10px; } body.skin-vector-search-vue .mw-userconfigpublic{ margin-top:8px; } body.skin-vector-search-vue .mw-contributions-user-tools{ margin-bottom:6px; } body.skin-vector-search-vue:not(.action-view) .mw-body, body.skin-vector-search-vue.action-view.ns-special .mw-body{ padding: 8px 0 10px 8px; position:relative; z-index:0; } body.skin-vector-search-vue.action-view.page-Wikibooks_Strona_główna .mw-body, body.skin-vector-search-vue.action-view:not(.ns-special):not(.page-Wikibooks_Strona_główna) .mw-body{ padding: 4px 0 10px 8px; position:relative; z-index:0; } body.skin-vector-search-vue #centralNotice:not(:empty){ margin:10px 8px 8px 8px; } body.skin-vector-search-vue .mw-content-container{ min-width:848px; } body.skin-vector-search-vue #content{ margin-left:0px; min-width:848px; box-sizing:border-box; } body.skin-vector-search-vue #mw-content-text{ clear:both; } body.skin-vector-search-vue #bodyContent{ box-sizing:border-box; min-width:832px; height:auto; clear:both; padding: 0 13px 0 5px; } body.skin-vector-search-vue .mw-table-of-contents-container.sidebar_obecny ~ .mw-content-container #bodyContent{ padding: 0 5px; } body.skin-vector-search-vue .mw-table-of-contents-container.sidebar_obecny ~ .mw-content-container .mw-body-header{ margin-right:3px !important; } body.skin-vector-search-vue.action-view #bodyContent #mw-content-text .mw-container-parser-output, body.skin-vector-search-vue:not(.action-view) #bodyContent #mw-content-text .mw-container-parser-output{ overflow:auto; overflow-x:auto; overflow-y:visible; min-width:822px; box-sizing:border-box; margin-bottom:5px; display:block; height:auto; position:relative; } body.skin-vector-search-vue.action-view #bodyContent #mw-content-text .mw-container-parser-output.has-mw-parser-output-whitespace, body.skin-vector-search-vue:not(.action-view) #bodyContent #mw-content-text .mw-container-parser-output.has-mw-parser-output-whitespace{ margin-bottom:0 !important; } body.skin-vector-search-vue.action-view #bodyContent #mw-content-text .mw-container-parser-output.mw-scrollbar-overflow-x, body.skin-vector-search-vue:not(.action-view) #bodyContent #mw-content-text #wikiPreview .mw-content-ltr .mw-container-parser-output.mw-scrollbar-overflow-x{ padding-bottom:5px; } body.skin-vector-search-vue.action-view #bodyContent #mw-content-text .mw-container-parser-output:not(.mw-scrollbar-overflow-x), body.skin-vector-search-vue:not(.action-view) #bodyContent #mw-content-text #wikiPreview .mw-content-ltr .mw-container-parser-output:not(.mw-scrollbar-overflow-x){ padding-bottom:0; } body.skin-vector-search-vue.action-view #bodyContent #mw-content-text .mw-container-parser-output.mw-scrollbar-overflow-y, body.skin-vector-search-vue:not(.action-view) #bodyContent #mw-content-text #wikiPreview .mw-content-ltr .mw-container-parser-output.mw-scrollbar-overflow-y{ padding-right:5px; } body.skin-vector-search-vue.action-view #bodyContent #mw-content-text:not(.mw-scrollbar-overflow-y), body.skin-vector-search-vue:not(.action-view) #bodyContent #mw-content-text #wikiPreview .mw-content-ltr:not(.mw-scrollbar-overflow-y){ padding-right:0; } body.skin-vector-search-vue.ns-10 #mw-content-text .mw-parser-output > :not(style):not(link):not(#documentation-meta-data):not(.template-documentation) ~ *:first-of-type, body.skin-vector-search-vue.ns-828 #mw-content-text .mw-parser-output > :not(style):not(link):not(#documentation-meta-data):not(.template-documentation) ~ *:first-of-type{ margin-top:5px !important; } body.skin-vector-search-vue #mw-content-text .mw-parser-output > :not(style):not(link):not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(p):first-child{ margin-top:0 !important; } body.skin-vector-search-vue #mw-content-text .mw-parser-output > :not(style):not(link) ~ :not(style):not(link):not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(p):not(.div-linia):first-of-type{ margin-top:5px !important; } body.skin-vector-search-vue #mw-content-text .mw-parser-output > div.div-linia + *{ margin-top:0px !important; } body.skin-vector-search-vue #mw-content-text .mw-parser-output > h1:first-child, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h2:first-child, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h3:first-child, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h4:first-child, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h5:first-child, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h6:first-child, body.skin-vector-search-vue #mw-content-text .mw-parser-output > :not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(p) + h1:first-of-type, body.skin-vector-search-vue #mw-content-text .mw-parser-output > :not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(p) + h2:first-of-type, body.skin-vector-search-vue #mw-content-text .mw-parser-output > :not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(p) + h3:first-of-type, body.skin-vector-search-vue #mw-content-text .mw-parser-output > :not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(p) + h4:first-of-type, body.skin-vector-search-vue #mw-content-text .mw-parser-output > :not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(p) + h5:first-of-type, body.skin-vector-search-vue #mw-content-text .mw-parser-output > :not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(p) + h6:first-of-type{ margin-top:0.5em !important; } body.skin-vector-search-vue #mw-content-text .mw-parser-output > h1 ~ h1, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h1 ~ h2, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h1 ~ h3, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h1 ~ h4, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h1 ~ h5, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h1 ~ h6, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h2 ~ h1, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h2 ~ h2, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h2 ~ h3, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h2 ~ h4, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h2 ~ h5, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h2 ~ h6, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h3 ~ h1, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h3 ~ h2, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h3 ~ h3, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h3 ~ h4, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h3 ~ h5, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h3 ~ h6, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h4 ~ h1, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h4 ~ h2, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h4 ~ h3, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h4 ~ h4, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h4 ~ h5, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h4 ~ h6, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h5 ~ h1, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h5 ~ h2, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h5 ~ h3, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h5 ~ h4, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h5 ~ h5, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h5 ~ h6, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h6 ~ h1, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h6 ~ h2, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h6 ~ h3, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h6 ~ h4, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h6 ~ h5, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h6 ~ h6{ margin-top:0.8em; } body.skin-vector-search-vue .tdg-editscreen-main{ margin-top:9px; margin-bottom:10px; } body.skin-vector-search-vue .mw-specialpage-summary > p:first-child{ margin: 0 0 4px 0; } body.skin-vector-search-vue .mw-rcfilters-head{ margin-bottom:15px; } body.skin-vector-search-vue.mw-special-Watchlist .mw-rcfilters-head{ min-height: 280px; } body.skin-vector-search-vue #bodyContent #mw-content-text .mw-parser-output .template-documentation:first-of-type{ margin-top:0; box-sizing:border-box; } body.skin-vector-search-vue #bodyContent #mw-content-text .mw-parser-output > :not(style):not(link) ~ .template-documentation{ margin-top:10px !important; box-sizing:border-box !important; } body.skin-vector-search-vue .mw-parser-output #documentation-meta-data:not(:last-child){ margin-top:3px !important; margin-bottom:3px !important; } body.skin-vector-search-vue .mw-parser-output #documentation-meta-data:last-child{ margin-top:3px !important; margin-bottom:0 !important; } body.skin-vector-search-vue #bodyContent #mw-content-text .mw-parser-output{ display:table; box-sizing:border-box; position:relative; width:100%; height:auto; margin:0; margin-bottom:5px; border-spacing:0; padding:0; border-collapse:collapse; border:0; } body.skin-vector-search-vue #bodyContent #mw-content-text .mw-container-parser-output > .mw-parser-output{ margin:0; } body.skin-vector-search-vue .catlinks:not(.catlinks-allhidden){ margin: 5px 0; } body.skin-vector-search-vue #mw-content-text .mw-parser-output > p:first-of-type{ margin-top:0.3em; } body.skin-vector-search-vue #mw-content-text .mw-parser-output > :not(p):not(:empty) + p:first-of-type{ margin-top:0.5em; } body.skin-vector-search-vue #mw-content-text .mw-parser-output > :not(p):not(.blank) + p:first-of-type{ margin-top:0.5em; } body.skin-vector-search-vue #mw-content-text .mw-parser-output > :not(p):not(:-moz-only-whitespace) + p:first-of-type{ margin-top:0.5em; } body.skin-vector-search-vue #mw-content-text .mw-parser-output > :not(p):not(:blank) + p:first-of-type{ margin-top:0.5em; } body.skin-vector-search-vue #mw-content-text .mw-parser-output > :not(p).floatleft + p:first-of-type, body.skin-vector-search-vue #mw-content-text .mw-parser-output > :not(p).floatright + p:first-of-type, body.skin-vector-search-vue #mw-content-text .mw-parser-output > :not(p).tleft + p:first-of-type, body.skin-vector-search-vue #mw-content-text .mw-parser-output > :not(p).tright + p:first-of-type{ margin-top:0; } body.skin-vector-search-vue #mw-content-text .mw-parser-output > p:last-child{ margin-bottom:0.3em; } body.skin-vector-search-vue pre{ margin-top:8px; margin-bottom:8px; padding:11px; background-color: #f8f9fa; color: #000; border: 1px solid #eaecf0; box-sizing:border-box; } body.skin-vector-search-vue div.mw-highlight > pre{ margin-top:8px; margin-bottom:8px; } body.ns-828.skin-vector-search-vue.action-view #mw-content-text .mw-parser-output > div.mw-highlight:last-child > pre:last-child{ margin-top:5px; margin-bottom:0; } body.skin-vector-search-vue.action-view #mw-content-text .mw-parser-output > div.mw-highlight:last-child > pre:last-child{ margin-bottom:0; margin-top:5px; } body.ns-828.skin-vector-search-vue:not(.action-view) #mw-content-text .mw-parser-output > div.mw-highlight:last-child > pre:last-child{ margin-top:0px; margin-bottom:0; } body.skin-vector-search-vue:not(.action-view) #mw-content-text .mw-parser-output > div.mw-highlight:last-child > pre:last-child{ margin-bottom:0; margin-top:0; } body.skin-vector-search-vue #mw-content-text .mw-parser-output > div.mw-highlight:only-child > pre:only-child{ margin-bottom:0 !important; margin-top:0 !important; } body.skin-vector-search-vue .oo-ui-panelLayout-padded.oo-ui-panelLayout-framed{ margin:0 0 8px 0; } body.skin-vector-search-vue .mw-body > h1{ margin-bottom:0; } body.skin-vector-search-vue #central-auth-images{ display:none; } body.skin-vector-search-vue .mw-message-box{ margin-top:10px; margin-bottom:10px; } body.skin-vector-search-vue #contentSub:not(:empty) ~ #mw-content-text > .mw-message-box:first-child{ margin-top:6px; margin-bottom:10px; } body.skin-vector-search-vue #contentSub > .mw-message-box{ margin-top:10px; margin-bottom:10px; } body.skin-vector-search-vue #contentSub > .subpages ~ .mw-message-box, body.skin-vector-search-vue #contentSub > #pwContent ~ .mw-message-box{ margin-bottom:10px; margin-top:0; } body.skin-vector-search-vue #wikiPreview.ontop{ margin-bottom:5px; } body.skin-vector-search-vue.skin-vector-disable-max-width #wikiPreview{ max-width:100%; } body.skin-vector-search-vue .previewnote{ margin-bottom:10px; } body.skin-vector-search-vue form#editform{ margin-top:5px; margin-bottom:5px; } body.skin-vector-search-vue #editform::after{ display:block; } body.skin-vector-search-vue .editOptions{ margin-bottom:10px; } body.skin-vector-search-vue .mw-category-generated > #mw-pages > h2, body.skin-vector-search-vue .mw-category-generated > #mw-subcategories > h2, body.skin-vector-search-vue .mw-category-generated > #mw-category-media > h2{ margin-top:15px !important; } body.skin-vector-search-vue .mw-category-generated > #mw-pages:last-child, body.skin-vector-search-vue .mw-category-generated > #mw-subcategories:last-child, body.skin-vector-search-vue .mw-category-generated > #mw-category-media:last-child{ margin-bottom:10px; } body.skin-vector-search-vue .mw-parser-output + .mw-category-generated > p:first-child, body.skin-vector-search-vue .mw-container-parser-output + .mw-category-generated > p:first-child, body.skin-vector-search-vue .noarticletext + .mw-category-generated > p:first-child{ margin-bottom:0; margin-top:0; } body.skin-vector-search-vue .mw-category-generated > *:first-child > h2{ margin-top:15px !important; } body.skin-vector-search-vue .mw-category-generated{ margin-bottom:5px; } body.skin-vector-search-vue .mw-editfooter-list{ margin-bottom:0; } body.skin-vector-search-vue #mw-clearyourcache:first-child > p:first-child{ margin-top:0; } body.skin-vector-search-vue .vector-menu-portal { margin: 0 5px; padding: 0.2em 0 0 0; direction: ltr; } body.skin-vector-search-vue .vector-menu-portal .vector-menu-content{ margin-left: 3px; } body.skin-vector-search-vue #mw-panel nav:first-child .vector-menu-content { margin-left: 0; } body.skin-vector-search-vue .vector-menu-portal .vector-menu-heading{ margin-left:3px; } body.skin-vector-search-vue .mw-undelete-pagetitle > p:first-child{ margin-top:0; } body.skin-vector-search-vue .mw-delete-warning-revisions{ display:block; margin-top:10px; } body.skin-vector-search-vue #p-lang-btn-label{ min-height:25px; padding:5px 25px 3px 5px; } body.skin-vector-search-vue .mw-delete-editreasons + h2, body.skin-vector-search-vue .mw-protect-editreasons + h2{ margin-top:0 !important; } body.skin-vector-search-vue .vector-article-toolbar .mw-article-toolbar-container{ margin-right:0; padding-right:0; } body.skin-vector-search-vue .vector-article-toolbar .mw-article-toolbar-container{ margin-right: 0; padding-right:0; } body.skin-vector-search-vue .vector-article-toolbar .mw-article-toolbar-container #right-navigation{ margin-right:4px; } body.skin-vector-search-vue .vector-article-toolbar .mw-article-toolbar-container #right-navigation{ margin-right: 4px; } body.skin-vector-search-vue .vector-article-toolbar .mw-article-toolbar-container #right-navigation::before{ display: flex; content: ''; width: auto; flex-direction: row; flex: 1 1 auto; box-sizing:border-box; } body.skin-vector-search-vue .vector-article-toolbar .mw-article-toolbar-container #right-navigation .vector-menu-content{ right:0; } body.skin-vector-search-vue .mw-table-of-contents-container{ direction: rtl; align-self:auto; background-color:white; background-image: url('//upload.wikimedia.org/wikipedia/commons/thumb/b/ba/Wikibooks_multicolor_open_book_no_text.svg/200px-Wikibooks_multicolor_open_book_no_text.svg.png'); } body.skin-vector-search-vue .mw-table-of-contents-container:not(:-moz-only-whitespace){ margin-right:8px; margin-left:5px; } body.skin-vector-search-vue .mw-table-of-contents-container.sidebar_obecny{ width:200px; max-height:100%; margin-right:8px; margin-left:5px; box-sizing:border-box; position:static; } body.skin-vector-search-vue .mw-table-of-contents-container .sidebar-toc{ width:200px; direction: rtl; overflow:hidden; margin-right:0; margin-left:0; max-height:calc( 100vh - 59px ); margin-top:0 !important; display:block; } body.skin-vector-search-vue .mw-table-of-contents-container .sidebar-toc .sidebar-toc-contents{ direction:ltr; } body.skin-vector-search-vue .mw-table-of-contents-container.sidebar_obecny .sidebar-toc{ position:absolute; max-width:700px; min-width:200px; display:block; } body.skin-vector-search-vue .mw-table-of-contents-container.sidebar_obecny .sidebar-toc:not(:hover){ width:200px; transition: width 250ms ease-out; transition-property: width; transition-duration: 250ms; transition-timing-function: ease-out; transition-delay: 0s; } body.skin-vector-search-vue .mw-table-of-contents-container.sidebar_obecny .sidebar-toc:not(:hover) .sidebar-toc-level-2{ display:none; } body.skin-vector-search-vue .mw-table-of-contents-container.sidebar_obecny .sidebar-toc:hover{ width:auto; transition: width 250ms ease-out; transition-property: width; transition-duration: 250ms; transition-timing-function: ease-out; transition-delay: 0s; } body.skin-vector-search-vue .mw-article-toolbar-container{ margin-left:0 !important; } body.skin-vector-search-vue .mw-checkbox-hack-checkbox:checked ~ .mw-workspace-container .mw-content-container, body.skin-vector-search-vue .mw-checkbox-hack-checkbox:checked ~ .mw-workspace-container #mw-navigation .mw-article-toolbar-container { margin-left: 0 !important; } body.skin-vector-search-vue .vector-body h1, body.skin-vector-search-vue .vector-body h2, body.skin-vector-search-vue .vector-body h3, body.skin-vector-search-vue .vector-body h4, body.skin-vector-search-vue .vector-body h5, body.skin-vector-search-vue .vector-body h6{ margin-top:0.8em; } body.skin-vector-search-vue .mw-history-subtitle{ margin-bottom:6px; } body.skin-vector-search-vue .printfooter{ display:block; margin: 5px 0; padding:5px; white-space:normal; border: 1px solid #eaecf0; box-sizing:border-box; background-color: white; } .client-js body.skin-vector-search-vue .mw-search-form-wrapper { min-height: 112px; } body.skin-vector-search-vue .noarticletext{ margin-bottom:5px; } body.skin-vector-search-vue .mw-menu-active{ background-color:#E6E6FA; } body.skin-vector-search-vue .mw-menu-inactive{ background-color:#EEE8AA; } body.skin-vector-search-vue .mw-menu-active,body.skin-vector-search-vue .mw-menu-inactive{ padding-left:5px !important; padding-right:5px !important; margin-left:0 !important; display:block; border-radius:5px; border:1px solid #a2a9b1; margin-top:3px; } body.skin-vector-search-vue .mw-items-active{ display:block; border-radius:5px; border:1px solid #a2a9b1; padding: 0 5px; margin-top:2px; } body.skin-vector-search-vue .mw-items-active > ul{ margin-top:0; } body.skin-vector-search-vue .mw-items-inactive{ display:none; } body.skin-vector-search-vue .mw-items-active,body.skin-vector-search-vue .mw-items-inactive{ margin-left:0px !important; } cerldvv85x5bl8kbnw3kzgqt1e3zkf1 435322 435320 2022-07-21T11:09:04Z Persino 2851 css text/css body.skin-vector-search-vue .mw-page-container{ max-width:100%; min-width:988px; padding-left:0; padding-right:0; border-left: 0; border-right: 0; box-sizing:border-box; display:table; width:100%; background-color:white; height:auto; } body.skin-vector-search-vue .mw-content-container{ max-width:100%; box-sizing:border-box; } body.skin-vector-search-vue .mw-logo-container{ margin-left: 10px; margin-right:0; } body.skin-vector-search-vue #p-lang-btn-label{ font-size:14px !important; line-height:1.2em !important; white-space:nowrap; } body.skin-vector-search-vue .mw-indicators{ font-size: calc( 14px * 0.875 ); line-height: 2.0em; white-space:nowrap; margin: auto 0 0 0; } body.skin-vector-search-vue.action-view.page-Wikibooks_Strona_główna #content{ display:grid; grid: 'aa aa aa' auto 'dd dd dd' auto 'bb bb bb' auto 'cc cc cc' auto '.. .. ff' auto 'ee ee ee' auto / minmax(auto,1fr) auto auto } body.skin-vector-search-vue.action-view.page-Wikibooks_Strona_główna #content > #top{ grid-area:aa; } body.skin-vector-search-vue.action-view.page-Wikibooks_Strona_główna #content > #siteNotice{ grid-area:bb; } body.skin-vector-search-vue.action-view.page-Wikibooks_Strona_główna #content > .vector-article-toolbar{ grid-area:dd; margin:0; } body.skin-vector-search-vue.action-view.page-Wikibooks_Strona_główna #content > .mw-body-header{ grid-area:cc; top:0; width:auto !important; height:auto !important; margin:0; margin-right:10px; box-sizing:border-box; border-bottom: 1px solid #a2a9b1; } body.skin-vector-search-vue.action-view.page-Wikibooks_Strona_główna #content > #p-lang-btn{ grid-area:ff; height:20px; width:auto; height:auto; margin-left:auto; top:0; margin: auto 5px 0 5px; padding-bottom:8px; box-sizing:border-box; } body.skin-vector-search-vue.action-view.page-Wikibooks_Strona_główna #content > #bodyContent{ grid-area:ee; } body.skin-vector-search-vue.action-view.page-Wikibooks_Strona_główna #content > .mw-body-header{ display:grid; grid: 'aa bb' auto / minmax(auto,1fr) auto; width:100%; min-height: 46px; box-sizing: border-box; position: relative; } body.skin-vector-search-vue.action-view.page-Wikibooks_Strona_główna #content > .mw-body-header > .firstHeading{ display:block !important; } body.skin-vector-search-vue.action-view.page-Wikibooks_Strona_główna #content > .mw-body-header > .firstHeading:not(:hover){ grid-area:aa; margin-bottom:2px; width:100%; max-width:fit-content; max-width:-moz-fit-content; margin-bottom: 0; margin-top: auto; border-bottom: none; padding-left: 3px; padding-right: 3px; border-bottom: 0; } body.skin-vector-search-vue.action-view.page-Wikibooks_Strona_główna #content > .mw-body-header > .mw-indicators{ grid-area: bb; width: auto; height: 1.6em; margin-bottom: 5px; margin-top: auto; margin-right: 5px; } body.skin-vector-search-vue.action-view:not(.page-Wikibooks_Strona_główna):not(.ns-special) #content > .mw-body-header > .firstHeading > .plainlinks, body.skin-vector-search-vue.action-view.ns-special #content > .mw-body-header > .firstHeading > .plainlinks body.skin-vector-search-vue:not(.action-view) #content > .mw-body-header > .firstHeading > .plainlinks{ padding-bottom:2px; } body.skin-vector-search-vue.action-view:not(.page-Wikibooks_Strona_główna):not(.ns-special) #content > .mw-body-header > #p-lang-btn{ grid-area:bb; right:0; margin:0; height:auto; width:auto; margin-top: auto; margin-bottom:0; padding: 0 3px; box-sizing:border-box; } body.skin-vector-search-vue.action-view:not(.page-Wikibooks_Strona_główna):not(.ns-special) #content > .mw-body-header, body.skin-vector-search-vue.action-view.ns-special #content > .mw-body-header, body.skin-vector-search-vue:not(.action-view) #content > .mw-body-header{ display:grid; grid:'aa bb' auto / minmax(auto,100%) auto; border-bottom:1px solid #a2a9b1; margin-top:auto; margin-bottom:0; min-height:46px; box-sizing:border-box; position:relative; } body.skin-vector-search-vue.action-view:not(.page-Wikibooks_Strona_główna):not(.ns-special) #content > .mw-body-header > .firstHeading:not(:hover), body.skin-vector-search-vue.action-view.ns-special #content > .mw-body-header > .firstHeading:not(:hover), body.skin-vector-search-vue:not(.action-view) #content > .mw-body-header > .firstHeading:not(:hover){ grid-area:aa; width:100%; max-width:fit-content; max-width:-moz-fit-content; margin-bottom:0; margin-top:auto; border-bottom:none; padding-left:3px; padding-right:3px; border-bottom:0; box-sizing:border-box; } body.skin-vector-search-vue.action-view.ns-special #content > .mw-body-header > .mw-indicators, body.skin-vector-search-vue:not(.action-view) #content > .mw-body-header > .mw-indicators{ grid-area:bb; right:0; margin:0; height:auto; width:100%; margin:auto 0 0 auto; padding: 0 10px; box-sizing:border-box; } body.skin-vector-search-vue.action-view.ns-special #content .mw-body-header > .mw-indicators > .mw-indicator, body.skin-vector-search-vue:not(.action-view) #content .mw-body-header > .mw-indicators > .mw-indicator{ padding: 2px 0 2px 0; margin: auto 0 0 0; } body.skin-vector-search-vue.action-view:not(.page-Wikibooks_Strona_główna):not(.ns-special) #content, body.skin-vector-search-vue.action-view.ns-special #content, body.skin-vector-search-vue:not(.action-view) #content{ display:grid; grid:'aa' auto 'cc' auto 'bb' auto 'dd' auto 'ee' auto / auto; width:100%; } body.skin-vector-search-vue.action-view:not(.page-Wikibooks_Strona_główna):not(.ns-special) #content > #top, body.skin-vector-search-vue.action-view.ns-special #content > #top, body.skin-vector-search-vue:not(.action-view) #content > #top{ grid-area:aa; } body.skin-vector-search-vue.action-view:not(.page-Wikibooks_Strona_główna):not(.ns-special) #content > #siteNotice, body.skin-vector-search-vue.action-view.ns-special #content > #siteNotice, body.skin-vector-search-vue:not(.action-view) #content > #siteNotice{ grid-area:bb; } body.skin-vector-search-vue.action-view:not(.page-Wikibooks_Strona_główna):not(.ns-special) #content > .vector-article-toolbar, body.skin-vector-search-vue.action-view.ns-special #content > .vector-article-toolbar, body.skin-vector-search-vue:not(.action-view) #content > .vector-article-toolbar{ grid-area:cc; } body.skin-vector-search-vue .mw-body-header::after{ display:none; } body.skin-vector-search-vue.action-view:not(.page-Wikibooks_Strona_główna):not(.ns-special) #content > .mw-body-header, body.skin-vector-search-vue.action-view.ns-special #content > .mw-body-header, body.skin-vector-search-vue:not(.action-view) #content > .mw-body-header{ grid-area:dd; margin:0; margin-right:10px; width:auto; padding-bottom:0; } body.skin-vector-search-vue .mw-body-subheader{ border-bottom:0; } /*body.skin-vector-search-vue #siteSub,*/ body.skin-vector-search-vue .firstHeading:not(:hover) > .plainlinks{ display:none; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; } body.skin-vector-search-vue .firstHeading:not(:hover){ display:block; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; border-bottom:0; } body.skin-vector-search-vue .firstHeading:hover{ display:block; border:1px solid #eaecf0; border-radius:10px; background-color:white; position:absolute; top:5px; left:-3px; width:auto; padding:5px; z-index:1 !important; } body.skin-vector-search-vue .mw-body-header > .firstHeading:hover > .plainlinks{ display:block; } body.skin-vector-search-vue.action-view:not(.page-Wikibooks_Strona_główna):not(.ns-special) #bodyContent > .mw-body-subheader{ margin: 2px 0 3px 0; min-height:1.6em; } body.skin-vector-search-vue.action-view.ns-special #bodyContent > .mw-body-subheader, body.skin-vector-search-vue:not(.action-view) #bodyContent > .mw-body-subheader{ margin: 0; } body.skin-vector-search-vue.action-view.page-Wikibooks_Strona_główna #bodyContent > .mw-body-subheader{ margin:0; margin-top: -2.0em; font-size: 1.2em; height: 2em; margin-bottom:5px; } body.skin-vector-search-vue.action-view.page-Wikibooks_Strona_główna #bodyContent > .mw-body-subheader > #siteSub{ display:table !important; width:auto; } body.skin-vector-search-vue.action-view:not(.page-Wikibooks_Strona_główna):not(.ns-special) #bodyContent > .mw-body-subheader> .mw-indicators{ margin-left:5px; margin-right:3px; display:block; } body.skin-vector-search-vue.action-view:not(.page-Wikibooks_Strona_główna):not(.ns-special) #bodyContent > .mw-body-subheader> #siteSub{ display:block; } body.skin-vector-search-vue .firstHeading, body.skin-vector-search-vue .firstHeading > .plainlinks{ max-width:100%; width:auto; } body.skin-vector-search-vue.action-view:not(.page-Wikibooks_Strona_główna):not(.ns-special) #content #bodyContent, body.skin-vector-search-vue.action-view.ns-special #content #bodyContent, body.skin-vector-search-vue:not(.action-view) #content #bodyContent{ grid-area:ee; } body.skin-vector-search-vue.skin-vector-disable-max-width .vector-layout-legacy #mw-sidebar-checkbox:checked ~ .mw-workspace-container #mw-navigation .mw-article-toolbar-container, body.skin-vector-search-vue.skin-vector-disable-max-width .vector-layout-legacy #mw-sidebar-checkbox:checked ~ .mw-workspace-container .mw-content-container, body.skin-vector-search-vue:not(.skin-vector-toc-experiment-control):not(.skin-vector-toc-experiment-unsampled) .vector-toc-visible .mw-workspace-container .mw-content-container, body.skin-vector-search-vue:not(.skin-vector-toc-experiment-control):not(.skin-vector-toc-experiment-unsampled) .vector-toc-visible .mw-workspace-container .mw-article-toolbar-container, body.skin-vector-search-vue.vector-toc-enabled .mw-checkbox-hack-checkbox:checked ~ .mw-workspace-container .mw-content-container, body.skin-vector-search-vue.vector-toc-enabled .mw-checkbox-hack-checkbox:checked ~ .mw-workspace-container .mw-article-toolbar-container, body.skin-vector-search-vue.skin-vector-disable-max-width .vector-toc-enabled .vector-layout-legacy #mw-sidebar-checkbox:checked ~ .mw-workspace-container .mw-content-container, body.skin-vector-search-vue:not(.skin-vector-toc-experiment-control):not(.skin-vector-toc-experiment-unsampled) .vector-layout-legacy .vector-toc-visible .mw-workspace-container .mw-content-container, body.skin-vector-search-vue:not(.skin-vector-toc-experiment-control):not(.skin-vector-toc-experiment-unsampled) .vector-layout-legacy .vector-toc-visible #mw-navigation .mw-article-toolbar-container, body.skin-vector-search-vue.vector-toc-enabled .vector-layout-legacy #mw-sidebar-checkbox:checked ~ .mw-workspace-container .mw-content-container, body.skin-vector-search-vue.vector-toc-enabled .vector-layout-legacy #mw-sidebar-checkbox:checked ~ .mw-workspace-container #mw-navigation .mw-article-toolbar-container{ margin-left:0; } /*body.skin-vector-search-vue .mw-workspace-container:not(.mw-footer-container){ display:grid; grid:'aa cc bb' auto / auto minmax(auto,1fr) auto; width:auto; box-sizing:border-box; } body.skin-vector-search-vue .mw-workspace-container:not(.mw-footer-container) > #mw-navigation{ grid-area:aa; width:100%; box-sizing:border-box; } body.skin-vector-search-vue .mw-workspace-container:not(.mw-footer-container) > .mw-table-of-contents-container.mw-sticky-header-element{ grid-area:bb; max-width:200px; display:block; box-sizing:border-box; margin-bottom:16px; z-index:1; }*/ body.skin-vector-search-vue .mw-page-container-inner{ display:grid; grid:'aa aa aa' auto 'bb cc dd' auto 'bb ee ee' auto / auto auto auto; width:auto; box-sizing:border-box; } body.skin-vector-search-vue .mw-page-container-inner > .mw-header{ grid-area:aa; } body.skin-vector-search-vue .mw-page-container-inner > .vector-sidebar-container{ grid-area:bb; } body.skin-vector-search-vue .mw-page-container-inner > .mw-content-container{ grid-area:cc; } body.skin-vector-search-vue .mw-page-container-inner > .mw-table-of-contents-container{ grid-area:dd; } body.skin-vector-search-vue .mw-page-container-inner > .mw-footer-container{ grid-area:ee; } /**/ body.skin-vector-search-vue .mw-workspace-container .mw-content-container, body.skin-vector-search-vue .mw-workspace-container .mw-content-container #bodyContent, body.skin-vector-search-vue .mw-workspace-container .mw-content-container #content, body.skin-vector-search-vue .mw-workspace-container .mw-content-container .mw-body-header{ width:100%; box-sizing:border-box; } body.skin-vector-search-vue .mw-article-toolbar-container .mw-portlet-views { display: block; } body.skin-vector-search-vue .mw-article-toolbar-container .vector-more-collapsible-item { display: none; } body.skin-vector-search-vue .sidebar-toc{ left:auto; right:8px; } body.skin-vector-search-vue:not(.vector-below-page-title) .mw-checkbox-hack-checkbox:checked ~ .mw-workspace-container .sidebar-toc{ left:auto; right:8px; } body.skin-vector-search-vue.vector-toc-enabled .mw-checkbox-hack-checkbox:checked ~ .mw-workspace-container .sidebar-toc{ display: block; } body.skin-vector-search-vue.vector-toc-enabled .mw-checkbox-hack-checkbox:checked ~ .mw-workspace-container .sidebar-toc{ display: block; } body.skin-vector-search-vue .mw-checkbox-hack-checkbox:checked ~ .mw-workspace-container #mw-panel, body.skin-vector-search-vue #mw-sidebar-checkbox:checked ~ .mw-workspace-container #mw-panel{ left:-140px; top:-15px; position:absolute; width:140px; box-sizing:border-box; } body.skin-vector-search-vue.vector-toc-enabled .mw-sidebar{ margin-left:0; background-color: white; padding: 12px 0; margin-top:0; } .vector-animations-ready body.skin-vector-search-vue .mw-sidebar{ transition: none; transition-property: none; transition-duration: none; transition-timing-function: none; transition-delay: none; } body.skin-vector-search-vue.vector-toc-enabled #mw-sidebar-checkbox:not(:checked) ~ .mw-workspace-container .mw-sidebar{ display:block; } body.skin-vector-search-vue #mw-sidebar-checkbox:not(:checked) ~ .mw-workspace-container .mw-sidebar{ visibility: visible; opacity: 1; transform: none; } body.skin-vector-search-vue .mw-workspace-container #mw-panel{ left:-140px; top:-15px; position: absolute; float:left; box-sizing:border-box; } body.skin-vector-search-vue .ui-dialog{ font-size:75%; } body.skin-vector-search-vue .mw-body-content .error{ font-size:96%; } body.skin-vector-search-vue.action-purge .firstHeading{ padding-bottom:3px; } body.skin-vector-search-vue .firstHeading .plainlinks{ line-height:1.2em !important; } body.skin-vector-search-vue #mw-panel{ width:140px; box-sizing:border-box; } body.skin-vector-search-vue .mw-sidebar #p-navigation .vector-menu-heading{ display:block; } body.skin-vector-search-vue .mw-workspace-container{ margin-right:0; margin-left:140px; min-width:auto; max-width:100%; box-sizing:border-box; } body.skin-vector-search-vue .mw-checkbox-hack-checkbox:checked ~ .mw-workspace-container{ margin-left:140px; transition: margin-left 250ms ease-out; transition-property: margin-left; transition-duration: 250ms; transition-timing-function: ease-out; transition-delay: 0s; } body.skin-vector-search-vue .mw-checkbox-hack-checkbox:not(:checked) ~ .mw-workspace-container{ margin-left:0; transition: margin-left 250ms ease-out; transition-property: margin-left; transition-duration: 250ms; transition-timing-function: ease-out; transition-delay: 0s; } body.skin-vector-search-vue .mw-article-toolbar-container{ max-width:100%; box-sizing:border-box; position:relative; z-index:1; } body.skin-vector-search-vue .mw-footer-container{ padding-top:0; } body.skin-vector-search-vue .mw-content-container > .mw-body{ margin-left:0; margin-right:0; } body.skin-vector-search-vue .mw-article-toolbar-container > #left-navigation{ margin-left:0; margin-right:0; } body.skin-vector-search-vue .mw-content-container .mw-footer{ margin-left:8px; margin-right:0; padding: 0.75em 5px; } body.skin-vector-search-vue .mw-header { display:flex; flex-direction: row; margin: 8px 5px 0 5px; } body.skin-vector-search-vue .mw-workspace-container #mw-head{ min-width:832px; margin-right:5px; box-sizing:border-box; } body.skin-vector-search-vue .mw-logo-icon{ display:block; } body.skin-vector-search-vue .vector-user-links .vector-user-menu-more .vector-menu-content-list li.user-links-collapsible-item { display: block; } body.skin-vector-search-vue .vector-search-box-collapses > div{ display:block; } body.skin-vector-search-vue a.mw-ui-icon-wikimedia-search{ display:none; } body.skin-vector-search-vue .vector-sticky-header{ height:3.2em; padding: 6px 25px; display:flex; flex-direction:row; min-width:700px; margin-left:auto; margin-right:auto; width:90%; text-align:center; box-sizing:border-box; } @media screen and (max-width: 830px){ body.skin-vector-search-vue .vector-sticky-header{ display: none; } } .client-nojs body.skin-vector-search-vue .vector-sticky-header{ display:none !important; } body.skin-vector-search-vue .wvui-typeahead-suggestion{ padding-top:4px; padding-bottom:4px; text-align:left; } body.skin-vector-search-vue .vector-sticky-header.vector-header-search-toggled{ flex-basis: 460px; box-sizing:border-box; } body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--auto-expand-width:not(.wvui-typeahead-search--focused){ margin-left:10px; width:460px; box-sizing:border-box; } body.skin-vector-search-vue .wvui-typeahead-suggestion__thumbnail-placeholder, body.skin-vector-search-vue .wvui-typeahead-suggestion__thumbnail{ width: 36px; height: 36px; } body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail:not(.wvui-typeahead-search--auto-expand-width), body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--auto-expand-width.wvui-typeahead-search--focused{ margin-left:10px; width:460px; box-sizing:border-box; } body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail:not(.wvui-typeahead-search--auto-expand-width) .wvui-input__start-icon, body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--auto-expand-width.wvui-typeahead-search--focused .wvui-input__start-icon{ left:13px; width:37px; } body.skin-vector-search-vue .wvui-input, body.skin-vector-search-vue .vector-search-box, body.skin-vector-search-vue .wvui-typeahead-suggestion__title, body.skin-vector-search-vue .wvui-typeahead-search__wrapper, body.skin-vector-search-vue .vector-search-box-vue .vector-search-box-input, body.skin-vector-search-vue .wvui-input__input, body.skin-vector-search-vue .wvui-typeahead-search, body.skin-vector-search-vue .wvui-typeahead-search__form, body.skin-vector-search-vue #p-search #searchform #simpleSearch{ font-size:calc( 14px * 1.042 ); line-height:1.2em; height:30px; min-height:30px; box-sizing:border-box; } body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail:not(.wvui-typeahead-search--active) .wvui-input, body.skin-vector-search-vue .vector-search-box, body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail:not(.wvui-typeahead-search--active) .wvui-typeahead-suggestion__title, body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail:not(.wvui-typeahead-search--active) .wvui-typeahead-search__wrapper, body.skin-vector-search-vue .vector-search-box-vue .wvui-typeahead-search--show-thumbnail:not(.wvui-typeahead-search--active) .vector-search-box-input, body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail:not(.wvui-typeahead-search--active) .wvui-input__input, body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail:not(.wvui-typeahead-search--active) .wvui-typeahead-search, body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail:not(.wvui-typeahead-search--active) .wvui-typeahead-search__form, body.skin-vector-search-vue #p-search #searchform #simpleSearch{ width:460px; } body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--active .wvui-input, body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--active .wvui-typeahead-suggestion__title, body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--active .wvui-typeahead-search__wrapper, body.skin-vector-search-vue .vector-search-box-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--active .vector-search-box-input, body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--active .wvui-input__input, body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--active .wvui-typeahead-search, body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--active .wvui-typeahead-search__form{ width:calc( 460px - 64px); } body.skin-vector-search-vue .wvui-button{ font-size:calc( 14px * 1.042 ); line-height:1.2em; height:30px; min-height:30px; width:64px; border-left:0; box-sizing:border-box; } body.skin-vector-search-vue .mw-header #p-search #searchform #simpleSearch{ margin-left:10px; width:460px; box-sizing:border-box; } body.skin-vector-search-vue .wvui-typeahead-search__wrapper{ margin-right:0; } body.skin-vector-search-vue .wvui-typeahead-suggestion__title{ display: table-cell; vertical-align: middle; } .client-js body.skin-vector-search-vue .vector-search-box-show-thumbnail.vector-search-box-auto-expand-width .vector-search-box-input, .client-js .vector-search-box-vue .vector-search-box-show-thumbnail.vector-search-box-auto-expand-width .vector-search-box-input{ margin-left:0; box-sizing:border-box; width:460px; } .client-js body.skin-vector-search-vue .vector-search-box-show-thumbnail.vector-search-box-auto-expand-width .searchButton, .client-js .vector-search-box-vue .vector-search-box-show-thumbnail.vector-search-box-auto-expand-width .searchButton{ left:0; } body.skin-vector-search-vue .mw-header .vector-search-box.vector-search-box-auto-expand-width{ margin-left:10px; } body.skin-vector-search-vue .mw-header .vector-search-box.vector-search-box-auto-expand-width > div{ width:460px; box-sizing:border-box; } body.skin-vector-search-vue .vector-search-box-vue .searchButton{ background-size: 20px auto; } .client-js body.skin-vector-search-vue .vector-search-box-input, .client-js .vector-search-box-vue .vector-search-box-input{ padding-left:36px; padding-right:8px; } body.skin-vector-search-vue .wvui-input--has-start-icon .wvui-input__input{ padding-left:36px; padding-right:8px; } body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--auto-expand-width:not(.wvui-typeahead-search--focused) .wvui-input__input { border-right-color: #a2a9b1; width:460px; box-sizing:border-box; } body.skin-vector-search-vue .wvui-typeahead-search .wvui-input__input{ border-right-color: #a2a9b1; } body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--auto-expand-width:not(.wvui-typeahead-search--focused):not(.wvui-typeahead-search--active) .wvui-input__input { width: 460px; } body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--auto-expand-width:not(.wvui-typeahead-search--focused).wvui-typeahead-search--active .wvui-input__input { width:calc( 460px - 64px ); } body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail:not(.wvui-typeahead-search--auto-expand-width) .wvui-input__input, body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--auto-expand-width.wvui-typeahead-search--focused .wvui-input__input{ position:relative; padding-left: 62px; box-sizing:border-box; } body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail:not(.wvui-typeahead-search--auto-expand-width).wvui-typeahead-search--active .wvui-input__input, body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--auto-expand-width.wvui-typeahead-search--focused.wvui-typeahead-search--active .wvui-input__input{ width:calc( 460px - 64px ); } body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail:not(.wvui-typeahead-search--auto-expand-width):not(.wvui-typeahead-search--active) .wvui-input__input, body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--auto-expand-width.wvui-typeahead-search--focused:not(.wvui-typeahead-search--active) .wvui-input__input{ width:460px; } body.skin-vector-search-vue .wvui-typeahead-search--expanded .wvui-typeahead-search__suggestions{ width:calc( 460px - 64px ); top:30px; box-sizing:border-box; } body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--active .wvui-typeahead-search--expanded .wvui-typeahead-search__suggestions{ width:calc( 460px - 64px ); } body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail:not(.wvui-typeahead-search--active) .wvui-typeahead-search--expanded .wvui-typeahead-search__suggestions{ width:460px; } body.skin-vector-search-vue .mw-header .vector-search-box.vector-search-box-auto-expand-width > div{ max-width:460px; } body.skin-vector-search-vue .mw-logo{ min-width:144px; } body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--auto-expand-width:not(.wvui-typeahead-search--focused):not(.wvui-typeahead-search--active).wvui-typeahead-search--active .wvui-button{ display:block; width:64px; z-index:1; } body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail:not(.wvui-typeahead-search--auto-expand-width).wvui-typeahead-search--active .wvui-button, body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--auto-expand-width.wvui-typeahead-search--focused.wvui-typeahead-search--active .wvui-button{ display:block; width:64px; z-index:1; } body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail:not(.wvui-typeahead-search--active) .wvui-button{ display:none; } body.skin-vector-search-vue .wvui-button{ padding-left:0; padding-right:0; } body.skin-vector-search-vue .mw-ui-icon,.mw-ui-icon-before::before{ font-size:14px; } body.skin-vector-search-vue .mw-sidebar-action{ display:none; } body.skin-vector-search-vue, body.skin-vector-search-vue .mw-editsection{ font-family: Arial, Helvetica, "Free Helvetian", FreeSans, sans-serif; font-stretch:normal; font-variant:normal; font-style:normal; font-weight:normal; font-size-adjust:none; letter-spacing:normal; word-spacing:normal; text-align:left; word-wrap:break-word; hyphens:auto; } body.skin-vector-search-vue{ font-size:calc( 14px * 1.042 ); line-height:1.2em; background-color:#ffffff; } body.skin-vector-search-vue .mw-editsection{ font-size:12px; line-height:1.2em; } body.skin-vector-search-vue.action-view:not(.page-Wikibooks_Strona_główna):not(.ns-special) #contentSub, body.skin-vector-search-vue.action-view:not(.page-Wikibooks_Strona_główna):not(.ns-special) #contentSub ~ #contentSub2{ margin:0; } body.skin-vector-search-vue.action-view.ns-special #contentSub:empty, body.skin-vector-search-vue.action-view.ns-special #contentSub:not(:empty), body.skin-vector-search-vue.action-view.ns-special #contentSub:not(:empty) ~ #contentSub2, body.skin-vector-search-vue.action-view.ns-special #contentSub:empty ~ #contentSub2:not(:empty){ margin:2px 0 3px 0; } body.skin-vector-search-vue.action-view.ns-special #contentSub:empty ~ #contentSub2:empty{ margin:10px 0; } body.skin-vector-search-vue:not(.action-view) #contentSub:empty{ margin:2px 0 3px 0; } body.skin-vector-search-vue:not(.action-view) #contentSub:empty ~ #contentSub2:empty{ margin:10px 0; } body.skin-vector-search-vue:not(.action-view) #contentSub:not(:empty), body.skin-vector-search-vue:not(.action-view) #contentSub:not(:empty) ~ #contentSub2{ margin: 2px 0 2px 0; } body.skin-vector-search-vue:not(.action-view) #contentSub:empty ~ #contentSub2:not(:empty){ margin: 2px 0 3px 0; } body.skin-vector-search-vue.action-view.page-Wikibooks_Strona_główna #contentSub, body.skin-vector-search-vue.action-view.page-Wikibooks_Strona_główna #contentSub2{ margin:0; } body.skin-vector-search-vue.action-edit #contentSub:not(:empty) ~ #mw-content-text > form#editform{ margin-top:0; } body.skin-vector-search-vue.action-view #pwContent, body.skin-vector-search-vue:not(.action-view) #pwContent, body.skin-vector-search-vue.action-view .subpages, body.skin-vector-search-vue:not(.action-view) .subpages{ margin:0; font-size:12px; line-height:1.2em; margin-bottom:6px; } body.skin-vector-search-vue.action-view:not(.page-Wikibooks_Strona_główna) .warningbox, body.skin-vector-search-vue:not(.action-view) .warningbox{ margin:10px 0; } body.skin-vector-search-vue #mw-previewheader{ margin-top:14px; margin-bottom:10px; } body.skin-vector-search-vue .mw-userconfigpublic{ margin-top:8px; } body.skin-vector-search-vue .mw-contributions-user-tools{ margin-bottom:6px; } body.skin-vector-search-vue:not(.action-view) .mw-body, body.skin-vector-search-vue.action-view.ns-special .mw-body{ padding: 8px 0 10px 8px; position:relative; z-index:0; } body.skin-vector-search-vue.action-view.page-Wikibooks_Strona_główna .mw-body, body.skin-vector-search-vue.action-view:not(.ns-special):not(.page-Wikibooks_Strona_główna) .mw-body{ padding: 4px 0 10px 8px; position:relative; z-index:0; } body.skin-vector-search-vue #centralNotice:not(:empty){ margin:10px 8px 8px 8px; } body.skin-vector-search-vue .mw-content-container{ min-width:848px; } body.skin-vector-search-vue #content{ margin-left:0px; min-width:848px; box-sizing:border-box; } body.skin-vector-search-vue #mw-content-text{ clear:both; } body.skin-vector-search-vue #bodyContent{ box-sizing:border-box; min-width:832px; height:auto; clear:both; padding: 0 13px 0 5px; } body.skin-vector-search-vue .mw-table-of-contents-container.sidebar_obecny ~ .mw-content-container #bodyContent{ padding: 0 5px; } body.skin-vector-search-vue .mw-table-of-contents-container.sidebar_obecny ~ .mw-content-container .mw-body-header{ margin-right:3px !important; } body.skin-vector-search-vue.action-view #bodyContent #mw-content-text .mw-container-parser-output, body.skin-vector-search-vue:not(.action-view) #bodyContent #mw-content-text .mw-container-parser-output{ overflow:auto; overflow-x:auto; overflow-y:visible; min-width:822px; box-sizing:border-box; margin-bottom:5px; display:block; height:auto; position:relative; } body.skin-vector-search-vue.action-view #bodyContent #mw-content-text .mw-container-parser-output.has-mw-parser-output-whitespace, body.skin-vector-search-vue:not(.action-view) #bodyContent #mw-content-text .mw-container-parser-output.has-mw-parser-output-whitespace{ margin-bottom:0 !important; } body.skin-vector-search-vue.action-view #bodyContent #mw-content-text .mw-container-parser-output.mw-scrollbar-overflow-x, body.skin-vector-search-vue:not(.action-view) #bodyContent #mw-content-text #wikiPreview .mw-content-ltr .mw-container-parser-output.mw-scrollbar-overflow-x{ padding-bottom:5px; } body.skin-vector-search-vue.action-view #bodyContent #mw-content-text .mw-container-parser-output:not(.mw-scrollbar-overflow-x), body.skin-vector-search-vue:not(.action-view) #bodyContent #mw-content-text #wikiPreview .mw-content-ltr .mw-container-parser-output:not(.mw-scrollbar-overflow-x){ padding-bottom:0; } body.skin-vector-search-vue.action-view #bodyContent #mw-content-text .mw-container-parser-output.mw-scrollbar-overflow-y, body.skin-vector-search-vue:not(.action-view) #bodyContent #mw-content-text #wikiPreview .mw-content-ltr .mw-container-parser-output.mw-scrollbar-overflow-y{ padding-right:5px; } body.skin-vector-search-vue.action-view #bodyContent #mw-content-text:not(.mw-scrollbar-overflow-y), body.skin-vector-search-vue:not(.action-view) #bodyContent #mw-content-text #wikiPreview .mw-content-ltr:not(.mw-scrollbar-overflow-y){ padding-right:0; } body.skin-vector-search-vue.ns-10 #mw-content-text .mw-parser-output > :not(style):not(link):not(#documentation-meta-data):not(.template-documentation) ~ *:first-of-type, body.skin-vector-search-vue.ns-828 #mw-content-text .mw-parser-output > :not(style):not(link):not(#documentation-meta-data):not(.template-documentation) ~ *:first-of-type{ margin-top:5px !important; } body.skin-vector-search-vue #mw-content-text .mw-parser-output > :not(style):not(link):not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(p):first-child{ margin-top:0 !important; } body.skin-vector-search-vue #mw-content-text .mw-parser-output > :not(style):not(link) ~ :not(style):not(link):not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(p):not(.div-linia):first-of-type{ margin-top:5px !important; } body.skin-vector-search-vue #mw-content-text .mw-parser-output > div.div-linia + *{ margin-top:0px !important; } body.skin-vector-search-vue #mw-content-text .mw-parser-output > h1:first-child, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h2:first-child, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h3:first-child, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h4:first-child, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h5:first-child, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h6:first-child, body.skin-vector-search-vue #mw-content-text .mw-parser-output > :not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(p) + h1:first-of-type, body.skin-vector-search-vue #mw-content-text .mw-parser-output > :not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(p) + h2:first-of-type, body.skin-vector-search-vue #mw-content-text .mw-parser-output > :not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(p) + h3:first-of-type, body.skin-vector-search-vue #mw-content-text .mw-parser-output > :not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(p) + h4:first-of-type, body.skin-vector-search-vue #mw-content-text .mw-parser-output > :not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(p) + h5:first-of-type, body.skin-vector-search-vue #mw-content-text .mw-parser-output > :not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(p) + h6:first-of-type{ margin-top:0.5em !important; } body.skin-vector-search-vue #mw-content-text .mw-parser-output > h1 ~ h1, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h1 ~ h2, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h1 ~ h3, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h1 ~ h4, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h1 ~ h5, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h1 ~ h6, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h2 ~ h1, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h2 ~ h2, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h2 ~ h3, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h2 ~ h4, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h2 ~ h5, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h2 ~ h6, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h3 ~ h1, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h3 ~ h2, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h3 ~ h3, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h3 ~ h4, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h3 ~ h5, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h3 ~ h6, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h4 ~ h1, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h4 ~ h2, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h4 ~ h3, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h4 ~ h4, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h4 ~ h5, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h4 ~ h6, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h5 ~ h1, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h5 ~ h2, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h5 ~ h3, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h5 ~ h4, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h5 ~ h5, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h5 ~ h6, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h6 ~ h1, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h6 ~ h2, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h6 ~ h3, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h6 ~ h4, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h6 ~ h5, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h6 ~ h6{ margin-top:0.8em; } body.skin-vector-search-vue .tdg-editscreen-main{ margin-top:9px; margin-bottom:10px; } body.skin-vector-search-vue .mw-specialpage-summary > p:first-child{ margin: 0 0 4px 0; } body.skin-vector-search-vue .mw-rcfilters-head{ margin-bottom:15px; } body.skin-vector-search-vue.mw-special-Watchlist .mw-rcfilters-head{ min-height: 280px; } body.skin-vector-search-vue #bodyContent #mw-content-text .mw-parser-output .template-documentation:first-of-type{ margin-top:0; box-sizing:border-box; } body.skin-vector-search-vue #bodyContent #mw-content-text .mw-parser-output > :not(style):not(link) ~ .template-documentation{ margin-top:10px !important; box-sizing:border-box !important; } body.skin-vector-search-vue .mw-parser-output #documentation-meta-data:not(:last-child){ margin-top:3px !important; margin-bottom:3px !important; } body.skin-vector-search-vue .mw-parser-output #documentation-meta-data:last-child{ margin-top:3px !important; margin-bottom:0 !important; } body.skin-vector-search-vue #bodyContent #mw-content-text .mw-parser-output{ display:table; box-sizing:border-box; position:relative; width:100%; height:auto; margin:0; margin-bottom:5px; border-spacing:0; padding:0; border-collapse:collapse; border:0; } body.skin-vector-search-vue #bodyContent #mw-content-text .mw-container-parser-output > .mw-parser-output{ margin:0; } body.skin-vector-search-vue .catlinks:not(.catlinks-allhidden){ margin: 5px 0; } body.skin-vector-search-vue #mw-content-text .mw-parser-output > p:first-of-type{ margin-top:0.3em; } body.skin-vector-search-vue #mw-content-text .mw-parser-output > :not(p):not(:empty) + p:first-of-type{ margin-top:0.5em; } body.skin-vector-search-vue #mw-content-text .mw-parser-output > :not(p):not(.blank) + p:first-of-type{ margin-top:0.5em; } body.skin-vector-search-vue #mw-content-text .mw-parser-output > :not(p):not(:-moz-only-whitespace) + p:first-of-type{ margin-top:0.5em; } body.skin-vector-search-vue #mw-content-text .mw-parser-output > :not(p):not(:blank) + p:first-of-type{ margin-top:0.5em; } body.skin-vector-search-vue #mw-content-text .mw-parser-output > :not(p).floatleft + p:first-of-type, body.skin-vector-search-vue #mw-content-text .mw-parser-output > :not(p).floatright + p:first-of-type, body.skin-vector-search-vue #mw-content-text .mw-parser-output > :not(p).tleft + p:first-of-type, body.skin-vector-search-vue #mw-content-text .mw-parser-output > :not(p).tright + p:first-of-type{ margin-top:0; } body.skin-vector-search-vue #mw-content-text .mw-parser-output > p:last-child{ margin-bottom:0.3em; } body.skin-vector-search-vue pre{ margin-top:8px; margin-bottom:8px; padding:11px; background-color: #f8f9fa; color: #000; border: 1px solid #eaecf0; box-sizing:border-box; } body.skin-vector-search-vue div.mw-highlight > pre{ margin-top:8px; margin-bottom:8px; } body.ns-828.skin-vector-search-vue.action-view #mw-content-text .mw-parser-output > div.mw-highlight:last-child > pre:last-child{ margin-top:5px; margin-bottom:0; } body.skin-vector-search-vue.action-view #mw-content-text .mw-parser-output > div.mw-highlight:last-child > pre:last-child{ margin-bottom:0; margin-top:5px; } body.ns-828.skin-vector-search-vue:not(.action-view) #mw-content-text .mw-parser-output > div.mw-highlight:last-child > pre:last-child{ margin-top:0px; margin-bottom:0; } body.skin-vector-search-vue:not(.action-view) #mw-content-text .mw-parser-output > div.mw-highlight:last-child > pre:last-child{ margin-bottom:0; margin-top:0; } body.skin-vector-search-vue #mw-content-text .mw-parser-output > div.mw-highlight:only-child > pre:only-child{ margin-bottom:0 !important; margin-top:0 !important; } body.skin-vector-search-vue .oo-ui-panelLayout-padded.oo-ui-panelLayout-framed{ margin:0 0 8px 0; } body.skin-vector-search-vue .mw-body > h1{ margin-bottom:0; } body.skin-vector-search-vue #central-auth-images{ display:none; } body.skin-vector-search-vue .mw-message-box{ margin-top:10px; margin-bottom:10px; } body.skin-vector-search-vue #contentSub:not(:empty) ~ #mw-content-text > .mw-message-box:first-child{ margin-top:6px; margin-bottom:10px; } body.skin-vector-search-vue #contentSub > .mw-message-box{ margin-top:10px; margin-bottom:10px; } body.skin-vector-search-vue #contentSub > .subpages ~ .mw-message-box, body.skin-vector-search-vue #contentSub > #pwContent ~ .mw-message-box{ margin-bottom:10px; margin-top:0; } body.skin-vector-search-vue #wikiPreview.ontop{ margin-bottom:5px; } body.skin-vector-search-vue.skin-vector-disable-max-width #wikiPreview{ max-width:100%; } body.skin-vector-search-vue .previewnote{ margin-bottom:10px; } body.skin-vector-search-vue form#editform{ margin-top:5px; margin-bottom:5px; } body.skin-vector-search-vue #editform::after{ display:block; } body.skin-vector-search-vue .editOptions{ margin-bottom:10px; } body.skin-vector-search-vue .mw-category-generated > #mw-pages > h2, body.skin-vector-search-vue .mw-category-generated > #mw-subcategories > h2, body.skin-vector-search-vue .mw-category-generated > #mw-category-media > h2{ margin-top:15px !important; } body.skin-vector-search-vue .mw-category-generated > #mw-pages:last-child, body.skin-vector-search-vue .mw-category-generated > #mw-subcategories:last-child, body.skin-vector-search-vue .mw-category-generated > #mw-category-media:last-child{ margin-bottom:10px; } body.skin-vector-search-vue .mw-parser-output + .mw-category-generated > p:first-child, body.skin-vector-search-vue .mw-container-parser-output + .mw-category-generated > p:first-child, body.skin-vector-search-vue .noarticletext + .mw-category-generated > p:first-child{ margin-bottom:0; margin-top:0; } body.skin-vector-search-vue .mw-category-generated > *:first-child > h2{ margin-top:15px !important; } body.skin-vector-search-vue .mw-category-generated{ margin-bottom:5px; } body.skin-vector-search-vue .mw-editfooter-list{ margin-bottom:0; } body.skin-vector-search-vue #mw-clearyourcache:first-child > p:first-child{ margin-top:0; } body.skin-vector-search-vue .vector-menu-portal { margin: 0 5px; padding: 0.2em 0 0 0; direction: ltr; } body.skin-vector-search-vue .vector-menu-portal .vector-menu-content{ margin-left: 3px; } body.skin-vector-search-vue #mw-panel nav:first-child .vector-menu-content { margin-left: 0; } body.skin-vector-search-vue .vector-menu-portal .vector-menu-heading{ margin-left:3px; } body.skin-vector-search-vue .mw-undelete-pagetitle > p:first-child{ margin-top:0; } body.skin-vector-search-vue .mw-delete-warning-revisions{ display:block; margin-top:10px; } body.skin-vector-search-vue #p-lang-btn-label{ min-height:25px; padding:5px 25px 3px 5px; } body.skin-vector-search-vue .mw-delete-editreasons + h2, body.skin-vector-search-vue .mw-protect-editreasons + h2{ margin-top:0 !important; } body.skin-vector-search-vue .vector-article-toolbar .mw-article-toolbar-container{ margin-right:0; padding-right:0; } body.skin-vector-search-vue .vector-article-toolbar .mw-article-toolbar-container{ margin-right: 0; padding-right:0; } body.skin-vector-search-vue .vector-article-toolbar .mw-article-toolbar-container #right-navigation{ margin-right:4px; } body.skin-vector-search-vue .vector-article-toolbar .mw-article-toolbar-container #right-navigation{ margin-right: 4px; } body.skin-vector-search-vue .vector-article-toolbar .mw-article-toolbar-container #right-navigation::before{ display: flex; content: ''; width: auto; flex-direction: row; flex: 1 1 auto; box-sizing:border-box; } body.skin-vector-search-vue .vector-article-toolbar .mw-article-toolbar-container #right-navigation .vector-menu-content{ right:0; } body.skin-vector-search-vue .mw-table-of-contents-container{ direction: rtl; align-self:auto; background-color:white; background-image: url('//upload.wikimedia.org/wikipedia/commons/thumb/b/ba/Wikibooks_multicolor_open_book_no_text.svg/200px-Wikibooks_multicolor_open_book_no_text.svg.png'); } body.skin-vector-search-vue .mw-table-of-contents-container:not(:-moz-only-whitespace){ margin-right:8px; margin-left:5px; } body.skin-vector-search-vue .mw-table-of-contents-container.sidebar_obecny{ width:200px; max-height:100%; margin-right:8px; margin-left:5px; box-sizing:border-box; position:static; } body.skin-vector-search-vue .mw-table-of-contents-container .sidebar-toc{ width:200px; direction: rtl; overflow:hidden; margin-right:0; margin-left:0; max-height:calc( 100vh - 59px ); margin-top:0 !important; display:block; } body.skin-vector-search-vue .mw-table-of-contents-container .sidebar-toc .sidebar-toc-contents{ direction:ltr; } body.skin-vector-search-vue .mw-table-of-contents-container.sidebar_obecny .sidebar-toc{ position:absolute; max-width:700px; min-width:200px; display:block; } body.skin-vector-search-vue .mw-table-of-contents-container.sidebar_obecny .sidebar-toc:not(:hover){ width:200px; transition: width 250ms ease-out; transition-property: width; transition-duration: 250ms; transition-timing-function: ease-out; transition-delay: 0s; } body.skin-vector-search-vue .mw-table-of-contents-container.sidebar_obecny .sidebar-toc:not(:hover) .sidebar-toc-level-2{ display:none; } body.skin-vector-search-vue .mw-table-of-contents-container.sidebar_obecny .sidebar-toc:hover{ width:auto; transition: width 250ms ease-out; transition-property: width; transition-duration: 250ms; transition-timing-function: ease-out; transition-delay: 0s; } body.skin-vector-search-vue .mw-article-toolbar-container{ margin-left:0 !important; } body.skin-vector-search-vue .mw-checkbox-hack-checkbox:checked ~ .mw-workspace-container .mw-content-container, body.skin-vector-search-vue .mw-checkbox-hack-checkbox:checked ~ .mw-workspace-container #mw-navigation .mw-article-toolbar-container { margin-left: 0 !important; } body.skin-vector-search-vue .vector-body h1, body.skin-vector-search-vue .vector-body h2, body.skin-vector-search-vue .vector-body h3, body.skin-vector-search-vue .vector-body h4, body.skin-vector-search-vue .vector-body h5, body.skin-vector-search-vue .vector-body h6{ margin-top:0.8em; } body.skin-vector-search-vue .mw-history-subtitle{ margin-bottom:6px; } body.skin-vector-search-vue .printfooter{ display:block; margin: 5px 0; padding:5px; white-space:normal; border: 1px solid #eaecf0; box-sizing:border-box; background-color: white; } .client-js body.skin-vector-search-vue .mw-search-form-wrapper { min-height: 112px; } body.skin-vector-search-vue .noarticletext{ margin-bottom:5px; } body.skin-vector-search-vue .mw-menu-active{ background-color:#E6E6FA; } body.skin-vector-search-vue .mw-menu-inactive{ background-color:#EEE8AA; } body.skin-vector-search-vue .mw-menu-active,body.skin-vector-search-vue .mw-menu-inactive{ padding-left:5px !important; padding-right:5px !important; margin-left:0 !important; display:block; border-radius:5px; border:1px solid #a2a9b1; margin-top:3px; } body.skin-vector-search-vue .mw-items-active{ display:block; border-radius:5px; border:1px solid #a2a9b1; padding: 0 5px; margin-top:2px; } body.skin-vector-search-vue .mw-items-active > ul{ margin-top:0; } body.skin-vector-search-vue .mw-items-inactive{ display:none; } body.skin-vector-search-vue .mw-items-active,body.skin-vector-search-vue .mw-items-inactive{ margin-left:0px !important; } lrvcgajdpj41wx43y57qszppi27nbcd 435323 435322 2022-07-21T11:11:27Z Persino 2851 css text/css body.skin-vector-search-vue .mw-page-container{ max-width:100%; min-width:988px; padding-left:0; padding-right:0; border-left: 0; border-right: 0; box-sizing:border-box; display:table; width:100%; background-color:white; height:auto; } body.skin-vector-search-vue .mw-content-container{ max-width:100%; box-sizing:border-box; } body.skin-vector-search-vue .mw-logo-container{ margin-left: 10px; margin-right:0; } body.skin-vector-search-vue #p-lang-btn-label{ font-size:14px !important; line-height:1.2em !important; white-space:nowrap; } body.skin-vector-search-vue .mw-indicators{ font-size: calc( 14px * 0.875 ); line-height: 2.0em; white-space:nowrap; margin: auto 0 0 0; } body.skin-vector-search-vue.action-view.page-Wikibooks_Strona_główna #content{ display:grid; grid: 'aa aa aa' auto 'dd dd dd' auto 'bb bb bb' auto 'cc cc cc' auto '.. .. ff' auto 'ee ee ee' auto / minmax(auto,1fr) auto auto } body.skin-vector-search-vue.action-view.page-Wikibooks_Strona_główna #content > #top{ grid-area:aa; } body.skin-vector-search-vue.action-view.page-Wikibooks_Strona_główna #content > #siteNotice{ grid-area:bb; } body.skin-vector-search-vue.action-view.page-Wikibooks_Strona_główna #content > .vector-article-toolbar{ grid-area:dd; margin:0; } body.skin-vector-search-vue.action-view.page-Wikibooks_Strona_główna #content > .mw-body-header{ grid-area:cc; top:0; width:auto !important; height:auto !important; margin:0; margin-right:10px; box-sizing:border-box; border-bottom: 1px solid #a2a9b1; } body.skin-vector-search-vue.action-view.page-Wikibooks_Strona_główna #content > #p-lang-btn{ grid-area:ff; height:20px; width:auto; height:auto; margin-left:auto; top:0; margin: auto 5px 0 5px; padding-bottom:8px; box-sizing:border-box; } body.skin-vector-search-vue.action-view.page-Wikibooks_Strona_główna #content > #bodyContent{ grid-area:ee; } body.skin-vector-search-vue.action-view.page-Wikibooks_Strona_główna #content > .mw-body-header{ display:grid; grid: 'aa bb' auto / minmax(auto,1fr) auto; width:100%; min-height: 46px; box-sizing: border-box; position: relative; } body.skin-vector-search-vue.action-view.page-Wikibooks_Strona_główna #content > .mw-body-header > .firstHeading{ display:block !important; } body.skin-vector-search-vue.action-view.page-Wikibooks_Strona_główna #content > .mw-body-header > .firstHeading:not(:hover){ grid-area:aa; margin-bottom:2px; width:100%; max-width:fit-content; max-width:-moz-fit-content; margin-bottom: 0; margin-top: auto; border-bottom: none; padding-left: 3px; padding-right: 3px; border-bottom: 0; } body.skin-vector-search-vue.action-view.page-Wikibooks_Strona_główna #content > .mw-body-header > .mw-indicators{ grid-area: bb; width: auto; height: 1.6em; margin-bottom: 5px; margin-top: auto; margin-right: 5px; } body.skin-vector-search-vue.action-view:not(.page-Wikibooks_Strona_główna):not(.ns-special) #content > .mw-body-header > .firstHeading > .plainlinks, body.skin-vector-search-vue.action-view.ns-special #content > .mw-body-header > .firstHeading > .plainlinks body.skin-vector-search-vue:not(.action-view) #content > .mw-body-header > .firstHeading > .plainlinks{ padding-bottom:2px; } body.skin-vector-search-vue.action-view:not(.page-Wikibooks_Strona_główna):not(.ns-special) #content > .mw-body-header > #p-lang-btn{ grid-area:bb; right:0; margin:0; height:auto; width:auto; margin-top: auto; margin-bottom:0; padding: 0 3px; box-sizing:border-box; } body.skin-vector-search-vue.action-view:not(.page-Wikibooks_Strona_główna):not(.ns-special) #content > .mw-body-header, body.skin-vector-search-vue.action-view.ns-special #content > .mw-body-header, body.skin-vector-search-vue:not(.action-view) #content > .mw-body-header{ display:grid; grid:'aa bb' auto / minmax(auto,100%) auto; border-bottom:1px solid #a2a9b1; margin-top:auto; margin-bottom:0; min-height:46px; box-sizing:border-box; position:relative; } body.skin-vector-search-vue.action-view:not(.page-Wikibooks_Strona_główna):not(.ns-special) #content > .mw-body-header > .firstHeading:not(:hover), body.skin-vector-search-vue.action-view.ns-special #content > .mw-body-header > .firstHeading:not(:hover), body.skin-vector-search-vue:not(.action-view) #content > .mw-body-header > .firstHeading:not(:hover){ grid-area:aa; width:100%; max-width:fit-content; max-width:-moz-fit-content; margin-bottom:0; margin-top:auto; border-bottom:none; padding-left:3px; padding-right:3px; border-bottom:0; box-sizing:border-box; } body.skin-vector-search-vue.action-view.ns-special #content > .mw-body-header > .mw-indicators, body.skin-vector-search-vue:not(.action-view) #content > .mw-body-header > .mw-indicators{ grid-area:bb; right:0; margin:0; height:auto; width:100%; margin:auto 0 0 auto; padding: 0 10px; box-sizing:border-box; } body.skin-vector-search-vue.action-view.ns-special #content .mw-body-header > .mw-indicators > .mw-indicator, body.skin-vector-search-vue:not(.action-view) #content .mw-body-header > .mw-indicators > .mw-indicator{ padding: 2px 0 2px 0; margin: auto 0 0 0; } body.skin-vector-search-vue.action-view:not(.page-Wikibooks_Strona_główna):not(.ns-special) #content, body.skin-vector-search-vue.action-view.ns-special #content, body.skin-vector-search-vue:not(.action-view) #content{ display:grid; grid:'aa' auto 'cc' auto 'bb' auto 'dd' auto 'ee' auto / auto; width:100%; } body.skin-vector-search-vue.action-view:not(.page-Wikibooks_Strona_główna):not(.ns-special) #content > #top, body.skin-vector-search-vue.action-view.ns-special #content > #top, body.skin-vector-search-vue:not(.action-view) #content > #top{ grid-area:aa; } body.skin-vector-search-vue.action-view:not(.page-Wikibooks_Strona_główna):not(.ns-special) #content > #siteNotice, body.skin-vector-search-vue.action-view.ns-special #content > #siteNotice, body.skin-vector-search-vue:not(.action-view) #content > #siteNotice{ grid-area:bb; } body.skin-vector-search-vue.action-view:not(.page-Wikibooks_Strona_główna):not(.ns-special) #content > .vector-article-toolbar, body.skin-vector-search-vue.action-view.ns-special #content > .vector-article-toolbar, body.skin-vector-search-vue:not(.action-view) #content > .vector-article-toolbar{ grid-area:cc; } body.skin-vector-search-vue .mw-body-header::after{ display:none; } body.skin-vector-search-vue.action-view:not(.page-Wikibooks_Strona_główna):not(.ns-special) #content > .mw-body-header, body.skin-vector-search-vue.action-view.ns-special #content > .mw-body-header, body.skin-vector-search-vue:not(.action-view) #content > .mw-body-header{ grid-area:dd; margin:0; margin-right:10px; width:auto; padding-bottom:0; } body.skin-vector-search-vue .mw-body-subheader{ border-bottom:0; } /*body.skin-vector-search-vue #siteSub,*/ body.skin-vector-search-vue .firstHeading:not(:hover) > .plainlinks{ display:none; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; } body.skin-vector-search-vue .firstHeading:not(:hover){ display:block; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; border-bottom:0; } body.skin-vector-search-vue .firstHeading:hover{ display:block; border:1px solid #eaecf0; border-radius:10px; background-color:white; position:absolute; top:5px; left:-3px; width:auto; padding:5px; z-index:1 !important; } body.skin-vector-search-vue .mw-body-header > .firstHeading:hover > .plainlinks{ display:block; } body.skin-vector-search-vue.action-view:not(.page-Wikibooks_Strona_główna):not(.ns-special) #bodyContent > .mw-body-subheader{ margin: 2px 0 3px 0; min-height:1.6em; } body.skin-vector-search-vue.action-view.ns-special #bodyContent > .mw-body-subheader, body.skin-vector-search-vue:not(.action-view) #bodyContent > .mw-body-subheader{ margin: 0; } body.skin-vector-search-vue.action-view.page-Wikibooks_Strona_główna #bodyContent > .mw-body-subheader{ margin:0; margin-top: -2.0em; font-size: 1.2em; height: 2em; margin-bottom:5px; } body.skin-vector-search-vue.action-view.page-Wikibooks_Strona_główna #bodyContent > .mw-body-subheader > #siteSub{ display:table !important; width:auto; } body.skin-vector-search-vue.action-view:not(.page-Wikibooks_Strona_główna):not(.ns-special) #bodyContent > .mw-body-subheader> .mw-indicators{ margin-left:5px; margin-right:3px; display:block; } body.skin-vector-search-vue.action-view:not(.page-Wikibooks_Strona_główna):not(.ns-special) #bodyContent > .mw-body-subheader> #siteSub{ display:block; } body.skin-vector-search-vue .firstHeading, body.skin-vector-search-vue .firstHeading > .plainlinks{ max-width:100%; width:auto; } body.skin-vector-search-vue.action-view:not(.page-Wikibooks_Strona_główna):not(.ns-special) #content #bodyContent, body.skin-vector-search-vue.action-view.ns-special #content #bodyContent, body.skin-vector-search-vue:not(.action-view) #content #bodyContent{ grid-area:ee; } body.skin-vector-search-vue.skin-vector-disable-max-width .vector-layout-legacy #mw-sidebar-checkbox:checked ~ .mw-workspace-container #mw-navigation .mw-article-toolbar-container, body.skin-vector-search-vue.skin-vector-disable-max-width .vector-layout-legacy #mw-sidebar-checkbox:checked ~ .mw-workspace-container .mw-content-container, body.skin-vector-search-vue:not(.skin-vector-toc-experiment-control):not(.skin-vector-toc-experiment-unsampled) .vector-toc-visible .mw-workspace-container .mw-content-container, body.skin-vector-search-vue:not(.skin-vector-toc-experiment-control):not(.skin-vector-toc-experiment-unsampled) .vector-toc-visible .mw-workspace-container .mw-article-toolbar-container, body.skin-vector-search-vue.vector-toc-enabled .mw-checkbox-hack-checkbox:checked ~ .mw-workspace-container .mw-content-container, body.skin-vector-search-vue.vector-toc-enabled .mw-checkbox-hack-checkbox:checked ~ .mw-workspace-container .mw-article-toolbar-container, body.skin-vector-search-vue.skin-vector-disable-max-width .vector-toc-enabled .vector-layout-legacy #mw-sidebar-checkbox:checked ~ .mw-workspace-container .mw-content-container, body.skin-vector-search-vue:not(.skin-vector-toc-experiment-control):not(.skin-vector-toc-experiment-unsampled) .vector-layout-legacy .vector-toc-visible .mw-workspace-container .mw-content-container, body.skin-vector-search-vue:not(.skin-vector-toc-experiment-control):not(.skin-vector-toc-experiment-unsampled) .vector-layout-legacy .vector-toc-visible #mw-navigation .mw-article-toolbar-container, body.skin-vector-search-vue.vector-toc-enabled .vector-layout-legacy #mw-sidebar-checkbox:checked ~ .mw-workspace-container .mw-content-container, body.skin-vector-search-vue.vector-toc-enabled .vector-layout-legacy #mw-sidebar-checkbox:checked ~ .mw-workspace-container #mw-navigation .mw-article-toolbar-container{ margin-left:0; } /*body.skin-vector-search-vue .mw-workspace-container:not(.mw-footer-container){ display:grid; grid:'aa cc bb' auto / auto minmax(auto,1fr) auto; width:auto; box-sizing:border-box; } body.skin-vector-search-vue .mw-workspace-container:not(.mw-footer-container) > #mw-navigation{ grid-area:aa; width:100%; box-sizing:border-box; } body.skin-vector-search-vue .mw-workspace-container:not(.mw-footer-container) > .mw-table-of-contents-container.mw-sticky-header-element{ grid-area:bb; max-width:200px; display:block; box-sizing:border-box; margin-bottom:16px; z-index:1; }*/ body.skin-vector-search-vue .mw-page-container-inner{ display:grid; grid:'aa aa aa' auto 'bb cc dd' auto 'bb ee ee' auto / auto auto auto; width:auto; box-sizing:border-box; } body.skin-vector-search-vue .mw-page-container-inner > .mw-header{ grid-area:aa; } body.skin-vector-search-vue .mw-page-container-inner > .vector-sidebar-container{ grid-area:bb; } body.skin-vector-search-vue .mw-page-container-inner > .mw-content-container{ grid-area:cc; } body.skin-vector-search-vue .mw-page-container-inner > .mw-table-of-contents-container{ grid-area:dd; position:relative; } body.skin-vector-search-vue .mw-page-container-inner > .mw-footer-container{ grid-area:ee; } /**/ body.skin-vector-search-vue .mw-workspace-container .mw-content-container, body.skin-vector-search-vue .mw-workspace-container .mw-content-container #bodyContent, body.skin-vector-search-vue .mw-workspace-container .mw-content-container #content, body.skin-vector-search-vue .mw-workspace-container .mw-content-container .mw-body-header{ width:100%; box-sizing:border-box; } body.skin-vector-search-vue .mw-article-toolbar-container .mw-portlet-views { display: block; } body.skin-vector-search-vue .mw-article-toolbar-container .vector-more-collapsible-item { display: none; } body.skin-vector-search-vue .sidebar-toc{ left:auto; right:8px; } body.skin-vector-search-vue:not(.vector-below-page-title) .mw-checkbox-hack-checkbox:checked ~ .mw-workspace-container .sidebar-toc{ left:auto; right:8px; } body.skin-vector-search-vue.vector-toc-enabled .mw-checkbox-hack-checkbox:checked ~ .mw-workspace-container .sidebar-toc{ display: block; } body.skin-vector-search-vue.vector-toc-enabled .mw-checkbox-hack-checkbox:checked ~ .mw-workspace-container .sidebar-toc{ display: block; } body.skin-vector-search-vue .mw-checkbox-hack-checkbox:checked ~ .mw-workspace-container #mw-panel, body.skin-vector-search-vue #mw-sidebar-checkbox:checked ~ .mw-workspace-container #mw-panel{ left:-140px; top:-15px; position:absolute; width:140px; box-sizing:border-box; } body.skin-vector-search-vue.vector-toc-enabled .mw-sidebar{ margin-left:0; background-color: white; padding: 12px 0; margin-top:0; } .vector-animations-ready body.skin-vector-search-vue .mw-sidebar{ transition: none; transition-property: none; transition-duration: none; transition-timing-function: none; transition-delay: none; } body.skin-vector-search-vue.vector-toc-enabled #mw-sidebar-checkbox:not(:checked) ~ .mw-workspace-container .mw-sidebar{ display:block; } body.skin-vector-search-vue #mw-sidebar-checkbox:not(:checked) ~ .mw-workspace-container .mw-sidebar{ visibility: visible; opacity: 1; transform: none; } body.skin-vector-search-vue .mw-workspace-container #mw-panel{ left:-140px; top:-15px; position: absolute; float:left; box-sizing:border-box; } body.skin-vector-search-vue .ui-dialog{ font-size:75%; } body.skin-vector-search-vue .mw-body-content .error{ font-size:96%; } body.skin-vector-search-vue.action-purge .firstHeading{ padding-bottom:3px; } body.skin-vector-search-vue .firstHeading .plainlinks{ line-height:1.2em !important; } body.skin-vector-search-vue #mw-panel{ width:140px; box-sizing:border-box; } body.skin-vector-search-vue .mw-sidebar #p-navigation .vector-menu-heading{ display:block; } body.skin-vector-search-vue .mw-workspace-container{ margin-right:0; margin-left:140px; min-width:auto; max-width:100%; box-sizing:border-box; } body.skin-vector-search-vue .mw-checkbox-hack-checkbox:checked ~ .mw-workspace-container{ margin-left:140px; transition: margin-left 250ms ease-out; transition-property: margin-left; transition-duration: 250ms; transition-timing-function: ease-out; transition-delay: 0s; } body.skin-vector-search-vue .mw-checkbox-hack-checkbox:not(:checked) ~ .mw-workspace-container{ margin-left:0; transition: margin-left 250ms ease-out; transition-property: margin-left; transition-duration: 250ms; transition-timing-function: ease-out; transition-delay: 0s; } body.skin-vector-search-vue .mw-article-toolbar-container{ max-width:100%; box-sizing:border-box; position:relative; z-index:1; } body.skin-vector-search-vue .mw-footer-container{ padding-top:0; } body.skin-vector-search-vue .mw-content-container > .mw-body{ margin-left:0; margin-right:0; } body.skin-vector-search-vue .mw-article-toolbar-container > #left-navigation{ margin-left:0; margin-right:0; } body.skin-vector-search-vue .mw-content-container .mw-footer{ margin-left:8px; margin-right:0; padding: 0.75em 5px; } body.skin-vector-search-vue .mw-header { display:flex; flex-direction: row; margin: 8px 5px 0 5px; } body.skin-vector-search-vue .mw-workspace-container #mw-head{ min-width:832px; margin-right:5px; box-sizing:border-box; } body.skin-vector-search-vue .mw-logo-icon{ display:block; } body.skin-vector-search-vue .vector-user-links .vector-user-menu-more .vector-menu-content-list li.user-links-collapsible-item { display: block; } body.skin-vector-search-vue .vector-search-box-collapses > div{ display:block; } body.skin-vector-search-vue a.mw-ui-icon-wikimedia-search{ display:none; } body.skin-vector-search-vue .vector-sticky-header{ height:3.2em; padding: 6px 25px; display:flex; flex-direction:row; min-width:700px; margin-left:auto; margin-right:auto; width:90%; text-align:center; box-sizing:border-box; } @media screen and (max-width: 830px){ body.skin-vector-search-vue .vector-sticky-header{ display: none; } } .client-nojs body.skin-vector-search-vue .vector-sticky-header{ display:none !important; } body.skin-vector-search-vue .wvui-typeahead-suggestion{ padding-top:4px; padding-bottom:4px; text-align:left; } body.skin-vector-search-vue .vector-sticky-header.vector-header-search-toggled{ flex-basis: 460px; box-sizing:border-box; } body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--auto-expand-width:not(.wvui-typeahead-search--focused){ margin-left:10px; width:460px; box-sizing:border-box; } body.skin-vector-search-vue .wvui-typeahead-suggestion__thumbnail-placeholder, body.skin-vector-search-vue .wvui-typeahead-suggestion__thumbnail{ width: 36px; height: 36px; } body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail:not(.wvui-typeahead-search--auto-expand-width), body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--auto-expand-width.wvui-typeahead-search--focused{ margin-left:10px; width:460px; box-sizing:border-box; } body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail:not(.wvui-typeahead-search--auto-expand-width) .wvui-input__start-icon, body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--auto-expand-width.wvui-typeahead-search--focused .wvui-input__start-icon{ left:13px; width:37px; } body.skin-vector-search-vue .wvui-input, body.skin-vector-search-vue .vector-search-box, body.skin-vector-search-vue .wvui-typeahead-suggestion__title, body.skin-vector-search-vue .wvui-typeahead-search__wrapper, body.skin-vector-search-vue .vector-search-box-vue .vector-search-box-input, body.skin-vector-search-vue .wvui-input__input, body.skin-vector-search-vue .wvui-typeahead-search, body.skin-vector-search-vue .wvui-typeahead-search__form, body.skin-vector-search-vue #p-search #searchform #simpleSearch{ font-size:calc( 14px * 1.042 ); line-height:1.2em; height:30px; min-height:30px; box-sizing:border-box; } body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail:not(.wvui-typeahead-search--active) .wvui-input, body.skin-vector-search-vue .vector-search-box, body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail:not(.wvui-typeahead-search--active) .wvui-typeahead-suggestion__title, body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail:not(.wvui-typeahead-search--active) .wvui-typeahead-search__wrapper, body.skin-vector-search-vue .vector-search-box-vue .wvui-typeahead-search--show-thumbnail:not(.wvui-typeahead-search--active) .vector-search-box-input, body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail:not(.wvui-typeahead-search--active) .wvui-input__input, body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail:not(.wvui-typeahead-search--active) .wvui-typeahead-search, body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail:not(.wvui-typeahead-search--active) .wvui-typeahead-search__form, body.skin-vector-search-vue #p-search #searchform #simpleSearch{ width:460px; } body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--active .wvui-input, body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--active .wvui-typeahead-suggestion__title, body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--active .wvui-typeahead-search__wrapper, body.skin-vector-search-vue .vector-search-box-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--active .vector-search-box-input, body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--active .wvui-input__input, body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--active .wvui-typeahead-search, body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--active .wvui-typeahead-search__form{ width:calc( 460px - 64px); } body.skin-vector-search-vue .wvui-button{ font-size:calc( 14px * 1.042 ); line-height:1.2em; height:30px; min-height:30px; width:64px; border-left:0; box-sizing:border-box; } body.skin-vector-search-vue .mw-header #p-search #searchform #simpleSearch{ margin-left:10px; width:460px; box-sizing:border-box; } body.skin-vector-search-vue .wvui-typeahead-search__wrapper{ margin-right:0; } body.skin-vector-search-vue .wvui-typeahead-suggestion__title{ display: table-cell; vertical-align: middle; } .client-js body.skin-vector-search-vue .vector-search-box-show-thumbnail.vector-search-box-auto-expand-width .vector-search-box-input, .client-js .vector-search-box-vue .vector-search-box-show-thumbnail.vector-search-box-auto-expand-width .vector-search-box-input{ margin-left:0; box-sizing:border-box; width:460px; } .client-js body.skin-vector-search-vue .vector-search-box-show-thumbnail.vector-search-box-auto-expand-width .searchButton, .client-js .vector-search-box-vue .vector-search-box-show-thumbnail.vector-search-box-auto-expand-width .searchButton{ left:0; } body.skin-vector-search-vue .mw-header .vector-search-box.vector-search-box-auto-expand-width{ margin-left:10px; } body.skin-vector-search-vue .mw-header .vector-search-box.vector-search-box-auto-expand-width > div{ width:460px; box-sizing:border-box; } body.skin-vector-search-vue .vector-search-box-vue .searchButton{ background-size: 20px auto; } .client-js body.skin-vector-search-vue .vector-search-box-input, .client-js .vector-search-box-vue .vector-search-box-input{ padding-left:36px; padding-right:8px; } body.skin-vector-search-vue .wvui-input--has-start-icon .wvui-input__input{ padding-left:36px; padding-right:8px; } body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--auto-expand-width:not(.wvui-typeahead-search--focused) .wvui-input__input { border-right-color: #a2a9b1; width:460px; box-sizing:border-box; } body.skin-vector-search-vue .wvui-typeahead-search .wvui-input__input{ border-right-color: #a2a9b1; } body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--auto-expand-width:not(.wvui-typeahead-search--focused):not(.wvui-typeahead-search--active) .wvui-input__input { width: 460px; } body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--auto-expand-width:not(.wvui-typeahead-search--focused).wvui-typeahead-search--active .wvui-input__input { width:calc( 460px - 64px ); } body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail:not(.wvui-typeahead-search--auto-expand-width) .wvui-input__input, body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--auto-expand-width.wvui-typeahead-search--focused .wvui-input__input{ position:relative; padding-left: 62px; box-sizing:border-box; } body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail:not(.wvui-typeahead-search--auto-expand-width).wvui-typeahead-search--active .wvui-input__input, body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--auto-expand-width.wvui-typeahead-search--focused.wvui-typeahead-search--active .wvui-input__input{ width:calc( 460px - 64px ); } body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail:not(.wvui-typeahead-search--auto-expand-width):not(.wvui-typeahead-search--active) .wvui-input__input, body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--auto-expand-width.wvui-typeahead-search--focused:not(.wvui-typeahead-search--active) .wvui-input__input{ width:460px; } body.skin-vector-search-vue .wvui-typeahead-search--expanded .wvui-typeahead-search__suggestions{ width:calc( 460px - 64px ); top:30px; box-sizing:border-box; } body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--active .wvui-typeahead-search--expanded .wvui-typeahead-search__suggestions{ width:calc( 460px - 64px ); } body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail:not(.wvui-typeahead-search--active) .wvui-typeahead-search--expanded .wvui-typeahead-search__suggestions{ width:460px; } body.skin-vector-search-vue .mw-header .vector-search-box.vector-search-box-auto-expand-width > div{ max-width:460px; } body.skin-vector-search-vue .mw-logo{ min-width:144px; } body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--auto-expand-width:not(.wvui-typeahead-search--focused):not(.wvui-typeahead-search--active).wvui-typeahead-search--active .wvui-button{ display:block; width:64px; z-index:1; } body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail:not(.wvui-typeahead-search--auto-expand-width).wvui-typeahead-search--active .wvui-button, body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--auto-expand-width.wvui-typeahead-search--focused.wvui-typeahead-search--active .wvui-button{ display:block; width:64px; z-index:1; } body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail:not(.wvui-typeahead-search--active) .wvui-button{ display:none; } body.skin-vector-search-vue .wvui-button{ padding-left:0; padding-right:0; } body.skin-vector-search-vue .mw-ui-icon,.mw-ui-icon-before::before{ font-size:14px; } body.skin-vector-search-vue .mw-sidebar-action{ display:none; } body.skin-vector-search-vue, body.skin-vector-search-vue .mw-editsection{ font-family: Arial, Helvetica, "Free Helvetian", FreeSans, sans-serif; font-stretch:normal; font-variant:normal; font-style:normal; font-weight:normal; font-size-adjust:none; letter-spacing:normal; word-spacing:normal; text-align:left; word-wrap:break-word; hyphens:auto; } body.skin-vector-search-vue{ font-size:calc( 14px * 1.042 ); line-height:1.2em; background-color:#ffffff; } body.skin-vector-search-vue .mw-editsection{ font-size:12px; line-height:1.2em; } body.skin-vector-search-vue.action-view:not(.page-Wikibooks_Strona_główna):not(.ns-special) #contentSub, body.skin-vector-search-vue.action-view:not(.page-Wikibooks_Strona_główna):not(.ns-special) #contentSub ~ #contentSub2{ margin:0; } body.skin-vector-search-vue.action-view.ns-special #contentSub:empty, body.skin-vector-search-vue.action-view.ns-special #contentSub:not(:empty), body.skin-vector-search-vue.action-view.ns-special #contentSub:not(:empty) ~ #contentSub2, body.skin-vector-search-vue.action-view.ns-special #contentSub:empty ~ #contentSub2:not(:empty){ margin:2px 0 3px 0; } body.skin-vector-search-vue.action-view.ns-special #contentSub:empty ~ #contentSub2:empty{ margin:10px 0; } body.skin-vector-search-vue:not(.action-view) #contentSub:empty{ margin:2px 0 3px 0; } body.skin-vector-search-vue:not(.action-view) #contentSub:empty ~ #contentSub2:empty{ margin:10px 0; } body.skin-vector-search-vue:not(.action-view) #contentSub:not(:empty), body.skin-vector-search-vue:not(.action-view) #contentSub:not(:empty) ~ #contentSub2{ margin: 2px 0 2px 0; } body.skin-vector-search-vue:not(.action-view) #contentSub:empty ~ #contentSub2:not(:empty){ margin: 2px 0 3px 0; } body.skin-vector-search-vue.action-view.page-Wikibooks_Strona_główna #contentSub, body.skin-vector-search-vue.action-view.page-Wikibooks_Strona_główna #contentSub2{ margin:0; } body.skin-vector-search-vue.action-edit #contentSub:not(:empty) ~ #mw-content-text > form#editform{ margin-top:0; } body.skin-vector-search-vue.action-view #pwContent, body.skin-vector-search-vue:not(.action-view) #pwContent, body.skin-vector-search-vue.action-view .subpages, body.skin-vector-search-vue:not(.action-view) .subpages{ margin:0; font-size:12px; line-height:1.2em; margin-bottom:6px; } body.skin-vector-search-vue.action-view:not(.page-Wikibooks_Strona_główna) .warningbox, body.skin-vector-search-vue:not(.action-view) .warningbox{ margin:10px 0; } body.skin-vector-search-vue #mw-previewheader{ margin-top:14px; margin-bottom:10px; } body.skin-vector-search-vue .mw-userconfigpublic{ margin-top:8px; } body.skin-vector-search-vue .mw-contributions-user-tools{ margin-bottom:6px; } body.skin-vector-search-vue:not(.action-view) .mw-body, body.skin-vector-search-vue.action-view.ns-special .mw-body{ padding: 8px 0 10px 8px; position:relative; z-index:0; } body.skin-vector-search-vue.action-view.page-Wikibooks_Strona_główna .mw-body, body.skin-vector-search-vue.action-view:not(.ns-special):not(.page-Wikibooks_Strona_główna) .mw-body{ padding: 4px 0 10px 8px; position:relative; z-index:0; } body.skin-vector-search-vue #centralNotice:not(:empty){ margin:10px 8px 8px 8px; } body.skin-vector-search-vue .mw-content-container{ min-width:848px; } body.skin-vector-search-vue #content{ margin-left:0px; min-width:848px; box-sizing:border-box; } body.skin-vector-search-vue #mw-content-text{ clear:both; } body.skin-vector-search-vue #bodyContent{ box-sizing:border-box; min-width:832px; height:auto; clear:both; padding: 0 13px 0 5px; } body.skin-vector-search-vue .mw-table-of-contents-container.sidebar_obecny ~ .mw-content-container #bodyContent{ padding: 0 5px; } body.skin-vector-search-vue .mw-table-of-contents-container.sidebar_obecny ~ .mw-content-container .mw-body-header{ margin-right:3px !important; } body.skin-vector-search-vue.action-view #bodyContent #mw-content-text .mw-container-parser-output, body.skin-vector-search-vue:not(.action-view) #bodyContent #mw-content-text .mw-container-parser-output{ overflow:auto; overflow-x:auto; overflow-y:visible; min-width:822px; box-sizing:border-box; margin-bottom:5px; display:block; height:auto; position:relative; } body.skin-vector-search-vue.action-view #bodyContent #mw-content-text .mw-container-parser-output.has-mw-parser-output-whitespace, body.skin-vector-search-vue:not(.action-view) #bodyContent #mw-content-text .mw-container-parser-output.has-mw-parser-output-whitespace{ margin-bottom:0 !important; } body.skin-vector-search-vue.action-view #bodyContent #mw-content-text .mw-container-parser-output.mw-scrollbar-overflow-x, body.skin-vector-search-vue:not(.action-view) #bodyContent #mw-content-text #wikiPreview .mw-content-ltr .mw-container-parser-output.mw-scrollbar-overflow-x{ padding-bottom:5px; } body.skin-vector-search-vue.action-view #bodyContent #mw-content-text .mw-container-parser-output:not(.mw-scrollbar-overflow-x), body.skin-vector-search-vue:not(.action-view) #bodyContent #mw-content-text #wikiPreview .mw-content-ltr .mw-container-parser-output:not(.mw-scrollbar-overflow-x){ padding-bottom:0; } body.skin-vector-search-vue.action-view #bodyContent #mw-content-text .mw-container-parser-output.mw-scrollbar-overflow-y, body.skin-vector-search-vue:not(.action-view) #bodyContent #mw-content-text #wikiPreview .mw-content-ltr .mw-container-parser-output.mw-scrollbar-overflow-y{ padding-right:5px; } body.skin-vector-search-vue.action-view #bodyContent #mw-content-text:not(.mw-scrollbar-overflow-y), body.skin-vector-search-vue:not(.action-view) #bodyContent #mw-content-text #wikiPreview .mw-content-ltr:not(.mw-scrollbar-overflow-y){ padding-right:0; } body.skin-vector-search-vue.ns-10 #mw-content-text .mw-parser-output > :not(style):not(link):not(#documentation-meta-data):not(.template-documentation) ~ *:first-of-type, body.skin-vector-search-vue.ns-828 #mw-content-text .mw-parser-output > :not(style):not(link):not(#documentation-meta-data):not(.template-documentation) ~ *:first-of-type{ margin-top:5px !important; } body.skin-vector-search-vue #mw-content-text .mw-parser-output > :not(style):not(link):not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(p):first-child{ margin-top:0 !important; } body.skin-vector-search-vue #mw-content-text .mw-parser-output > :not(style):not(link) ~ :not(style):not(link):not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(p):not(.div-linia):first-of-type{ margin-top:5px !important; } body.skin-vector-search-vue #mw-content-text .mw-parser-output > div.div-linia + *{ margin-top:0px !important; } body.skin-vector-search-vue #mw-content-text .mw-parser-output > h1:first-child, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h2:first-child, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h3:first-child, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h4:first-child, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h5:first-child, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h6:first-child, body.skin-vector-search-vue #mw-content-text .mw-parser-output > :not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(p) + h1:first-of-type, body.skin-vector-search-vue #mw-content-text .mw-parser-output > :not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(p) + h2:first-of-type, body.skin-vector-search-vue #mw-content-text .mw-parser-output > :not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(p) + h3:first-of-type, body.skin-vector-search-vue #mw-content-text .mw-parser-output > :not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(p) + h4:first-of-type, body.skin-vector-search-vue #mw-content-text .mw-parser-output > :not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(p) + h5:first-of-type, body.skin-vector-search-vue #mw-content-text .mw-parser-output > :not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(p) + h6:first-of-type{ margin-top:0.5em !important; } body.skin-vector-search-vue #mw-content-text .mw-parser-output > h1 ~ h1, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h1 ~ h2, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h1 ~ h3, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h1 ~ h4, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h1 ~ h5, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h1 ~ h6, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h2 ~ h1, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h2 ~ h2, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h2 ~ h3, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h2 ~ h4, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h2 ~ h5, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h2 ~ h6, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h3 ~ h1, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h3 ~ h2, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h3 ~ h3, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h3 ~ h4, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h3 ~ h5, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h3 ~ h6, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h4 ~ h1, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h4 ~ h2, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h4 ~ h3, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h4 ~ h4, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h4 ~ h5, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h4 ~ h6, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h5 ~ h1, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h5 ~ h2, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h5 ~ h3, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h5 ~ h4, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h5 ~ h5, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h5 ~ h6, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h6 ~ h1, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h6 ~ h2, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h6 ~ h3, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h6 ~ h4, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h6 ~ h5, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h6 ~ h6{ margin-top:0.8em; } body.skin-vector-search-vue .tdg-editscreen-main{ margin-top:9px; margin-bottom:10px; } body.skin-vector-search-vue .mw-specialpage-summary > p:first-child{ margin: 0 0 4px 0; } body.skin-vector-search-vue .mw-rcfilters-head{ margin-bottom:15px; } body.skin-vector-search-vue.mw-special-Watchlist .mw-rcfilters-head{ min-height: 280px; } body.skin-vector-search-vue #bodyContent #mw-content-text .mw-parser-output .template-documentation:first-of-type{ margin-top:0; box-sizing:border-box; } body.skin-vector-search-vue #bodyContent #mw-content-text .mw-parser-output > :not(style):not(link) ~ .template-documentation{ margin-top:10px !important; box-sizing:border-box !important; } body.skin-vector-search-vue .mw-parser-output #documentation-meta-data:not(:last-child){ margin-top:3px !important; margin-bottom:3px !important; } body.skin-vector-search-vue .mw-parser-output #documentation-meta-data:last-child{ margin-top:3px !important; margin-bottom:0 !important; } body.skin-vector-search-vue #bodyContent #mw-content-text .mw-parser-output{ display:table; box-sizing:border-box; position:relative; width:100%; height:auto; margin:0; margin-bottom:5px; border-spacing:0; padding:0; border-collapse:collapse; border:0; } body.skin-vector-search-vue #bodyContent #mw-content-text .mw-container-parser-output > .mw-parser-output{ margin:0; } body.skin-vector-search-vue .catlinks:not(.catlinks-allhidden){ margin: 5px 0; } body.skin-vector-search-vue #mw-content-text .mw-parser-output > p:first-of-type{ margin-top:0.3em; } body.skin-vector-search-vue #mw-content-text .mw-parser-output > :not(p):not(:empty) + p:first-of-type{ margin-top:0.5em; } body.skin-vector-search-vue #mw-content-text .mw-parser-output > :not(p):not(.blank) + p:first-of-type{ margin-top:0.5em; } body.skin-vector-search-vue #mw-content-text .mw-parser-output > :not(p):not(:-moz-only-whitespace) + p:first-of-type{ margin-top:0.5em; } body.skin-vector-search-vue #mw-content-text .mw-parser-output > :not(p):not(:blank) + p:first-of-type{ margin-top:0.5em; } body.skin-vector-search-vue #mw-content-text .mw-parser-output > :not(p).floatleft + p:first-of-type, body.skin-vector-search-vue #mw-content-text .mw-parser-output > :not(p).floatright + p:first-of-type, body.skin-vector-search-vue #mw-content-text .mw-parser-output > :not(p).tleft + p:first-of-type, body.skin-vector-search-vue #mw-content-text .mw-parser-output > :not(p).tright + p:first-of-type{ margin-top:0; } body.skin-vector-search-vue #mw-content-text .mw-parser-output > p:last-child{ margin-bottom:0.3em; } body.skin-vector-search-vue pre{ margin-top:8px; margin-bottom:8px; padding:11px; background-color: #f8f9fa; color: #000; border: 1px solid #eaecf0; box-sizing:border-box; } body.skin-vector-search-vue div.mw-highlight > pre{ margin-top:8px; margin-bottom:8px; } body.ns-828.skin-vector-search-vue.action-view #mw-content-text .mw-parser-output > div.mw-highlight:last-child > pre:last-child{ margin-top:5px; margin-bottom:0; } body.skin-vector-search-vue.action-view #mw-content-text .mw-parser-output > div.mw-highlight:last-child > pre:last-child{ margin-bottom:0; margin-top:5px; } body.ns-828.skin-vector-search-vue:not(.action-view) #mw-content-text .mw-parser-output > div.mw-highlight:last-child > pre:last-child{ margin-top:0px; margin-bottom:0; } body.skin-vector-search-vue:not(.action-view) #mw-content-text .mw-parser-output > div.mw-highlight:last-child > pre:last-child{ margin-bottom:0; margin-top:0; } body.skin-vector-search-vue #mw-content-text .mw-parser-output > div.mw-highlight:only-child > pre:only-child{ margin-bottom:0 !important; margin-top:0 !important; } body.skin-vector-search-vue .oo-ui-panelLayout-padded.oo-ui-panelLayout-framed{ margin:0 0 8px 0; } body.skin-vector-search-vue .mw-body > h1{ margin-bottom:0; } body.skin-vector-search-vue #central-auth-images{ display:none; } body.skin-vector-search-vue .mw-message-box{ margin-top:10px; margin-bottom:10px; } body.skin-vector-search-vue #contentSub:not(:empty) ~ #mw-content-text > .mw-message-box:first-child{ margin-top:6px; margin-bottom:10px; } body.skin-vector-search-vue #contentSub > .mw-message-box{ margin-top:10px; margin-bottom:10px; } body.skin-vector-search-vue #contentSub > .subpages ~ .mw-message-box, body.skin-vector-search-vue #contentSub > #pwContent ~ .mw-message-box{ margin-bottom:10px; margin-top:0; } body.skin-vector-search-vue #wikiPreview.ontop{ margin-bottom:5px; } body.skin-vector-search-vue.skin-vector-disable-max-width #wikiPreview{ max-width:100%; } body.skin-vector-search-vue .previewnote{ margin-bottom:10px; } body.skin-vector-search-vue form#editform{ margin-top:5px; margin-bottom:5px; } body.skin-vector-search-vue #editform::after{ display:block; } body.skin-vector-search-vue .editOptions{ margin-bottom:10px; } body.skin-vector-search-vue .mw-category-generated > #mw-pages > h2, body.skin-vector-search-vue .mw-category-generated > #mw-subcategories > h2, body.skin-vector-search-vue .mw-category-generated > #mw-category-media > h2{ margin-top:15px !important; } body.skin-vector-search-vue .mw-category-generated > #mw-pages:last-child, body.skin-vector-search-vue .mw-category-generated > #mw-subcategories:last-child, body.skin-vector-search-vue .mw-category-generated > #mw-category-media:last-child{ margin-bottom:10px; } body.skin-vector-search-vue .mw-parser-output + .mw-category-generated > p:first-child, body.skin-vector-search-vue .mw-container-parser-output + .mw-category-generated > p:first-child, body.skin-vector-search-vue .noarticletext + .mw-category-generated > p:first-child{ margin-bottom:0; margin-top:0; } body.skin-vector-search-vue .mw-category-generated > *:first-child > h2{ margin-top:15px !important; } body.skin-vector-search-vue .mw-category-generated{ margin-bottom:5px; } body.skin-vector-search-vue .mw-editfooter-list{ margin-bottom:0; } body.skin-vector-search-vue #mw-clearyourcache:first-child > p:first-child{ margin-top:0; } body.skin-vector-search-vue .vector-menu-portal { margin: 0 5px; padding: 0.2em 0 0 0; direction: ltr; } body.skin-vector-search-vue .vector-menu-portal .vector-menu-content{ margin-left: 3px; } body.skin-vector-search-vue #mw-panel nav:first-child .vector-menu-content { margin-left: 0; } body.skin-vector-search-vue .vector-menu-portal .vector-menu-heading{ margin-left:3px; } body.skin-vector-search-vue .mw-undelete-pagetitle > p:first-child{ margin-top:0; } body.skin-vector-search-vue .mw-delete-warning-revisions{ display:block; margin-top:10px; } body.skin-vector-search-vue #p-lang-btn-label{ min-height:25px; padding:5px 25px 3px 5px; } body.skin-vector-search-vue .mw-delete-editreasons + h2, body.skin-vector-search-vue .mw-protect-editreasons + h2{ margin-top:0 !important; } body.skin-vector-search-vue .vector-article-toolbar .mw-article-toolbar-container{ margin-right:0; padding-right:0; } body.skin-vector-search-vue .vector-article-toolbar .mw-article-toolbar-container{ margin-right: 0; padding-right:0; } body.skin-vector-search-vue .vector-article-toolbar .mw-article-toolbar-container #right-navigation{ margin-right:4px; } body.skin-vector-search-vue .vector-article-toolbar .mw-article-toolbar-container #right-navigation{ margin-right: 4px; } body.skin-vector-search-vue .vector-article-toolbar .mw-article-toolbar-container #right-navigation::before{ display: flex; content: ''; width: auto; flex-direction: row; flex: 1 1 auto; box-sizing:border-box; } body.skin-vector-search-vue .vector-article-toolbar .mw-article-toolbar-container #right-navigation .vector-menu-content{ right:0; } body.skin-vector-search-vue .mw-table-of-contents-container{ direction: rtl; align-self:auto; background-color:white; background-image: url('//upload.wikimedia.org/wikipedia/commons/thumb/b/ba/Wikibooks_multicolor_open_book_no_text.svg/200px-Wikibooks_multicolor_open_book_no_text.svg.png'); } body.skin-vector-search-vue .mw-table-of-contents-container:not(:-moz-only-whitespace){ margin-right:8px; margin-left:5px; } body.skin-vector-search-vue .mw-table-of-contents-container.sidebar_obecny{ width:200px; max-height:100%; margin-right:8px; margin-left:5px; box-sizing:border-box; position:static; } body.skin-vector-search-vue .mw-table-of-contents-container .sidebar-toc{ width:200px; direction: rtl; overflow:hidden; margin-right:0; margin-left:0; max-height:calc( 100vh - 59px ); margin-top:0 !important; display:block; } body.skin-vector-search-vue .mw-table-of-contents-container .sidebar-toc .sidebar-toc-contents{ direction:ltr; } body.skin-vector-search-vue .mw-table-of-contents-container.sidebar_obecny .sidebar-toc{ position:absolute; max-width:700px; min-width:200px; display:block; } body.skin-vector-search-vue .mw-table-of-contents-container.sidebar_obecny .sidebar-toc:not(:hover){ width:200px; transition: width 250ms ease-out; transition-property: width; transition-duration: 250ms; transition-timing-function: ease-out; transition-delay: 0s; } body.skin-vector-search-vue .mw-table-of-contents-container.sidebar_obecny .sidebar-toc:not(:hover) .sidebar-toc-level-2{ display:none; } body.skin-vector-search-vue .mw-table-of-contents-container.sidebar_obecny .sidebar-toc:hover{ width:auto; transition: width 250ms ease-out; transition-property: width; transition-duration: 250ms; transition-timing-function: ease-out; transition-delay: 0s; } body.skin-vector-search-vue .mw-article-toolbar-container{ margin-left:0 !important; } body.skin-vector-search-vue .mw-checkbox-hack-checkbox:checked ~ .mw-workspace-container .mw-content-container, body.skin-vector-search-vue .mw-checkbox-hack-checkbox:checked ~ .mw-workspace-container #mw-navigation .mw-article-toolbar-container { margin-left: 0 !important; } body.skin-vector-search-vue .vector-body h1, body.skin-vector-search-vue .vector-body h2, body.skin-vector-search-vue .vector-body h3, body.skin-vector-search-vue .vector-body h4, body.skin-vector-search-vue .vector-body h5, body.skin-vector-search-vue .vector-body h6{ margin-top:0.8em; } body.skin-vector-search-vue .mw-history-subtitle{ margin-bottom:6px; } body.skin-vector-search-vue .printfooter{ display:block; margin: 5px 0; padding:5px; white-space:normal; border: 1px solid #eaecf0; box-sizing:border-box; background-color: white; } .client-js body.skin-vector-search-vue .mw-search-form-wrapper { min-height: 112px; } body.skin-vector-search-vue .noarticletext{ margin-bottom:5px; } body.skin-vector-search-vue .mw-menu-active{ background-color:#E6E6FA; } body.skin-vector-search-vue .mw-menu-inactive{ background-color:#EEE8AA; } body.skin-vector-search-vue .mw-menu-active,body.skin-vector-search-vue .mw-menu-inactive{ padding-left:5px !important; padding-right:5px !important; margin-left:0 !important; display:block; border-radius:5px; border:1px solid #a2a9b1; margin-top:3px; } body.skin-vector-search-vue .mw-items-active{ display:block; border-radius:5px; border:1px solid #a2a9b1; padding: 0 5px; margin-top:2px; } body.skin-vector-search-vue .mw-items-active > ul{ margin-top:0; } body.skin-vector-search-vue .mw-items-inactive{ display:none; } body.skin-vector-search-vue .mw-items-active,body.skin-vector-search-vue .mw-items-inactive{ margin-left:0px !important; } n9xxvk5qc2evv2pvyen9vhoca03d5kw 435324 435323 2022-07-21T11:12:33Z Persino 2851 css text/css body.skin-vector-search-vue .mw-page-container{ max-width:100%; min-width:988px; padding-left:0; padding-right:0; border-left: 0; border-right: 0; box-sizing:border-box; display:table; width:100%; background-color:white; height:auto; } body.skin-vector-search-vue .mw-content-container{ max-width:100%; box-sizing:border-box; } body.skin-vector-search-vue .mw-logo-container{ margin-left: 10px; margin-right:0; } body.skin-vector-search-vue #p-lang-btn-label{ font-size:14px !important; line-height:1.2em !important; white-space:nowrap; } body.skin-vector-search-vue .mw-indicators{ font-size: calc( 14px * 0.875 ); line-height: 2.0em; white-space:nowrap; margin: auto 0 0 0; } body.skin-vector-search-vue.action-view.page-Wikibooks_Strona_główna #content{ display:grid; grid: 'aa aa aa' auto 'dd dd dd' auto 'bb bb bb' auto 'cc cc cc' auto '.. .. ff' auto 'ee ee ee' auto / minmax(auto,1fr) auto auto } body.skin-vector-search-vue.action-view.page-Wikibooks_Strona_główna #content > #top{ grid-area:aa; } body.skin-vector-search-vue.action-view.page-Wikibooks_Strona_główna #content > #siteNotice{ grid-area:bb; } body.skin-vector-search-vue.action-view.page-Wikibooks_Strona_główna #content > .vector-article-toolbar{ grid-area:dd; margin:0; } body.skin-vector-search-vue.action-view.page-Wikibooks_Strona_główna #content > .mw-body-header{ grid-area:cc; top:0; width:auto !important; height:auto !important; margin:0; margin-right:10px; box-sizing:border-box; border-bottom: 1px solid #a2a9b1; } body.skin-vector-search-vue.action-view.page-Wikibooks_Strona_główna #content > #p-lang-btn{ grid-area:ff; height:20px; width:auto; height:auto; margin-left:auto; top:0; margin: auto 5px 0 5px; padding-bottom:8px; box-sizing:border-box; } body.skin-vector-search-vue.action-view.page-Wikibooks_Strona_główna #content > #bodyContent{ grid-area:ee; } body.skin-vector-search-vue.action-view.page-Wikibooks_Strona_główna #content > .mw-body-header{ display:grid; grid: 'aa bb' auto / minmax(auto,1fr) auto; width:100%; min-height: 46px; box-sizing: border-box; position: relative; } body.skin-vector-search-vue.action-view.page-Wikibooks_Strona_główna #content > .mw-body-header > .firstHeading{ display:block !important; } body.skin-vector-search-vue.action-view.page-Wikibooks_Strona_główna #content > .mw-body-header > .firstHeading:not(:hover){ grid-area:aa; margin-bottom:2px; width:100%; max-width:fit-content; max-width:-moz-fit-content; margin-bottom: 0; margin-top: auto; border-bottom: none; padding-left: 3px; padding-right: 3px; border-bottom: 0; } body.skin-vector-search-vue.action-view.page-Wikibooks_Strona_główna #content > .mw-body-header > .mw-indicators{ grid-area: bb; width: auto; height: 1.6em; margin-bottom: 5px; margin-top: auto; margin-right: 5px; } body.skin-vector-search-vue.action-view:not(.page-Wikibooks_Strona_główna):not(.ns-special) #content > .mw-body-header > .firstHeading > .plainlinks, body.skin-vector-search-vue.action-view.ns-special #content > .mw-body-header > .firstHeading > .plainlinks body.skin-vector-search-vue:not(.action-view) #content > .mw-body-header > .firstHeading > .plainlinks{ padding-bottom:2px; } body.skin-vector-search-vue.action-view:not(.page-Wikibooks_Strona_główna):not(.ns-special) #content > .mw-body-header > #p-lang-btn{ grid-area:bb; right:0; margin:0; height:auto; width:auto; margin-top: auto; margin-bottom:0; padding: 0 3px; box-sizing:border-box; } body.skin-vector-search-vue.action-view:not(.page-Wikibooks_Strona_główna):not(.ns-special) #content > .mw-body-header, body.skin-vector-search-vue.action-view.ns-special #content > .mw-body-header, body.skin-vector-search-vue:not(.action-view) #content > .mw-body-header{ display:grid; grid:'aa bb' auto / minmax(auto,100%) auto; border-bottom:1px solid #a2a9b1; margin-top:auto; margin-bottom:0; min-height:46px; box-sizing:border-box; position:relative; } body.skin-vector-search-vue.action-view:not(.page-Wikibooks_Strona_główna):not(.ns-special) #content > .mw-body-header > .firstHeading:not(:hover), body.skin-vector-search-vue.action-view.ns-special #content > .mw-body-header > .firstHeading:not(:hover), body.skin-vector-search-vue:not(.action-view) #content > .mw-body-header > .firstHeading:not(:hover){ grid-area:aa; width:100%; max-width:fit-content; max-width:-moz-fit-content; margin-bottom:0; margin-top:auto; border-bottom:none; padding-left:3px; padding-right:3px; border-bottom:0; box-sizing:border-box; } body.skin-vector-search-vue.action-view.ns-special #content > .mw-body-header > .mw-indicators, body.skin-vector-search-vue:not(.action-view) #content > .mw-body-header > .mw-indicators{ grid-area:bb; right:0; margin:0; height:auto; width:100%; margin:auto 0 0 auto; padding: 0 10px; box-sizing:border-box; } body.skin-vector-search-vue.action-view.ns-special #content .mw-body-header > .mw-indicators > .mw-indicator, body.skin-vector-search-vue:not(.action-view) #content .mw-body-header > .mw-indicators > .mw-indicator{ padding: 2px 0 2px 0; margin: auto 0 0 0; } body.skin-vector-search-vue.action-view:not(.page-Wikibooks_Strona_główna):not(.ns-special) #content, body.skin-vector-search-vue.action-view.ns-special #content, body.skin-vector-search-vue:not(.action-view) #content{ display:grid; grid:'aa' auto 'cc' auto 'bb' auto 'dd' auto 'ee' auto / auto; width:100%; } body.skin-vector-search-vue.action-view:not(.page-Wikibooks_Strona_główna):not(.ns-special) #content > #top, body.skin-vector-search-vue.action-view.ns-special #content > #top, body.skin-vector-search-vue:not(.action-view) #content > #top{ grid-area:aa; } body.skin-vector-search-vue.action-view:not(.page-Wikibooks_Strona_główna):not(.ns-special) #content > #siteNotice, body.skin-vector-search-vue.action-view.ns-special #content > #siteNotice, body.skin-vector-search-vue:not(.action-view) #content > #siteNotice{ grid-area:bb; } body.skin-vector-search-vue.action-view:not(.page-Wikibooks_Strona_główna):not(.ns-special) #content > .vector-article-toolbar, body.skin-vector-search-vue.action-view.ns-special #content > .vector-article-toolbar, body.skin-vector-search-vue:not(.action-view) #content > .vector-article-toolbar{ grid-area:cc; } body.skin-vector-search-vue .mw-body-header::after{ display:none; } body.skin-vector-search-vue.action-view:not(.page-Wikibooks_Strona_główna):not(.ns-special) #content > .mw-body-header, body.skin-vector-search-vue.action-view.ns-special #content > .mw-body-header, body.skin-vector-search-vue:not(.action-view) #content > .mw-body-header{ grid-area:dd; margin:0; margin-right:10px; width:auto; padding-bottom:0; } body.skin-vector-search-vue .mw-body-subheader{ border-bottom:0; } /*body.skin-vector-search-vue #siteSub,*/ body.skin-vector-search-vue .firstHeading:not(:hover) > .plainlinks{ display:none; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; } body.skin-vector-search-vue .firstHeading:not(:hover){ display:block; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; border-bottom:0; } body.skin-vector-search-vue .firstHeading:hover{ display:block; border:1px solid #eaecf0; border-radius:10px; background-color:white; position:absolute; top:5px; left:-3px; width:auto; padding:5px; z-index:1 !important; } body.skin-vector-search-vue .mw-body-header > .firstHeading:hover > .plainlinks{ display:block; } body.skin-vector-search-vue.action-view:not(.page-Wikibooks_Strona_główna):not(.ns-special) #bodyContent > .mw-body-subheader{ margin: 2px 0 3px 0; min-height:1.6em; } body.skin-vector-search-vue.action-view.ns-special #bodyContent > .mw-body-subheader, body.skin-vector-search-vue:not(.action-view) #bodyContent > .mw-body-subheader{ margin: 0; } body.skin-vector-search-vue.action-view.page-Wikibooks_Strona_główna #bodyContent > .mw-body-subheader{ margin:0; margin-top: -2.0em; font-size: 1.2em; height: 2em; margin-bottom:5px; } body.skin-vector-search-vue.action-view.page-Wikibooks_Strona_główna #bodyContent > .mw-body-subheader > #siteSub{ display:table !important; width:auto; } body.skin-vector-search-vue.action-view:not(.page-Wikibooks_Strona_główna):not(.ns-special) #bodyContent > .mw-body-subheader> .mw-indicators{ margin-left:5px; margin-right:3px; display:block; } body.skin-vector-search-vue.action-view:not(.page-Wikibooks_Strona_główna):not(.ns-special) #bodyContent > .mw-body-subheader> #siteSub{ display:block; } body.skin-vector-search-vue .firstHeading, body.skin-vector-search-vue .firstHeading > .plainlinks{ max-width:100%; width:auto; } body.skin-vector-search-vue.action-view:not(.page-Wikibooks_Strona_główna):not(.ns-special) #content #bodyContent, body.skin-vector-search-vue.action-view.ns-special #content #bodyContent, body.skin-vector-search-vue:not(.action-view) #content #bodyContent{ grid-area:ee; } body.skin-vector-search-vue.skin-vector-disable-max-width .vector-layout-legacy #mw-sidebar-checkbox:checked ~ .mw-workspace-container #mw-navigation .mw-article-toolbar-container, body.skin-vector-search-vue.skin-vector-disable-max-width .vector-layout-legacy #mw-sidebar-checkbox:checked ~ .mw-workspace-container .mw-content-container, body.skin-vector-search-vue:not(.skin-vector-toc-experiment-control):not(.skin-vector-toc-experiment-unsampled) .vector-toc-visible .mw-workspace-container .mw-content-container, body.skin-vector-search-vue:not(.skin-vector-toc-experiment-control):not(.skin-vector-toc-experiment-unsampled) .vector-toc-visible .mw-workspace-container .mw-article-toolbar-container, body.skin-vector-search-vue.vector-toc-enabled .mw-checkbox-hack-checkbox:checked ~ .mw-workspace-container .mw-content-container, body.skin-vector-search-vue.vector-toc-enabled .mw-checkbox-hack-checkbox:checked ~ .mw-workspace-container .mw-article-toolbar-container, body.skin-vector-search-vue.skin-vector-disable-max-width .vector-toc-enabled .vector-layout-legacy #mw-sidebar-checkbox:checked ~ .mw-workspace-container .mw-content-container, body.skin-vector-search-vue:not(.skin-vector-toc-experiment-control):not(.skin-vector-toc-experiment-unsampled) .vector-layout-legacy .vector-toc-visible .mw-workspace-container .mw-content-container, body.skin-vector-search-vue:not(.skin-vector-toc-experiment-control):not(.skin-vector-toc-experiment-unsampled) .vector-layout-legacy .vector-toc-visible #mw-navigation .mw-article-toolbar-container, body.skin-vector-search-vue.vector-toc-enabled .vector-layout-legacy #mw-sidebar-checkbox:checked ~ .mw-workspace-container .mw-content-container, body.skin-vector-search-vue.vector-toc-enabled .vector-layout-legacy #mw-sidebar-checkbox:checked ~ .mw-workspace-container #mw-navigation .mw-article-toolbar-container{ margin-left:0; } /*body.skin-vector-search-vue .mw-workspace-container:not(.mw-footer-container){ display:grid; grid:'aa cc bb' auto / auto minmax(auto,1fr) auto; width:auto; box-sizing:border-box; } body.skin-vector-search-vue .mw-workspace-container:not(.mw-footer-container) > #mw-navigation{ grid-area:aa; width:100%; box-sizing:border-box; } body.skin-vector-search-vue .mw-workspace-container:not(.mw-footer-container) > .mw-table-of-contents-container.mw-sticky-header-element{ grid-area:bb; max-width:200px; display:block; box-sizing:border-box; margin-bottom:16px; z-index:1; }*/ body.skin-vector-search-vue .mw-page-container-inner{ display:grid; grid:'aa aa aa' auto 'bb cc dd' auto 'bb ee ee' auto / auto auto auto; width:auto; box-sizing:border-box; } body.skin-vector-search-vue .mw-page-container-inner > .mw-header{ grid-area:aa; } body.skin-vector-search-vue .mw-page-container-inner > .vector-sidebar-container{ grid-area:bb; } body.skin-vector-search-vue .mw-page-container-inner > .mw-content-container{ grid-area:cc; } body.skin-vector-search-vue .mw-page-container-inner > .mw-table-of-contents-container{ grid-area:dd; position:relative !important; } body.skin-vector-search-vue .mw-page-container-inner > .mw-footer-container{ grid-area:ee; } /**/ body.skin-vector-search-vue .mw-workspace-container .mw-content-container, body.skin-vector-search-vue .mw-workspace-container .mw-content-container #bodyContent, body.skin-vector-search-vue .mw-workspace-container .mw-content-container #content, body.skin-vector-search-vue .mw-workspace-container .mw-content-container .mw-body-header{ width:100%; box-sizing:border-box; } body.skin-vector-search-vue .mw-article-toolbar-container .mw-portlet-views { display: block; } body.skin-vector-search-vue .mw-article-toolbar-container .vector-more-collapsible-item { display: none; } body.skin-vector-search-vue .sidebar-toc{ left:auto; right:8px; } body.skin-vector-search-vue:not(.vector-below-page-title) .mw-checkbox-hack-checkbox:checked ~ .mw-workspace-container .sidebar-toc{ left:auto; right:8px; } body.skin-vector-search-vue.vector-toc-enabled .mw-checkbox-hack-checkbox:checked ~ .mw-workspace-container .sidebar-toc{ display: block; } body.skin-vector-search-vue.vector-toc-enabled .mw-checkbox-hack-checkbox:checked ~ .mw-workspace-container .sidebar-toc{ display: block; } body.skin-vector-search-vue .mw-checkbox-hack-checkbox:checked ~ .mw-workspace-container #mw-panel, body.skin-vector-search-vue #mw-sidebar-checkbox:checked ~ .mw-workspace-container #mw-panel{ left:-140px; top:-15px; position:absolute; width:140px; box-sizing:border-box; } body.skin-vector-search-vue.vector-toc-enabled .mw-sidebar{ margin-left:0; background-color: white; padding: 12px 0; margin-top:0; } .vector-animations-ready body.skin-vector-search-vue .mw-sidebar{ transition: none; transition-property: none; transition-duration: none; transition-timing-function: none; transition-delay: none; } body.skin-vector-search-vue.vector-toc-enabled #mw-sidebar-checkbox:not(:checked) ~ .mw-workspace-container .mw-sidebar{ display:block; } body.skin-vector-search-vue #mw-sidebar-checkbox:not(:checked) ~ .mw-workspace-container .mw-sidebar{ visibility: visible; opacity: 1; transform: none; } body.skin-vector-search-vue .mw-workspace-container #mw-panel{ left:-140px; top:-15px; position: absolute; float:left; box-sizing:border-box; } body.skin-vector-search-vue .ui-dialog{ font-size:75%; } body.skin-vector-search-vue .mw-body-content .error{ font-size:96%; } body.skin-vector-search-vue.action-purge .firstHeading{ padding-bottom:3px; } body.skin-vector-search-vue .firstHeading .plainlinks{ line-height:1.2em !important; } body.skin-vector-search-vue #mw-panel{ width:140px; box-sizing:border-box; } body.skin-vector-search-vue .mw-sidebar #p-navigation .vector-menu-heading{ display:block; } body.skin-vector-search-vue .mw-workspace-container{ margin-right:0; margin-left:140px; min-width:auto; max-width:100%; box-sizing:border-box; } body.skin-vector-search-vue .mw-checkbox-hack-checkbox:checked ~ .mw-workspace-container{ margin-left:140px; transition: margin-left 250ms ease-out; transition-property: margin-left; transition-duration: 250ms; transition-timing-function: ease-out; transition-delay: 0s; } body.skin-vector-search-vue .mw-checkbox-hack-checkbox:not(:checked) ~ .mw-workspace-container{ margin-left:0; transition: margin-left 250ms ease-out; transition-property: margin-left; transition-duration: 250ms; transition-timing-function: ease-out; transition-delay: 0s; } body.skin-vector-search-vue .mw-article-toolbar-container{ max-width:100%; box-sizing:border-box; position:relative; z-index:1; } body.skin-vector-search-vue .mw-footer-container{ padding-top:0; } body.skin-vector-search-vue .mw-content-container > .mw-body{ margin-left:0; margin-right:0; } body.skin-vector-search-vue .mw-article-toolbar-container > #left-navigation{ margin-left:0; margin-right:0; } body.skin-vector-search-vue .mw-content-container .mw-footer{ margin-left:8px; margin-right:0; padding: 0.75em 5px; } body.skin-vector-search-vue .mw-header { display:flex; flex-direction: row; margin: 8px 5px 0 5px; } body.skin-vector-search-vue .mw-workspace-container #mw-head{ min-width:832px; margin-right:5px; box-sizing:border-box; } body.skin-vector-search-vue .mw-logo-icon{ display:block; } body.skin-vector-search-vue .vector-user-links .vector-user-menu-more .vector-menu-content-list li.user-links-collapsible-item { display: block; } body.skin-vector-search-vue .vector-search-box-collapses > div{ display:block; } body.skin-vector-search-vue a.mw-ui-icon-wikimedia-search{ display:none; } body.skin-vector-search-vue .vector-sticky-header{ height:3.2em; padding: 6px 25px; display:flex; flex-direction:row; min-width:700px; margin-left:auto; margin-right:auto; width:90%; text-align:center; box-sizing:border-box; } @media screen and (max-width: 830px){ body.skin-vector-search-vue .vector-sticky-header{ display: none; } } .client-nojs body.skin-vector-search-vue .vector-sticky-header{ display:none !important; } body.skin-vector-search-vue .wvui-typeahead-suggestion{ padding-top:4px; padding-bottom:4px; text-align:left; } body.skin-vector-search-vue .vector-sticky-header.vector-header-search-toggled{ flex-basis: 460px; box-sizing:border-box; } body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--auto-expand-width:not(.wvui-typeahead-search--focused){ margin-left:10px; width:460px; box-sizing:border-box; } body.skin-vector-search-vue .wvui-typeahead-suggestion__thumbnail-placeholder, body.skin-vector-search-vue .wvui-typeahead-suggestion__thumbnail{ width: 36px; height: 36px; } body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail:not(.wvui-typeahead-search--auto-expand-width), body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--auto-expand-width.wvui-typeahead-search--focused{ margin-left:10px; width:460px; box-sizing:border-box; } body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail:not(.wvui-typeahead-search--auto-expand-width) .wvui-input__start-icon, body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--auto-expand-width.wvui-typeahead-search--focused .wvui-input__start-icon{ left:13px; width:37px; } body.skin-vector-search-vue .wvui-input, body.skin-vector-search-vue .vector-search-box, body.skin-vector-search-vue .wvui-typeahead-suggestion__title, body.skin-vector-search-vue .wvui-typeahead-search__wrapper, body.skin-vector-search-vue .vector-search-box-vue .vector-search-box-input, body.skin-vector-search-vue .wvui-input__input, body.skin-vector-search-vue .wvui-typeahead-search, body.skin-vector-search-vue .wvui-typeahead-search__form, body.skin-vector-search-vue #p-search #searchform #simpleSearch{ font-size:calc( 14px * 1.042 ); line-height:1.2em; height:30px; min-height:30px; box-sizing:border-box; } body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail:not(.wvui-typeahead-search--active) .wvui-input, body.skin-vector-search-vue .vector-search-box, body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail:not(.wvui-typeahead-search--active) .wvui-typeahead-suggestion__title, body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail:not(.wvui-typeahead-search--active) .wvui-typeahead-search__wrapper, body.skin-vector-search-vue .vector-search-box-vue .wvui-typeahead-search--show-thumbnail:not(.wvui-typeahead-search--active) .vector-search-box-input, body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail:not(.wvui-typeahead-search--active) .wvui-input__input, body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail:not(.wvui-typeahead-search--active) .wvui-typeahead-search, body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail:not(.wvui-typeahead-search--active) .wvui-typeahead-search__form, body.skin-vector-search-vue #p-search #searchform #simpleSearch{ width:460px; } body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--active .wvui-input, body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--active .wvui-typeahead-suggestion__title, body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--active .wvui-typeahead-search__wrapper, body.skin-vector-search-vue .vector-search-box-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--active .vector-search-box-input, body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--active .wvui-input__input, body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--active .wvui-typeahead-search, body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--active .wvui-typeahead-search__form{ width:calc( 460px - 64px); } body.skin-vector-search-vue .wvui-button{ font-size:calc( 14px * 1.042 ); line-height:1.2em; height:30px; min-height:30px; width:64px; border-left:0; box-sizing:border-box; } body.skin-vector-search-vue .mw-header #p-search #searchform #simpleSearch{ margin-left:10px; width:460px; box-sizing:border-box; } body.skin-vector-search-vue .wvui-typeahead-search__wrapper{ margin-right:0; } body.skin-vector-search-vue .wvui-typeahead-suggestion__title{ display: table-cell; vertical-align: middle; } .client-js body.skin-vector-search-vue .vector-search-box-show-thumbnail.vector-search-box-auto-expand-width .vector-search-box-input, .client-js .vector-search-box-vue .vector-search-box-show-thumbnail.vector-search-box-auto-expand-width .vector-search-box-input{ margin-left:0; box-sizing:border-box; width:460px; } .client-js body.skin-vector-search-vue .vector-search-box-show-thumbnail.vector-search-box-auto-expand-width .searchButton, .client-js .vector-search-box-vue .vector-search-box-show-thumbnail.vector-search-box-auto-expand-width .searchButton{ left:0; } body.skin-vector-search-vue .mw-header .vector-search-box.vector-search-box-auto-expand-width{ margin-left:10px; } body.skin-vector-search-vue .mw-header .vector-search-box.vector-search-box-auto-expand-width > div{ width:460px; box-sizing:border-box; } body.skin-vector-search-vue .vector-search-box-vue .searchButton{ background-size: 20px auto; } .client-js body.skin-vector-search-vue .vector-search-box-input, .client-js .vector-search-box-vue .vector-search-box-input{ padding-left:36px; padding-right:8px; } body.skin-vector-search-vue .wvui-input--has-start-icon .wvui-input__input{ padding-left:36px; padding-right:8px; } body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--auto-expand-width:not(.wvui-typeahead-search--focused) .wvui-input__input { border-right-color: #a2a9b1; width:460px; box-sizing:border-box; } body.skin-vector-search-vue .wvui-typeahead-search .wvui-input__input{ border-right-color: #a2a9b1; } body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--auto-expand-width:not(.wvui-typeahead-search--focused):not(.wvui-typeahead-search--active) .wvui-input__input { width: 460px; } body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--auto-expand-width:not(.wvui-typeahead-search--focused).wvui-typeahead-search--active .wvui-input__input { width:calc( 460px - 64px ); } body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail:not(.wvui-typeahead-search--auto-expand-width) .wvui-input__input, body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--auto-expand-width.wvui-typeahead-search--focused .wvui-input__input{ position:relative; padding-left: 62px; box-sizing:border-box; } body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail:not(.wvui-typeahead-search--auto-expand-width).wvui-typeahead-search--active .wvui-input__input, body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--auto-expand-width.wvui-typeahead-search--focused.wvui-typeahead-search--active .wvui-input__input{ width:calc( 460px - 64px ); } body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail:not(.wvui-typeahead-search--auto-expand-width):not(.wvui-typeahead-search--active) .wvui-input__input, body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--auto-expand-width.wvui-typeahead-search--focused:not(.wvui-typeahead-search--active) .wvui-input__input{ width:460px; } body.skin-vector-search-vue .wvui-typeahead-search--expanded .wvui-typeahead-search__suggestions{ width:calc( 460px - 64px ); top:30px; box-sizing:border-box; } body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--active .wvui-typeahead-search--expanded .wvui-typeahead-search__suggestions{ width:calc( 460px - 64px ); } body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail:not(.wvui-typeahead-search--active) .wvui-typeahead-search--expanded .wvui-typeahead-search__suggestions{ width:460px; } body.skin-vector-search-vue .mw-header .vector-search-box.vector-search-box-auto-expand-width > div{ max-width:460px; } body.skin-vector-search-vue .mw-logo{ min-width:144px; } body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--auto-expand-width:not(.wvui-typeahead-search--focused):not(.wvui-typeahead-search--active).wvui-typeahead-search--active .wvui-button{ display:block; width:64px; z-index:1; } body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail:not(.wvui-typeahead-search--auto-expand-width).wvui-typeahead-search--active .wvui-button, body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--auto-expand-width.wvui-typeahead-search--focused.wvui-typeahead-search--active .wvui-button{ display:block; width:64px; z-index:1; } body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail:not(.wvui-typeahead-search--active) .wvui-button{ display:none; } body.skin-vector-search-vue .wvui-button{ padding-left:0; padding-right:0; } body.skin-vector-search-vue .mw-ui-icon,.mw-ui-icon-before::before{ font-size:14px; } body.skin-vector-search-vue .mw-sidebar-action{ display:none; } body.skin-vector-search-vue, body.skin-vector-search-vue .mw-editsection{ font-family: Arial, Helvetica, "Free Helvetian", FreeSans, sans-serif; font-stretch:normal; font-variant:normal; font-style:normal; font-weight:normal; font-size-adjust:none; letter-spacing:normal; word-spacing:normal; text-align:left; word-wrap:break-word; hyphens:auto; } body.skin-vector-search-vue{ font-size:calc( 14px * 1.042 ); line-height:1.2em; background-color:#ffffff; } body.skin-vector-search-vue .mw-editsection{ font-size:12px; line-height:1.2em; } body.skin-vector-search-vue.action-view:not(.page-Wikibooks_Strona_główna):not(.ns-special) #contentSub, body.skin-vector-search-vue.action-view:not(.page-Wikibooks_Strona_główna):not(.ns-special) #contentSub ~ #contentSub2{ margin:0; } body.skin-vector-search-vue.action-view.ns-special #contentSub:empty, body.skin-vector-search-vue.action-view.ns-special #contentSub:not(:empty), body.skin-vector-search-vue.action-view.ns-special #contentSub:not(:empty) ~ #contentSub2, body.skin-vector-search-vue.action-view.ns-special #contentSub:empty ~ #contentSub2:not(:empty){ margin:2px 0 3px 0; } body.skin-vector-search-vue.action-view.ns-special #contentSub:empty ~ #contentSub2:empty{ margin:10px 0; } body.skin-vector-search-vue:not(.action-view) #contentSub:empty{ margin:2px 0 3px 0; } body.skin-vector-search-vue:not(.action-view) #contentSub:empty ~ #contentSub2:empty{ margin:10px 0; } body.skin-vector-search-vue:not(.action-view) #contentSub:not(:empty), body.skin-vector-search-vue:not(.action-view) #contentSub:not(:empty) ~ #contentSub2{ margin: 2px 0 2px 0; } body.skin-vector-search-vue:not(.action-view) #contentSub:empty ~ #contentSub2:not(:empty){ margin: 2px 0 3px 0; } body.skin-vector-search-vue.action-view.page-Wikibooks_Strona_główna #contentSub, body.skin-vector-search-vue.action-view.page-Wikibooks_Strona_główna #contentSub2{ margin:0; } body.skin-vector-search-vue.action-edit #contentSub:not(:empty) ~ #mw-content-text > form#editform{ margin-top:0; } body.skin-vector-search-vue.action-view #pwContent, body.skin-vector-search-vue:not(.action-view) #pwContent, body.skin-vector-search-vue.action-view .subpages, body.skin-vector-search-vue:not(.action-view) .subpages{ margin:0; font-size:12px; line-height:1.2em; margin-bottom:6px; } body.skin-vector-search-vue.action-view:not(.page-Wikibooks_Strona_główna) .warningbox, body.skin-vector-search-vue:not(.action-view) .warningbox{ margin:10px 0; } body.skin-vector-search-vue #mw-previewheader{ margin-top:14px; margin-bottom:10px; } body.skin-vector-search-vue .mw-userconfigpublic{ margin-top:8px; } body.skin-vector-search-vue .mw-contributions-user-tools{ margin-bottom:6px; } body.skin-vector-search-vue:not(.action-view) .mw-body, body.skin-vector-search-vue.action-view.ns-special .mw-body{ padding: 8px 0 10px 8px; position:relative; z-index:0; } body.skin-vector-search-vue.action-view.page-Wikibooks_Strona_główna .mw-body, body.skin-vector-search-vue.action-view:not(.ns-special):not(.page-Wikibooks_Strona_główna) .mw-body{ padding: 4px 0 10px 8px; position:relative; z-index:0; } body.skin-vector-search-vue #centralNotice:not(:empty){ margin:10px 8px 8px 8px; } body.skin-vector-search-vue .mw-content-container{ min-width:848px; } body.skin-vector-search-vue #content{ margin-left:0px; min-width:848px; box-sizing:border-box; } body.skin-vector-search-vue #mw-content-text{ clear:both; } body.skin-vector-search-vue #bodyContent{ box-sizing:border-box; min-width:832px; height:auto; clear:both; padding: 0 13px 0 5px; } body.skin-vector-search-vue .mw-table-of-contents-container.sidebar_obecny ~ .mw-content-container #bodyContent{ padding: 0 5px; } body.skin-vector-search-vue .mw-table-of-contents-container.sidebar_obecny ~ .mw-content-container .mw-body-header{ margin-right:3px !important; } body.skin-vector-search-vue.action-view #bodyContent #mw-content-text .mw-container-parser-output, body.skin-vector-search-vue:not(.action-view) #bodyContent #mw-content-text .mw-container-parser-output{ overflow:auto; overflow-x:auto; overflow-y:visible; min-width:822px; box-sizing:border-box; margin-bottom:5px; display:block; height:auto; position:relative; } body.skin-vector-search-vue.action-view #bodyContent #mw-content-text .mw-container-parser-output.has-mw-parser-output-whitespace, body.skin-vector-search-vue:not(.action-view) #bodyContent #mw-content-text .mw-container-parser-output.has-mw-parser-output-whitespace{ margin-bottom:0 !important; } body.skin-vector-search-vue.action-view #bodyContent #mw-content-text .mw-container-parser-output.mw-scrollbar-overflow-x, body.skin-vector-search-vue:not(.action-view) #bodyContent #mw-content-text #wikiPreview .mw-content-ltr .mw-container-parser-output.mw-scrollbar-overflow-x{ padding-bottom:5px; } body.skin-vector-search-vue.action-view #bodyContent #mw-content-text .mw-container-parser-output:not(.mw-scrollbar-overflow-x), body.skin-vector-search-vue:not(.action-view) #bodyContent #mw-content-text #wikiPreview .mw-content-ltr .mw-container-parser-output:not(.mw-scrollbar-overflow-x){ padding-bottom:0; } body.skin-vector-search-vue.action-view #bodyContent #mw-content-text .mw-container-parser-output.mw-scrollbar-overflow-y, body.skin-vector-search-vue:not(.action-view) #bodyContent #mw-content-text #wikiPreview .mw-content-ltr .mw-container-parser-output.mw-scrollbar-overflow-y{ padding-right:5px; } body.skin-vector-search-vue.action-view #bodyContent #mw-content-text:not(.mw-scrollbar-overflow-y), body.skin-vector-search-vue:not(.action-view) #bodyContent #mw-content-text #wikiPreview .mw-content-ltr:not(.mw-scrollbar-overflow-y){ padding-right:0; } body.skin-vector-search-vue.ns-10 #mw-content-text .mw-parser-output > :not(style):not(link):not(#documentation-meta-data):not(.template-documentation) ~ *:first-of-type, body.skin-vector-search-vue.ns-828 #mw-content-text .mw-parser-output > :not(style):not(link):not(#documentation-meta-data):not(.template-documentation) ~ *:first-of-type{ margin-top:5px !important; } body.skin-vector-search-vue #mw-content-text .mw-parser-output > :not(style):not(link):not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(p):first-child{ margin-top:0 !important; } body.skin-vector-search-vue #mw-content-text .mw-parser-output > :not(style):not(link) ~ :not(style):not(link):not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(p):not(.div-linia):first-of-type{ margin-top:5px !important; } body.skin-vector-search-vue #mw-content-text .mw-parser-output > div.div-linia + *{ margin-top:0px !important; } body.skin-vector-search-vue #mw-content-text .mw-parser-output > h1:first-child, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h2:first-child, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h3:first-child, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h4:first-child, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h5:first-child, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h6:first-child, body.skin-vector-search-vue #mw-content-text .mw-parser-output > :not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(p) + h1:first-of-type, body.skin-vector-search-vue #mw-content-text .mw-parser-output > :not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(p) + h2:first-of-type, body.skin-vector-search-vue #mw-content-text .mw-parser-output > :not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(p) + h3:first-of-type, body.skin-vector-search-vue #mw-content-text .mw-parser-output > :not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(p) + h4:first-of-type, body.skin-vector-search-vue #mw-content-text .mw-parser-output > :not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(p) + h5:first-of-type, body.skin-vector-search-vue #mw-content-text .mw-parser-output > :not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(p) + h6:first-of-type{ margin-top:0.5em !important; } body.skin-vector-search-vue #mw-content-text .mw-parser-output > h1 ~ h1, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h1 ~ h2, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h1 ~ h3, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h1 ~ h4, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h1 ~ h5, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h1 ~ h6, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h2 ~ h1, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h2 ~ h2, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h2 ~ h3, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h2 ~ h4, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h2 ~ h5, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h2 ~ h6, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h3 ~ h1, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h3 ~ h2, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h3 ~ h3, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h3 ~ h4, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h3 ~ h5, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h3 ~ h6, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h4 ~ h1, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h4 ~ h2, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h4 ~ h3, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h4 ~ h4, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h4 ~ h5, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h4 ~ h6, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h5 ~ h1, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h5 ~ h2, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h5 ~ h3, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h5 ~ h4, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h5 ~ h5, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h5 ~ h6, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h6 ~ h1, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h6 ~ h2, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h6 ~ h3, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h6 ~ h4, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h6 ~ h5, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h6 ~ h6{ margin-top:0.8em; } body.skin-vector-search-vue .tdg-editscreen-main{ margin-top:9px; margin-bottom:10px; } body.skin-vector-search-vue .mw-specialpage-summary > p:first-child{ margin: 0 0 4px 0; } body.skin-vector-search-vue .mw-rcfilters-head{ margin-bottom:15px; } body.skin-vector-search-vue.mw-special-Watchlist .mw-rcfilters-head{ min-height: 280px; } body.skin-vector-search-vue #bodyContent #mw-content-text .mw-parser-output .template-documentation:first-of-type{ margin-top:0; box-sizing:border-box; } body.skin-vector-search-vue #bodyContent #mw-content-text .mw-parser-output > :not(style):not(link) ~ .template-documentation{ margin-top:10px !important; box-sizing:border-box !important; } body.skin-vector-search-vue .mw-parser-output #documentation-meta-data:not(:last-child){ margin-top:3px !important; margin-bottom:3px !important; } body.skin-vector-search-vue .mw-parser-output #documentation-meta-data:last-child{ margin-top:3px !important; margin-bottom:0 !important; } body.skin-vector-search-vue #bodyContent #mw-content-text .mw-parser-output{ display:table; box-sizing:border-box; position:relative; width:100%; height:auto; margin:0; margin-bottom:5px; border-spacing:0; padding:0; border-collapse:collapse; border:0; } body.skin-vector-search-vue #bodyContent #mw-content-text .mw-container-parser-output > .mw-parser-output{ margin:0; } body.skin-vector-search-vue .catlinks:not(.catlinks-allhidden){ margin: 5px 0; } body.skin-vector-search-vue #mw-content-text .mw-parser-output > p:first-of-type{ margin-top:0.3em; } body.skin-vector-search-vue #mw-content-text .mw-parser-output > :not(p):not(:empty) + p:first-of-type{ margin-top:0.5em; } body.skin-vector-search-vue #mw-content-text .mw-parser-output > :not(p):not(.blank) + p:first-of-type{ margin-top:0.5em; } body.skin-vector-search-vue #mw-content-text .mw-parser-output > :not(p):not(:-moz-only-whitespace) + p:first-of-type{ margin-top:0.5em; } body.skin-vector-search-vue #mw-content-text .mw-parser-output > :not(p):not(:blank) + p:first-of-type{ margin-top:0.5em; } body.skin-vector-search-vue #mw-content-text .mw-parser-output > :not(p).floatleft + p:first-of-type, body.skin-vector-search-vue #mw-content-text .mw-parser-output > :not(p).floatright + p:first-of-type, body.skin-vector-search-vue #mw-content-text .mw-parser-output > :not(p).tleft + p:first-of-type, body.skin-vector-search-vue #mw-content-text .mw-parser-output > :not(p).tright + p:first-of-type{ margin-top:0; } body.skin-vector-search-vue #mw-content-text .mw-parser-output > p:last-child{ margin-bottom:0.3em; } body.skin-vector-search-vue pre{ margin-top:8px; margin-bottom:8px; padding:11px; background-color: #f8f9fa; color: #000; border: 1px solid #eaecf0; box-sizing:border-box; } body.skin-vector-search-vue div.mw-highlight > pre{ margin-top:8px; margin-bottom:8px; } body.ns-828.skin-vector-search-vue.action-view #mw-content-text .mw-parser-output > div.mw-highlight:last-child > pre:last-child{ margin-top:5px; margin-bottom:0; } body.skin-vector-search-vue.action-view #mw-content-text .mw-parser-output > div.mw-highlight:last-child > pre:last-child{ margin-bottom:0; margin-top:5px; } body.ns-828.skin-vector-search-vue:not(.action-view) #mw-content-text .mw-parser-output > div.mw-highlight:last-child > pre:last-child{ margin-top:0px; margin-bottom:0; } body.skin-vector-search-vue:not(.action-view) #mw-content-text .mw-parser-output > div.mw-highlight:last-child > pre:last-child{ margin-bottom:0; margin-top:0; } body.skin-vector-search-vue #mw-content-text .mw-parser-output > div.mw-highlight:only-child > pre:only-child{ margin-bottom:0 !important; margin-top:0 !important; } body.skin-vector-search-vue .oo-ui-panelLayout-padded.oo-ui-panelLayout-framed{ margin:0 0 8px 0; } body.skin-vector-search-vue .mw-body > h1{ margin-bottom:0; } body.skin-vector-search-vue #central-auth-images{ display:none; } body.skin-vector-search-vue .mw-message-box{ margin-top:10px; margin-bottom:10px; } body.skin-vector-search-vue #contentSub:not(:empty) ~ #mw-content-text > .mw-message-box:first-child{ margin-top:6px; margin-bottom:10px; } body.skin-vector-search-vue #contentSub > .mw-message-box{ margin-top:10px; margin-bottom:10px; } body.skin-vector-search-vue #contentSub > .subpages ~ .mw-message-box, body.skin-vector-search-vue #contentSub > #pwContent ~ .mw-message-box{ margin-bottom:10px; margin-top:0; } body.skin-vector-search-vue #wikiPreview.ontop{ margin-bottom:5px; } body.skin-vector-search-vue.skin-vector-disable-max-width #wikiPreview{ max-width:100%; } body.skin-vector-search-vue .previewnote{ margin-bottom:10px; } body.skin-vector-search-vue form#editform{ margin-top:5px; margin-bottom:5px; } body.skin-vector-search-vue #editform::after{ display:block; } body.skin-vector-search-vue .editOptions{ margin-bottom:10px; } body.skin-vector-search-vue .mw-category-generated > #mw-pages > h2, body.skin-vector-search-vue .mw-category-generated > #mw-subcategories > h2, body.skin-vector-search-vue .mw-category-generated > #mw-category-media > h2{ margin-top:15px !important; } body.skin-vector-search-vue .mw-category-generated > #mw-pages:last-child, body.skin-vector-search-vue .mw-category-generated > #mw-subcategories:last-child, body.skin-vector-search-vue .mw-category-generated > #mw-category-media:last-child{ margin-bottom:10px; } body.skin-vector-search-vue .mw-parser-output + .mw-category-generated > p:first-child, body.skin-vector-search-vue .mw-container-parser-output + .mw-category-generated > p:first-child, body.skin-vector-search-vue .noarticletext + .mw-category-generated > p:first-child{ margin-bottom:0; margin-top:0; } body.skin-vector-search-vue .mw-category-generated > *:first-child > h2{ margin-top:15px !important; } body.skin-vector-search-vue .mw-category-generated{ margin-bottom:5px; } body.skin-vector-search-vue .mw-editfooter-list{ margin-bottom:0; } body.skin-vector-search-vue #mw-clearyourcache:first-child > p:first-child{ margin-top:0; } body.skin-vector-search-vue .vector-menu-portal { margin: 0 5px; padding: 0.2em 0 0 0; direction: ltr; } body.skin-vector-search-vue .vector-menu-portal .vector-menu-content{ margin-left: 3px; } body.skin-vector-search-vue #mw-panel nav:first-child .vector-menu-content { margin-left: 0; } body.skin-vector-search-vue .vector-menu-portal .vector-menu-heading{ margin-left:3px; } body.skin-vector-search-vue .mw-undelete-pagetitle > p:first-child{ margin-top:0; } body.skin-vector-search-vue .mw-delete-warning-revisions{ display:block; margin-top:10px; } body.skin-vector-search-vue #p-lang-btn-label{ min-height:25px; padding:5px 25px 3px 5px; } body.skin-vector-search-vue .mw-delete-editreasons + h2, body.skin-vector-search-vue .mw-protect-editreasons + h2{ margin-top:0 !important; } body.skin-vector-search-vue .vector-article-toolbar .mw-article-toolbar-container{ margin-right:0; padding-right:0; } body.skin-vector-search-vue .vector-article-toolbar .mw-article-toolbar-container{ margin-right: 0; padding-right:0; } body.skin-vector-search-vue .vector-article-toolbar .mw-article-toolbar-container #right-navigation{ margin-right:4px; } body.skin-vector-search-vue .vector-article-toolbar .mw-article-toolbar-container #right-navigation{ margin-right: 4px; } body.skin-vector-search-vue .vector-article-toolbar .mw-article-toolbar-container #right-navigation::before{ display: flex; content: ''; width: auto; flex-direction: row; flex: 1 1 auto; box-sizing:border-box; } body.skin-vector-search-vue .vector-article-toolbar .mw-article-toolbar-container #right-navigation .vector-menu-content{ right:0; } body.skin-vector-search-vue .mw-table-of-contents-container{ direction: rtl; align-self:auto; background-color:white; background-image: url('//upload.wikimedia.org/wikipedia/commons/thumb/b/ba/Wikibooks_multicolor_open_book_no_text.svg/200px-Wikibooks_multicolor_open_book_no_text.svg.png'); } body.skin-vector-search-vue .mw-table-of-contents-container:not(:-moz-only-whitespace){ margin-right:8px; margin-left:5px; } body.skin-vector-search-vue .mw-table-of-contents-container.sidebar_obecny{ width:200px; max-height:100%; margin-right:8px; margin-left:5px; box-sizing:border-box; position:static; } body.skin-vector-search-vue .mw-table-of-contents-container .sidebar-toc{ width:200px; direction: rtl; overflow:hidden; margin-right:0; margin-left:0; max-height:calc( 100vh - 59px ); margin-top:0 !important; display:block; } body.skin-vector-search-vue .mw-table-of-contents-container .sidebar-toc .sidebar-toc-contents{ direction:ltr; } body.skin-vector-search-vue .mw-table-of-contents-container.sidebar_obecny .sidebar-toc{ position:absolute; max-width:700px; min-width:200px; display:block; } body.skin-vector-search-vue .mw-table-of-contents-container.sidebar_obecny .sidebar-toc:not(:hover){ width:200px; transition: width 250ms ease-out; transition-property: width; transition-duration: 250ms; transition-timing-function: ease-out; transition-delay: 0s; } body.skin-vector-search-vue .mw-table-of-contents-container.sidebar_obecny .sidebar-toc:not(:hover) .sidebar-toc-level-2{ display:none; } body.skin-vector-search-vue .mw-table-of-contents-container.sidebar_obecny .sidebar-toc:hover{ width:auto; transition: width 250ms ease-out; transition-property: width; transition-duration: 250ms; transition-timing-function: ease-out; transition-delay: 0s; } body.skin-vector-search-vue .mw-article-toolbar-container{ margin-left:0 !important; } body.skin-vector-search-vue .mw-checkbox-hack-checkbox:checked ~ .mw-workspace-container .mw-content-container, body.skin-vector-search-vue .mw-checkbox-hack-checkbox:checked ~ .mw-workspace-container #mw-navigation .mw-article-toolbar-container { margin-left: 0 !important; } body.skin-vector-search-vue .vector-body h1, body.skin-vector-search-vue .vector-body h2, body.skin-vector-search-vue .vector-body h3, body.skin-vector-search-vue .vector-body h4, body.skin-vector-search-vue .vector-body h5, body.skin-vector-search-vue .vector-body h6{ margin-top:0.8em; } body.skin-vector-search-vue .mw-history-subtitle{ margin-bottom:6px; } body.skin-vector-search-vue .printfooter{ display:block; margin: 5px 0; padding:5px; white-space:normal; border: 1px solid #eaecf0; box-sizing:border-box; background-color: white; } .client-js body.skin-vector-search-vue .mw-search-form-wrapper { min-height: 112px; } body.skin-vector-search-vue .noarticletext{ margin-bottom:5px; } body.skin-vector-search-vue .mw-menu-active{ background-color:#E6E6FA; } body.skin-vector-search-vue .mw-menu-inactive{ background-color:#EEE8AA; } body.skin-vector-search-vue .mw-menu-active,body.skin-vector-search-vue .mw-menu-inactive{ padding-left:5px !important; padding-right:5px !important; margin-left:0 !important; display:block; border-radius:5px; border:1px solid #a2a9b1; margin-top:3px; } body.skin-vector-search-vue .mw-items-active{ display:block; border-radius:5px; border:1px solid #a2a9b1; padding: 0 5px; margin-top:2px; } body.skin-vector-search-vue .mw-items-active > ul{ margin-top:0; } body.skin-vector-search-vue .mw-items-inactive{ display:none; } body.skin-vector-search-vue .mw-items-active,body.skin-vector-search-vue .mw-items-inactive{ margin-left:0px !important; } 7cqhw7y0a6l9pfm43290jwh2klqx0wa 435325 435324 2022-07-21T11:14:34Z Persino 2851 css text/css body.skin-vector-search-vue .mw-page-container{ max-width:100%; min-width:988px; padding-left:0; padding-right:0; border-left: 0; border-right: 0; box-sizing:border-box; display:table; width:100%; background-color:white; height:auto; } body.skin-vector-search-vue .mw-content-container{ max-width:100%; box-sizing:border-box; } body.skin-vector-search-vue .mw-logo-container{ margin-left: 10px; margin-right:0; } body.skin-vector-search-vue #p-lang-btn-label{ font-size:14px !important; line-height:1.2em !important; white-space:nowrap; } body.skin-vector-search-vue .mw-indicators{ font-size: calc( 14px * 0.875 ); line-height: 2.0em; white-space:nowrap; margin: auto 0 0 0; } body.skin-vector-search-vue.action-view.page-Wikibooks_Strona_główna #content{ display:grid; grid: 'aa aa aa' auto 'dd dd dd' auto 'bb bb bb' auto 'cc cc cc' auto '.. .. ff' auto 'ee ee ee' auto / minmax(auto,1fr) auto auto } body.skin-vector-search-vue.action-view.page-Wikibooks_Strona_główna #content > #top{ grid-area:aa; } body.skin-vector-search-vue.action-view.page-Wikibooks_Strona_główna #content > #siteNotice{ grid-area:bb; } body.skin-vector-search-vue.action-view.page-Wikibooks_Strona_główna #content > .vector-article-toolbar{ grid-area:dd; margin:0; } body.skin-vector-search-vue.action-view.page-Wikibooks_Strona_główna #content > .mw-body-header{ grid-area:cc; top:0; width:auto !important; height:auto !important; margin:0; margin-right:10px; box-sizing:border-box; border-bottom: 1px solid #a2a9b1; } body.skin-vector-search-vue.action-view.page-Wikibooks_Strona_główna #content > #p-lang-btn{ grid-area:ff; height:20px; width:auto; height:auto; margin-left:auto; top:0; margin: auto 5px 0 5px; padding-bottom:8px; box-sizing:border-box; } body.skin-vector-search-vue.action-view.page-Wikibooks_Strona_główna #content > #bodyContent{ grid-area:ee; } body.skin-vector-search-vue.action-view.page-Wikibooks_Strona_główna #content > .mw-body-header{ display:grid; grid: 'aa bb' auto / minmax(auto,1fr) auto; width:100%; min-height: 46px; box-sizing: border-box; position: relative; } body.skin-vector-search-vue.action-view.page-Wikibooks_Strona_główna #content > .mw-body-header > .firstHeading{ display:block !important; } body.skin-vector-search-vue.action-view.page-Wikibooks_Strona_główna #content > .mw-body-header > .firstHeading:not(:hover){ grid-area:aa; margin-bottom:2px; width:100%; max-width:fit-content; max-width:-moz-fit-content; margin-bottom: 0; margin-top: auto; border-bottom: none; padding-left: 3px; padding-right: 3px; border-bottom: 0; } body.skin-vector-search-vue.action-view.page-Wikibooks_Strona_główna #content > .mw-body-header > .mw-indicators{ grid-area: bb; width: auto; height: 1.6em; margin-bottom: 5px; margin-top: auto; margin-right: 5px; } body.skin-vector-search-vue.action-view:not(.page-Wikibooks_Strona_główna):not(.ns-special) #content > .mw-body-header > .firstHeading > .plainlinks, body.skin-vector-search-vue.action-view.ns-special #content > .mw-body-header > .firstHeading > .plainlinks body.skin-vector-search-vue:not(.action-view) #content > .mw-body-header > .firstHeading > .plainlinks{ padding-bottom:2px; } body.skin-vector-search-vue.action-view:not(.page-Wikibooks_Strona_główna):not(.ns-special) #content > .mw-body-header > #p-lang-btn{ grid-area:bb; right:0; margin:0; height:auto; width:auto; margin-top: auto; margin-bottom:0; padding: 0 3px; box-sizing:border-box; } body.skin-vector-search-vue.action-view:not(.page-Wikibooks_Strona_główna):not(.ns-special) #content > .mw-body-header, body.skin-vector-search-vue.action-view.ns-special #content > .mw-body-header, body.skin-vector-search-vue:not(.action-view) #content > .mw-body-header{ display:grid; grid:'aa bb' auto / minmax(auto,100%) auto; border-bottom:1px solid #a2a9b1; margin-top:auto; margin-bottom:0; min-height:46px; box-sizing:border-box; position:relative; } body.skin-vector-search-vue.action-view:not(.page-Wikibooks_Strona_główna):not(.ns-special) #content > .mw-body-header > .firstHeading:not(:hover), body.skin-vector-search-vue.action-view.ns-special #content > .mw-body-header > .firstHeading:not(:hover), body.skin-vector-search-vue:not(.action-view) #content > .mw-body-header > .firstHeading:not(:hover){ grid-area:aa; width:100%; max-width:fit-content; max-width:-moz-fit-content; margin-bottom:0; margin-top:auto; border-bottom:none; padding-left:3px; padding-right:3px; border-bottom:0; box-sizing:border-box; } body.skin-vector-search-vue.action-view.ns-special #content > .mw-body-header > .mw-indicators, body.skin-vector-search-vue:not(.action-view) #content > .mw-body-header > .mw-indicators{ grid-area:bb; right:0; margin:0; height:auto; width:100%; margin:auto 0 0 auto; padding: 0 10px; box-sizing:border-box; } body.skin-vector-search-vue.action-view.ns-special #content .mw-body-header > .mw-indicators > .mw-indicator, body.skin-vector-search-vue:not(.action-view) #content .mw-body-header > .mw-indicators > .mw-indicator{ padding: 2px 0 2px 0; margin: auto 0 0 0; } body.skin-vector-search-vue.action-view:not(.page-Wikibooks_Strona_główna):not(.ns-special) #content, body.skin-vector-search-vue.action-view.ns-special #content, body.skin-vector-search-vue:not(.action-view) #content{ display:grid; grid:'aa' auto 'cc' auto 'bb' auto 'dd' auto 'ee' auto / auto; width:100%; } body.skin-vector-search-vue.action-view:not(.page-Wikibooks_Strona_główna):not(.ns-special) #content > #top, body.skin-vector-search-vue.action-view.ns-special #content > #top, body.skin-vector-search-vue:not(.action-view) #content > #top{ grid-area:aa; } body.skin-vector-search-vue.action-view:not(.page-Wikibooks_Strona_główna):not(.ns-special) #content > #siteNotice, body.skin-vector-search-vue.action-view.ns-special #content > #siteNotice, body.skin-vector-search-vue:not(.action-view) #content > #siteNotice{ grid-area:bb; } body.skin-vector-search-vue.action-view:not(.page-Wikibooks_Strona_główna):not(.ns-special) #content > .vector-article-toolbar, body.skin-vector-search-vue.action-view.ns-special #content > .vector-article-toolbar, body.skin-vector-search-vue:not(.action-view) #content > .vector-article-toolbar{ grid-area:cc; } body.skin-vector-search-vue .mw-body-header::after{ display:none; } body.skin-vector-search-vue.action-view:not(.page-Wikibooks_Strona_główna):not(.ns-special) #content > .mw-body-header, body.skin-vector-search-vue.action-view.ns-special #content > .mw-body-header, body.skin-vector-search-vue:not(.action-view) #content > .mw-body-header{ grid-area:dd; margin:0; margin-right:10px; width:auto; padding-bottom:0; } body.skin-vector-search-vue .mw-body-subheader{ border-bottom:0; } /*body.skin-vector-search-vue #siteSub,*/ body.skin-vector-search-vue .firstHeading:not(:hover) > .plainlinks{ display:none; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; } body.skin-vector-search-vue .firstHeading:not(:hover){ display:block; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; border-bottom:0; } body.skin-vector-search-vue .firstHeading:hover{ display:block; border:1px solid #eaecf0; border-radius:10px; background-color:white; position:absolute; top:5px; left:-3px; width:auto; padding:5px; z-index:1 !important; } body.skin-vector-search-vue .mw-body-header > .firstHeading:hover > .plainlinks{ display:block; } body.skin-vector-search-vue.action-view:not(.page-Wikibooks_Strona_główna):not(.ns-special) #bodyContent > .mw-body-subheader{ margin: 2px 0 3px 0; min-height:1.6em; } body.skin-vector-search-vue.action-view.ns-special #bodyContent > .mw-body-subheader, body.skin-vector-search-vue:not(.action-view) #bodyContent > .mw-body-subheader{ margin: 0; } body.skin-vector-search-vue.action-view.page-Wikibooks_Strona_główna #bodyContent > .mw-body-subheader{ margin:0; margin-top: -2.0em; font-size: 1.2em; height: 2em; margin-bottom:5px; } body.skin-vector-search-vue.action-view.page-Wikibooks_Strona_główna #bodyContent > .mw-body-subheader > #siteSub{ display:table !important; width:auto; } body.skin-vector-search-vue.action-view:not(.page-Wikibooks_Strona_główna):not(.ns-special) #bodyContent > .mw-body-subheader> .mw-indicators{ margin-left:5px; margin-right:3px; display:block; } body.skin-vector-search-vue.action-view:not(.page-Wikibooks_Strona_główna):not(.ns-special) #bodyContent > .mw-body-subheader> #siteSub{ display:block; } body.skin-vector-search-vue .firstHeading, body.skin-vector-search-vue .firstHeading > .plainlinks{ max-width:100%; width:auto; } body.skin-vector-search-vue.action-view:not(.page-Wikibooks_Strona_główna):not(.ns-special) #content #bodyContent, body.skin-vector-search-vue.action-view.ns-special #content #bodyContent, body.skin-vector-search-vue:not(.action-view) #content #bodyContent{ grid-area:ee; } body.skin-vector-search-vue.skin-vector-disable-max-width .vector-layout-legacy #mw-sidebar-checkbox:checked ~ .mw-workspace-container #mw-navigation .mw-article-toolbar-container, body.skin-vector-search-vue.skin-vector-disable-max-width .vector-layout-legacy #mw-sidebar-checkbox:checked ~ .mw-workspace-container .mw-content-container, body.skin-vector-search-vue:not(.skin-vector-toc-experiment-control):not(.skin-vector-toc-experiment-unsampled) .vector-toc-visible .mw-workspace-container .mw-content-container, body.skin-vector-search-vue:not(.skin-vector-toc-experiment-control):not(.skin-vector-toc-experiment-unsampled) .vector-toc-visible .mw-workspace-container .mw-article-toolbar-container, body.skin-vector-search-vue.vector-toc-enabled .mw-checkbox-hack-checkbox:checked ~ .mw-workspace-container .mw-content-container, body.skin-vector-search-vue.vector-toc-enabled .mw-checkbox-hack-checkbox:checked ~ .mw-workspace-container .mw-article-toolbar-container, body.skin-vector-search-vue.skin-vector-disable-max-width .vector-toc-enabled .vector-layout-legacy #mw-sidebar-checkbox:checked ~ .mw-workspace-container .mw-content-container, body.skin-vector-search-vue:not(.skin-vector-toc-experiment-control):not(.skin-vector-toc-experiment-unsampled) .vector-layout-legacy .vector-toc-visible .mw-workspace-container .mw-content-container, body.skin-vector-search-vue:not(.skin-vector-toc-experiment-control):not(.skin-vector-toc-experiment-unsampled) .vector-layout-legacy .vector-toc-visible #mw-navigation .mw-article-toolbar-container, body.skin-vector-search-vue.vector-toc-enabled .vector-layout-legacy #mw-sidebar-checkbox:checked ~ .mw-workspace-container .mw-content-container, body.skin-vector-search-vue.vector-toc-enabled .vector-layout-legacy #mw-sidebar-checkbox:checked ~ .mw-workspace-container #mw-navigation .mw-article-toolbar-container{ margin-left:0; } /*body.skin-vector-search-vue .mw-workspace-container:not(.mw-footer-container){ display:grid; grid:'aa cc bb' auto / auto minmax(auto,1fr) auto; width:auto; box-sizing:border-box; } body.skin-vector-search-vue .mw-workspace-container:not(.mw-footer-container) > #mw-navigation{ grid-area:aa; width:100%; box-sizing:border-box; } body.skin-vector-search-vue .mw-workspace-container:not(.mw-footer-container) > .mw-table-of-contents-container.mw-sticky-header-element{ grid-area:bb; max-width:200px; display:block; box-sizing:border-box; margin-bottom:16px; z-index:1; }*/ body.skin-vector-search-vue .mw-page-container-inner{ display:grid; grid:'aa aa aa' auto 'bb cc dd' auto 'bb ee ee' auto / auto auto auto; width:auto; box-sizing:border-box; row-gap:0; } body.skin-vector-search-vue .mw-page-container-inner > .mw-header{ grid-area:aa; } body.skin-vector-search-vue .mw-page-container-inner > .vector-sidebar-container{ grid-area:bb; } body.skin-vector-search-vue .mw-page-container-inner > .mw-content-container{ grid-area:cc; } body.skin-vector-search-vue .mw-page-container-inner > .mw-table-of-contents-container{ grid-area:dd; position:relative !important; } body.skin-vector-search-vue .mw-page-container-inner > .mw-footer-container{ grid-area:ee; } /**/ body.skin-vector-search-vue .mw-workspace-container .mw-content-container, body.skin-vector-search-vue .mw-workspace-container .mw-content-container #bodyContent, body.skin-vector-search-vue .mw-workspace-container .mw-content-container #content, body.skin-vector-search-vue .mw-workspace-container .mw-content-container .mw-body-header{ width:100%; box-sizing:border-box; } body.skin-vector-search-vue .mw-article-toolbar-container .mw-portlet-views { display: block; } body.skin-vector-search-vue .mw-article-toolbar-container .vector-more-collapsible-item { display: none; } body.skin-vector-search-vue .sidebar-toc{ left:auto; right:8px; } body.skin-vector-search-vue:not(.vector-below-page-title) .mw-checkbox-hack-checkbox:checked ~ .mw-workspace-container .sidebar-toc{ left:auto; right:8px; } body.skin-vector-search-vue.vector-toc-enabled .mw-checkbox-hack-checkbox:checked ~ .mw-workspace-container .sidebar-toc{ display: block; } body.skin-vector-search-vue.vector-toc-enabled .mw-checkbox-hack-checkbox:checked ~ .mw-workspace-container .sidebar-toc{ display: block; } body.skin-vector-search-vue .mw-checkbox-hack-checkbox:checked ~ .mw-workspace-container #mw-panel, body.skin-vector-search-vue #mw-sidebar-checkbox:checked ~ .mw-workspace-container #mw-panel{ left:-140px; top:-15px; position:absolute; width:140px; box-sizing:border-box; } body.skin-vector-search-vue.vector-toc-enabled .mw-sidebar{ margin-left:0; background-color: white; padding: 12px 0; margin-top:0; } .vector-animations-ready body.skin-vector-search-vue .mw-sidebar{ transition: none; transition-property: none; transition-duration: none; transition-timing-function: none; transition-delay: none; } body.skin-vector-search-vue.vector-toc-enabled #mw-sidebar-checkbox:not(:checked) ~ .mw-workspace-container .mw-sidebar{ display:block; } body.skin-vector-search-vue #mw-sidebar-checkbox:not(:checked) ~ .mw-workspace-container .mw-sidebar{ visibility: visible; opacity: 1; transform: none; } body.skin-vector-search-vue .mw-workspace-container #mw-panel{ left:-140px; top:-15px; position: absolute; float:left; box-sizing:border-box; } body.skin-vector-search-vue .ui-dialog{ font-size:75%; } body.skin-vector-search-vue .mw-body-content .error{ font-size:96%; } body.skin-vector-search-vue.action-purge .firstHeading{ padding-bottom:3px; } body.skin-vector-search-vue .firstHeading .plainlinks{ line-height:1.2em !important; } body.skin-vector-search-vue #mw-panel{ width:140px; box-sizing:border-box; } body.skin-vector-search-vue .mw-sidebar #p-navigation .vector-menu-heading{ display:block; } body.skin-vector-search-vue .mw-workspace-container{ margin-right:0; margin-left:140px; min-width:auto; max-width:100%; box-sizing:border-box; } body.skin-vector-search-vue .mw-checkbox-hack-checkbox:checked ~ .mw-workspace-container{ margin-left:140px; transition: margin-left 250ms ease-out; transition-property: margin-left; transition-duration: 250ms; transition-timing-function: ease-out; transition-delay: 0s; } body.skin-vector-search-vue .mw-checkbox-hack-checkbox:not(:checked) ~ .mw-workspace-container{ margin-left:0; transition: margin-left 250ms ease-out; transition-property: margin-left; transition-duration: 250ms; transition-timing-function: ease-out; transition-delay: 0s; } body.skin-vector-search-vue .mw-article-toolbar-container{ max-width:100%; box-sizing:border-box; position:relative; z-index:1; } body.skin-vector-search-vue .mw-footer-container{ padding-top:0; } body.skin-vector-search-vue .mw-content-container > .mw-body{ margin-left:0; margin-right:0; } body.skin-vector-search-vue .mw-article-toolbar-container > #left-navigation{ margin-left:0; margin-right:0; } body.skin-vector-search-vue .mw-content-container .mw-footer{ margin-left:8px; margin-right:0; padding: 0.75em 5px; } body.skin-vector-search-vue .mw-header { display:flex; flex-direction: row; margin: 8px 5px 0 5px; } body.skin-vector-search-vue .mw-workspace-container #mw-head{ min-width:832px; margin-right:5px; box-sizing:border-box; } body.skin-vector-search-vue .mw-logo-icon{ display:block; } body.skin-vector-search-vue .vector-user-links .vector-user-menu-more .vector-menu-content-list li.user-links-collapsible-item { display: block; } body.skin-vector-search-vue .vector-search-box-collapses > div{ display:block; } body.skin-vector-search-vue a.mw-ui-icon-wikimedia-search{ display:none; } body.skin-vector-search-vue .vector-sticky-header{ height:3.2em; padding: 6px 25px; display:flex; flex-direction:row; min-width:700px; margin-left:auto; margin-right:auto; width:90%; text-align:center; box-sizing:border-box; } @media screen and (max-width: 830px){ body.skin-vector-search-vue .vector-sticky-header{ display: none; } } .client-nojs body.skin-vector-search-vue .vector-sticky-header{ display:none !important; } body.skin-vector-search-vue .wvui-typeahead-suggestion{ padding-top:4px; padding-bottom:4px; text-align:left; } body.skin-vector-search-vue .vector-sticky-header.vector-header-search-toggled{ flex-basis: 460px; box-sizing:border-box; } body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--auto-expand-width:not(.wvui-typeahead-search--focused){ margin-left:10px; width:460px; box-sizing:border-box; } body.skin-vector-search-vue .wvui-typeahead-suggestion__thumbnail-placeholder, body.skin-vector-search-vue .wvui-typeahead-suggestion__thumbnail{ width: 36px; height: 36px; } body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail:not(.wvui-typeahead-search--auto-expand-width), body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--auto-expand-width.wvui-typeahead-search--focused{ margin-left:10px; width:460px; box-sizing:border-box; } body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail:not(.wvui-typeahead-search--auto-expand-width) .wvui-input__start-icon, body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--auto-expand-width.wvui-typeahead-search--focused .wvui-input__start-icon{ left:13px; width:37px; } body.skin-vector-search-vue .wvui-input, body.skin-vector-search-vue .vector-search-box, body.skin-vector-search-vue .wvui-typeahead-suggestion__title, body.skin-vector-search-vue .wvui-typeahead-search__wrapper, body.skin-vector-search-vue .vector-search-box-vue .vector-search-box-input, body.skin-vector-search-vue .wvui-input__input, body.skin-vector-search-vue .wvui-typeahead-search, body.skin-vector-search-vue .wvui-typeahead-search__form, body.skin-vector-search-vue #p-search #searchform #simpleSearch{ font-size:calc( 14px * 1.042 ); line-height:1.2em; height:30px; min-height:30px; box-sizing:border-box; } body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail:not(.wvui-typeahead-search--active) .wvui-input, body.skin-vector-search-vue .vector-search-box, body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail:not(.wvui-typeahead-search--active) .wvui-typeahead-suggestion__title, body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail:not(.wvui-typeahead-search--active) .wvui-typeahead-search__wrapper, body.skin-vector-search-vue .vector-search-box-vue .wvui-typeahead-search--show-thumbnail:not(.wvui-typeahead-search--active) .vector-search-box-input, body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail:not(.wvui-typeahead-search--active) .wvui-input__input, body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail:not(.wvui-typeahead-search--active) .wvui-typeahead-search, body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail:not(.wvui-typeahead-search--active) .wvui-typeahead-search__form, body.skin-vector-search-vue #p-search #searchform #simpleSearch{ width:460px; } body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--active .wvui-input, body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--active .wvui-typeahead-suggestion__title, body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--active .wvui-typeahead-search__wrapper, body.skin-vector-search-vue .vector-search-box-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--active .vector-search-box-input, body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--active .wvui-input__input, body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--active .wvui-typeahead-search, body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--active .wvui-typeahead-search__form{ width:calc( 460px - 64px); } body.skin-vector-search-vue .wvui-button{ font-size:calc( 14px * 1.042 ); line-height:1.2em; height:30px; min-height:30px; width:64px; border-left:0; box-sizing:border-box; } body.skin-vector-search-vue .mw-header #p-search #searchform #simpleSearch{ margin-left:10px; width:460px; box-sizing:border-box; } body.skin-vector-search-vue .wvui-typeahead-search__wrapper{ margin-right:0; } body.skin-vector-search-vue .wvui-typeahead-suggestion__title{ display: table-cell; vertical-align: middle; } .client-js body.skin-vector-search-vue .vector-search-box-show-thumbnail.vector-search-box-auto-expand-width .vector-search-box-input, .client-js .vector-search-box-vue .vector-search-box-show-thumbnail.vector-search-box-auto-expand-width .vector-search-box-input{ margin-left:0; box-sizing:border-box; width:460px; } .client-js body.skin-vector-search-vue .vector-search-box-show-thumbnail.vector-search-box-auto-expand-width .searchButton, .client-js .vector-search-box-vue .vector-search-box-show-thumbnail.vector-search-box-auto-expand-width .searchButton{ left:0; } body.skin-vector-search-vue .mw-header .vector-search-box.vector-search-box-auto-expand-width{ margin-left:10px; } body.skin-vector-search-vue .mw-header .vector-search-box.vector-search-box-auto-expand-width > div{ width:460px; box-sizing:border-box; } body.skin-vector-search-vue .vector-search-box-vue .searchButton{ background-size: 20px auto; } .client-js body.skin-vector-search-vue .vector-search-box-input, .client-js .vector-search-box-vue .vector-search-box-input{ padding-left:36px; padding-right:8px; } body.skin-vector-search-vue .wvui-input--has-start-icon .wvui-input__input{ padding-left:36px; padding-right:8px; } body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--auto-expand-width:not(.wvui-typeahead-search--focused) .wvui-input__input { border-right-color: #a2a9b1; width:460px; box-sizing:border-box; } body.skin-vector-search-vue .wvui-typeahead-search .wvui-input__input{ border-right-color: #a2a9b1; } body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--auto-expand-width:not(.wvui-typeahead-search--focused):not(.wvui-typeahead-search--active) .wvui-input__input { width: 460px; } body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--auto-expand-width:not(.wvui-typeahead-search--focused).wvui-typeahead-search--active .wvui-input__input { width:calc( 460px - 64px ); } body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail:not(.wvui-typeahead-search--auto-expand-width) .wvui-input__input, body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--auto-expand-width.wvui-typeahead-search--focused .wvui-input__input{ position:relative; padding-left: 62px; box-sizing:border-box; } body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail:not(.wvui-typeahead-search--auto-expand-width).wvui-typeahead-search--active .wvui-input__input, body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--auto-expand-width.wvui-typeahead-search--focused.wvui-typeahead-search--active .wvui-input__input{ width:calc( 460px - 64px ); } body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail:not(.wvui-typeahead-search--auto-expand-width):not(.wvui-typeahead-search--active) .wvui-input__input, body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--auto-expand-width.wvui-typeahead-search--focused:not(.wvui-typeahead-search--active) .wvui-input__input{ width:460px; } body.skin-vector-search-vue .wvui-typeahead-search--expanded .wvui-typeahead-search__suggestions{ width:calc( 460px - 64px ); top:30px; box-sizing:border-box; } body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--active .wvui-typeahead-search--expanded .wvui-typeahead-search__suggestions{ width:calc( 460px - 64px ); } body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail:not(.wvui-typeahead-search--active) .wvui-typeahead-search--expanded .wvui-typeahead-search__suggestions{ width:460px; } body.skin-vector-search-vue .mw-header .vector-search-box.vector-search-box-auto-expand-width > div{ max-width:460px; } body.skin-vector-search-vue .mw-logo{ min-width:144px; } body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--auto-expand-width:not(.wvui-typeahead-search--focused):not(.wvui-typeahead-search--active).wvui-typeahead-search--active .wvui-button{ display:block; width:64px; z-index:1; } body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail:not(.wvui-typeahead-search--auto-expand-width).wvui-typeahead-search--active .wvui-button, body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--auto-expand-width.wvui-typeahead-search--focused.wvui-typeahead-search--active .wvui-button{ display:block; width:64px; z-index:1; } body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail:not(.wvui-typeahead-search--active) .wvui-button{ display:none; } body.skin-vector-search-vue .wvui-button{ padding-left:0; padding-right:0; } body.skin-vector-search-vue .mw-ui-icon,.mw-ui-icon-before::before{ font-size:14px; } body.skin-vector-search-vue .mw-sidebar-action{ display:none; } body.skin-vector-search-vue, body.skin-vector-search-vue .mw-editsection{ font-family: Arial, Helvetica, "Free Helvetian", FreeSans, sans-serif; font-stretch:normal; font-variant:normal; font-style:normal; font-weight:normal; font-size-adjust:none; letter-spacing:normal; word-spacing:normal; text-align:left; word-wrap:break-word; hyphens:auto; } body.skin-vector-search-vue{ font-size:calc( 14px * 1.042 ); line-height:1.2em; background-color:#ffffff; } body.skin-vector-search-vue .mw-editsection{ font-size:12px; line-height:1.2em; } body.skin-vector-search-vue.action-view:not(.page-Wikibooks_Strona_główna):not(.ns-special) #contentSub, body.skin-vector-search-vue.action-view:not(.page-Wikibooks_Strona_główna):not(.ns-special) #contentSub ~ #contentSub2{ margin:0; } body.skin-vector-search-vue.action-view.ns-special #contentSub:empty, body.skin-vector-search-vue.action-view.ns-special #contentSub:not(:empty), body.skin-vector-search-vue.action-view.ns-special #contentSub:not(:empty) ~ #contentSub2, body.skin-vector-search-vue.action-view.ns-special #contentSub:empty ~ #contentSub2:not(:empty){ margin:2px 0 3px 0; } body.skin-vector-search-vue.action-view.ns-special #contentSub:empty ~ #contentSub2:empty{ margin:10px 0; } body.skin-vector-search-vue:not(.action-view) #contentSub:empty{ margin:2px 0 3px 0; } body.skin-vector-search-vue:not(.action-view) #contentSub:empty ~ #contentSub2:empty{ margin:10px 0; } body.skin-vector-search-vue:not(.action-view) #contentSub:not(:empty), body.skin-vector-search-vue:not(.action-view) #contentSub:not(:empty) ~ #contentSub2{ margin: 2px 0 2px 0; } body.skin-vector-search-vue:not(.action-view) #contentSub:empty ~ #contentSub2:not(:empty){ margin: 2px 0 3px 0; } body.skin-vector-search-vue.action-view.page-Wikibooks_Strona_główna #contentSub, body.skin-vector-search-vue.action-view.page-Wikibooks_Strona_główna #contentSub2{ margin:0; } body.skin-vector-search-vue.action-edit #contentSub:not(:empty) ~ #mw-content-text > form#editform{ margin-top:0; } body.skin-vector-search-vue.action-view #pwContent, body.skin-vector-search-vue:not(.action-view) #pwContent, body.skin-vector-search-vue.action-view .subpages, body.skin-vector-search-vue:not(.action-view) .subpages{ margin:0; font-size:12px; line-height:1.2em; margin-bottom:6px; } body.skin-vector-search-vue.action-view:not(.page-Wikibooks_Strona_główna) .warningbox, body.skin-vector-search-vue:not(.action-view) .warningbox{ margin:10px 0; } body.skin-vector-search-vue #mw-previewheader{ margin-top:14px; margin-bottom:10px; } body.skin-vector-search-vue .mw-userconfigpublic{ margin-top:8px; } body.skin-vector-search-vue .mw-contributions-user-tools{ margin-bottom:6px; } body.skin-vector-search-vue:not(.action-view) .mw-body, body.skin-vector-search-vue.action-view.ns-special .mw-body{ padding: 8px 0 10px 8px; position:relative; z-index:0; } body.skin-vector-search-vue.action-view.page-Wikibooks_Strona_główna .mw-body, body.skin-vector-search-vue.action-view:not(.ns-special):not(.page-Wikibooks_Strona_główna) .mw-body{ padding: 4px 0 10px 8px; position:relative; z-index:0; } body.skin-vector-search-vue #centralNotice:not(:empty){ margin:10px 8px 8px 8px; } body.skin-vector-search-vue .mw-content-container{ min-width:848px; } body.skin-vector-search-vue #content{ margin-left:0px; min-width:848px; box-sizing:border-box; } body.skin-vector-search-vue #mw-content-text{ clear:both; } body.skin-vector-search-vue #bodyContent{ box-sizing:border-box; min-width:832px; height:auto; clear:both; padding: 0 13px 0 5px; } body.skin-vector-search-vue .mw-table-of-contents-container.sidebar_obecny ~ .mw-content-container #bodyContent{ padding: 0 5px; } body.skin-vector-search-vue .mw-table-of-contents-container.sidebar_obecny ~ .mw-content-container .mw-body-header{ margin-right:3px !important; } body.skin-vector-search-vue.action-view #bodyContent #mw-content-text .mw-container-parser-output, body.skin-vector-search-vue:not(.action-view) #bodyContent #mw-content-text .mw-container-parser-output{ overflow:auto; overflow-x:auto; overflow-y:visible; min-width:822px; box-sizing:border-box; margin-bottom:5px; display:block; height:auto; position:relative; } body.skin-vector-search-vue.action-view #bodyContent #mw-content-text .mw-container-parser-output.has-mw-parser-output-whitespace, body.skin-vector-search-vue:not(.action-view) #bodyContent #mw-content-text .mw-container-parser-output.has-mw-parser-output-whitespace{ margin-bottom:0 !important; } body.skin-vector-search-vue.action-view #bodyContent #mw-content-text .mw-container-parser-output.mw-scrollbar-overflow-x, body.skin-vector-search-vue:not(.action-view) #bodyContent #mw-content-text #wikiPreview .mw-content-ltr .mw-container-parser-output.mw-scrollbar-overflow-x{ padding-bottom:5px; } body.skin-vector-search-vue.action-view #bodyContent #mw-content-text .mw-container-parser-output:not(.mw-scrollbar-overflow-x), body.skin-vector-search-vue:not(.action-view) #bodyContent #mw-content-text #wikiPreview .mw-content-ltr .mw-container-parser-output:not(.mw-scrollbar-overflow-x){ padding-bottom:0; } body.skin-vector-search-vue.action-view #bodyContent #mw-content-text .mw-container-parser-output.mw-scrollbar-overflow-y, body.skin-vector-search-vue:not(.action-view) #bodyContent #mw-content-text #wikiPreview .mw-content-ltr .mw-container-parser-output.mw-scrollbar-overflow-y{ padding-right:5px; } body.skin-vector-search-vue.action-view #bodyContent #mw-content-text:not(.mw-scrollbar-overflow-y), body.skin-vector-search-vue:not(.action-view) #bodyContent #mw-content-text #wikiPreview .mw-content-ltr:not(.mw-scrollbar-overflow-y){ padding-right:0; } body.skin-vector-search-vue.ns-10 #mw-content-text .mw-parser-output > :not(style):not(link):not(#documentation-meta-data):not(.template-documentation) ~ *:first-of-type, body.skin-vector-search-vue.ns-828 #mw-content-text .mw-parser-output > :not(style):not(link):not(#documentation-meta-data):not(.template-documentation) ~ *:first-of-type{ margin-top:5px !important; } body.skin-vector-search-vue #mw-content-text .mw-parser-output > :not(style):not(link):not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(p):first-child{ margin-top:0 !important; } body.skin-vector-search-vue #mw-content-text .mw-parser-output > :not(style):not(link) ~ :not(style):not(link):not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(p):not(.div-linia):first-of-type{ margin-top:5px !important; } body.skin-vector-search-vue #mw-content-text .mw-parser-output > div.div-linia + *{ margin-top:0px !important; } body.skin-vector-search-vue #mw-content-text .mw-parser-output > h1:first-child, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h2:first-child, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h3:first-child, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h4:first-child, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h5:first-child, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h6:first-child, body.skin-vector-search-vue #mw-content-text .mw-parser-output > :not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(p) + h1:first-of-type, body.skin-vector-search-vue #mw-content-text .mw-parser-output > :not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(p) + h2:first-of-type, body.skin-vector-search-vue #mw-content-text .mw-parser-output > :not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(p) + h3:first-of-type, body.skin-vector-search-vue #mw-content-text .mw-parser-output > :not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(p) + h4:first-of-type, body.skin-vector-search-vue #mw-content-text .mw-parser-output > :not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(p) + h5:first-of-type, body.skin-vector-search-vue #mw-content-text .mw-parser-output > :not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(p) + h6:first-of-type{ margin-top:0.5em !important; } body.skin-vector-search-vue #mw-content-text .mw-parser-output > h1 ~ h1, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h1 ~ h2, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h1 ~ h3, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h1 ~ h4, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h1 ~ h5, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h1 ~ h6, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h2 ~ h1, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h2 ~ h2, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h2 ~ h3, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h2 ~ h4, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h2 ~ h5, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h2 ~ h6, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h3 ~ h1, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h3 ~ h2, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h3 ~ h3, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h3 ~ h4, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h3 ~ h5, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h3 ~ h6, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h4 ~ h1, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h4 ~ h2, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h4 ~ h3, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h4 ~ h4, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h4 ~ h5, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h4 ~ h6, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h5 ~ h1, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h5 ~ h2, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h5 ~ h3, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h5 ~ h4, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h5 ~ h5, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h5 ~ h6, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h6 ~ h1, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h6 ~ h2, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h6 ~ h3, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h6 ~ h4, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h6 ~ h5, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h6 ~ h6{ margin-top:0.8em; } body.skin-vector-search-vue .tdg-editscreen-main{ margin-top:9px; margin-bottom:10px; } body.skin-vector-search-vue .mw-specialpage-summary > p:first-child{ margin: 0 0 4px 0; } body.skin-vector-search-vue .mw-rcfilters-head{ margin-bottom:15px; } body.skin-vector-search-vue.mw-special-Watchlist .mw-rcfilters-head{ min-height: 280px; } body.skin-vector-search-vue #bodyContent #mw-content-text .mw-parser-output .template-documentation:first-of-type{ margin-top:0; box-sizing:border-box; } body.skin-vector-search-vue #bodyContent #mw-content-text .mw-parser-output > :not(style):not(link) ~ .template-documentation{ margin-top:10px !important; box-sizing:border-box !important; } body.skin-vector-search-vue .mw-parser-output #documentation-meta-data:not(:last-child){ margin-top:3px !important; margin-bottom:3px !important; } body.skin-vector-search-vue .mw-parser-output #documentation-meta-data:last-child{ margin-top:3px !important; margin-bottom:0 !important; } body.skin-vector-search-vue #bodyContent #mw-content-text .mw-parser-output{ display:table; box-sizing:border-box; position:relative; width:100%; height:auto; margin:0; margin-bottom:5px; border-spacing:0; padding:0; border-collapse:collapse; border:0; } body.skin-vector-search-vue #bodyContent #mw-content-text .mw-container-parser-output > .mw-parser-output{ margin:0; } body.skin-vector-search-vue .catlinks:not(.catlinks-allhidden){ margin: 5px 0; } body.skin-vector-search-vue #mw-content-text .mw-parser-output > p:first-of-type{ margin-top:0.3em; } body.skin-vector-search-vue #mw-content-text .mw-parser-output > :not(p):not(:empty) + p:first-of-type{ margin-top:0.5em; } body.skin-vector-search-vue #mw-content-text .mw-parser-output > :not(p):not(.blank) + p:first-of-type{ margin-top:0.5em; } body.skin-vector-search-vue #mw-content-text .mw-parser-output > :not(p):not(:-moz-only-whitespace) + p:first-of-type{ margin-top:0.5em; } body.skin-vector-search-vue #mw-content-text .mw-parser-output > :not(p):not(:blank) + p:first-of-type{ margin-top:0.5em; } body.skin-vector-search-vue #mw-content-text .mw-parser-output > :not(p).floatleft + p:first-of-type, body.skin-vector-search-vue #mw-content-text .mw-parser-output > :not(p).floatright + p:first-of-type, body.skin-vector-search-vue #mw-content-text .mw-parser-output > :not(p).tleft + p:first-of-type, body.skin-vector-search-vue #mw-content-text .mw-parser-output > :not(p).tright + p:first-of-type{ margin-top:0; } body.skin-vector-search-vue #mw-content-text .mw-parser-output > p:last-child{ margin-bottom:0.3em; } body.skin-vector-search-vue pre{ margin-top:8px; margin-bottom:8px; padding:11px; background-color: #f8f9fa; color: #000; border: 1px solid #eaecf0; box-sizing:border-box; } body.skin-vector-search-vue div.mw-highlight > pre{ margin-top:8px; margin-bottom:8px; } body.ns-828.skin-vector-search-vue.action-view #mw-content-text .mw-parser-output > div.mw-highlight:last-child > pre:last-child{ margin-top:5px; margin-bottom:0; } body.skin-vector-search-vue.action-view #mw-content-text .mw-parser-output > div.mw-highlight:last-child > pre:last-child{ margin-bottom:0; margin-top:5px; } body.ns-828.skin-vector-search-vue:not(.action-view) #mw-content-text .mw-parser-output > div.mw-highlight:last-child > pre:last-child{ margin-top:0px; margin-bottom:0; } body.skin-vector-search-vue:not(.action-view) #mw-content-text .mw-parser-output > div.mw-highlight:last-child > pre:last-child{ margin-bottom:0; margin-top:0; } body.skin-vector-search-vue #mw-content-text .mw-parser-output > div.mw-highlight:only-child > pre:only-child{ margin-bottom:0 !important; margin-top:0 !important; } body.skin-vector-search-vue .oo-ui-panelLayout-padded.oo-ui-panelLayout-framed{ margin:0 0 8px 0; } body.skin-vector-search-vue .mw-body > h1{ margin-bottom:0; } body.skin-vector-search-vue #central-auth-images{ display:none; } body.skin-vector-search-vue .mw-message-box{ margin-top:10px; margin-bottom:10px; } body.skin-vector-search-vue #contentSub:not(:empty) ~ #mw-content-text > .mw-message-box:first-child{ margin-top:6px; margin-bottom:10px; } body.skin-vector-search-vue #contentSub > .mw-message-box{ margin-top:10px; margin-bottom:10px; } body.skin-vector-search-vue #contentSub > .subpages ~ .mw-message-box, body.skin-vector-search-vue #contentSub > #pwContent ~ .mw-message-box{ margin-bottom:10px; margin-top:0; } body.skin-vector-search-vue #wikiPreview.ontop{ margin-bottom:5px; } body.skin-vector-search-vue.skin-vector-disable-max-width #wikiPreview{ max-width:100%; } body.skin-vector-search-vue .previewnote{ margin-bottom:10px; } body.skin-vector-search-vue form#editform{ margin-top:5px; margin-bottom:5px; } body.skin-vector-search-vue #editform::after{ display:block; } body.skin-vector-search-vue .editOptions{ margin-bottom:10px; } body.skin-vector-search-vue .mw-category-generated > #mw-pages > h2, body.skin-vector-search-vue .mw-category-generated > #mw-subcategories > h2, body.skin-vector-search-vue .mw-category-generated > #mw-category-media > h2{ margin-top:15px !important; } body.skin-vector-search-vue .mw-category-generated > #mw-pages:last-child, body.skin-vector-search-vue .mw-category-generated > #mw-subcategories:last-child, body.skin-vector-search-vue .mw-category-generated > #mw-category-media:last-child{ margin-bottom:10px; } body.skin-vector-search-vue .mw-parser-output + .mw-category-generated > p:first-child, body.skin-vector-search-vue .mw-container-parser-output + .mw-category-generated > p:first-child, body.skin-vector-search-vue .noarticletext + .mw-category-generated > p:first-child{ margin-bottom:0; margin-top:0; } body.skin-vector-search-vue .mw-category-generated > *:first-child > h2{ margin-top:15px !important; } body.skin-vector-search-vue .mw-category-generated{ margin-bottom:5px; } body.skin-vector-search-vue .mw-editfooter-list{ margin-bottom:0; } body.skin-vector-search-vue #mw-clearyourcache:first-child > p:first-child{ margin-top:0; } body.skin-vector-search-vue .vector-menu-portal { margin: 0 5px; padding: 0.2em 0 0 0; direction: ltr; } body.skin-vector-search-vue .vector-menu-portal .vector-menu-content{ margin-left: 3px; } body.skin-vector-search-vue #mw-panel nav:first-child .vector-menu-content { margin-left: 0; } body.skin-vector-search-vue .vector-menu-portal .vector-menu-heading{ margin-left:3px; } body.skin-vector-search-vue .mw-undelete-pagetitle > p:first-child{ margin-top:0; } body.skin-vector-search-vue .mw-delete-warning-revisions{ display:block; margin-top:10px; } body.skin-vector-search-vue #p-lang-btn-label{ min-height:25px; padding:5px 25px 3px 5px; } body.skin-vector-search-vue .mw-delete-editreasons + h2, body.skin-vector-search-vue .mw-protect-editreasons + h2{ margin-top:0 !important; } body.skin-vector-search-vue .vector-article-toolbar .mw-article-toolbar-container{ margin-right:0; padding-right:0; } body.skin-vector-search-vue .vector-article-toolbar .mw-article-toolbar-container{ margin-right: 0; padding-right:0; } body.skin-vector-search-vue .vector-article-toolbar .mw-article-toolbar-container #right-navigation{ margin-right:4px; } body.skin-vector-search-vue .vector-article-toolbar .mw-article-toolbar-container #right-navigation{ margin-right: 4px; } body.skin-vector-search-vue .vector-article-toolbar .mw-article-toolbar-container #right-navigation::before{ display: flex; content: ''; width: auto; flex-direction: row; flex: 1 1 auto; box-sizing:border-box; } body.skin-vector-search-vue .vector-article-toolbar .mw-article-toolbar-container #right-navigation .vector-menu-content{ right:0; } body.skin-vector-search-vue .mw-table-of-contents-container{ direction: rtl; align-self:auto; background-color:white; background-image: url('//upload.wikimedia.org/wikipedia/commons/thumb/b/ba/Wikibooks_multicolor_open_book_no_text.svg/200px-Wikibooks_multicolor_open_book_no_text.svg.png'); } body.skin-vector-search-vue .mw-table-of-contents-container:not(:-moz-only-whitespace){ margin-right:8px; margin-left:5px; } body.skin-vector-search-vue .mw-table-of-contents-container.sidebar_obecny{ width:200px; max-height:100%; margin-right:8px; margin-left:5px; box-sizing:border-box; position:static; } body.skin-vector-search-vue .mw-table-of-contents-container .sidebar-toc{ width:200px; direction: rtl; overflow:hidden; margin-right:0; margin-left:0; max-height:calc( 100vh - 59px ); margin-top:0 !important; display:block; } body.skin-vector-search-vue .mw-table-of-contents-container .sidebar-toc .sidebar-toc-contents{ direction:ltr; } body.skin-vector-search-vue .mw-table-of-contents-container.sidebar_obecny .sidebar-toc{ position:absolute; max-width:700px; min-width:200px; display:block; } body.skin-vector-search-vue .mw-table-of-contents-container.sidebar_obecny .sidebar-toc:not(:hover){ width:200px; transition: width 250ms ease-out; transition-property: width; transition-duration: 250ms; transition-timing-function: ease-out; transition-delay: 0s; } body.skin-vector-search-vue .mw-table-of-contents-container.sidebar_obecny .sidebar-toc:not(:hover) .sidebar-toc-level-2{ display:none; } body.skin-vector-search-vue .mw-table-of-contents-container.sidebar_obecny .sidebar-toc:hover{ width:auto; transition: width 250ms ease-out; transition-property: width; transition-duration: 250ms; transition-timing-function: ease-out; transition-delay: 0s; } body.skin-vector-search-vue .mw-article-toolbar-container{ margin-left:0 !important; } body.skin-vector-search-vue .mw-checkbox-hack-checkbox:checked ~ .mw-workspace-container .mw-content-container, body.skin-vector-search-vue .mw-checkbox-hack-checkbox:checked ~ .mw-workspace-container #mw-navigation .mw-article-toolbar-container { margin-left: 0 !important; } body.skin-vector-search-vue .vector-body h1, body.skin-vector-search-vue .vector-body h2, body.skin-vector-search-vue .vector-body h3, body.skin-vector-search-vue .vector-body h4, body.skin-vector-search-vue .vector-body h5, body.skin-vector-search-vue .vector-body h6{ margin-top:0.8em; } body.skin-vector-search-vue .mw-history-subtitle{ margin-bottom:6px; } body.skin-vector-search-vue .printfooter{ display:block; margin: 5px 0; padding:5px; white-space:normal; border: 1px solid #eaecf0; box-sizing:border-box; background-color: white; } .client-js body.skin-vector-search-vue .mw-search-form-wrapper { min-height: 112px; } body.skin-vector-search-vue .noarticletext{ margin-bottom:5px; } body.skin-vector-search-vue .mw-menu-active{ background-color:#E6E6FA; } body.skin-vector-search-vue .mw-menu-inactive{ background-color:#EEE8AA; } body.skin-vector-search-vue .mw-menu-active,body.skin-vector-search-vue .mw-menu-inactive{ padding-left:5px !important; padding-right:5px !important; margin-left:0 !important; display:block; border-radius:5px; border:1px solid #a2a9b1; margin-top:3px; } body.skin-vector-search-vue .mw-items-active{ display:block; border-radius:5px; border:1px solid #a2a9b1; padding: 0 5px; margin-top:2px; } body.skin-vector-search-vue .mw-items-active > ul{ margin-top:0; } body.skin-vector-search-vue .mw-items-inactive{ display:none; } body.skin-vector-search-vue .mw-items-active,body.skin-vector-search-vue .mw-items-inactive{ margin-left:0px !important; } 0upw1c3qowyzi13gg14gl05h31wkkzo 435326 435325 2022-07-21T11:17:44Z Persino 2851 css text/css body.skin-vector-search-vue .mw-page-container{ max-width:100%; min-width:988px; padding-left:0; padding-right:0; border-left: 0; border-right: 0; box-sizing:border-box; display:table; width:100%; background-color:white; height:auto; } body.skin-vector-search-vue .mw-content-container{ max-width:100%; box-sizing:border-box; } body.skin-vector-search-vue .mw-logo-container{ margin-left: 10px; margin-right:0; } body.skin-vector-search-vue #p-lang-btn-label{ font-size:14px !important; line-height:1.2em !important; white-space:nowrap; } body.skin-vector-search-vue .mw-indicators{ font-size: calc( 14px * 0.875 ); line-height: 2.0em; white-space:nowrap; margin: auto 0 0 0; } body.skin-vector-search-vue.action-view.page-Wikibooks_Strona_główna #content{ display:grid; grid: 'aa aa aa' auto 'dd dd dd' auto 'bb bb bb' auto 'cc cc cc' auto '.. .. ff' auto 'ee ee ee' auto / minmax(auto,1fr) auto auto } body.skin-vector-search-vue.action-view.page-Wikibooks_Strona_główna #content > #top{ grid-area:aa; } body.skin-vector-search-vue.action-view.page-Wikibooks_Strona_główna #content > #siteNotice{ grid-area:bb; } body.skin-vector-search-vue.action-view.page-Wikibooks_Strona_główna #content > .vector-article-toolbar{ grid-area:dd; margin:0; } body.skin-vector-search-vue.action-view.page-Wikibooks_Strona_główna #content > .mw-body-header{ grid-area:cc; top:0; width:auto !important; height:auto !important; margin:0; margin-right:10px; box-sizing:border-box; border-bottom: 1px solid #a2a9b1; } body.skin-vector-search-vue.action-view.page-Wikibooks_Strona_główna #content > #p-lang-btn{ grid-area:ff; height:20px; width:auto; height:auto; margin-left:auto; top:0; margin: auto 5px 0 5px; padding-bottom:8px; box-sizing:border-box; } body.skin-vector-search-vue.action-view.page-Wikibooks_Strona_główna #content > #bodyContent{ grid-area:ee; } body.skin-vector-search-vue.action-view.page-Wikibooks_Strona_główna #content > .mw-body-header{ display:grid; grid: 'aa bb' auto / minmax(auto,1fr) auto; width:100%; min-height: 46px; box-sizing: border-box; position: relative; } body.skin-vector-search-vue.action-view.page-Wikibooks_Strona_główna #content > .mw-body-header > .firstHeading{ display:block !important; } body.skin-vector-search-vue.action-view.page-Wikibooks_Strona_główna #content > .mw-body-header > .firstHeading:not(:hover){ grid-area:aa; margin-bottom:2px; width:100%; max-width:fit-content; max-width:-moz-fit-content; margin-bottom: 0; margin-top: auto; border-bottom: none; padding-left: 3px; padding-right: 3px; border-bottom: 0; } body.skin-vector-search-vue.action-view.page-Wikibooks_Strona_główna #content > .mw-body-header > .mw-indicators{ grid-area: bb; width: auto; height: 1.6em; margin-bottom: 5px; margin-top: auto; margin-right: 5px; } body.skin-vector-search-vue.action-view:not(.page-Wikibooks_Strona_główna):not(.ns-special) #content > .mw-body-header > .firstHeading > .plainlinks, body.skin-vector-search-vue.action-view.ns-special #content > .mw-body-header > .firstHeading > .plainlinks body.skin-vector-search-vue:not(.action-view) #content > .mw-body-header > .firstHeading > .plainlinks{ padding-bottom:2px; } body.skin-vector-search-vue.action-view:not(.page-Wikibooks_Strona_główna):not(.ns-special) #content > .mw-body-header > #p-lang-btn{ grid-area:bb; right:0; margin:0; height:auto; width:auto; margin-top: auto; margin-bottom:0; padding: 0 3px; box-sizing:border-box; } body.skin-vector-search-vue.action-view:not(.page-Wikibooks_Strona_główna):not(.ns-special) #content > .mw-body-header, body.skin-vector-search-vue.action-view.ns-special #content > .mw-body-header, body.skin-vector-search-vue:not(.action-view) #content > .mw-body-header{ display:grid; grid:'aa bb' auto / minmax(auto,100%) auto; border-bottom:1px solid #a2a9b1; margin-top:auto; margin-bottom:0; min-height:46px; box-sizing:border-box; position:relative; } body.skin-vector-search-vue.action-view:not(.page-Wikibooks_Strona_główna):not(.ns-special) #content > .mw-body-header > .firstHeading:not(:hover), body.skin-vector-search-vue.action-view.ns-special #content > .mw-body-header > .firstHeading:not(:hover), body.skin-vector-search-vue:not(.action-view) #content > .mw-body-header > .firstHeading:not(:hover){ grid-area:aa; width:100%; max-width:fit-content; max-width:-moz-fit-content; margin-bottom:0; margin-top:auto; border-bottom:none; padding-left:3px; padding-right:3px; border-bottom:0; box-sizing:border-box; } body.skin-vector-search-vue.action-view.ns-special #content > .mw-body-header > .mw-indicators, body.skin-vector-search-vue:not(.action-view) #content > .mw-body-header > .mw-indicators{ grid-area:bb; right:0; margin:0; height:auto; width:100%; margin:auto 0 0 auto; padding: 0 10px; box-sizing:border-box; } body.skin-vector-search-vue.action-view.ns-special #content .mw-body-header > .mw-indicators > .mw-indicator, body.skin-vector-search-vue:not(.action-view) #content .mw-body-header > .mw-indicators > .mw-indicator{ padding: 2px 0 2px 0; margin: auto 0 0 0; } body.skin-vector-search-vue.action-view:not(.page-Wikibooks_Strona_główna):not(.ns-special) #content, body.skin-vector-search-vue.action-view.ns-special #content, body.skin-vector-search-vue:not(.action-view) #content{ display:grid; grid:'aa' auto 'cc' auto 'bb' auto 'dd' auto 'ee' auto / auto; width:100%; } body.skin-vector-search-vue.action-view:not(.page-Wikibooks_Strona_główna):not(.ns-special) #content > #top, body.skin-vector-search-vue.action-view.ns-special #content > #top, body.skin-vector-search-vue:not(.action-view) #content > #top{ grid-area:aa; } body.skin-vector-search-vue.action-view:not(.page-Wikibooks_Strona_główna):not(.ns-special) #content > #siteNotice, body.skin-vector-search-vue.action-view.ns-special #content > #siteNotice, body.skin-vector-search-vue:not(.action-view) #content > #siteNotice{ grid-area:bb; } body.skin-vector-search-vue.action-view:not(.page-Wikibooks_Strona_główna):not(.ns-special) #content > .vector-article-toolbar, body.skin-vector-search-vue.action-view.ns-special #content > .vector-article-toolbar, body.skin-vector-search-vue:not(.action-view) #content > .vector-article-toolbar{ grid-area:cc; } body.skin-vector-search-vue .mw-body-header::after{ display:none; } body.skin-vector-search-vue.action-view:not(.page-Wikibooks_Strona_główna):not(.ns-special) #content > .mw-body-header, body.skin-vector-search-vue.action-view.ns-special #content > .mw-body-header, body.skin-vector-search-vue:not(.action-view) #content > .mw-body-header{ grid-area:dd; margin:0; margin-right:10px; width:auto; padding-bottom:0; } body.skin-vector-search-vue .mw-body-subheader{ border-bottom:0; } /*body.skin-vector-search-vue #siteSub,*/ body.skin-vector-search-vue .firstHeading:not(:hover) > .plainlinks{ display:none; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; } body.skin-vector-search-vue .firstHeading:not(:hover){ display:block; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; border-bottom:0; } body.skin-vector-search-vue .firstHeading:hover{ display:block; border:1px solid #eaecf0; border-radius:10px; background-color:white; position:absolute; top:5px; left:-3px; width:auto; padding:5px; z-index:1 !important; } body.skin-vector-search-vue .mw-body-header > .firstHeading:hover > .plainlinks{ display:block; } body.skin-vector-search-vue.action-view:not(.page-Wikibooks_Strona_główna):not(.ns-special) #bodyContent > .mw-body-subheader{ margin: 2px 0 3px 0; min-height:1.6em; } body.skin-vector-search-vue.action-view.ns-special #bodyContent > .mw-body-subheader, body.skin-vector-search-vue:not(.action-view) #bodyContent > .mw-body-subheader{ margin: 0; } body.skin-vector-search-vue.action-view.page-Wikibooks_Strona_główna #bodyContent > .mw-body-subheader{ margin:0; margin-top: -2.0em; font-size: 1.2em; height: 2em; margin-bottom:5px; } body.skin-vector-search-vue.action-view.page-Wikibooks_Strona_główna #bodyContent > .mw-body-subheader > #siteSub{ display:table !important; width:auto; } body.skin-vector-search-vue.action-view:not(.page-Wikibooks_Strona_główna):not(.ns-special) #bodyContent > .mw-body-subheader> .mw-indicators{ margin-left:5px; margin-right:3px; display:block; } body.skin-vector-search-vue.action-view:not(.page-Wikibooks_Strona_główna):not(.ns-special) #bodyContent > .mw-body-subheader> #siteSub{ display:block; } body.skin-vector-search-vue .firstHeading, body.skin-vector-search-vue .firstHeading > .plainlinks{ max-width:100%; width:auto; } body.skin-vector-search-vue.action-view:not(.page-Wikibooks_Strona_główna):not(.ns-special) #content #bodyContent, body.skin-vector-search-vue.action-view.ns-special #content #bodyContent, body.skin-vector-search-vue:not(.action-view) #content #bodyContent{ grid-area:ee; } body.skin-vector-search-vue.skin-vector-disable-max-width .vector-layout-legacy #mw-sidebar-checkbox:checked ~ .mw-workspace-container #mw-navigation .mw-article-toolbar-container, body.skin-vector-search-vue.skin-vector-disable-max-width .vector-layout-legacy #mw-sidebar-checkbox:checked ~ .mw-workspace-container .mw-content-container, body.skin-vector-search-vue:not(.skin-vector-toc-experiment-control):not(.skin-vector-toc-experiment-unsampled) .vector-toc-visible .mw-workspace-container .mw-content-container, body.skin-vector-search-vue:not(.skin-vector-toc-experiment-control):not(.skin-vector-toc-experiment-unsampled) .vector-toc-visible .mw-workspace-container .mw-article-toolbar-container, body.skin-vector-search-vue.vector-toc-enabled .mw-checkbox-hack-checkbox:checked ~ .mw-workspace-container .mw-content-container, body.skin-vector-search-vue.vector-toc-enabled .mw-checkbox-hack-checkbox:checked ~ .mw-workspace-container .mw-article-toolbar-container, body.skin-vector-search-vue.skin-vector-disable-max-width .vector-toc-enabled .vector-layout-legacy #mw-sidebar-checkbox:checked ~ .mw-workspace-container .mw-content-container, body.skin-vector-search-vue:not(.skin-vector-toc-experiment-control):not(.skin-vector-toc-experiment-unsampled) .vector-layout-legacy .vector-toc-visible .mw-workspace-container .mw-content-container, body.skin-vector-search-vue:not(.skin-vector-toc-experiment-control):not(.skin-vector-toc-experiment-unsampled) .vector-layout-legacy .vector-toc-visible #mw-navigation .mw-article-toolbar-container, body.skin-vector-search-vue.vector-toc-enabled .vector-layout-legacy #mw-sidebar-checkbox:checked ~ .mw-workspace-container .mw-content-container, body.skin-vector-search-vue.vector-toc-enabled .vector-layout-legacy #mw-sidebar-checkbox:checked ~ .mw-workspace-container #mw-navigation .mw-article-toolbar-container{ margin-left:0; } /*body.skin-vector-search-vue .mw-workspace-container:not(.mw-footer-container){ display:grid; grid:'aa cc bb' auto / auto minmax(auto,1fr) auto; width:auto; box-sizing:border-box; } body.skin-vector-search-vue .mw-workspace-container:not(.mw-footer-container) > #mw-navigation{ grid-area:aa; width:100%; box-sizing:border-box; } body.skin-vector-search-vue .mw-workspace-container:not(.mw-footer-container) > .mw-table-of-contents-container.mw-sticky-header-element{ grid-area:bb; max-width:200px; display:block; box-sizing:border-box; margin-bottom:16px; z-index:1; }*/ body.skin-vector-search-vue .mw-page-container-inner{ display:grid; grid:'aa aa aa' auto 'bb cc dd' auto 'bb ee ee' auto / auto auto auto; width:auto; box-sizing:border-box; row-gap:0; } body.skin-vector-search-vue .mw-page-container-inner > .mw-header{ grid-area:aa; } body.skin-vector-search-vue .mw-page-container-inner > .vector-sidebar-container{ grid-area:bb; } body.skin-vector-search-vue .mw-page-container-inner > .mw-content-container{ grid-area:cc; } body.skin-vector-search-vue .mw-page-container-inner > .mw-table-of-contents-container{ grid-area:dd; position:relative !important; } body.skin-vector-search-vue .mw-page-container-inner > .mw-footer-container{ grid-area:ee; } /**/ body.skin-vector-search-vue .mw-workspace-container .mw-content-container, body.skin-vector-search-vue .mw-workspace-container .mw-content-container #bodyContent, body.skin-vector-search-vue .mw-workspace-container .mw-content-container #content, body.skin-vector-search-vue .mw-workspace-container .mw-content-container .mw-body-header{ width:100%; box-sizing:border-box; } body.skin-vector-search-vue .mw-article-toolbar-container .mw-portlet-views { display: block; } body.skin-vector-search-vue .mw-article-toolbar-container .vector-more-collapsible-item { display: none; } body.skin-vector-search-vue .sidebar-toc{ left:auto; right:8px; } body.skin-vector-search-vue:not(.vector-below-page-title) .mw-checkbox-hack-checkbox:checked ~ .mw-workspace-container .sidebar-toc{ left:auto; right:8px; } body.skin-vector-search-vue.vector-toc-enabled .mw-checkbox-hack-checkbox:checked ~ .mw-workspace-container .sidebar-toc{ display: block; } body.skin-vector-search-vue.vector-toc-enabled .mw-checkbox-hack-checkbox:checked ~ .mw-workspace-container .sidebar-toc{ display: block; } /*body.skin-vector-search-vue .mw-checkbox-hack-checkbox:checked ~ .mw-workspace-container #mw-panel, body.skin-vector-search-vue #mw-sidebar-checkbox:checked ~ .mw-workspace-container #mw-panel{ left:-140px; top:-15px; position:absolute; width:140px; box-sizing:border-box; }*/ body.skin-vector-search-vue.vector-toc-enabled .mw-sidebar{ margin-left:0; background-color: white; padding: 12px 0; margin-top:0; } .vector-animations-ready body.skin-vector-search-vue .mw-sidebar{ transition: none; transition-property: none; transition-duration: none; transition-timing-function: none; transition-delay: none; } body.skin-vector-search-vue.vector-toc-enabled #mw-sidebar-checkbox:not(:checked) ~ .mw-workspace-container .mw-sidebar{ display:block; } body.skin-vector-search-vue #mw-sidebar-checkbox:not(:checked) ~ .mw-workspace-container .mw-sidebar{ visibility: visible; opacity: 1; transform: none; } /*body.skin-vector-search-vue .mw-workspace-container #mw-panel{ left:-140px; top:-15px; position: absolute; float:left; box-sizing:border-box; }*/ body.skin-vector-search-vue .ui-dialog{ font-size:75%; } body.skin-vector-search-vue .mw-body-content .error{ font-size:96%; } body.skin-vector-search-vue.action-purge .firstHeading{ padding-bottom:3px; } body.skin-vector-search-vue .firstHeading .plainlinks{ line-height:1.2em !important; } body.skin-vector-search-vue #mw-panel{ width:140px; box-sizing:border-box; } body.skin-vector-search-vue .mw-sidebar #p-navigation .vector-menu-heading{ display:block; } body.skin-vector-search-vue .mw-workspace-container{ margin-right:0; margin-left:140px; min-width:auto; max-width:100%; box-sizing:border-box; } body.skin-vector-search-vue .mw-checkbox-hack-checkbox:checked ~ .mw-workspace-container{ margin-left:140px; transition: margin-left 250ms ease-out; transition-property: margin-left; transition-duration: 250ms; transition-timing-function: ease-out; transition-delay: 0s; } body.skin-vector-search-vue .mw-checkbox-hack-checkbox:not(:checked) ~ .mw-workspace-container{ margin-left:0; transition: margin-left 250ms ease-out; transition-property: margin-left; transition-duration: 250ms; transition-timing-function: ease-out; transition-delay: 0s; } body.skin-vector-search-vue .mw-article-toolbar-container{ max-width:100%; box-sizing:border-box; position:relative; z-index:1; } body.skin-vector-search-vue .mw-footer-container{ padding-top:0; } body.skin-vector-search-vue .mw-content-container > .mw-body{ margin-left:0; margin-right:0; } body.skin-vector-search-vue .mw-article-toolbar-container > #left-navigation{ margin-left:0; margin-right:0; } body.skin-vector-search-vue .mw-content-container .mw-footer{ margin-left:8px; margin-right:0; padding: 0.75em 5px; } body.skin-vector-search-vue .mw-header { display:flex; flex-direction: row; margin: 8px 5px 0 5px; } body.skin-vector-search-vue .mw-workspace-container #mw-head{ min-width:832px; margin-right:5px; box-sizing:border-box; } body.skin-vector-search-vue .mw-logo-icon{ display:block; } body.skin-vector-search-vue .vector-user-links .vector-user-menu-more .vector-menu-content-list li.user-links-collapsible-item { display: block; } body.skin-vector-search-vue .vector-search-box-collapses > div{ display:block; } body.skin-vector-search-vue a.mw-ui-icon-wikimedia-search{ display:none; } body.skin-vector-search-vue .vector-sticky-header{ height:3.2em; padding: 6px 25px; display:flex; flex-direction:row; min-width:700px; margin-left:auto; margin-right:auto; width:90%; text-align:center; box-sizing:border-box; } @media screen and (max-width: 830px){ body.skin-vector-search-vue .vector-sticky-header{ display: none; } } .client-nojs body.skin-vector-search-vue .vector-sticky-header{ display:none !important; } body.skin-vector-search-vue .wvui-typeahead-suggestion{ padding-top:4px; padding-bottom:4px; text-align:left; } body.skin-vector-search-vue .vector-sticky-header.vector-header-search-toggled{ flex-basis: 460px; box-sizing:border-box; } body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--auto-expand-width:not(.wvui-typeahead-search--focused){ margin-left:10px; width:460px; box-sizing:border-box; } body.skin-vector-search-vue .wvui-typeahead-suggestion__thumbnail-placeholder, body.skin-vector-search-vue .wvui-typeahead-suggestion__thumbnail{ width: 36px; height: 36px; } body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail:not(.wvui-typeahead-search--auto-expand-width), body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--auto-expand-width.wvui-typeahead-search--focused{ margin-left:10px; width:460px; box-sizing:border-box; } body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail:not(.wvui-typeahead-search--auto-expand-width) .wvui-input__start-icon, body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--auto-expand-width.wvui-typeahead-search--focused .wvui-input__start-icon{ left:13px; width:37px; } body.skin-vector-search-vue .wvui-input, body.skin-vector-search-vue .vector-search-box, body.skin-vector-search-vue .wvui-typeahead-suggestion__title, body.skin-vector-search-vue .wvui-typeahead-search__wrapper, body.skin-vector-search-vue .vector-search-box-vue .vector-search-box-input, body.skin-vector-search-vue .wvui-input__input, body.skin-vector-search-vue .wvui-typeahead-search, body.skin-vector-search-vue .wvui-typeahead-search__form, body.skin-vector-search-vue #p-search #searchform #simpleSearch{ font-size:calc( 14px * 1.042 ); line-height:1.2em; height:30px; min-height:30px; box-sizing:border-box; } body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail:not(.wvui-typeahead-search--active) .wvui-input, body.skin-vector-search-vue .vector-search-box, body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail:not(.wvui-typeahead-search--active) .wvui-typeahead-suggestion__title, body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail:not(.wvui-typeahead-search--active) .wvui-typeahead-search__wrapper, body.skin-vector-search-vue .vector-search-box-vue .wvui-typeahead-search--show-thumbnail:not(.wvui-typeahead-search--active) .vector-search-box-input, body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail:not(.wvui-typeahead-search--active) .wvui-input__input, body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail:not(.wvui-typeahead-search--active) .wvui-typeahead-search, body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail:not(.wvui-typeahead-search--active) .wvui-typeahead-search__form, body.skin-vector-search-vue #p-search #searchform #simpleSearch{ width:460px; } body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--active .wvui-input, body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--active .wvui-typeahead-suggestion__title, body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--active .wvui-typeahead-search__wrapper, body.skin-vector-search-vue .vector-search-box-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--active .vector-search-box-input, body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--active .wvui-input__input, body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--active .wvui-typeahead-search, body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--active .wvui-typeahead-search__form{ width:calc( 460px - 64px); } body.skin-vector-search-vue .wvui-button{ font-size:calc( 14px * 1.042 ); line-height:1.2em; height:30px; min-height:30px; width:64px; border-left:0; box-sizing:border-box; } body.skin-vector-search-vue .mw-header #p-search #searchform #simpleSearch{ margin-left:10px; width:460px; box-sizing:border-box; } body.skin-vector-search-vue .wvui-typeahead-search__wrapper{ margin-right:0; } body.skin-vector-search-vue .wvui-typeahead-suggestion__title{ display: table-cell; vertical-align: middle; } .client-js body.skin-vector-search-vue .vector-search-box-show-thumbnail.vector-search-box-auto-expand-width .vector-search-box-input, .client-js .vector-search-box-vue .vector-search-box-show-thumbnail.vector-search-box-auto-expand-width .vector-search-box-input{ margin-left:0; box-sizing:border-box; width:460px; } .client-js body.skin-vector-search-vue .vector-search-box-show-thumbnail.vector-search-box-auto-expand-width .searchButton, .client-js .vector-search-box-vue .vector-search-box-show-thumbnail.vector-search-box-auto-expand-width .searchButton{ left:0; } body.skin-vector-search-vue .mw-header .vector-search-box.vector-search-box-auto-expand-width{ margin-left:10px; } body.skin-vector-search-vue .mw-header .vector-search-box.vector-search-box-auto-expand-width > div{ width:460px; box-sizing:border-box; } body.skin-vector-search-vue .vector-search-box-vue .searchButton{ background-size: 20px auto; } .client-js body.skin-vector-search-vue .vector-search-box-input, .client-js .vector-search-box-vue .vector-search-box-input{ padding-left:36px; padding-right:8px; } body.skin-vector-search-vue .wvui-input--has-start-icon .wvui-input__input{ padding-left:36px; padding-right:8px; } body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--auto-expand-width:not(.wvui-typeahead-search--focused) .wvui-input__input { border-right-color: #a2a9b1; width:460px; box-sizing:border-box; } body.skin-vector-search-vue .wvui-typeahead-search .wvui-input__input{ border-right-color: #a2a9b1; } body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--auto-expand-width:not(.wvui-typeahead-search--focused):not(.wvui-typeahead-search--active) .wvui-input__input { width: 460px; } body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--auto-expand-width:not(.wvui-typeahead-search--focused).wvui-typeahead-search--active .wvui-input__input { width:calc( 460px - 64px ); } body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail:not(.wvui-typeahead-search--auto-expand-width) .wvui-input__input, body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--auto-expand-width.wvui-typeahead-search--focused .wvui-input__input{ position:relative; padding-left: 62px; box-sizing:border-box; } body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail:not(.wvui-typeahead-search--auto-expand-width).wvui-typeahead-search--active .wvui-input__input, body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--auto-expand-width.wvui-typeahead-search--focused.wvui-typeahead-search--active .wvui-input__input{ width:calc( 460px - 64px ); } body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail:not(.wvui-typeahead-search--auto-expand-width):not(.wvui-typeahead-search--active) .wvui-input__input, body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--auto-expand-width.wvui-typeahead-search--focused:not(.wvui-typeahead-search--active) .wvui-input__input{ width:460px; } body.skin-vector-search-vue .wvui-typeahead-search--expanded .wvui-typeahead-search__suggestions{ width:calc( 460px - 64px ); top:30px; box-sizing:border-box; } body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--active .wvui-typeahead-search--expanded .wvui-typeahead-search__suggestions{ width:calc( 460px - 64px ); } body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail:not(.wvui-typeahead-search--active) .wvui-typeahead-search--expanded .wvui-typeahead-search__suggestions{ width:460px; } body.skin-vector-search-vue .mw-header .vector-search-box.vector-search-box-auto-expand-width > div{ max-width:460px; } body.skin-vector-search-vue .mw-logo{ min-width:144px; } body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--auto-expand-width:not(.wvui-typeahead-search--focused):not(.wvui-typeahead-search--active).wvui-typeahead-search--active .wvui-button{ display:block; width:64px; z-index:1; } body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail:not(.wvui-typeahead-search--auto-expand-width).wvui-typeahead-search--active .wvui-button, body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--auto-expand-width.wvui-typeahead-search--focused.wvui-typeahead-search--active .wvui-button{ display:block; width:64px; z-index:1; } body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail:not(.wvui-typeahead-search--active) .wvui-button{ display:none; } body.skin-vector-search-vue .wvui-button{ padding-left:0; padding-right:0; } body.skin-vector-search-vue .mw-ui-icon,.mw-ui-icon-before::before{ font-size:14px; } body.skin-vector-search-vue .mw-sidebar-action{ display:none; } body.skin-vector-search-vue, body.skin-vector-search-vue .mw-editsection{ font-family: Arial, Helvetica, "Free Helvetian", FreeSans, sans-serif; font-stretch:normal; font-variant:normal; font-style:normal; font-weight:normal; font-size-adjust:none; letter-spacing:normal; word-spacing:normal; text-align:left; word-wrap:break-word; hyphens:auto; } body.skin-vector-search-vue{ font-size:calc( 14px * 1.042 ); line-height:1.2em; background-color:#ffffff; } body.skin-vector-search-vue .mw-editsection{ font-size:12px; line-height:1.2em; } body.skin-vector-search-vue.action-view:not(.page-Wikibooks_Strona_główna):not(.ns-special) #contentSub, body.skin-vector-search-vue.action-view:not(.page-Wikibooks_Strona_główna):not(.ns-special) #contentSub ~ #contentSub2{ margin:0; } body.skin-vector-search-vue.action-view.ns-special #contentSub:empty, body.skin-vector-search-vue.action-view.ns-special #contentSub:not(:empty), body.skin-vector-search-vue.action-view.ns-special #contentSub:not(:empty) ~ #contentSub2, body.skin-vector-search-vue.action-view.ns-special #contentSub:empty ~ #contentSub2:not(:empty){ margin:2px 0 3px 0; } body.skin-vector-search-vue.action-view.ns-special #contentSub:empty ~ #contentSub2:empty{ margin:10px 0; } body.skin-vector-search-vue:not(.action-view) #contentSub:empty{ margin:2px 0 3px 0; } body.skin-vector-search-vue:not(.action-view) #contentSub:empty ~ #contentSub2:empty{ margin:10px 0; } body.skin-vector-search-vue:not(.action-view) #contentSub:not(:empty), body.skin-vector-search-vue:not(.action-view) #contentSub:not(:empty) ~ #contentSub2{ margin: 2px 0 2px 0; } body.skin-vector-search-vue:not(.action-view) #contentSub:empty ~ #contentSub2:not(:empty){ margin: 2px 0 3px 0; } body.skin-vector-search-vue.action-view.page-Wikibooks_Strona_główna #contentSub, body.skin-vector-search-vue.action-view.page-Wikibooks_Strona_główna #contentSub2{ margin:0; } body.skin-vector-search-vue.action-edit #contentSub:not(:empty) ~ #mw-content-text > form#editform{ margin-top:0; } body.skin-vector-search-vue.action-view #pwContent, body.skin-vector-search-vue:not(.action-view) #pwContent, body.skin-vector-search-vue.action-view .subpages, body.skin-vector-search-vue:not(.action-view) .subpages{ margin:0; font-size:12px; line-height:1.2em; margin-bottom:6px; } body.skin-vector-search-vue.action-view:not(.page-Wikibooks_Strona_główna) .warningbox, body.skin-vector-search-vue:not(.action-view) .warningbox{ margin:10px 0; } body.skin-vector-search-vue #mw-previewheader{ margin-top:14px; margin-bottom:10px; } body.skin-vector-search-vue .mw-userconfigpublic{ margin-top:8px; } body.skin-vector-search-vue .mw-contributions-user-tools{ margin-bottom:6px; } body.skin-vector-search-vue:not(.action-view) .mw-body, body.skin-vector-search-vue.action-view.ns-special .mw-body{ padding: 8px 0 10px 8px; position:relative; z-index:0; } body.skin-vector-search-vue.action-view.page-Wikibooks_Strona_główna .mw-body, body.skin-vector-search-vue.action-view:not(.ns-special):not(.page-Wikibooks_Strona_główna) .mw-body{ padding: 4px 0 10px 8px; position:relative; z-index:0; } body.skin-vector-search-vue #centralNotice:not(:empty){ margin:10px 8px 8px 8px; } body.skin-vector-search-vue .mw-content-container{ min-width:848px; } body.skin-vector-search-vue #content{ margin-left:0px; min-width:848px; box-sizing:border-box; } body.skin-vector-search-vue #mw-content-text{ clear:both; } body.skin-vector-search-vue #bodyContent{ box-sizing:border-box; min-width:832px; height:auto; clear:both; padding: 0 13px 0 5px; } body.skin-vector-search-vue .mw-table-of-contents-container.sidebar_obecny ~ .mw-content-container #bodyContent{ padding: 0 5px; } body.skin-vector-search-vue .mw-table-of-contents-container.sidebar_obecny ~ .mw-content-container .mw-body-header{ margin-right:3px !important; } body.skin-vector-search-vue.action-view #bodyContent #mw-content-text .mw-container-parser-output, body.skin-vector-search-vue:not(.action-view) #bodyContent #mw-content-text .mw-container-parser-output{ overflow:auto; overflow-x:auto; overflow-y:visible; min-width:822px; box-sizing:border-box; margin-bottom:5px; display:block; height:auto; position:relative; } body.skin-vector-search-vue.action-view #bodyContent #mw-content-text .mw-container-parser-output.has-mw-parser-output-whitespace, body.skin-vector-search-vue:not(.action-view) #bodyContent #mw-content-text .mw-container-parser-output.has-mw-parser-output-whitespace{ margin-bottom:0 !important; } body.skin-vector-search-vue.action-view #bodyContent #mw-content-text .mw-container-parser-output.mw-scrollbar-overflow-x, body.skin-vector-search-vue:not(.action-view) #bodyContent #mw-content-text #wikiPreview .mw-content-ltr .mw-container-parser-output.mw-scrollbar-overflow-x{ padding-bottom:5px; } body.skin-vector-search-vue.action-view #bodyContent #mw-content-text .mw-container-parser-output:not(.mw-scrollbar-overflow-x), body.skin-vector-search-vue:not(.action-view) #bodyContent #mw-content-text #wikiPreview .mw-content-ltr .mw-container-parser-output:not(.mw-scrollbar-overflow-x){ padding-bottom:0; } body.skin-vector-search-vue.action-view #bodyContent #mw-content-text .mw-container-parser-output.mw-scrollbar-overflow-y, body.skin-vector-search-vue:not(.action-view) #bodyContent #mw-content-text #wikiPreview .mw-content-ltr .mw-container-parser-output.mw-scrollbar-overflow-y{ padding-right:5px; } body.skin-vector-search-vue.action-view #bodyContent #mw-content-text:not(.mw-scrollbar-overflow-y), body.skin-vector-search-vue:not(.action-view) #bodyContent #mw-content-text #wikiPreview .mw-content-ltr:not(.mw-scrollbar-overflow-y){ padding-right:0; } body.skin-vector-search-vue.ns-10 #mw-content-text .mw-parser-output > :not(style):not(link):not(#documentation-meta-data):not(.template-documentation) ~ *:first-of-type, body.skin-vector-search-vue.ns-828 #mw-content-text .mw-parser-output > :not(style):not(link):not(#documentation-meta-data):not(.template-documentation) ~ *:first-of-type{ margin-top:5px !important; } body.skin-vector-search-vue #mw-content-text .mw-parser-output > :not(style):not(link):not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(p):first-child{ margin-top:0 !important; } body.skin-vector-search-vue #mw-content-text .mw-parser-output > :not(style):not(link) ~ :not(style):not(link):not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(p):not(.div-linia):first-of-type{ margin-top:5px !important; } body.skin-vector-search-vue #mw-content-text .mw-parser-output > div.div-linia + *{ margin-top:0px !important; } body.skin-vector-search-vue #mw-content-text .mw-parser-output > h1:first-child, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h2:first-child, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h3:first-child, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h4:first-child, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h5:first-child, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h6:first-child, body.skin-vector-search-vue #mw-content-text .mw-parser-output > :not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(p) + h1:first-of-type, body.skin-vector-search-vue #mw-content-text .mw-parser-output > :not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(p) + h2:first-of-type, body.skin-vector-search-vue #mw-content-text .mw-parser-output > :not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(p) + h3:first-of-type, body.skin-vector-search-vue #mw-content-text .mw-parser-output > :not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(p) + h4:first-of-type, body.skin-vector-search-vue #mw-content-text .mw-parser-output > :not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(p) + h5:first-of-type, body.skin-vector-search-vue #mw-content-text .mw-parser-output > :not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(p) + h6:first-of-type{ margin-top:0.5em !important; } body.skin-vector-search-vue #mw-content-text .mw-parser-output > h1 ~ h1, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h1 ~ h2, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h1 ~ h3, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h1 ~ h4, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h1 ~ h5, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h1 ~ h6, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h2 ~ h1, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h2 ~ h2, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h2 ~ h3, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h2 ~ h4, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h2 ~ h5, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h2 ~ h6, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h3 ~ h1, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h3 ~ h2, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h3 ~ h3, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h3 ~ h4, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h3 ~ h5, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h3 ~ h6, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h4 ~ h1, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h4 ~ h2, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h4 ~ h3, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h4 ~ h4, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h4 ~ h5, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h4 ~ h6, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h5 ~ h1, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h5 ~ h2, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h5 ~ h3, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h5 ~ h4, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h5 ~ h5, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h5 ~ h6, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h6 ~ h1, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h6 ~ h2, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h6 ~ h3, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h6 ~ h4, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h6 ~ h5, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h6 ~ h6{ margin-top:0.8em; } body.skin-vector-search-vue .tdg-editscreen-main{ margin-top:9px; margin-bottom:10px; } body.skin-vector-search-vue .mw-specialpage-summary > p:first-child{ margin: 0 0 4px 0; } body.skin-vector-search-vue .mw-rcfilters-head{ margin-bottom:15px; } body.skin-vector-search-vue.mw-special-Watchlist .mw-rcfilters-head{ min-height: 280px; } body.skin-vector-search-vue #bodyContent #mw-content-text .mw-parser-output .template-documentation:first-of-type{ margin-top:0; box-sizing:border-box; } body.skin-vector-search-vue #bodyContent #mw-content-text .mw-parser-output > :not(style):not(link) ~ .template-documentation{ margin-top:10px !important; box-sizing:border-box !important; } body.skin-vector-search-vue .mw-parser-output #documentation-meta-data:not(:last-child){ margin-top:3px !important; margin-bottom:3px !important; } body.skin-vector-search-vue .mw-parser-output #documentation-meta-data:last-child{ margin-top:3px !important; margin-bottom:0 !important; } body.skin-vector-search-vue #bodyContent #mw-content-text .mw-parser-output{ display:table; box-sizing:border-box; position:relative; width:100%; height:auto; margin:0; margin-bottom:5px; border-spacing:0; padding:0; border-collapse:collapse; border:0; } body.skin-vector-search-vue #bodyContent #mw-content-text .mw-container-parser-output > .mw-parser-output{ margin:0; } body.skin-vector-search-vue .catlinks:not(.catlinks-allhidden){ margin: 5px 0; } body.skin-vector-search-vue #mw-content-text .mw-parser-output > p:first-of-type{ margin-top:0.3em; } body.skin-vector-search-vue #mw-content-text .mw-parser-output > :not(p):not(:empty) + p:first-of-type{ margin-top:0.5em; } body.skin-vector-search-vue #mw-content-text .mw-parser-output > :not(p):not(.blank) + p:first-of-type{ margin-top:0.5em; } body.skin-vector-search-vue #mw-content-text .mw-parser-output > :not(p):not(:-moz-only-whitespace) + p:first-of-type{ margin-top:0.5em; } body.skin-vector-search-vue #mw-content-text .mw-parser-output > :not(p):not(:blank) + p:first-of-type{ margin-top:0.5em; } body.skin-vector-search-vue #mw-content-text .mw-parser-output > :not(p).floatleft + p:first-of-type, body.skin-vector-search-vue #mw-content-text .mw-parser-output > :not(p).floatright + p:first-of-type, body.skin-vector-search-vue #mw-content-text .mw-parser-output > :not(p).tleft + p:first-of-type, body.skin-vector-search-vue #mw-content-text .mw-parser-output > :not(p).tright + p:first-of-type{ margin-top:0; } body.skin-vector-search-vue #mw-content-text .mw-parser-output > p:last-child{ margin-bottom:0.3em; } body.skin-vector-search-vue pre{ margin-top:8px; margin-bottom:8px; padding:11px; background-color: #f8f9fa; color: #000; border: 1px solid #eaecf0; box-sizing:border-box; } body.skin-vector-search-vue div.mw-highlight > pre{ margin-top:8px; margin-bottom:8px; } body.ns-828.skin-vector-search-vue.action-view #mw-content-text .mw-parser-output > div.mw-highlight:last-child > pre:last-child{ margin-top:5px; margin-bottom:0; } body.skin-vector-search-vue.action-view #mw-content-text .mw-parser-output > div.mw-highlight:last-child > pre:last-child{ margin-bottom:0; margin-top:5px; } body.ns-828.skin-vector-search-vue:not(.action-view) #mw-content-text .mw-parser-output > div.mw-highlight:last-child > pre:last-child{ margin-top:0px; margin-bottom:0; } body.skin-vector-search-vue:not(.action-view) #mw-content-text .mw-parser-output > div.mw-highlight:last-child > pre:last-child{ margin-bottom:0; margin-top:0; } body.skin-vector-search-vue #mw-content-text .mw-parser-output > div.mw-highlight:only-child > pre:only-child{ margin-bottom:0 !important; margin-top:0 !important; } body.skin-vector-search-vue .oo-ui-panelLayout-padded.oo-ui-panelLayout-framed{ margin:0 0 8px 0; } body.skin-vector-search-vue .mw-body > h1{ margin-bottom:0; } body.skin-vector-search-vue #central-auth-images{ display:none; } body.skin-vector-search-vue .mw-message-box{ margin-top:10px; margin-bottom:10px; } body.skin-vector-search-vue #contentSub:not(:empty) ~ #mw-content-text > .mw-message-box:first-child{ margin-top:6px; margin-bottom:10px; } body.skin-vector-search-vue #contentSub > .mw-message-box{ margin-top:10px; margin-bottom:10px; } body.skin-vector-search-vue #contentSub > .subpages ~ .mw-message-box, body.skin-vector-search-vue #contentSub > #pwContent ~ .mw-message-box{ margin-bottom:10px; margin-top:0; } body.skin-vector-search-vue #wikiPreview.ontop{ margin-bottom:5px; } body.skin-vector-search-vue.skin-vector-disable-max-width #wikiPreview{ max-width:100%; } body.skin-vector-search-vue .previewnote{ margin-bottom:10px; } body.skin-vector-search-vue form#editform{ margin-top:5px; margin-bottom:5px; } body.skin-vector-search-vue #editform::after{ display:block; } body.skin-vector-search-vue .editOptions{ margin-bottom:10px; } body.skin-vector-search-vue .mw-category-generated > #mw-pages > h2, body.skin-vector-search-vue .mw-category-generated > #mw-subcategories > h2, body.skin-vector-search-vue .mw-category-generated > #mw-category-media > h2{ margin-top:15px !important; } body.skin-vector-search-vue .mw-category-generated > #mw-pages:last-child, body.skin-vector-search-vue .mw-category-generated > #mw-subcategories:last-child, body.skin-vector-search-vue .mw-category-generated > #mw-category-media:last-child{ margin-bottom:10px; } body.skin-vector-search-vue .mw-parser-output + .mw-category-generated > p:first-child, body.skin-vector-search-vue .mw-container-parser-output + .mw-category-generated > p:first-child, body.skin-vector-search-vue .noarticletext + .mw-category-generated > p:first-child{ margin-bottom:0; margin-top:0; } body.skin-vector-search-vue .mw-category-generated > *:first-child > h2{ margin-top:15px !important; } body.skin-vector-search-vue .mw-category-generated{ margin-bottom:5px; } body.skin-vector-search-vue .mw-editfooter-list{ margin-bottom:0; } body.skin-vector-search-vue #mw-clearyourcache:first-child > p:first-child{ margin-top:0; } body.skin-vector-search-vue .vector-menu-portal { margin: 0 5px; padding: 0.2em 0 0 0; direction: ltr; } body.skin-vector-search-vue .vector-menu-portal .vector-menu-content{ margin-left: 3px; } body.skin-vector-search-vue #mw-panel nav:first-child .vector-menu-content { margin-left: 0; } body.skin-vector-search-vue .vector-menu-portal .vector-menu-heading{ margin-left:3px; } body.skin-vector-search-vue .mw-undelete-pagetitle > p:first-child{ margin-top:0; } body.skin-vector-search-vue .mw-delete-warning-revisions{ display:block; margin-top:10px; } body.skin-vector-search-vue #p-lang-btn-label{ min-height:25px; padding:5px 25px 3px 5px; } body.skin-vector-search-vue .mw-delete-editreasons + h2, body.skin-vector-search-vue .mw-protect-editreasons + h2{ margin-top:0 !important; } body.skin-vector-search-vue .vector-article-toolbar .mw-article-toolbar-container{ margin-right:0; padding-right:0; } body.skin-vector-search-vue .vector-article-toolbar .mw-article-toolbar-container{ margin-right: 0; padding-right:0; } body.skin-vector-search-vue .vector-article-toolbar .mw-article-toolbar-container #right-navigation{ margin-right:4px; } body.skin-vector-search-vue .vector-article-toolbar .mw-article-toolbar-container #right-navigation{ margin-right: 4px; } body.skin-vector-search-vue .vector-article-toolbar .mw-article-toolbar-container #right-navigation::before{ display: flex; content: ''; width: auto; flex-direction: row; flex: 1 1 auto; box-sizing:border-box; } body.skin-vector-search-vue .vector-article-toolbar .mw-article-toolbar-container #right-navigation .vector-menu-content{ right:0; } body.skin-vector-search-vue .mw-table-of-contents-container{ direction: rtl; align-self:auto; background-color:white; background-image: url('//upload.wikimedia.org/wikipedia/commons/thumb/b/ba/Wikibooks_multicolor_open_book_no_text.svg/200px-Wikibooks_multicolor_open_book_no_text.svg.png'); } body.skin-vector-search-vue .mw-table-of-contents-container:not(:-moz-only-whitespace){ margin-right:8px; margin-left:5px; } body.skin-vector-search-vue .mw-table-of-contents-container.sidebar_obecny{ width:200px; max-height:100%; margin-right:8px; margin-left:5px; box-sizing:border-box; position:static; } body.skin-vector-search-vue .mw-table-of-contents-container .sidebar-toc{ width:200px; direction: rtl; overflow:hidden; margin-right:0; margin-left:0; max-height:calc( 100vh - 59px ); margin-top:0 !important; display:block; } body.skin-vector-search-vue .mw-table-of-contents-container .sidebar-toc .sidebar-toc-contents{ direction:ltr; } body.skin-vector-search-vue .mw-table-of-contents-container.sidebar_obecny .sidebar-toc{ position:absolute; max-width:700px; min-width:200px; display:block; } body.skin-vector-search-vue .mw-table-of-contents-container.sidebar_obecny .sidebar-toc:not(:hover){ width:200px; transition: width 250ms ease-out; transition-property: width; transition-duration: 250ms; transition-timing-function: ease-out; transition-delay: 0s; } body.skin-vector-search-vue .mw-table-of-contents-container.sidebar_obecny .sidebar-toc:not(:hover) .sidebar-toc-level-2{ display:none; } body.skin-vector-search-vue .mw-table-of-contents-container.sidebar_obecny .sidebar-toc:hover{ width:auto; transition: width 250ms ease-out; transition-property: width; transition-duration: 250ms; transition-timing-function: ease-out; transition-delay: 0s; } body.skin-vector-search-vue .mw-article-toolbar-container{ margin-left:0 !important; } body.skin-vector-search-vue .mw-checkbox-hack-checkbox:checked ~ .mw-workspace-container .mw-content-container, body.skin-vector-search-vue .mw-checkbox-hack-checkbox:checked ~ .mw-workspace-container #mw-navigation .mw-article-toolbar-container { margin-left: 0 !important; } body.skin-vector-search-vue .vector-body h1, body.skin-vector-search-vue .vector-body h2, body.skin-vector-search-vue .vector-body h3, body.skin-vector-search-vue .vector-body h4, body.skin-vector-search-vue .vector-body h5, body.skin-vector-search-vue .vector-body h6{ margin-top:0.8em; } body.skin-vector-search-vue .mw-history-subtitle{ margin-bottom:6px; } body.skin-vector-search-vue .printfooter{ display:block; margin: 5px 0; padding:5px; white-space:normal; border: 1px solid #eaecf0; box-sizing:border-box; background-color: white; } .client-js body.skin-vector-search-vue .mw-search-form-wrapper { min-height: 112px; } body.skin-vector-search-vue .noarticletext{ margin-bottom:5px; } body.skin-vector-search-vue .mw-menu-active{ background-color:#E6E6FA; } body.skin-vector-search-vue .mw-menu-inactive{ background-color:#EEE8AA; } body.skin-vector-search-vue .mw-menu-active,body.skin-vector-search-vue .mw-menu-inactive{ padding-left:5px !important; padding-right:5px !important; margin-left:0 !important; display:block; border-radius:5px; border:1px solid #a2a9b1; margin-top:3px; } body.skin-vector-search-vue .mw-items-active{ display:block; border-radius:5px; border:1px solid #a2a9b1; padding: 0 5px; margin-top:2px; } body.skin-vector-search-vue .mw-items-active > ul{ margin-top:0; } body.skin-vector-search-vue .mw-items-inactive{ display:none; } body.skin-vector-search-vue .mw-items-active,body.skin-vector-search-vue .mw-items-inactive{ margin-left:0px !important; } 4oudvghoujlu6h17xj8e6xhdibygg3c 435327 435326 2022-07-21T11:21:29Z Persino 2851 css text/css body.skin-vector-search-vue .mw-page-container{ max-width:100%; min-width:988px; padding-left:0; padding-right:0; border-left: 0; border-right: 0; box-sizing:border-box; display:table; width:100%; background-color:white; height:auto; } body.skin-vector-search-vue .mw-content-container{ max-width:100%; box-sizing:border-box; } body.skin-vector-search-vue .mw-logo-container{ margin-left: 10px; margin-right:0; } body.skin-vector-search-vue #p-lang-btn-label{ font-size:14px !important; line-height:1.2em !important; white-space:nowrap; } body.skin-vector-search-vue .mw-indicators{ font-size: calc( 14px * 0.875 ); line-height: 2.0em; white-space:nowrap; margin: auto 0 0 0; } body.skin-vector-search-vue.action-view.page-Wikibooks_Strona_główna #content{ display:grid; grid: 'aa aa aa' auto 'dd dd dd' auto 'bb bb bb' auto 'cc cc cc' auto '.. .. ff' auto 'ee ee ee' auto / minmax(auto,1fr) auto auto } body.skin-vector-search-vue.action-view.page-Wikibooks_Strona_główna #content > #top{ grid-area:aa; } body.skin-vector-search-vue.action-view.page-Wikibooks_Strona_główna #content > #siteNotice{ grid-area:bb; } body.skin-vector-search-vue.action-view.page-Wikibooks_Strona_główna #content > .vector-article-toolbar{ grid-area:dd; margin:0; } body.skin-vector-search-vue.action-view.page-Wikibooks_Strona_główna #content > .mw-body-header{ grid-area:cc; top:0; width:auto !important; height:auto !important; margin:0; margin-right:10px; box-sizing:border-box; border-bottom: 1px solid #a2a9b1; } body.skin-vector-search-vue.action-view.page-Wikibooks_Strona_główna #content > #p-lang-btn{ grid-area:ff; height:20px; width:auto; height:auto; margin-left:auto; top:0; margin: auto 5px 0 5px; padding-bottom:8px; box-sizing:border-box; } body.skin-vector-search-vue.action-view.page-Wikibooks_Strona_główna #content > #bodyContent{ grid-area:ee; } body.skin-vector-search-vue.action-view.page-Wikibooks_Strona_główna #content > .mw-body-header{ display:grid; grid: 'aa bb' auto / minmax(auto,1fr) auto; width:100%; min-height: 46px; box-sizing: border-box; position: relative; } body.skin-vector-search-vue.action-view.page-Wikibooks_Strona_główna #content > .mw-body-header > .firstHeading{ display:block !important; } body.skin-vector-search-vue.action-view.page-Wikibooks_Strona_główna #content > .mw-body-header > .firstHeading:not(:hover){ grid-area:aa; margin-bottom:2px; width:100%; max-width:fit-content; max-width:-moz-fit-content; margin-bottom: 0; margin-top: auto; border-bottom: none; padding-left: 3px; padding-right: 3px; border-bottom: 0; } body.skin-vector-search-vue.action-view.page-Wikibooks_Strona_główna #content > .mw-body-header > .mw-indicators{ grid-area: bb; width: auto; height: 1.6em; margin-bottom: 5px; margin-top: auto; margin-right: 5px; } body.skin-vector-search-vue.action-view:not(.page-Wikibooks_Strona_główna):not(.ns-special) #content > .mw-body-header > .firstHeading > .plainlinks, body.skin-vector-search-vue.action-view.ns-special #content > .mw-body-header > .firstHeading > .plainlinks body.skin-vector-search-vue:not(.action-view) #content > .mw-body-header > .firstHeading > .plainlinks{ padding-bottom:2px; } body.skin-vector-search-vue.action-view:not(.page-Wikibooks_Strona_główna):not(.ns-special) #content > .mw-body-header > #p-lang-btn{ grid-area:bb; right:0; margin:0; height:auto; width:auto; margin-top: auto; margin-bottom:0; padding: 0 3px; box-sizing:border-box; } body.skin-vector-search-vue.action-view:not(.page-Wikibooks_Strona_główna):not(.ns-special) #content > .mw-body-header, body.skin-vector-search-vue.action-view.ns-special #content > .mw-body-header, body.skin-vector-search-vue:not(.action-view) #content > .mw-body-header{ display:grid; grid:'aa bb' auto / minmax(auto,100%) auto; border-bottom:1px solid #a2a9b1; margin-top:auto; margin-bottom:0; min-height:46px; box-sizing:border-box; position:relative; } body.skin-vector-search-vue.action-view:not(.page-Wikibooks_Strona_główna):not(.ns-special) #content > .mw-body-header > .firstHeading:not(:hover), body.skin-vector-search-vue.action-view.ns-special #content > .mw-body-header > .firstHeading:not(:hover), body.skin-vector-search-vue:not(.action-view) #content > .mw-body-header > .firstHeading:not(:hover){ grid-area:aa; width:100%; max-width:fit-content; max-width:-moz-fit-content; margin-bottom:0; margin-top:auto; border-bottom:none; padding-left:3px; padding-right:3px; border-bottom:0; box-sizing:border-box; } body.skin-vector-search-vue.action-view.ns-special #content > .mw-body-header > .mw-indicators, body.skin-vector-search-vue:not(.action-view) #content > .mw-body-header > .mw-indicators{ grid-area:bb; right:0; margin:0; height:auto; width:100%; margin:auto 0 0 auto; padding: 0 10px; box-sizing:border-box; } body.skin-vector-search-vue.action-view.ns-special #content .mw-body-header > .mw-indicators > .mw-indicator, body.skin-vector-search-vue:not(.action-view) #content .mw-body-header > .mw-indicators > .mw-indicator{ padding: 2px 0 2px 0; margin: auto 0 0 0; } body.skin-vector-search-vue.action-view:not(.page-Wikibooks_Strona_główna):not(.ns-special) #content, body.skin-vector-search-vue.action-view.ns-special #content, body.skin-vector-search-vue:not(.action-view) #content{ display:grid; grid:'aa' auto 'cc' auto 'bb' auto 'dd' auto 'ee' auto / auto; width:100%; } body.skin-vector-search-vue.action-view:not(.page-Wikibooks_Strona_główna):not(.ns-special) #content > #top, body.skin-vector-search-vue.action-view.ns-special #content > #top, body.skin-vector-search-vue:not(.action-view) #content > #top{ grid-area:aa; } body.skin-vector-search-vue.action-view:not(.page-Wikibooks_Strona_główna):not(.ns-special) #content > #siteNotice, body.skin-vector-search-vue.action-view.ns-special #content > #siteNotice, body.skin-vector-search-vue:not(.action-view) #content > #siteNotice{ grid-area:bb; } body.skin-vector-search-vue.action-view:not(.page-Wikibooks_Strona_główna):not(.ns-special) #content > .vector-article-toolbar, body.skin-vector-search-vue.action-view.ns-special #content > .vector-article-toolbar, body.skin-vector-search-vue:not(.action-view) #content > .vector-article-toolbar{ grid-area:cc; } body.skin-vector-search-vue .mw-body-header::after{ display:none; } body.skin-vector-search-vue.action-view:not(.page-Wikibooks_Strona_główna):not(.ns-special) #content > .mw-body-header, body.skin-vector-search-vue.action-view.ns-special #content > .mw-body-header, body.skin-vector-search-vue:not(.action-view) #content > .mw-body-header{ grid-area:dd; margin:0; margin-right:10px; width:auto; padding-bottom:0; } body.skin-vector-search-vue .mw-body-subheader{ border-bottom:0; } /*body.skin-vector-search-vue #siteSub,*/ body.skin-vector-search-vue .firstHeading:not(:hover) > .plainlinks{ display:none; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; } body.skin-vector-search-vue .firstHeading:not(:hover){ display:block; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; border-bottom:0; } body.skin-vector-search-vue .firstHeading:hover{ display:block; border:1px solid #eaecf0; border-radius:10px; background-color:white; position:absolute; top:5px; left:-3px; width:auto; padding:5px; z-index:1 !important; } body.skin-vector-search-vue .mw-body-header > .firstHeading:hover > .plainlinks{ display:block; } body.skin-vector-search-vue.action-view:not(.page-Wikibooks_Strona_główna):not(.ns-special) #bodyContent > .mw-body-subheader{ margin: 2px 0 3px 0; min-height:1.6em; } body.skin-vector-search-vue.action-view.ns-special #bodyContent > .mw-body-subheader, body.skin-vector-search-vue:not(.action-view) #bodyContent > .mw-body-subheader{ margin: 0; } body.skin-vector-search-vue.action-view.page-Wikibooks_Strona_główna #bodyContent > .mw-body-subheader{ margin:0; margin-top: -2.0em; font-size: 1.2em; height: 2em; margin-bottom:5px; } body.skin-vector-search-vue.action-view.page-Wikibooks_Strona_główna #bodyContent > .mw-body-subheader > #siteSub{ display:table !important; width:auto; } body.skin-vector-search-vue.action-view:not(.page-Wikibooks_Strona_główna):not(.ns-special) #bodyContent > .mw-body-subheader> .mw-indicators{ margin-left:5px; margin-right:3px; display:block; } body.skin-vector-search-vue.action-view:not(.page-Wikibooks_Strona_główna):not(.ns-special) #bodyContent > .mw-body-subheader> #siteSub{ display:block; } body.skin-vector-search-vue .firstHeading, body.skin-vector-search-vue .firstHeading > .plainlinks{ max-width:100%; width:auto; } body.skin-vector-search-vue.action-view:not(.page-Wikibooks_Strona_główna):not(.ns-special) #content #bodyContent, body.skin-vector-search-vue.action-view.ns-special #content #bodyContent, body.skin-vector-search-vue:not(.action-view) #content #bodyContent{ grid-area:ee; } body.skin-vector-search-vue.skin-vector-disable-max-width .vector-layout-legacy #mw-sidebar-checkbox:checked ~ .mw-workspace-container #mw-navigation .mw-article-toolbar-container, body.skin-vector-search-vue.skin-vector-disable-max-width .vector-layout-legacy #mw-sidebar-checkbox:checked ~ .mw-workspace-container .mw-content-container, body.skin-vector-search-vue:not(.skin-vector-toc-experiment-control):not(.skin-vector-toc-experiment-unsampled) .vector-toc-visible .mw-workspace-container .mw-content-container, body.skin-vector-search-vue:not(.skin-vector-toc-experiment-control):not(.skin-vector-toc-experiment-unsampled) .vector-toc-visible .mw-workspace-container .mw-article-toolbar-container, body.skin-vector-search-vue.vector-toc-enabled .mw-checkbox-hack-checkbox:checked ~ .mw-workspace-container .mw-content-container, body.skin-vector-search-vue.vector-toc-enabled .mw-checkbox-hack-checkbox:checked ~ .mw-workspace-container .mw-article-toolbar-container, body.skin-vector-search-vue.skin-vector-disable-max-width .vector-toc-enabled .vector-layout-legacy #mw-sidebar-checkbox:checked ~ .mw-workspace-container .mw-content-container, body.skin-vector-search-vue:not(.skin-vector-toc-experiment-control):not(.skin-vector-toc-experiment-unsampled) .vector-layout-legacy .vector-toc-visible .mw-workspace-container .mw-content-container, body.skin-vector-search-vue:not(.skin-vector-toc-experiment-control):not(.skin-vector-toc-experiment-unsampled) .vector-layout-legacy .vector-toc-visible #mw-navigation .mw-article-toolbar-container, body.skin-vector-search-vue.vector-toc-enabled .vector-layout-legacy #mw-sidebar-checkbox:checked ~ .mw-workspace-container .mw-content-container, body.skin-vector-search-vue.vector-toc-enabled .vector-layout-legacy #mw-sidebar-checkbox:checked ~ .mw-workspace-container #mw-navigation .mw-article-toolbar-container{ margin-left:0; } /*body.skin-vector-search-vue .mw-workspace-container:not(.mw-footer-container){ display:grid; grid:'aa cc bb' auto / auto minmax(auto,1fr) auto; width:auto; box-sizing:border-box; } body.skin-vector-search-vue .mw-workspace-container:not(.mw-footer-container) > #mw-navigation{ grid-area:aa; width:100%; box-sizing:border-box; } body.skin-vector-search-vue .mw-workspace-container:not(.mw-footer-container) > .mw-table-of-contents-container.mw-sticky-header-element{ grid-area:bb; max-width:200px; display:block; box-sizing:border-box; margin-bottom:16px; z-index:1; }*/ body.skin-vector-search-vue .mw-page-container-inner{ display:grid; grid:'aa aa aa' auto 'bb cc dd' auto 'bb ee ee' auto / auto auto auto; width:auto; box-sizing:border-box; row-gap:0; } body.skin-vector-search-vue .mw-page-container-inner > .mw-header{ grid-area:aa; } body.skin-vector-search-vue .mw-page-container-inner > .vector-sidebar-container{ grid-area:bb; } body.skin-vector-search-vue .mw-page-container-inner > .mw-content-container{ grid-area:cc; } body.skin-vector-search-vue .mw-page-container-inner > .mw-table-of-contents-container{ grid-area:dd; position:relative !important; } body.skin-vector-search-vue .mw-page-container-inner > .mw-footer-container{ grid-area:ee; } /**/ body.skin-vector-search-vue .mw-workspace-container .mw-content-container, body.skin-vector-search-vue .mw-workspace-container .mw-content-container #bodyContent, body.skin-vector-search-vue .mw-workspace-container .mw-content-container #content, body.skin-vector-search-vue .mw-workspace-container .mw-content-container .mw-body-header{ width:100%; box-sizing:border-box; } body.skin-vector-search-vue .mw-article-toolbar-container .mw-portlet-views { display: block; } body.skin-vector-search-vue .mw-article-toolbar-container .vector-more-collapsible-item { display: none; } body.skin-vector-search-vue .sidebar-toc{ left:auto; right:8px; } body.skin-vector-search-vue:not(.vector-below-page-title) .mw-checkbox-hack-checkbox:checked ~ .mw-workspace-container .sidebar-toc{ left:auto; right:8px; } body.skin-vector-search-vue.vector-toc-enabled .mw-checkbox-hack-checkbox:checked ~ .mw-workspace-container .sidebar-toc{ display: block; } body.skin-vector-search-vue.vector-toc-enabled .mw-checkbox-hack-checkbox:checked ~ .mw-workspace-container .sidebar-toc{ display: block; } /*body.skin-vector-search-vue .mw-checkbox-hack-checkbox:checked ~ .mw-workspace-container #mw-panel, body.skin-vector-search-vue #mw-sidebar-checkbox:checked ~ .mw-workspace-container #mw-panel{ left:-140px; top:-15px; position:absolute; width:140px; box-sizing:border-box; }*/ body.skin-vector-search-vue.vector-toc-enabled .mw-sidebar{ margin-left:0; background-color: white; padding: 12px 0; margin-top:0; } .vector-animations-ready body.skin-vector-search-vue .mw-sidebar{ transition: none; transition-property: none; transition-duration: none; transition-timing-function: none; transition-delay: none; } body.skin-vector-search-vue.vector-toc-enabled #mw-sidebar-checkbox:not(:checked) ~ .mw-workspace-container .mw-sidebar{ display:block; } body.skin-vector-search-vue #mw-sidebar-checkbox:not(:checked) ~ .mw-workspace-container .mw-sidebar{ visibility: visible; opacity: 1; transform: none; } /*body.skin-vector-search-vue .mw-workspace-container #mw-panel{ left:-140px; top:-15px; position: absolute; float:left; box-sizing:border-box; }*/ body.skin-vector-search-vue .ui-dialog{ font-size:75%; } body.skin-vector-search-vue .mw-body-content .error{ font-size:96%; } body.skin-vector-search-vue.action-purge .firstHeading{ padding-bottom:3px; } body.skin-vector-search-vue .firstHeading .plainlinks{ line-height:1.2em !important; } body.skin-vector-search-vue #mw-panel{ width:140px; box-sizing:border-box; } body.skin-vector-search-vue .mw-sidebar #p-navigation .vector-menu-heading{ display:block; } body.skin-vector-search-vue .mw-workspace-container{ margin-right:0; maergin-left:/*140px*/0;; min-width:auto; max-width:100%; box-sizing:border-box; } body.skin-vector-search-vue .mw-checkbox-hack-checkbox:checked ~ .mw-workspace-container{ maergin-left:/*140px*/0;; transition: margin-left 250ms ease-out; transition-property: margin-left; transition-duration: 250ms; transition-timing-function: ease-out; transition-delay: 0s; } body.skin-vector-search-vue .mw-checkbox-hack-checkbox:not(:checked) ~ .mw-workspace-container{ margin-left:0; transition: margin-left 250ms ease-out; transition-property: margin-left; transition-duration: 250ms; transition-timing-function: ease-out; transition-delay: 0s; } body.skin-vector-search-vue .mw-article-toolbar-container{ max-width:100%; box-sizing:border-box; position:relative; z-index:1; } body.skin-vector-search-vue .mw-footer-container{ padding-top:0; } body.skin-vector-search-vue .mw-content-container > .mw-body{ margin-left:0; margin-right:0; } body.skin-vector-search-vue .mw-article-toolbar-container > #left-navigation{ margin-left:0; margin-right:0; } body.skin-vector-search-vue .mw-content-container .mw-footer{ margin-left:8px; margin-right:0; padding: 0.75em 5px; } body.skin-vector-search-vue .mw-header { display:flex; flex-direction: row; margin: 8px 5px 0 5px; } body.skin-vector-search-vue .mw-workspace-container #mw-head{ min-width:832px; margin-right:5px; box-sizing:border-box; } body.skin-vector-search-vue .mw-logo-icon{ display:block; } body.skin-vector-search-vue .vector-user-links .vector-user-menu-more .vector-menu-content-list li.user-links-collapsible-item { display: block; } body.skin-vector-search-vue .vector-search-box-collapses > div{ display:block; } body.skin-vector-search-vue a.mw-ui-icon-wikimedia-search{ display:none; } body.skin-vector-search-vue .vector-sticky-header{ height:3.2em; padding: 6px 25px; display:flex; flex-direction:row; min-width:700px; margin-left:auto; margin-right:auto; width:90%; text-align:center; box-sizing:border-box; } @media screen and (max-width: 830px){ body.skin-vector-search-vue .vector-sticky-header{ display: none; } } .client-nojs body.skin-vector-search-vue .vector-sticky-header{ display:none !important; } body.skin-vector-search-vue .wvui-typeahead-suggestion{ padding-top:4px; padding-bottom:4px; text-align:left; } body.skin-vector-search-vue .vector-sticky-header.vector-header-search-toggled{ flex-basis: 460px; box-sizing:border-box; } body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--auto-expand-width:not(.wvui-typeahead-search--focused){ margin-left:10px; width:460px; box-sizing:border-box; } body.skin-vector-search-vue .wvui-typeahead-suggestion__thumbnail-placeholder, body.skin-vector-search-vue .wvui-typeahead-suggestion__thumbnail{ width: 36px; height: 36px; } body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail:not(.wvui-typeahead-search--auto-expand-width), body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--auto-expand-width.wvui-typeahead-search--focused{ margin-left:10px; width:460px; box-sizing:border-box; } body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail:not(.wvui-typeahead-search--auto-expand-width) .wvui-input__start-icon, body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--auto-expand-width.wvui-typeahead-search--focused .wvui-input__start-icon{ left:13px; width:37px; } body.skin-vector-search-vue .wvui-input, body.skin-vector-search-vue .vector-search-box, body.skin-vector-search-vue .wvui-typeahead-suggestion__title, body.skin-vector-search-vue .wvui-typeahead-search__wrapper, body.skin-vector-search-vue .vector-search-box-vue .vector-search-box-input, body.skin-vector-search-vue .wvui-input__input, body.skin-vector-search-vue .wvui-typeahead-search, body.skin-vector-search-vue .wvui-typeahead-search__form, body.skin-vector-search-vue #p-search #searchform #simpleSearch{ font-size:calc( 14px * 1.042 ); line-height:1.2em; height:30px; min-height:30px; box-sizing:border-box; } body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail:not(.wvui-typeahead-search--active) .wvui-input, body.skin-vector-search-vue .vector-search-box, body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail:not(.wvui-typeahead-search--active) .wvui-typeahead-suggestion__title, body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail:not(.wvui-typeahead-search--active) .wvui-typeahead-search__wrapper, body.skin-vector-search-vue .vector-search-box-vue .wvui-typeahead-search--show-thumbnail:not(.wvui-typeahead-search--active) .vector-search-box-input, body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail:not(.wvui-typeahead-search--active) .wvui-input__input, body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail:not(.wvui-typeahead-search--active) .wvui-typeahead-search, body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail:not(.wvui-typeahead-search--active) .wvui-typeahead-search__form, body.skin-vector-search-vue #p-search #searchform #simpleSearch{ width:460px; } body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--active .wvui-input, body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--active .wvui-typeahead-suggestion__title, body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--active .wvui-typeahead-search__wrapper, body.skin-vector-search-vue .vector-search-box-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--active .vector-search-box-input, body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--active .wvui-input__input, body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--active .wvui-typeahead-search, body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--active .wvui-typeahead-search__form{ width:calc( 460px - 64px); } body.skin-vector-search-vue .wvui-button{ font-size:calc( 14px * 1.042 ); line-height:1.2em; height:30px; min-height:30px; width:64px; border-left:0; box-sizing:border-box; } body.skin-vector-search-vue .mw-header #p-search #searchform #simpleSearch{ margin-left:10px; width:460px; box-sizing:border-box; } body.skin-vector-search-vue .wvui-typeahead-search__wrapper{ margin-right:0; } body.skin-vector-search-vue .wvui-typeahead-suggestion__title{ display: table-cell; vertical-align: middle; } .client-js body.skin-vector-search-vue .vector-search-box-show-thumbnail.vector-search-box-auto-expand-width .vector-search-box-input, .client-js .vector-search-box-vue .vector-search-box-show-thumbnail.vector-search-box-auto-expand-width .vector-search-box-input{ margin-left:0; box-sizing:border-box; width:460px; } .client-js body.skin-vector-search-vue .vector-search-box-show-thumbnail.vector-search-box-auto-expand-width .searchButton, .client-js .vector-search-box-vue .vector-search-box-show-thumbnail.vector-search-box-auto-expand-width .searchButton{ left:0; } body.skin-vector-search-vue .mw-header .vector-search-box.vector-search-box-auto-expand-width{ margin-left:10px; } body.skin-vector-search-vue .mw-header .vector-search-box.vector-search-box-auto-expand-width > div{ width:460px; box-sizing:border-box; } body.skin-vector-search-vue .vector-search-box-vue .searchButton{ background-size: 20px auto; } .client-js body.skin-vector-search-vue .vector-search-box-input, .client-js .vector-search-box-vue .vector-search-box-input{ padding-left:36px; padding-right:8px; } body.skin-vector-search-vue .wvui-input--has-start-icon .wvui-input__input{ padding-left:36px; padding-right:8px; } body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--auto-expand-width:not(.wvui-typeahead-search--focused) .wvui-input__input { border-right-color: #a2a9b1; width:460px; box-sizing:border-box; } body.skin-vector-search-vue .wvui-typeahead-search .wvui-input__input{ border-right-color: #a2a9b1; } body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--auto-expand-width:not(.wvui-typeahead-search--focused):not(.wvui-typeahead-search--active) .wvui-input__input { width: 460px; } body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--auto-expand-width:not(.wvui-typeahead-search--focused).wvui-typeahead-search--active .wvui-input__input { width:calc( 460px - 64px ); } body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail:not(.wvui-typeahead-search--auto-expand-width) .wvui-input__input, body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--auto-expand-width.wvui-typeahead-search--focused .wvui-input__input{ position:relative; padding-left: 62px; box-sizing:border-box; } body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail:not(.wvui-typeahead-search--auto-expand-width).wvui-typeahead-search--active .wvui-input__input, body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--auto-expand-width.wvui-typeahead-search--focused.wvui-typeahead-search--active .wvui-input__input{ width:calc( 460px - 64px ); } body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail:not(.wvui-typeahead-search--auto-expand-width):not(.wvui-typeahead-search--active) .wvui-input__input, body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--auto-expand-width.wvui-typeahead-search--focused:not(.wvui-typeahead-search--active) .wvui-input__input{ width:460px; } body.skin-vector-search-vue .wvui-typeahead-search--expanded .wvui-typeahead-search__suggestions{ width:calc( 460px - 64px ); top:30px; box-sizing:border-box; } body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--active .wvui-typeahead-search--expanded .wvui-typeahead-search__suggestions{ width:calc( 460px - 64px ); } body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail:not(.wvui-typeahead-search--active) .wvui-typeahead-search--expanded .wvui-typeahead-search__suggestions{ width:460px; } body.skin-vector-search-vue .mw-header .vector-search-box.vector-search-box-auto-expand-width > div{ max-width:460px; } body.skin-vector-search-vue .mw-logo{ min-width:144px; } body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--auto-expand-width:not(.wvui-typeahead-search--focused):not(.wvui-typeahead-search--active).wvui-typeahead-search--active .wvui-button{ display:block; width:64px; z-index:1; } body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail:not(.wvui-typeahead-search--auto-expand-width).wvui-typeahead-search--active .wvui-button, body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail.wvui-typeahead-search--auto-expand-width.wvui-typeahead-search--focused.wvui-typeahead-search--active .wvui-button{ display:block; width:64px; z-index:1; } body.skin-vector-search-vue .wvui-typeahead-search--show-thumbnail:not(.wvui-typeahead-search--active) .wvui-button{ display:none; } body.skin-vector-search-vue .wvui-button{ padding-left:0; padding-right:0; } body.skin-vector-search-vue .mw-ui-icon,.mw-ui-icon-before::before{ font-size:14px; } body.skin-vector-search-vue .mw-sidebar-action{ display:none; } body.skin-vector-search-vue, body.skin-vector-search-vue .mw-editsection{ font-family: Arial, Helvetica, "Free Helvetian", FreeSans, sans-serif; font-stretch:normal; font-variant:normal; font-style:normal; font-weight:normal; font-size-adjust:none; letter-spacing:normal; word-spacing:normal; text-align:left; word-wrap:break-word; hyphens:auto; } body.skin-vector-search-vue{ font-size:calc( 14px * 1.042 ); line-height:1.2em; background-color:#ffffff; } body.skin-vector-search-vue .mw-editsection{ font-size:12px; line-height:1.2em; } body.skin-vector-search-vue.action-view:not(.page-Wikibooks_Strona_główna):not(.ns-special) #contentSub, body.skin-vector-search-vue.action-view:not(.page-Wikibooks_Strona_główna):not(.ns-special) #contentSub ~ #contentSub2{ margin:0; } body.skin-vector-search-vue.action-view.ns-special #contentSub:empty, body.skin-vector-search-vue.action-view.ns-special #contentSub:not(:empty), body.skin-vector-search-vue.action-view.ns-special #contentSub:not(:empty) ~ #contentSub2, body.skin-vector-search-vue.action-view.ns-special #contentSub:empty ~ #contentSub2:not(:empty){ margin:2px 0 3px 0; } body.skin-vector-search-vue.action-view.ns-special #contentSub:empty ~ #contentSub2:empty{ margin:10px 0; } body.skin-vector-search-vue:not(.action-view) #contentSub:empty{ margin:2px 0 3px 0; } body.skin-vector-search-vue:not(.action-view) #contentSub:empty ~ #contentSub2:empty{ margin:10px 0; } body.skin-vector-search-vue:not(.action-view) #contentSub:not(:empty), body.skin-vector-search-vue:not(.action-view) #contentSub:not(:empty) ~ #contentSub2{ margin: 2px 0 2px 0; } body.skin-vector-search-vue:not(.action-view) #contentSub:empty ~ #contentSub2:not(:empty){ margin: 2px 0 3px 0; } body.skin-vector-search-vue.action-view.page-Wikibooks_Strona_główna #contentSub, body.skin-vector-search-vue.action-view.page-Wikibooks_Strona_główna #contentSub2{ margin:0; } body.skin-vector-search-vue.action-edit #contentSub:not(:empty) ~ #mw-content-text > form#editform{ margin-top:0; } body.skin-vector-search-vue.action-view #pwContent, body.skin-vector-search-vue:not(.action-view) #pwContent, body.skin-vector-search-vue.action-view .subpages, body.skin-vector-search-vue:not(.action-view) .subpages{ margin:0; font-size:12px; line-height:1.2em; margin-bottom:6px; } body.skin-vector-search-vue.action-view:not(.page-Wikibooks_Strona_główna) .warningbox, body.skin-vector-search-vue:not(.action-view) .warningbox{ margin:10px 0; } body.skin-vector-search-vue #mw-previewheader{ margin-top:14px; margin-bottom:10px; } body.skin-vector-search-vue .mw-userconfigpublic{ margin-top:8px; } body.skin-vector-search-vue .mw-contributions-user-tools{ margin-bottom:6px; } body.skin-vector-search-vue:not(.action-view) .mw-body, body.skin-vector-search-vue.action-view.ns-special .mw-body{ padding: 8px 0 10px 8px; position:relative; z-index:0; } body.skin-vector-search-vue.action-view.page-Wikibooks_Strona_główna .mw-body, body.skin-vector-search-vue.action-view:not(.ns-special):not(.page-Wikibooks_Strona_główna) .mw-body{ padding: 4px 0 10px 8px; position:relative; z-index:0; } body.skin-vector-search-vue #centralNotice:not(:empty){ margin:10px 8px 8px 8px; } body.skin-vector-search-vue .mw-content-container{ min-width:848px; } body.skin-vector-search-vue #content{ margin-left:0px; min-width:848px; box-sizing:border-box; } body.skin-vector-search-vue #mw-content-text{ clear:both; } body.skin-vector-search-vue #bodyContent{ box-sizing:border-box; min-width:832px; height:auto; clear:both; padding: 0 13px 0 5px; } body.skin-vector-search-vue .mw-table-of-contents-container.sidebar_obecny ~ .mw-content-container #bodyContent{ padding: 0 5px; } body.skin-vector-search-vue .mw-table-of-contents-container.sidebar_obecny ~ .mw-content-container .mw-body-header{ margin-right:3px !important; } body.skin-vector-search-vue.action-view #bodyContent #mw-content-text .mw-container-parser-output, body.skin-vector-search-vue:not(.action-view) #bodyContent #mw-content-text .mw-container-parser-output{ overflow:auto; overflow-x:auto; overflow-y:visible; min-width:822px; box-sizing:border-box; margin-bottom:5px; display:block; height:auto; position:relative; } body.skin-vector-search-vue.action-view #bodyContent #mw-content-text .mw-container-parser-output.has-mw-parser-output-whitespace, body.skin-vector-search-vue:not(.action-view) #bodyContent #mw-content-text .mw-container-parser-output.has-mw-parser-output-whitespace{ margin-bottom:0 !important; } body.skin-vector-search-vue.action-view #bodyContent #mw-content-text .mw-container-parser-output.mw-scrollbar-overflow-x, body.skin-vector-search-vue:not(.action-view) #bodyContent #mw-content-text #wikiPreview .mw-content-ltr .mw-container-parser-output.mw-scrollbar-overflow-x{ padding-bottom:5px; } body.skin-vector-search-vue.action-view #bodyContent #mw-content-text .mw-container-parser-output:not(.mw-scrollbar-overflow-x), body.skin-vector-search-vue:not(.action-view) #bodyContent #mw-content-text #wikiPreview .mw-content-ltr .mw-container-parser-output:not(.mw-scrollbar-overflow-x){ padding-bottom:0; } body.skin-vector-search-vue.action-view #bodyContent #mw-content-text .mw-container-parser-output.mw-scrollbar-overflow-y, body.skin-vector-search-vue:not(.action-view) #bodyContent #mw-content-text #wikiPreview .mw-content-ltr .mw-container-parser-output.mw-scrollbar-overflow-y{ padding-right:5px; } body.skin-vector-search-vue.action-view #bodyContent #mw-content-text:not(.mw-scrollbar-overflow-y), body.skin-vector-search-vue:not(.action-view) #bodyContent #mw-content-text #wikiPreview .mw-content-ltr:not(.mw-scrollbar-overflow-y){ padding-right:0; } body.skin-vector-search-vue.ns-10 #mw-content-text .mw-parser-output > :not(style):not(link):not(#documentation-meta-data):not(.template-documentation) ~ *:first-of-type, body.skin-vector-search-vue.ns-828 #mw-content-text .mw-parser-output > :not(style):not(link):not(#documentation-meta-data):not(.template-documentation) ~ *:first-of-type{ margin-top:5px !important; } body.skin-vector-search-vue #mw-content-text .mw-parser-output > :not(style):not(link):not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(p):first-child{ margin-top:0 !important; } body.skin-vector-search-vue #mw-content-text .mw-parser-output > :not(style):not(link) ~ :not(style):not(link):not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(p):not(.div-linia):first-of-type{ margin-top:5px !important; } body.skin-vector-search-vue #mw-content-text .mw-parser-output > div.div-linia + *{ margin-top:0px !important; } body.skin-vector-search-vue #mw-content-text .mw-parser-output > h1:first-child, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h2:first-child, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h3:first-child, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h4:first-child, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h5:first-child, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h6:first-child, body.skin-vector-search-vue #mw-content-text .mw-parser-output > :not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(p) + h1:first-of-type, body.skin-vector-search-vue #mw-content-text .mw-parser-output > :not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(p) + h2:first-of-type, body.skin-vector-search-vue #mw-content-text .mw-parser-output > :not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(p) + h3:first-of-type, body.skin-vector-search-vue #mw-content-text .mw-parser-output > :not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(p) + h4:first-of-type, body.skin-vector-search-vue #mw-content-text .mw-parser-output > :not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(p) + h5:first-of-type, body.skin-vector-search-vue #mw-content-text .mw-parser-output > :not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(p) + h6:first-of-type{ margin-top:0.5em !important; } body.skin-vector-search-vue #mw-content-text .mw-parser-output > h1 ~ h1, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h1 ~ h2, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h1 ~ h3, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h1 ~ h4, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h1 ~ h5, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h1 ~ h6, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h2 ~ h1, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h2 ~ h2, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h2 ~ h3, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h2 ~ h4, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h2 ~ h5, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h2 ~ h6, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h3 ~ h1, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h3 ~ h2, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h3 ~ h3, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h3 ~ h4, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h3 ~ h5, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h3 ~ h6, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h4 ~ h1, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h4 ~ h2, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h4 ~ h3, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h4 ~ h4, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h4 ~ h5, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h4 ~ h6, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h5 ~ h1, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h5 ~ h2, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h5 ~ h3, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h5 ~ h4, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h5 ~ h5, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h5 ~ h6, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h6 ~ h1, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h6 ~ h2, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h6 ~ h3, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h6 ~ h4, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h6 ~ h5, body.skin-vector-search-vue #mw-content-text .mw-parser-output > h6 ~ h6{ margin-top:0.8em; } body.skin-vector-search-vue .tdg-editscreen-main{ margin-top:9px; margin-bottom:10px; } body.skin-vector-search-vue .mw-specialpage-summary > p:first-child{ margin: 0 0 4px 0; } body.skin-vector-search-vue .mw-rcfilters-head{ margin-bottom:15px; } body.skin-vector-search-vue.mw-special-Watchlist .mw-rcfilters-head{ min-height: 280px; } body.skin-vector-search-vue #bodyContent #mw-content-text .mw-parser-output .template-documentation:first-of-type{ margin-top:0; box-sizing:border-box; } body.skin-vector-search-vue #bodyContent #mw-content-text .mw-parser-output > :not(style):not(link) ~ .template-documentation{ margin-top:10px !important; box-sizing:border-box !important; } body.skin-vector-search-vue .mw-parser-output #documentation-meta-data:not(:last-child){ margin-top:3px !important; margin-bottom:3px !important; } body.skin-vector-search-vue .mw-parser-output #documentation-meta-data:last-child{ margin-top:3px !important; margin-bottom:0 !important; } body.skin-vector-search-vue #bodyContent #mw-content-text .mw-parser-output{ display:table; box-sizing:border-box; position:relative; width:100%; height:auto; margin:0; margin-bottom:5px; border-spacing:0; padding:0; border-collapse:collapse; border:0; } body.skin-vector-search-vue #bodyContent #mw-content-text .mw-container-parser-output > .mw-parser-output{ margin:0; } body.skin-vector-search-vue .catlinks:not(.catlinks-allhidden){ margin: 5px 0; } body.skin-vector-search-vue #mw-content-text .mw-parser-output > p:first-of-type{ margin-top:0.3em; } body.skin-vector-search-vue #mw-content-text .mw-parser-output > :not(p):not(:empty) + p:first-of-type{ margin-top:0.5em; } body.skin-vector-search-vue #mw-content-text .mw-parser-output > :not(p):not(.blank) + p:first-of-type{ margin-top:0.5em; } body.skin-vector-search-vue #mw-content-text .mw-parser-output > :not(p):not(:-moz-only-whitespace) + p:first-of-type{ margin-top:0.5em; } body.skin-vector-search-vue #mw-content-text .mw-parser-output > :not(p):not(:blank) + p:first-of-type{ margin-top:0.5em; } body.skin-vector-search-vue #mw-content-text .mw-parser-output > :not(p).floatleft + p:first-of-type, body.skin-vector-search-vue #mw-content-text .mw-parser-output > :not(p).floatright + p:first-of-type, body.skin-vector-search-vue #mw-content-text .mw-parser-output > :not(p).tleft + p:first-of-type, body.skin-vector-search-vue #mw-content-text .mw-parser-output > :not(p).tright + p:first-of-type{ margin-top:0; } body.skin-vector-search-vue #mw-content-text .mw-parser-output > p:last-child{ margin-bottom:0.3em; } body.skin-vector-search-vue pre{ margin-top:8px; margin-bottom:8px; padding:11px; background-color: #f8f9fa; color: #000; border: 1px solid #eaecf0; box-sizing:border-box; } body.skin-vector-search-vue div.mw-highlight > pre{ margin-top:8px; margin-bottom:8px; } body.ns-828.skin-vector-search-vue.action-view #mw-content-text .mw-parser-output > div.mw-highlight:last-child > pre:last-child{ margin-top:5px; margin-bottom:0; } body.skin-vector-search-vue.action-view #mw-content-text .mw-parser-output > div.mw-highlight:last-child > pre:last-child{ margin-bottom:0; margin-top:5px; } body.ns-828.skin-vector-search-vue:not(.action-view) #mw-content-text .mw-parser-output > div.mw-highlight:last-child > pre:last-child{ margin-top:0px; margin-bottom:0; } body.skin-vector-search-vue:not(.action-view) #mw-content-text .mw-parser-output > div.mw-highlight:last-child > pre:last-child{ margin-bottom:0; margin-top:0; } body.skin-vector-search-vue #mw-content-text .mw-parser-output > div.mw-highlight:only-child > pre:only-child{ margin-bottom:0 !important; margin-top:0 !important; } body.skin-vector-search-vue .oo-ui-panelLayout-padded.oo-ui-panelLayout-framed{ margin:0 0 8px 0; } body.skin-vector-search-vue .mw-body > h1{ margin-bottom:0; } body.skin-vector-search-vue #central-auth-images{ display:none; } body.skin-vector-search-vue .mw-message-box{ margin-top:10px; margin-bottom:10px; } body.skin-vector-search-vue #contentSub:not(:empty) ~ #mw-content-text > .mw-message-box:first-child{ margin-top:6px; margin-bottom:10px; } body.skin-vector-search-vue #contentSub > .mw-message-box{ margin-top:10px; margin-bottom:10px; } body.skin-vector-search-vue #contentSub > .subpages ~ .mw-message-box, body.skin-vector-search-vue #contentSub > #pwContent ~ .mw-message-box{ margin-bottom:10px; margin-top:0; } body.skin-vector-search-vue #wikiPreview.ontop{ margin-bottom:5px; } body.skin-vector-search-vue.skin-vector-disable-max-width #wikiPreview{ max-width:100%; } body.skin-vector-search-vue .previewnote{ margin-bottom:10px; } body.skin-vector-search-vue form#editform{ margin-top:5px; margin-bottom:5px; } body.skin-vector-search-vue #editform::after{ display:block; } body.skin-vector-search-vue .editOptions{ margin-bottom:10px; } body.skin-vector-search-vue .mw-category-generated > #mw-pages > h2, body.skin-vector-search-vue .mw-category-generated > #mw-subcategories > h2, body.skin-vector-search-vue .mw-category-generated > #mw-category-media > h2{ margin-top:15px !important; } body.skin-vector-search-vue .mw-category-generated > #mw-pages:last-child, body.skin-vector-search-vue .mw-category-generated > #mw-subcategories:last-child, body.skin-vector-search-vue .mw-category-generated > #mw-category-media:last-child{ margin-bottom:10px; } body.skin-vector-search-vue .mw-parser-output + .mw-category-generated > p:first-child, body.skin-vector-search-vue .mw-container-parser-output + .mw-category-generated > p:first-child, body.skin-vector-search-vue .noarticletext + .mw-category-generated > p:first-child{ margin-bottom:0; margin-top:0; } body.skin-vector-search-vue .mw-category-generated > *:first-child > h2{ margin-top:15px !important; } body.skin-vector-search-vue .mw-category-generated{ margin-bottom:5px; } body.skin-vector-search-vue .mw-editfooter-list{ margin-bottom:0; } body.skin-vector-search-vue #mw-clearyourcache:first-child > p:first-child{ margin-top:0; } body.skin-vector-search-vue .vector-menu-portal { margin: 0 5px; padding: 0.2em 0 0 0; direction: ltr; } body.skin-vector-search-vue .vector-menu-portal .vector-menu-content{ margin-left: 3px; } body.skin-vector-search-vue #mw-panel nav:first-child .vector-menu-content { margin-left: 0; } body.skin-vector-search-vue .vector-menu-portal .vector-menu-heading{ margin-left:3px; } body.skin-vector-search-vue .mw-undelete-pagetitle > p:first-child{ margin-top:0; } body.skin-vector-search-vue .mw-delete-warning-revisions{ display:block; margin-top:10px; } body.skin-vector-search-vue #p-lang-btn-label{ min-height:25px; padding:5px 25px 3px 5px; } body.skin-vector-search-vue .mw-delete-editreasons + h2, body.skin-vector-search-vue .mw-protect-editreasons + h2{ margin-top:0 !important; } body.skin-vector-search-vue .vector-article-toolbar .mw-article-toolbar-container{ margin-right:0; padding-right:0; } body.skin-vector-search-vue .vector-article-toolbar .mw-article-toolbar-container{ margin-right: 0; padding-right:0; } body.skin-vector-search-vue .vector-article-toolbar .mw-article-toolbar-container #right-navigation{ margin-right:4px; } body.skin-vector-search-vue .vector-article-toolbar .mw-article-toolbar-container #right-navigation{ margin-right: 4px; } body.skin-vector-search-vue .vector-article-toolbar .mw-article-toolbar-container #right-navigation::before{ display: flex; content: ''; width: auto; flex-direction: row; flex: 1 1 auto; box-sizing:border-box; } body.skin-vector-search-vue .vector-article-toolbar .mw-article-toolbar-container #right-navigation .vector-menu-content{ right:0; } body.skin-vector-search-vue .mw-table-of-contents-container{ direction: rtl; align-self:auto; background-color:white; background-image: url('//upload.wikimedia.org/wikipedia/commons/thumb/b/ba/Wikibooks_multicolor_open_book_no_text.svg/200px-Wikibooks_multicolor_open_book_no_text.svg.png'); } body.skin-vector-search-vue .mw-table-of-contents-container:not(:-moz-only-whitespace){ margin-right:8px; margin-left:5px; } body.skin-vector-search-vue .mw-table-of-contents-container.sidebar_obecny{ width:200px; max-height:100%; margin-right:8px; margin-left:5px; box-sizing:border-box; position:static; } body.skin-vector-search-vue .mw-table-of-contents-container .sidebar-toc{ width:200px; direction: rtl; overflow:hidden; margin-right:0; margin-left:0; max-height:calc( 100vh - 59px ); margin-top:0 !important; display:block; } body.skin-vector-search-vue .mw-table-of-contents-container .sidebar-toc .sidebar-toc-contents{ direction:ltr; } body.skin-vector-search-vue .mw-table-of-contents-container.sidebar_obecny .sidebar-toc{ position:absolute; max-width:700px; min-width:200px; display:block; } body.skin-vector-search-vue .mw-table-of-contents-container.sidebar_obecny .sidebar-toc:not(:hover){ width:200px; transition: width 250ms ease-out; transition-property: width; transition-duration: 250ms; transition-timing-function: ease-out; transition-delay: 0s; } body.skin-vector-search-vue .mw-table-of-contents-container.sidebar_obecny .sidebar-toc:not(:hover) .sidebar-toc-level-2{ display:none; } body.skin-vector-search-vue .mw-table-of-contents-container.sidebar_obecny .sidebar-toc:hover{ width:auto; transition: width 250ms ease-out; transition-property: width; transition-duration: 250ms; transition-timing-function: ease-out; transition-delay: 0s; } body.skin-vector-search-vue .mw-article-toolbar-container{ margin-left:0 !important; } body.skin-vector-search-vue .mw-checkbox-hack-checkbox:checked ~ .mw-workspace-container .mw-content-container, body.skin-vector-search-vue .mw-checkbox-hack-checkbox:checked ~ .mw-workspace-container #mw-navigation .mw-article-toolbar-container { margin-left: 0 !important; } body.skin-vector-search-vue .vector-body h1, body.skin-vector-search-vue .vector-body h2, body.skin-vector-search-vue .vector-body h3, body.skin-vector-search-vue .vector-body h4, body.skin-vector-search-vue .vector-body h5, body.skin-vector-search-vue .vector-body h6{ margin-top:0.8em; } body.skin-vector-search-vue .mw-history-subtitle{ margin-bottom:6px; } body.skin-vector-search-vue .printfooter{ display:block; margin: 5px 0; padding:5px; white-space:normal; border: 1px solid #eaecf0; box-sizing:border-box; background-color: white; } .client-js body.skin-vector-search-vue .mw-search-form-wrapper { min-height: 112px; } body.skin-vector-search-vue .noarticletext{ margin-bottom:5px; } body.skin-vector-search-vue .mw-menu-active{ background-color:#E6E6FA; } body.skin-vector-search-vue .mw-menu-inactive{ background-color:#EEE8AA; } body.skin-vector-search-vue .mw-menu-active,body.skin-vector-search-vue .mw-menu-inactive{ padding-left:5px !important; padding-right:5px !important; margin-left:0 !important; display:block; border-radius:5px; border:1px solid #a2a9b1; margin-top:3px; } body.skin-vector-search-vue .mw-items-active{ display:block; border-radius:5px; border:1px solid #a2a9b1; padding: 0 5px; margin-top:2px; } body.skin-vector-search-vue .mw-items-active > ul{ margin-top:0; } body.skin-vector-search-vue .mw-items-inactive{ display:none; } body.skin-vector-search-vue .mw-items-active,body.skin-vector-search-vue .mw-items-inactive{ margin-left:0px !important; } qm6utqbgr255x6kzjwx3pvr8a19y1jg Wikipedysta:Persino/vector-2022.js 2 58546 435311 434485 2022-07-20T20:00:42Z Persino 2851 javascript text/javascript function SideBarToc(){ var sidebar=skin_vector_2022[0].querySelector('.skin-vector-search-vue .mw-table-of-contents-container'); if(sidebar!==null){ var sidebartoc=sidebar.querySelector('.sidebar-toc'); if(sidebartoc!==null){ if(!$(sidebar).hasClass('sidebar_obecny')){ sidebar.classList.add('sidebar_obecny'); } alert("TYTAN") if(sidebar.clientHeight>=sidebartoc.clientHeight+window.scrollY){ sidebartoc.style.top=window.scrollY+"px"; }else if(sidebar.clientHeight>=sidebartoc.clientHeight){ sidebartoc.style.top=(sidebar.clientHeight-sidebartoc.clientHeight)+"px"; } }else{ sidebar.classList.remove('sidebar_obecny'); } } } function Brudnopis(){ var skin_brudnopis=$('.skin-vector-search-vue.action-view:not(.ns-special), .skin-vector-search-vue.action-edit, .skin-vector-search-vue.action-submit, .skin-vector-search-vue.action-history, .skin-vector-search-vue.action-delete, .skin-vector-search-vue.action-protect, .skin-vector-search-vue.action-unprotect, .skin-vector-search-vue.action-view.mw-special-Movepage'); if((skin_brudnopis===null)||(skin_brudnopis.length<=0)){return;} var user=mw.config.get('wgUserName'); if(!user){return;} var ul_zakladka=skin_brudnopis[0].querySelector('#p-views > .vector-menu-content > .vector-menu-content-list'); var ul_wiecej=skin_brudnopis[0].querySelector('#p-cactions > .vector-menu-content > .vector-menu-content-list'); if((!ul_zakladka)||(!ul_wiecej)){return;} var caption; if ( mw.config.get( 'wgUserLanguage' ) !== 'pl' ) { caption = 'Sandbox'; }else{ caption="Brudnopis"; } var brudnopis="Wikipedysta:"+(user.replace(/[\s_]/g,"_"))+"/brudnopis"; /*Zakładka*/ var node_zakladka=mw.util.addPortletLink( 'p-views', mw.util.getUrl(brudnopis) + "?redirect=no", caption, 'ca-sandbox', caption, '', ul_zakladka.firstChild); /*Więcej*/ var node_wiecej=mw.util.addPortletLink( 'p-cactions', mw.util.getUrl(brudnopis) + "?redirect=no", caption, 'ca-sandbox', caption, '', ul_wiecej.firstChild); node_wiecej.classList.add('vector-more-collapsible-item'); var strona=mw.config.get('wgPageName').replace(/^Dyskusja_wikipedysty/g,"Wikipedysta"); if(strona==brudnopis){ node_zakladka.classList.add('selected'); node_wiecej.classList.add('selected'); } } $(Brudnopis); var skin_vector_2022=$('.skin-vector-search-vue.action-view:not(.ns-special), .skin-vector-search-vue.action-submit'); if((skin_vector_2022!==null)&&(skin_vector_2022.length>0)){ $(SideBarToc); window.addEventListener('scroll', SideBarToc); } function BlankElements(){ var elements=$(".skin-vector-search-vue *"); if((elements!==null)&&(elements.length>0)){ for(var i=0;i<elements.length;++i){ var h=elements[i]; var wartosc=h.innerHTML.replace(/\n/g,"").replace(/<!--.*-->/g,""); if(/^\s*$/g.test(wartosc)){ h.classList.add("blank"); }else{ h.classList.remove("blank"); } } } } $(BlankElements); function ConintainerParserOut(){ $( ".skin-vector-search-vue .mw-parser-output" ).wrap(function() { return "<div class='mw-container-parser-output'></div>"; }); } ConintainerParserOut(); function OverflowXConintainerParserOut(){ $('.skin-vector-search-vue .mw-container-parser-output').addClass('mw-overflow-x'); } OverflowXConintainerParserOut(); function MwContainerParserOutput(){ var container=document.querySelector('.skin-vector-search-vue .mw-container-parser-output'); if(container!==null){ var height_container=container.clientHeight; if(height_container==0){ var con=document.querySelector('.mw-container-parser-output'); if(con){con.classList.add('has-mw-parser-output-whitespace')} } } } MwContainerParserOutput(); function LewaNawigacja(){ function UstawienieMenuNawigacjiWedlugCookie(menu_portret,czy_nawigacja){ var czy_odkryty=menu_portret.getAttribute("id"); var menu=$(menu_portret).children('.vector-menu-heading'); var nawigacja=mw.cookie.get(czy_odkryty,"Nawigacja"); if((nawigacja==null)||(nawigacja=="")){ if(czy_nawigacja){ menu.addClass('mw-menu-active'); menu.siblings('.vector-menu-content').addClass('mw-items-active'); }else{ menu.addClass('mw-menu-inactive'); menu.siblings('.vector-menu-content').addClass('mw-items-inactive'); } }else{ if(nawigacja=="true"){ menu.addClass('mw-menu-active'); menu.siblings('.vector-menu-content').addClass('mw-items-active'); }else{ menu.addClass('mw-menu-inactive'); menu.siblings('.vector-menu-content').addClass('mw-items-inactive'); } } } var portet_nawigacja=$('.skin-vector-search-vue #mw-panel.mw-sidebar .mw-portlet.mw-portlet-navigation'); var portet_inne_nawigacja=$('.skin-vector-search-vue #mw-panel.mw-sidebar .mw-portlet:not(.mw-portlet-navigation)'); if((portet_nawigacja==null)||(portet_nawigacja.length==0)||(portet_inne_nawigacja==null)||(portet_inne_nawigacja.length==0)){return;} portet_nawigacja.each(function(i){UstawienieMenuNawigacjiWedlugCookie(portet_nawigacja[i],true);}); portet_inne_nawigacja.each(function(i){UstawienieMenuNawigacjiWedlugCookie(portet_inne_nawigacja[i],false);}); function onclick(){ var id=$(this); if(id.hasClass('mw-menu-active')){ id.removeClass('mw-menu-active'); id.addClass('mw-menu-inactive') var czy_odkryty=id.parent()[0].getAttribute("id"); mw.cookie.set(czy_odkryty,"false",{prefix:"Nawigacja"}); }else{ id.removeClass('mw-menu-inactive'); id.addClass('mw-menu-active') var czy_odkryty=id.parent()[0].getAttribute("id"); mw.cookie.set(czy_odkryty,"true",{prefix:"Nawigacja"}); } var items=id.siblings('.vector-menu-content'); if(items.hasClass('mw-items-active')){ items.removeClass('mw-items-active'); items.addClass('mw-items-inactive') }else{ items.removeClass('mw-items-inactive'); items.addClass('mw-items-active'); } } $('#mw-panel.mw-sidebar .mw-portlet > .vector-menu-heading').on("click",onclick); } $(LewaNawigacja); entuu2hxg9ant7b77def2gh6xdl20dd 435312 435311 2022-07-20T20:01:45Z Persino 2851 javascript text/javascript function SideBarToc(){ var sidebar=skin_vector_2022[0].querySelector('.skin-vector-search-vue .mw-table-of-contents-container'); if(sidebar!==null){ var sidebartoc=sidebar.querySelector('.sidebar-toc'); if(sidebartoc!==null){ if(!$(sidebar).hasClass('sidebar_obecny')){ sidebar.classList.add('sidebar_obecny'); } if(sidebar.clientHeight>=sidebartoc.clientHeight+window.scrollY){ alert("TYTAN1") sidebartoc.style.top=window.scrollY+"px"; }else if(sidebar.clientHeight>=sidebartoc.clientHeight){ sidebartoc.style.top=(sidebar.clientHeight-sidebartoc.clientHeight)+"px"; } }else{ sidebar.classList.remove('sidebar_obecny'); } } } function Brudnopis(){ var skin_brudnopis=$('.skin-vector-search-vue.action-view:not(.ns-special), .skin-vector-search-vue.action-edit, .skin-vector-search-vue.action-submit, .skin-vector-search-vue.action-history, .skin-vector-search-vue.action-delete, .skin-vector-search-vue.action-protect, .skin-vector-search-vue.action-unprotect, .skin-vector-search-vue.action-view.mw-special-Movepage'); if((skin_brudnopis===null)||(skin_brudnopis.length<=0)){return;} var user=mw.config.get('wgUserName'); if(!user){return;} var ul_zakladka=skin_brudnopis[0].querySelector('#p-views > .vector-menu-content > .vector-menu-content-list'); var ul_wiecej=skin_brudnopis[0].querySelector('#p-cactions > .vector-menu-content > .vector-menu-content-list'); if((!ul_zakladka)||(!ul_wiecej)){return;} var caption; if ( mw.config.get( 'wgUserLanguage' ) !== 'pl' ) { caption = 'Sandbox'; }else{ caption="Brudnopis"; } var brudnopis="Wikipedysta:"+(user.replace(/[\s_]/g,"_"))+"/brudnopis"; /*Zakładka*/ var node_zakladka=mw.util.addPortletLink( 'p-views', mw.util.getUrl(brudnopis) + "?redirect=no", caption, 'ca-sandbox', caption, '', ul_zakladka.firstChild); /*Więcej*/ var node_wiecej=mw.util.addPortletLink( 'p-cactions', mw.util.getUrl(brudnopis) + "?redirect=no", caption, 'ca-sandbox', caption, '', ul_wiecej.firstChild); node_wiecej.classList.add('vector-more-collapsible-item'); var strona=mw.config.get('wgPageName').replace(/^Dyskusja_wikipedysty/g,"Wikipedysta"); if(strona==brudnopis){ node_zakladka.classList.add('selected'); node_wiecej.classList.add('selected'); } } $(Brudnopis); var skin_vector_2022=$('.skin-vector-search-vue.action-view:not(.ns-special), .skin-vector-search-vue.action-submit'); if((skin_vector_2022!==null)&&(skin_vector_2022.length>0)){ $(SideBarToc); window.addEventListener('scroll', SideBarToc); } function BlankElements(){ var elements=$(".skin-vector-search-vue *"); if((elements!==null)&&(elements.length>0)){ for(var i=0;i<elements.length;++i){ var h=elements[i]; var wartosc=h.innerHTML.replace(/\n/g,"").replace(/<!--.*-->/g,""); if(/^\s*$/g.test(wartosc)){ h.classList.add("blank"); }else{ h.classList.remove("blank"); } } } } $(BlankElements); function ConintainerParserOut(){ $( ".skin-vector-search-vue .mw-parser-output" ).wrap(function() { return "<div class='mw-container-parser-output'></div>"; }); } ConintainerParserOut(); function OverflowXConintainerParserOut(){ $('.skin-vector-search-vue .mw-container-parser-output').addClass('mw-overflow-x'); } OverflowXConintainerParserOut(); function MwContainerParserOutput(){ var container=document.querySelector('.skin-vector-search-vue .mw-container-parser-output'); if(container!==null){ var height_container=container.clientHeight; if(height_container==0){ var con=document.querySelector('.mw-container-parser-output'); if(con){con.classList.add('has-mw-parser-output-whitespace')} } } } MwContainerParserOutput(); function LewaNawigacja(){ function UstawienieMenuNawigacjiWedlugCookie(menu_portret,czy_nawigacja){ var czy_odkryty=menu_portret.getAttribute("id"); var menu=$(menu_portret).children('.vector-menu-heading'); var nawigacja=mw.cookie.get(czy_odkryty,"Nawigacja"); if((nawigacja==null)||(nawigacja=="")){ if(czy_nawigacja){ menu.addClass('mw-menu-active'); menu.siblings('.vector-menu-content').addClass('mw-items-active'); }else{ menu.addClass('mw-menu-inactive'); menu.siblings('.vector-menu-content').addClass('mw-items-inactive'); } }else{ if(nawigacja=="true"){ menu.addClass('mw-menu-active'); menu.siblings('.vector-menu-content').addClass('mw-items-active'); }else{ menu.addClass('mw-menu-inactive'); menu.siblings('.vector-menu-content').addClass('mw-items-inactive'); } } } var portet_nawigacja=$('.skin-vector-search-vue #mw-panel.mw-sidebar .mw-portlet.mw-portlet-navigation'); var portet_inne_nawigacja=$('.skin-vector-search-vue #mw-panel.mw-sidebar .mw-portlet:not(.mw-portlet-navigation)'); if((portet_nawigacja==null)||(portet_nawigacja.length==0)||(portet_inne_nawigacja==null)||(portet_inne_nawigacja.length==0)){return;} portet_nawigacja.each(function(i){UstawienieMenuNawigacjiWedlugCookie(portet_nawigacja[i],true);}); portet_inne_nawigacja.each(function(i){UstawienieMenuNawigacjiWedlugCookie(portet_inne_nawigacja[i],false);}); function onclick(){ var id=$(this); if(id.hasClass('mw-menu-active')){ id.removeClass('mw-menu-active'); id.addClass('mw-menu-inactive') var czy_odkryty=id.parent()[0].getAttribute("id"); mw.cookie.set(czy_odkryty,"false",{prefix:"Nawigacja"}); }else{ id.removeClass('mw-menu-inactive'); id.addClass('mw-menu-active') var czy_odkryty=id.parent()[0].getAttribute("id"); mw.cookie.set(czy_odkryty,"true",{prefix:"Nawigacja"}); } var items=id.siblings('.vector-menu-content'); if(items.hasClass('mw-items-active')){ items.removeClass('mw-items-active'); items.addClass('mw-items-inactive') }else{ items.removeClass('mw-items-inactive'); items.addClass('mw-items-active'); } } $('#mw-panel.mw-sidebar .mw-portlet > .vector-menu-heading').on("click",onclick); } $(LewaNawigacja); ahbpqa6axzxlbfr6eo525gh1g6n9oqc 435313 435312 2022-07-20T20:02:22Z Persino 2851 javascript text/javascript function SideBarToc(){ var sidebar=skin_vector_2022[0].querySelector('.skin-vector-search-vue .mw-table-of-contents-container'); if(sidebar!==null){ var sidebartoc=sidebar.querySelector('.sidebar-toc'); if(sidebartoc!==null){ if(!$(sidebar).hasClass('sidebar_obecny')){ sidebar.classList.add('sidebar_obecny'); } if(sidebar.clientHeight>=sidebartoc.clientHeight+window.scrollY){ sidebartoc.style.top=window.scrollY+"px"; }else if(sidebar.clientHeight>=sidebartoc.clientHeight){ alert("TYTAN2"); sidebartoc.style.top=(sidebar.clientHeight-sidebartoc.clientHeight)+"px"; } }else{ sidebar.classList.remove('sidebar_obecny'); } } } function Brudnopis(){ var skin_brudnopis=$('.skin-vector-search-vue.action-view:not(.ns-special), .skin-vector-search-vue.action-edit, .skin-vector-search-vue.action-submit, .skin-vector-search-vue.action-history, .skin-vector-search-vue.action-delete, .skin-vector-search-vue.action-protect, .skin-vector-search-vue.action-unprotect, .skin-vector-search-vue.action-view.mw-special-Movepage'); if((skin_brudnopis===null)||(skin_brudnopis.length<=0)){return;} var user=mw.config.get('wgUserName'); if(!user){return;} var ul_zakladka=skin_brudnopis[0].querySelector('#p-views > .vector-menu-content > .vector-menu-content-list'); var ul_wiecej=skin_brudnopis[0].querySelector('#p-cactions > .vector-menu-content > .vector-menu-content-list'); if((!ul_zakladka)||(!ul_wiecej)){return;} var caption; if ( mw.config.get( 'wgUserLanguage' ) !== 'pl' ) { caption = 'Sandbox'; }else{ caption="Brudnopis"; } var brudnopis="Wikipedysta:"+(user.replace(/[\s_]/g,"_"))+"/brudnopis"; /*Zakładka*/ var node_zakladka=mw.util.addPortletLink( 'p-views', mw.util.getUrl(brudnopis) + "?redirect=no", caption, 'ca-sandbox', caption, '', ul_zakladka.firstChild); /*Więcej*/ var node_wiecej=mw.util.addPortletLink( 'p-cactions', mw.util.getUrl(brudnopis) + "?redirect=no", caption, 'ca-sandbox', caption, '', ul_wiecej.firstChild); node_wiecej.classList.add('vector-more-collapsible-item'); var strona=mw.config.get('wgPageName').replace(/^Dyskusja_wikipedysty/g,"Wikipedysta"); if(strona==brudnopis){ node_zakladka.classList.add('selected'); node_wiecej.classList.add('selected'); } } $(Brudnopis); var skin_vector_2022=$('.skin-vector-search-vue.action-view:not(.ns-special), .skin-vector-search-vue.action-submit'); if((skin_vector_2022!==null)&&(skin_vector_2022.length>0)){ $(SideBarToc); window.addEventListener('scroll', SideBarToc); } function BlankElements(){ var elements=$(".skin-vector-search-vue *"); if((elements!==null)&&(elements.length>0)){ for(var i=0;i<elements.length;++i){ var h=elements[i]; var wartosc=h.innerHTML.replace(/\n/g,"").replace(/<!--.*-->/g,""); if(/^\s*$/g.test(wartosc)){ h.classList.add("blank"); }else{ h.classList.remove("blank"); } } } } $(BlankElements); function ConintainerParserOut(){ $( ".skin-vector-search-vue .mw-parser-output" ).wrap(function() { return "<div class='mw-container-parser-output'></div>"; }); } ConintainerParserOut(); function OverflowXConintainerParserOut(){ $('.skin-vector-search-vue .mw-container-parser-output').addClass('mw-overflow-x'); } OverflowXConintainerParserOut(); function MwContainerParserOutput(){ var container=document.querySelector('.skin-vector-search-vue .mw-container-parser-output'); if(container!==null){ var height_container=container.clientHeight; if(height_container==0){ var con=document.querySelector('.mw-container-parser-output'); if(con){con.classList.add('has-mw-parser-output-whitespace')} } } } MwContainerParserOutput(); function LewaNawigacja(){ function UstawienieMenuNawigacjiWedlugCookie(menu_portret,czy_nawigacja){ var czy_odkryty=menu_portret.getAttribute("id"); var menu=$(menu_portret).children('.vector-menu-heading'); var nawigacja=mw.cookie.get(czy_odkryty,"Nawigacja"); if((nawigacja==null)||(nawigacja=="")){ if(czy_nawigacja){ menu.addClass('mw-menu-active'); menu.siblings('.vector-menu-content').addClass('mw-items-active'); }else{ menu.addClass('mw-menu-inactive'); menu.siblings('.vector-menu-content').addClass('mw-items-inactive'); } }else{ if(nawigacja=="true"){ menu.addClass('mw-menu-active'); menu.siblings('.vector-menu-content').addClass('mw-items-active'); }else{ menu.addClass('mw-menu-inactive'); menu.siblings('.vector-menu-content').addClass('mw-items-inactive'); } } } var portet_nawigacja=$('.skin-vector-search-vue #mw-panel.mw-sidebar .mw-portlet.mw-portlet-navigation'); var portet_inne_nawigacja=$('.skin-vector-search-vue #mw-panel.mw-sidebar .mw-portlet:not(.mw-portlet-navigation)'); if((portet_nawigacja==null)||(portet_nawigacja.length==0)||(portet_inne_nawigacja==null)||(portet_inne_nawigacja.length==0)){return;} portet_nawigacja.each(function(i){UstawienieMenuNawigacjiWedlugCookie(portet_nawigacja[i],true);}); portet_inne_nawigacja.each(function(i){UstawienieMenuNawigacjiWedlugCookie(portet_inne_nawigacja[i],false);}); function onclick(){ var id=$(this); if(id.hasClass('mw-menu-active')){ id.removeClass('mw-menu-active'); id.addClass('mw-menu-inactive') var czy_odkryty=id.parent()[0].getAttribute("id"); mw.cookie.set(czy_odkryty,"false",{prefix:"Nawigacja"}); }else{ id.removeClass('mw-menu-inactive'); id.addClass('mw-menu-active') var czy_odkryty=id.parent()[0].getAttribute("id"); mw.cookie.set(czy_odkryty,"true",{prefix:"Nawigacja"}); } var items=id.siblings('.vector-menu-content'); if(items.hasClass('mw-items-active')){ items.removeClass('mw-items-active'); items.addClass('mw-items-inactive') }else{ items.removeClass('mw-items-inactive'); items.addClass('mw-items-active'); } } $('#mw-panel.mw-sidebar .mw-portlet > .vector-menu-heading').on("click",onclick); } $(LewaNawigacja); 2ht0yhjjp0iapcv26ab1yi2szjzd6ew 435314 435313 2022-07-20T20:04:20Z Persino 2851 javascript text/javascript function SideBarToc(){ var sidebar=skin_vector_2022[0].querySelector('.skin-vector-search-vue .mw-table-of-contents-container'); if(sidebar!==null){ var sidebartoc=sidebar.querySelector('.sidebar-toc'); if(sidebartoc!==null){ if(!$(sidebar).hasClass('sidebar_obecny')){ sidebar.classList.add('sidebar_obecny'); } if(sidebar.clientHeight>=sidebartoc.clientHeight+window.scrollY){ sidebartoc.style.top=window.scrollY+"px"; }else if(sidebar.clientHeight>=sidebartoc.clientHeight){ sidebartoc.style.top=(sidebar.clientHeight-sidebartoc.clientHeight)+"px"; } }else{ sidebar.classList.remove('sidebar_obecny'); } } } function Brudnopis(){ var skin_brudnopis=$('.skin-vector-search-vue.action-view:not(.ns-special), .skin-vector-search-vue.action-edit, .skin-vector-search-vue.action-submit, .skin-vector-search-vue.action-history, .skin-vector-search-vue.action-delete, .skin-vector-search-vue.action-protect, .skin-vector-search-vue.action-unprotect, .skin-vector-search-vue.action-view.mw-special-Movepage'); if((skin_brudnopis===null)||(skin_brudnopis.length<=0)){return;} var user=mw.config.get('wgUserName'); if(!user){return;} var ul_zakladka=skin_brudnopis[0].querySelector('#p-views > .vector-menu-content > .vector-menu-content-list'); var ul_wiecej=skin_brudnopis[0].querySelector('#p-cactions > .vector-menu-content > .vector-menu-content-list'); if((!ul_zakladka)||(!ul_wiecej)){return;} var caption; if ( mw.config.get( 'wgUserLanguage' ) !== 'pl' ) { caption = 'Sandbox'; }else{ caption="Brudnopis"; } var brudnopis="Wikipedysta:"+(user.replace(/[\s_]/g,"_"))+"/brudnopis"; /*Zakładka*/ var node_zakladka=mw.util.addPortletLink( 'p-views', mw.util.getUrl(brudnopis) + "?redirect=no", caption, 'ca-sandbox', caption, '', ul_zakladka.firstChild); /*Więcej*/ var node_wiecej=mw.util.addPortletLink( 'p-cactions', mw.util.getUrl(brudnopis) + "?redirect=no", caption, 'ca-sandbox', caption, '', ul_wiecej.firstChild); node_wiecej.classList.add('vector-more-collapsible-item'); var strona=mw.config.get('wgPageName').replace(/^Dyskusja_wikipedysty/g,"Wikipedysta"); if(strona==brudnopis){ node_zakladka.classList.add('selected'); node_wiecej.classList.add('selected'); } } $(Brudnopis); var skin_vector_2022=$('.skin-vector-search-vue.action-view:not(.ns-special), .skin-vector-search-vue.action-submit'); if((skin_vector_2022!==null)&&(skin_vector_2022.length>0)){ $(SideBarToc); window.addEventListener('scroll', SideBarToc); } function BlankElements(){ var elements=$(".skin-vector-search-vue *"); if((elements!==null)&&(elements.length>0)){ for(var i=0;i<elements.length;++i){ var h=elements[i]; var wartosc=h.innerHTML.replace(/\n/g,"").replace(/<!--.*-->/g,""); if(/^\s*$/g.test(wartosc)){ h.classList.add("blank"); }else{ h.classList.remove("blank"); } } } } $(BlankElements); function ConintainerParserOut(){ $( ".skin-vector-search-vue .mw-parser-output" ).wrap(function() { return "<div class='mw-container-parser-output'></div>"; }); } ConintainerParserOut(); function OverflowXConintainerParserOut(){ $('.skin-vector-search-vue .mw-container-parser-output').addClass('mw-overflow-x'); } OverflowXConintainerParserOut(); function MwContainerParserOutput(){ var container=document.querySelector('.skin-vector-search-vue .mw-container-parser-output'); if(container!==null){ var height_container=container.clientHeight; if(height_container==0){ var con=document.querySelector('.mw-container-parser-output'); if(con){con.classList.add('has-mw-parser-output-whitespace')} } } } MwContainerParserOutput(); function LewaNawigacja(){ function UstawienieMenuNawigacjiWedlugCookie(menu_portret,czy_nawigacja){ var czy_odkryty=menu_portret.getAttribute("id"); var menu=$(menu_portret).children('.vector-menu-heading'); var nawigacja=mw.cookie.get(czy_odkryty,"Nawigacja"); if((nawigacja==null)||(nawigacja=="")){ if(czy_nawigacja){ menu.addClass('mw-menu-active'); menu.siblings('.vector-menu-content').addClass('mw-items-active'); }else{ menu.addClass('mw-menu-inactive'); menu.siblings('.vector-menu-content').addClass('mw-items-inactive'); } }else{ if(nawigacja=="true"){ menu.addClass('mw-menu-active'); menu.siblings('.vector-menu-content').addClass('mw-items-active'); }else{ menu.addClass('mw-menu-inactive'); menu.siblings('.vector-menu-content').addClass('mw-items-inactive'); } } } var portet_nawigacja=$('.skin-vector-search-vue #mw-panel.mw-sidebar .mw-portlet.mw-portlet-navigation'); var portet_inne_nawigacja=$('.skin-vector-search-vue #mw-panel.mw-sidebar .mw-portlet:not(.mw-portlet-navigation)'); if((portet_nawigacja==null)||(portet_nawigacja.length==0)||(portet_inne_nawigacja==null)||(portet_inne_nawigacja.length==0)){return;} portet_nawigacja.each(function(i){UstawienieMenuNawigacjiWedlugCookie(portet_nawigacja[i],true);}); portet_inne_nawigacja.each(function(i){UstawienieMenuNawigacjiWedlugCookie(portet_inne_nawigacja[i],false);}); function onclick(){ var id=$(this); if(id.hasClass('mw-menu-active')){ id.removeClass('mw-menu-active'); id.addClass('mw-menu-inactive') var czy_odkryty=id.parent()[0].getAttribute("id"); mw.cookie.set(czy_odkryty,"false",{prefix:"Nawigacja"}); }else{ id.removeClass('mw-menu-inactive'); id.addClass('mw-menu-active') var czy_odkryty=id.parent()[0].getAttribute("id"); mw.cookie.set(czy_odkryty,"true",{prefix:"Nawigacja"}); } var items=id.siblings('.vector-menu-content'); if(items.hasClass('mw-items-active')){ items.removeClass('mw-items-active'); items.addClass('mw-items-inactive') }else{ items.removeClass('mw-items-inactive'); items.addClass('mw-items-active'); } } $('#mw-panel.mw-sidebar .mw-portlet > .vector-menu-heading').on("click",onclick); } $(LewaNawigacja); s1k5jyc4j4s4j4m17oka6kcub88gmlg 435318 435314 2022-07-21T10:04:32Z Persino 2851 Persino przeniósł stronę [[Wikipedysta:Persino/vector-2022.js]] na [[Wikipedysta:Persino/vector-2022-brudnopis.js]], bez pozostawienia przekierowania pod starym tytułem javascript text/javascript function SideBarToc(){ var sidebar=skin_vector_2022[0].querySelector('.skin-vector-search-vue .mw-table-of-contents-container'); if(sidebar!==null){ var sidebartoc=sidebar.querySelector('.sidebar-toc'); if(sidebartoc!==null){ if(!$(sidebar).hasClass('sidebar_obecny')){ sidebar.classList.add('sidebar_obecny'); } if(sidebar.clientHeight>=sidebartoc.clientHeight+window.scrollY){ sidebartoc.style.top=window.scrollY+"px"; }else if(sidebar.clientHeight>=sidebartoc.clientHeight){ sidebartoc.style.top=(sidebar.clientHeight-sidebartoc.clientHeight)+"px"; } }else{ sidebar.classList.remove('sidebar_obecny'); } } } function Brudnopis(){ var skin_brudnopis=$('.skin-vector-search-vue.action-view:not(.ns-special), .skin-vector-search-vue.action-edit, .skin-vector-search-vue.action-submit, .skin-vector-search-vue.action-history, .skin-vector-search-vue.action-delete, .skin-vector-search-vue.action-protect, .skin-vector-search-vue.action-unprotect, .skin-vector-search-vue.action-view.mw-special-Movepage'); if((skin_brudnopis===null)||(skin_brudnopis.length<=0)){return;} var user=mw.config.get('wgUserName'); if(!user){return;} var ul_zakladka=skin_brudnopis[0].querySelector('#p-views > .vector-menu-content > .vector-menu-content-list'); var ul_wiecej=skin_brudnopis[0].querySelector('#p-cactions > .vector-menu-content > .vector-menu-content-list'); if((!ul_zakladka)||(!ul_wiecej)){return;} var caption; if ( mw.config.get( 'wgUserLanguage' ) !== 'pl' ) { caption = 'Sandbox'; }else{ caption="Brudnopis"; } var brudnopis="Wikipedysta:"+(user.replace(/[\s_]/g,"_"))+"/brudnopis"; /*Zakładka*/ var node_zakladka=mw.util.addPortletLink( 'p-views', mw.util.getUrl(brudnopis) + "?redirect=no", caption, 'ca-sandbox', caption, '', ul_zakladka.firstChild); /*Więcej*/ var node_wiecej=mw.util.addPortletLink( 'p-cactions', mw.util.getUrl(brudnopis) + "?redirect=no", caption, 'ca-sandbox', caption, '', ul_wiecej.firstChild); node_wiecej.classList.add('vector-more-collapsible-item'); var strona=mw.config.get('wgPageName').replace(/^Dyskusja_wikipedysty/g,"Wikipedysta"); if(strona==brudnopis){ node_zakladka.classList.add('selected'); node_wiecej.classList.add('selected'); } } $(Brudnopis); var skin_vector_2022=$('.skin-vector-search-vue.action-view:not(.ns-special), .skin-vector-search-vue.action-submit'); if((skin_vector_2022!==null)&&(skin_vector_2022.length>0)){ $(SideBarToc); window.addEventListener('scroll', SideBarToc); } function BlankElements(){ var elements=$(".skin-vector-search-vue *"); if((elements!==null)&&(elements.length>0)){ for(var i=0;i<elements.length;++i){ var h=elements[i]; var wartosc=h.innerHTML.replace(/\n/g,"").replace(/<!--.*-->/g,""); if(/^\s*$/g.test(wartosc)){ h.classList.add("blank"); }else{ h.classList.remove("blank"); } } } } $(BlankElements); function ConintainerParserOut(){ $( ".skin-vector-search-vue .mw-parser-output" ).wrap(function() { return "<div class='mw-container-parser-output'></div>"; }); } ConintainerParserOut(); function OverflowXConintainerParserOut(){ $('.skin-vector-search-vue .mw-container-parser-output').addClass('mw-overflow-x'); } OverflowXConintainerParserOut(); function MwContainerParserOutput(){ var container=document.querySelector('.skin-vector-search-vue .mw-container-parser-output'); if(container!==null){ var height_container=container.clientHeight; if(height_container==0){ var con=document.querySelector('.mw-container-parser-output'); if(con){con.classList.add('has-mw-parser-output-whitespace')} } } } MwContainerParserOutput(); function LewaNawigacja(){ function UstawienieMenuNawigacjiWedlugCookie(menu_portret,czy_nawigacja){ var czy_odkryty=menu_portret.getAttribute("id"); var menu=$(menu_portret).children('.vector-menu-heading'); var nawigacja=mw.cookie.get(czy_odkryty,"Nawigacja"); if((nawigacja==null)||(nawigacja=="")){ if(czy_nawigacja){ menu.addClass('mw-menu-active'); menu.siblings('.vector-menu-content').addClass('mw-items-active'); }else{ menu.addClass('mw-menu-inactive'); menu.siblings('.vector-menu-content').addClass('mw-items-inactive'); } }else{ if(nawigacja=="true"){ menu.addClass('mw-menu-active'); menu.siblings('.vector-menu-content').addClass('mw-items-active'); }else{ menu.addClass('mw-menu-inactive'); menu.siblings('.vector-menu-content').addClass('mw-items-inactive'); } } } var portet_nawigacja=$('.skin-vector-search-vue #mw-panel.mw-sidebar .mw-portlet.mw-portlet-navigation'); var portet_inne_nawigacja=$('.skin-vector-search-vue #mw-panel.mw-sidebar .mw-portlet:not(.mw-portlet-navigation)'); if((portet_nawigacja==null)||(portet_nawigacja.length==0)||(portet_inne_nawigacja==null)||(portet_inne_nawigacja.length==0)){return;} portet_nawigacja.each(function(i){UstawienieMenuNawigacjiWedlugCookie(portet_nawigacja[i],true);}); portet_inne_nawigacja.each(function(i){UstawienieMenuNawigacjiWedlugCookie(portet_inne_nawigacja[i],false);}); function onclick(){ var id=$(this); if(id.hasClass('mw-menu-active')){ id.removeClass('mw-menu-active'); id.addClass('mw-menu-inactive') var czy_odkryty=id.parent()[0].getAttribute("id"); mw.cookie.set(czy_odkryty,"false",{prefix:"Nawigacja"}); }else{ id.removeClass('mw-menu-inactive'); id.addClass('mw-menu-active') var czy_odkryty=id.parent()[0].getAttribute("id"); mw.cookie.set(czy_odkryty,"true",{prefix:"Nawigacja"}); } var items=id.siblings('.vector-menu-content'); if(items.hasClass('mw-items-active')){ items.removeClass('mw-items-active'); items.addClass('mw-items-inactive') }else{ items.removeClass('mw-items-inactive'); items.addClass('mw-items-active'); } } $('#mw-panel.mw-sidebar .mw-portlet > .vector-menu-heading').on("click",onclick); } $(LewaNawigacja); s1k5jyc4j4s4j4m17oka6kcub88gmlg 435321 435318 2022-07-21T10:49:33Z Persino 2851 Persino przeniósł stronę [[Wikipedysta:Persino/vector-2022-brudnopis.js]] na [[Wikipedysta:Persino/vector-2022.js]], bez pozostawienia przekierowania pod starym tytułem javascript text/javascript function SideBarToc(){ var sidebar=skin_vector_2022[0].querySelector('.skin-vector-search-vue .mw-table-of-contents-container'); if(sidebar!==null){ var sidebartoc=sidebar.querySelector('.sidebar-toc'); if(sidebartoc!==null){ if(!$(sidebar).hasClass('sidebar_obecny')){ sidebar.classList.add('sidebar_obecny'); } if(sidebar.clientHeight>=sidebartoc.clientHeight+window.scrollY){ sidebartoc.style.top=window.scrollY+"px"; }else if(sidebar.clientHeight>=sidebartoc.clientHeight){ sidebartoc.style.top=(sidebar.clientHeight-sidebartoc.clientHeight)+"px"; } }else{ sidebar.classList.remove('sidebar_obecny'); } } } function Brudnopis(){ var skin_brudnopis=$('.skin-vector-search-vue.action-view:not(.ns-special), .skin-vector-search-vue.action-edit, .skin-vector-search-vue.action-submit, .skin-vector-search-vue.action-history, .skin-vector-search-vue.action-delete, .skin-vector-search-vue.action-protect, .skin-vector-search-vue.action-unprotect, .skin-vector-search-vue.action-view.mw-special-Movepage'); if((skin_brudnopis===null)||(skin_brudnopis.length<=0)){return;} var user=mw.config.get('wgUserName'); if(!user){return;} var ul_zakladka=skin_brudnopis[0].querySelector('#p-views > .vector-menu-content > .vector-menu-content-list'); var ul_wiecej=skin_brudnopis[0].querySelector('#p-cactions > .vector-menu-content > .vector-menu-content-list'); if((!ul_zakladka)||(!ul_wiecej)){return;} var caption; if ( mw.config.get( 'wgUserLanguage' ) !== 'pl' ) { caption = 'Sandbox'; }else{ caption="Brudnopis"; } var brudnopis="Wikipedysta:"+(user.replace(/[\s_]/g,"_"))+"/brudnopis"; /*Zakładka*/ var node_zakladka=mw.util.addPortletLink( 'p-views', mw.util.getUrl(brudnopis) + "?redirect=no", caption, 'ca-sandbox', caption, '', ul_zakladka.firstChild); /*Więcej*/ var node_wiecej=mw.util.addPortletLink( 'p-cactions', mw.util.getUrl(brudnopis) + "?redirect=no", caption, 'ca-sandbox', caption, '', ul_wiecej.firstChild); node_wiecej.classList.add('vector-more-collapsible-item'); var strona=mw.config.get('wgPageName').replace(/^Dyskusja_wikipedysty/g,"Wikipedysta"); if(strona==brudnopis){ node_zakladka.classList.add('selected'); node_wiecej.classList.add('selected'); } } $(Brudnopis); var skin_vector_2022=$('.skin-vector-search-vue.action-view:not(.ns-special), .skin-vector-search-vue.action-submit'); if((skin_vector_2022!==null)&&(skin_vector_2022.length>0)){ $(SideBarToc); window.addEventListener('scroll', SideBarToc); } function BlankElements(){ var elements=$(".skin-vector-search-vue *"); if((elements!==null)&&(elements.length>0)){ for(var i=0;i<elements.length;++i){ var h=elements[i]; var wartosc=h.innerHTML.replace(/\n/g,"").replace(/<!--.*-->/g,""); if(/^\s*$/g.test(wartosc)){ h.classList.add("blank"); }else{ h.classList.remove("blank"); } } } } $(BlankElements); function ConintainerParserOut(){ $( ".skin-vector-search-vue .mw-parser-output" ).wrap(function() { return "<div class='mw-container-parser-output'></div>"; }); } ConintainerParserOut(); function OverflowXConintainerParserOut(){ $('.skin-vector-search-vue .mw-container-parser-output').addClass('mw-overflow-x'); } OverflowXConintainerParserOut(); function MwContainerParserOutput(){ var container=document.querySelector('.skin-vector-search-vue .mw-container-parser-output'); if(container!==null){ var height_container=container.clientHeight; if(height_container==0){ var con=document.querySelector('.mw-container-parser-output'); if(con){con.classList.add('has-mw-parser-output-whitespace')} } } } MwContainerParserOutput(); function LewaNawigacja(){ function UstawienieMenuNawigacjiWedlugCookie(menu_portret,czy_nawigacja){ var czy_odkryty=menu_portret.getAttribute("id"); var menu=$(menu_portret).children('.vector-menu-heading'); var nawigacja=mw.cookie.get(czy_odkryty,"Nawigacja"); if((nawigacja==null)||(nawigacja=="")){ if(czy_nawigacja){ menu.addClass('mw-menu-active'); menu.siblings('.vector-menu-content').addClass('mw-items-active'); }else{ menu.addClass('mw-menu-inactive'); menu.siblings('.vector-menu-content').addClass('mw-items-inactive'); } }else{ if(nawigacja=="true"){ menu.addClass('mw-menu-active'); menu.siblings('.vector-menu-content').addClass('mw-items-active'); }else{ menu.addClass('mw-menu-inactive'); menu.siblings('.vector-menu-content').addClass('mw-items-inactive'); } } } var portet_nawigacja=$('.skin-vector-search-vue #mw-panel.mw-sidebar .mw-portlet.mw-portlet-navigation'); var portet_inne_nawigacja=$('.skin-vector-search-vue #mw-panel.mw-sidebar .mw-portlet:not(.mw-portlet-navigation)'); if((portet_nawigacja==null)||(portet_nawigacja.length==0)||(portet_inne_nawigacja==null)||(portet_inne_nawigacja.length==0)){return;} portet_nawigacja.each(function(i){UstawienieMenuNawigacjiWedlugCookie(portet_nawigacja[i],true);}); portet_inne_nawigacja.each(function(i){UstawienieMenuNawigacjiWedlugCookie(portet_inne_nawigacja[i],false);}); function onclick(){ var id=$(this); if(id.hasClass('mw-menu-active')){ id.removeClass('mw-menu-active'); id.addClass('mw-menu-inactive') var czy_odkryty=id.parent()[0].getAttribute("id"); mw.cookie.set(czy_odkryty,"false",{prefix:"Nawigacja"}); }else{ id.removeClass('mw-menu-inactive'); id.addClass('mw-menu-active') var czy_odkryty=id.parent()[0].getAttribute("id"); mw.cookie.set(czy_odkryty,"true",{prefix:"Nawigacja"}); } var items=id.siblings('.vector-menu-content'); if(items.hasClass('mw-items-active')){ items.removeClass('mw-items-active'); items.addClass('mw-items-inactive') }else{ items.removeClass('mw-items-inactive'); items.addClass('mw-items-active'); } } $('#mw-panel.mw-sidebar .mw-portlet > .vector-menu-heading').on("click",onclick); } $(LewaNawigacja); s1k5jyc4j4s4j4m17oka6kcub88gmlg Szablon:StronaStart/stronastart.css 10 58549 435317 434905 2022-07-20T20:19:19Z Persino 2851 sanitized-css text/css .spis.mw-sticky-y:not(:hover){ transform: scale(0.3,0.3) translate(117%,-117%); /**/ transition: transform 500ms ease-out; transition-property: transform; transition-duration: 500ms; transition-timing-function: ease-out; transition-delay: 1s; } .spis.mw-sticky-y:hover{ transition: transform 500ms ease-out; transition-property: transform; transition-duration: 500ms; transition-timing-function: ease-out; transition-delay: 0s; } .pierwsza_strona.mw-overflow-y.mw-scrollbar-overflow-y{ padding-right:10px; } .pierwsza_strona .wikitable{ margin-top:5px; margin-bottom:5px; } .strona_start{ background-color:white; } .tło{ background-color:white; background-image: url('//upload.wikimedia.org/wikipedia/commons/thumb/b/ba/Wikibooks_multicolor_open_book_no_text.svg/200px-Wikibooks_multicolor_open_book_no_text.svg.png'); } .strona h1, .strona h2,.strona h3,.strona h4,.strona h5,.strona h6{ text-align:left; } .strona > .ciało_kontener > .ciało_strona > p:first-of-type{ margin-top:0; } .strona > .ciało_kontener > .ciało_strona > :not(style):not(link):not(p) + p, .strona > .ciało_kontener > .ciało_strona > :not(style):not(link):not(p).noprint + p{ margin-top:0.6em; } .strona > .ciało_kontener > .ciało_strona > :not(style):not(link):not(p).floatleft + p:first-of-type, .strona > .ciało_kontener > .ciało_strona > :not(style):not(link):not(p).floatright + p:first-of-type, .strona > .ciało_kontener > .ciało_strona > :not(style):not(link):not(p).tleft + p:first-of-type, .strona > .ciało_kontener > .ciało_strona > :not(style):not(link):not(p).tright + p:first-of-type{ margin-top:0; } .strona > .ciało_kontener > .ciało_strona > p:last-of-type{ margin-bottom:0; } @media print{ .noprint{ display:none; } .print{ display:block; } } .gallerytext, .plainlinks{ text-align:left; } .strona.mw-scrollbar-overflow-x{ padding-bottom:5px; } .strona.mw-scrollbar-overflow-y{ padding-right:5px; } cr7m5k09wiz7xfwtsqh651lo9qfozls Wikipedysta:Persino/common.js 2 58552 435268 435263 2022-07-20T18:10:01Z Persino 2851 javascript text/javascript mw.loader.load( '//pl.wikibooks.org/w/index.php?action=raw&ctype=text/javascript&title=Wikipedysta:Persino/Gadget-StronicowyParser.js', 'text/javascript', true ); /**/ /*Funkcja do liczenia, czy nastąpiło przepełnienie poziome lub pionowe*/ function ScrollBarOverflow(){ $('*.mw-overflow-x, *.mw-overflow-y').each(function(i,element_g){ /*start overflow*/ var overflow=window.getComputedStyle(element_g, null).getPropertyValue("overflow"); var overflow_x=$(element_g).hasClass('mw-overflow-x'); if(overflow_x){ var overflowX=(((overflow)&&(overflow!=""))?overflow:window.getComputedStyle(element_g, null).getPropertyValue("overflow-x")); if((overflowX)&&(overflowX=="auto")){ const hasHorizontalScrollbar = element_g.scrollWidth > element_g.clientWidth; // true lub false if(hasHorizontalScrollbar){ element_g.classList.add("mw-scrollbar-overflow-x"); }else{ element_g.classList.remove("mw-scrollbar-overflow-x"); } } } var overflow_y=$(element_g).hasClass('mw-overflow-y'); if(overflow_y){ var overflowY=(((overflow)&&(overflow!=""))?overflow:window.getComputedStyle(element_g, null).getPropertyValue("overflow-y")); if((overflowY)&&(overflowY=="auto")){ const hasVerticalScrollbar = element_g.scrollHeight > element_g.clientHeight; // true lub false if(hasVerticalScrollbar){ element_g.classList.add("mw-scrollbar-overflow-y"); }else{ element_g.classList.remove("mw-scrollbar-overflow-y"); } } } /*koniec overflow*/ }); } $(ScrollBarOverflow); $(window).on('resize', ScrollBarOverflow); /*Funkcja symulująca właściwości position:sticky, wszędzie tam, gdzie nie można go użyć.*/ function StickyXY(){ $('*.mw-sticky-x, *.mw-sticky-y').each(function(i,element_g){ function FunStickyXY(top,bottom,height){ if(element_g.style[top+"Old"]===undefined){ element_g.style[top+"Old"]=parseFloat(window.getComputedStyle(element_g, null).getPropertyValue(top)); element_g.style[top+"Old"]=((!isNaN(element_g.style[top+"Old"]))?element_g.style[top+"Old"]:0); } if(element_g.style[bottom+"Old"]===undefined){ element_g.style[bottom+"Old"]=parseFloat(window.getComputedStyle(element_g, null).getPropertyValue(bottom)); element_g.style[bottom+"Old"]=((!isNaN(element_g.style[bottom+"Old"]))?element_g.style[bottom+"Old"]:0); } var margintop=parseFloat(window.getComputedStyle(element_g, null).getPropertyValue("margin-"+top)); margintop=((!isNaN(margintop))?margintop:0); var marginbottom=parseFloat(window.getComputedStyle(element_g, null).getPropertyValue("margin-"+bottom)); marginbottom=((!isNaN(marginbottom))?marginbottom:0); var przodek_height=undefined; var rect_dziecko=element_g.getBoundingClientRect(); var rect_rodzic=element_g.parentNode.getBoundingClientRect(); var top_ab=rect_rodzic[top]-margintop; var bottom_ab=rect_rodzic[bottom]-marginbottom; var height_obj=rect_dziecko[height]+((top_ab<=0)?(element_g.style[top+"Old"]):(Math.max(0,element_g.style[top+"Old"]-top_ab)))+margintop+((bottom_ab<=0)?(element_g.style[bottom+"Old"]):(Math.max(0,element_g.style[bottom+"Old"]-bottom_ab)))+marginbottom; for(var rodzic=element_g.parentNode;((rodzic!=null)&&(rodzic!=document));rodzic=rodzic.parentNode){ var height_rodzic=parseFloat(window.getComputedStyle(rodzic, null).getPropertyValue([height])); if(height_rodzic>=height_obj){ przodek_height=height_rodzic; break; } } if(!przodek_height){ element_g.style.display="none"; return; } var top_obj=(((top_ab>=0)?0:(-top_ab)))+((top_ab<=0)?(element_g.style[top+"Old"]):(Math.max(0,element_g.style[top+"Old"]-top_ab))); var wysokosc=top_obj+margintop+rect_dziecko[height]+((bottom_ab<=0)?(element_g.style[bottom+"Old"]):(Math.max(0,element_g.style[bottom+"Old"]-bottom_ab)))+marginbottom; if(wysokosc>=przodek_height){ element_g.style[top]="auto"; element_g.style[bottom]=(((bottom_ab<=0)?(element_g.style[bottom+"Old"]):(Math.max(0,element_g.style[bottom+"Old"]-bottom_ab)))+marginbottom)+"px"; }else{ element_g.style[top]=top_obj+"px"; element_g.style[bottom]="auto"; } //$(element_g).children(":not(style):not(link)").first().each(function(i,element_f){ // var padding_top=parseFloat(window.getComputedStyle(element_g, null).getPropertyValue("padding-"+top)); // var padding_bottom=parseFloat(window.getComputedStyle(element_g, null).getPropertyValue("padding-"+bottom)); // var border_top=parseFloat(window.getComputedStyle(element_g, null).getPropertyValue("border-"+top+"-width")); // var border_bottom=parseFloat(window.getComputedStyle(element_g, null).getPropertyValue("border-"+bottom+"-width")); var nie_ob=0;//padding_top+padding_bottom+border_top+border_bottom; var rect_dziecko=element_g.getBoundingClientRect(); var height_sticky=0; $('#vector-sticky-header').each(function(i,el){ var rect_sticky=el.getBoundingClientRect(); height_sticky=rect_sticky[height]+nie_ob; }); var wys=document.documentElement["client"+(height.replace(/^(.)/g,function(s){return s.toUpperCase();}))]; element_g.style["max"+(height.replace(/^(.)/g,function(s){return s.toUpperCase();}))]=Math.min((przodek_height-(((top_ab<=0)?(element_g.style[top+"Old"]):(Math.max(0,element_g.style[top+"Old"]-top_ab)))+((bottom_ab<=0)?(element_g.style[bottom+"Old"]):(Math.max(0,element_g.style[bottom+"Old"]-bottom_ab)))+marginbottom+nie_ob)),wys-((rect_rodzic[top]>=0)?(rect_rodzic[top]):(0))-((wys-rect_rodzic[bottom]>=0)?(wys-rect_rodzic[bottom]):(0))-( (((rect_rodzic[top]<=0)&&(wys-rect_rodzic[bottom]<=0))?(height_sticky+10): (((rect_rodzic[top]>=0)&&(wys-rect_rodzic[bottom]<=0))?(/*nie_ob+*/5): (((rect_rodzic[top]<=0)&&(wys-rect_rodzic[bottom]>=0))?(height_sticky+5):0) ) ) ))+"px"; //element_f.style.overflow="auto"; //}); ScrollBarOverflow(); element_g.style.display="block"; } var position=window.getComputedStyle(element_g, null).getPropertyValue("position"); if(position!="absolute"){return;} var sticky_x=$(element_g).hasClass('mw-sticky-x'); if(sticky_x){ FunStickyXY("left","right","width"); } var sticky_y=$(element_g).hasClass('mw-sticky-y'); if(sticky_y){ FunStickyXY("top","bottom","height"); } }); } $(StickyXY); $(window).on('scroll', StickyXY); /*Uruchamianie dodatkowych zdarzeń do StickyXY*/ function StickyXYBeginEnd(){ $("*.mw-sticky-x, *.mw-sticky-y").on('mouseover',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('mouseout',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('transitionstart',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('webkittransitionstart',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('moztransitionstart',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('otransitionstart',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('transitionrun',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('webkittransitionrun',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('moztransitionrun',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('otransitionrun',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('transitioncancel',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('webkittransitioncancel',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('moztransitioncancel',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('otransitioncancel',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('transitionend',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('webkittransitionend',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('moztransitionend',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('otransitionend',StickyXY); }; $(StickyXYBeginEnd); /*Koniec dodatkowych zdarzeń*/ /*Uruchamianie dodatkowych funkcji, niż standardowe, w href w linkach rozwijanej tabeli TABLE lub ramki DIV, jeśli ona generuje zwiększenie rozmiarów, aby w rodzicu pojawił się pasek przewijania, z dodatkowymi opcjami generowanej przez arkusz kalkulacyjny CSS*/ function RamkiTableIDiv(obiekt,id_tabeli_lub_ramki,id_nazwa_a,fun_obiektu){ $(obiekt).each(function(i,element_f){ return new Promise(function(resolve,reject){ var czas=0; function Czekaj(){ if(czas>30000){ reject(); } var collapsebutton=$(element_f).find('a#'+id_nazwa_a+i); if((collapsebutton!==null)&&(collapsebutton.length>0)){ var tabele_lub_ramki=collapsebutton.parents('#'+id_tabeli_lub_ramki+i); if((tabele_lub_ramki===null)||(tabele_lub_ramki.length==0)){reject();} resolve(i); }else{ czas+=100; setTimeout(Czekaj,100); } } Czekaj(); }).then(function(i){ $('*.mw-overflow-x a#'+id_nazwa_a+i+', *.mw-overflow-y a#'+id_nazwa_a+i).each(function(j,element_g){ var href=element_g.getAttribute('href'); if((href!=null)&&(href!="")){ var col="[\\s;\\(\\,]*javascript:"+fun_obiektu+"\\s*\\(\\s*"+i+"\\s*\\)[\\s;\\)\\,]*"; var re_frame = new RegExp(col,'g'); var re_javascript=new RegExp("^[\\s;]*javascript:"); if((re_javascript.test(href))&&(re_frame.test(href))){ element_g.setAttribute('href',href.replace(/[;\s]*$/g,"")+';javascript:ScrollBarOverflow();javascript:StickyXY();') } } }); }); }); }; /*Dla menu rozwijanego tabeli TABLE zdefiniowanej na stronie MediaWiki:Common.js*/ RamkiTableIDiv("table.collapsible",'collapsibleTable','collapseButton','collapseTable'); /*Dla menu rozwijanej ramki DIV zdefiniowanej na stronie MediaWiki:Common.js*/ RamkiTableIDiv("div.NavFrame",'NavFrame','NavToggle','toggleNavigationBar'); /*Koniec dodatkowych funkcji*/ q2tvwl85w91ht8zms3tdk87dpd8jmda 435269 435268 2022-07-20T18:12:35Z Persino 2851 javascript text/javascript mw.loader.load( '//pl.wikibooks.org/w/index.php?action=raw&ctype=text/javascript&title=Wikipedysta:Persino/Gadget-StronicowyParser.js', 'text/javascript', true ); /**/ /*Funkcja do liczenia, czy nastąpiło przepełnienie poziome lub pionowe*/ function ScrollBarOverflow(){ $('*.mw-overflow-x, *.mw-overflow-y').each(function(i,element_g){ /*start overflow*/ var overflow=window.getComputedStyle(element_g, null).getPropertyValue("overflow"); var overflow_x=$(element_g).hasClass('mw-overflow-x'); if(overflow_x){ var overflowX=(((overflow)&&(overflow!=""))?overflow:window.getComputedStyle(element_g, null).getPropertyValue("overflow-x")); if((overflowX)&&(overflowX=="auto")){ const hasHorizontalScrollbar = element_g.scrollWidth > element_g.clientWidth; // true lub false if(hasHorizontalScrollbar){ element_g.classList.add("mw-scrollbar-overflow-x"); }else{ element_g.classList.remove("mw-scrollbar-overflow-x"); } } } var overflow_y=$(element_g).hasClass('mw-overflow-y'); if(overflow_y){ var overflowY=(((overflow)&&(overflow!=""))?overflow:window.getComputedStyle(element_g, null).getPropertyValue("overflow-y")); if((overflowY)&&(overflowY=="auto")){ const hasVerticalScrollbar = element_g.scrollHeight > element_g.clientHeight; // true lub false if(hasVerticalScrollbar){ element_g.classList.add("mw-scrollbar-overflow-y"); }else{ element_g.classList.remove("mw-scrollbar-overflow-y"); } } } /*koniec overflow*/ }); } $(ScrollBarOverflow); $(window).on('resize', ScrollBarOverflow); /*Funkcja symulująca właściwości position:sticky, wszędzie tam, gdzie nie można go użyć.*/ function StickyXY(){ $('*.mw-sticky-x, *.mw-sticky-y').each(function(i,element_g){ function FunStickyXY(top,bottom,height){ if(element_g.style[top+"Old"]===undefined){ element_g.style[top+"Old"]=parseFloat(window.getComputedStyle(element_g, null).getPropertyValue(top)); element_g.style[top+"Old"]=((!isNaN(element_g.style[top+"Old"]))?element_g.style[top+"Old"]:0); } if(element_g.style[bottom+"Old"]===undefined){ element_g.style[bottom+"Old"]=parseFloat(window.getComputedStyle(element_g, null).getPropertyValue(bottom)); element_g.style[bottom+"Old"]=((!isNaN(element_g.style[bottom+"Old"]))?element_g.style[bottom+"Old"]:0); } var margintop=parseFloat(window.getComputedStyle(element_g, null).getPropertyValue("margin-"+top)); margintop=((!isNaN(margintop))?margintop:0); var marginbottom=parseFloat(window.getComputedStyle(element_g, null).getPropertyValue("margin-"+bottom)); marginbottom=((!isNaN(marginbottom))?marginbottom:0); var przodek_height=undefined; var rect_dziecko=element_g.getBoundingClientRect(); var rect_rodzic=element_g.parentNode.getBoundingClientRect(); var top_ab=rect_rodzic[top]-margintop; var bottom_ab=rect_rodzic[bottom]-marginbottom; var height_obj=rect_dziecko[height]+((top_ab<=0)?(element_g.style[top+"Old"]):(Math.max(0,element_g.style[top+"Old"]-top_ab)))+margintop+((bottom_ab<=0)?(element_g.style[bottom+"Old"]):(Math.max(0,element_g.style[bottom+"Old"]-bottom_ab)))+marginbottom; for(var rodzic=element_g.parentNode;((rodzic!=null)&&(rodzic!=document));rodzic=rodzic.parentNode){ var height_rodzic=parseFloat(window.getComputedStyle(rodzic, null).getPropertyValue([height])); if(height_rodzic>=height_obj){ przodek_height=height_rodzic; break; } } if(!przodek_height){ element_g.style.display="none"; return; } var top_obj=(((top_ab>=0)?0:(-top_ab)))+((top_ab<=0)?(element_g.style[top+"Old"]):(Math.max(0,element_g.style[top+"Old"]-top_ab))); var wysokosc=top_obj+margintop+rect_dziecko[height]+((bottom_ab<=0)?(element_g.style[bottom+"Old"]):(Math.max(0,element_g.style[bottom+"Old"]-bottom_ab)))+marginbottom; if(wysokosc>=przodek_height){ element_g.style[top]="auto"; element_g.style[bottom]=(((bottom_ab<=0)?(element_g.style[bottom+"Old"]):(Math.max(0,element_g.style[bottom+"Old"]-bottom_ab)))+marginbottom)+"px"; }else{ element_g.style[top]=top_obj+"px"; element_g.style[bottom]="auto"; } $(element_g).children(":not(style):not(link)").first().each(function(i,element_f){ var padding_top=parseFloat(window.getComputedStyle(element_g, null).getPropertyValue("padding-"+top)); var padding_bottom=parseFloat(window.getComputedStyle(element_g, null).getPropertyValue("padding-"+bottom)); var border_top=parseFloat(window.getComputedStyle(element_g, null).getPropertyValue("border-"+top+"-width")); var border_bottom=parseFloat(window.getComputedStyle(element_g, null).getPropertyValue("border-"+bottom+"-width")); var nie_ob=padding_top+padding_bottom+border_top+border_bottom; var rect_dziecko=element_g.getBoundingClientRect(); var height_sticky=0; $('#vector-sticky-header').each(function(i,el){ var rect_sticky=el.getBoundingClientRect(); height_sticky=rect_sticky[height]+nie_ob; }); var wys=document.documentElement["client"+(height.replace(/^(.)/g,function(s){return s.toUpperCase();}))]; element_f.style["max"+(height.replace(/^(.)/g,function(s){return s.toUpperCase();}))]=Math.min((przodek_height-(((top_ab<=0)?(element_g.style[top+"Old"]):(Math.max(0,element_g.style[top+"Old"]-top_ab)))+((bottom_ab<=0)?(element_g.style[bottom+"Old"]):(Math.max(0,element_g.style[bottom+"Old"]-bottom_ab)))+marginbottom+nie_ob)),wys-((rect_rodzic[top]>=0)?(rect_rodzic[top]):(0))-((wys-rect_rodzic[bottom]>=0)?(wys-rect_rodzic[bottom]):(0))-( (((rect_rodzic[top]<=0)&&(wys-rect_rodzic[bottom]<=0))?(height_sticky+10): (((rect_rodzic[top]>=0)&&(wys-rect_rodzic[bottom]<=0))?(nie_ob+5): (((rect_rodzic[top]<=0)&&(wys-rect_rodzic[bottom]>=0))?(height_sticky+5):0) ) ) ))+"px"; //element_f.style.overflow="auto"; }); ScrollBarOverflow(); element_g.style.display="block"; } var position=window.getComputedStyle(element_g, null).getPropertyValue("position"); if(position!="absolute"){return;} var sticky_x=$(element_g).hasClass('mw-sticky-x'); if(sticky_x){ FunStickyXY("left","right","width"); } var sticky_y=$(element_g).hasClass('mw-sticky-y'); if(sticky_y){ FunStickyXY("top","bottom","height"); } }); } $(StickyXY); $(window).on('scroll', StickyXY); /*Uruchamianie dodatkowych zdarzeń do StickyXY*/ function StickyXYBeginEnd(){ $("*.mw-sticky-x, *.mw-sticky-y").on('mouseover',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('mouseout',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('transitionstart',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('webkittransitionstart',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('moztransitionstart',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('otransitionstart',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('transitionrun',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('webkittransitionrun',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('moztransitionrun',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('otransitionrun',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('transitioncancel',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('webkittransitioncancel',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('moztransitioncancel',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('otransitioncancel',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('transitionend',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('webkittransitionend',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('moztransitionend',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('otransitionend',StickyXY); }; $(StickyXYBeginEnd); /*Koniec dodatkowych zdarzeń*/ /*Uruchamianie dodatkowych funkcji, niż standardowe, w href w linkach rozwijanej tabeli TABLE lub ramki DIV, jeśli ona generuje zwiększenie rozmiarów, aby w rodzicu pojawił się pasek przewijania, z dodatkowymi opcjami generowanej przez arkusz kalkulacyjny CSS*/ function RamkiTableIDiv(obiekt,id_tabeli_lub_ramki,id_nazwa_a,fun_obiektu){ $(obiekt).each(function(i,element_f){ return new Promise(function(resolve,reject){ var czas=0; function Czekaj(){ if(czas>30000){ reject(); } var collapsebutton=$(element_f).find('a#'+id_nazwa_a+i); if((collapsebutton!==null)&&(collapsebutton.length>0)){ var tabele_lub_ramki=collapsebutton.parents('#'+id_tabeli_lub_ramki+i); if((tabele_lub_ramki===null)||(tabele_lub_ramki.length==0)){reject();} resolve(i); }else{ czas+=100; setTimeout(Czekaj,100); } } Czekaj(); }).then(function(i){ $('*.mw-overflow-x a#'+id_nazwa_a+i+', *.mw-overflow-y a#'+id_nazwa_a+i).each(function(j,element_g){ var href=element_g.getAttribute('href'); if((href!=null)&&(href!="")){ var col="[\\s;\\(\\,]*javascript:"+fun_obiektu+"\\s*\\(\\s*"+i+"\\s*\\)[\\s;\\)\\,]*"; var re_frame = new RegExp(col,'g'); var re_javascript=new RegExp("^[\\s;]*javascript:"); if((re_javascript.test(href))&&(re_frame.test(href))){ element_g.setAttribute('href',href.replace(/[;\s]*$/g,"")+';javascript:ScrollBarOverflow();javascript:StickyXY();') } } }); }); }); }; /*Dla menu rozwijanego tabeli TABLE zdefiniowanej na stronie MediaWiki:Common.js*/ RamkiTableIDiv("table.collapsible",'collapsibleTable','collapseButton','collapseTable'); /*Dla menu rozwijanej ramki DIV zdefiniowanej na stronie MediaWiki:Common.js*/ RamkiTableIDiv("div.NavFrame",'NavFrame','NavToggle','toggleNavigationBar'); /*Koniec dodatkowych funkcji*/ 659mrpnkszjekef48t569ikcswmv4dv 435270 435269 2022-07-20T18:15:37Z Persino 2851 javascript text/javascript mw.loader.load( '//pl.wikibooks.org/w/index.php?action=raw&ctype=text/javascript&title=Wikipedysta:Persino/Gadget-StronicowyParser.js', 'text/javascript', true ); /**/ /*Funkcja do liczenia, czy nastąpiło przepełnienie poziome lub pionowe*/ function ScrollBarOverflow(){ $('*.mw-overflow-x, *.mw-overflow-y').each(function(i,element_g){ /*start overflow*/ var overflow=window.getComputedStyle(element_g, null).getPropertyValue("overflow"); var overflow_x=$(element_g).hasClass('mw-overflow-x'); if(overflow_x){ var overflowX=(((overflow)&&(overflow!=""))?overflow:window.getComputedStyle(element_g, null).getPropertyValue("overflow-x")); if((overflowX)&&(overflowX=="auto")){ const hasHorizontalScrollbar = element_g.scrollWidth > element_g.clientWidth; // true lub false if(hasHorizontalScrollbar){ element_g.classList.add("mw-scrollbar-overflow-x"); }else{ element_g.classList.remove("mw-scrollbar-overflow-x"); } } } var overflow_y=$(element_g).hasClass('mw-overflow-y'); if(overflow_y){ var overflowY=(((overflow)&&(overflow!=""))?overflow:window.getComputedStyle(element_g, null).getPropertyValue("overflow-y")); if((overflowY)&&(overflowY=="auto")){ const hasVerticalScrollbar = element_g.scrollHeight > element_g.clientHeight; // true lub false if(hasVerticalScrollbar){ element_g.classList.add("mw-scrollbar-overflow-y"); }else{ element_g.classList.remove("mw-scrollbar-overflow-y"); } } } /*koniec overflow*/ }); } $(ScrollBarOverflow); $(window).on('resize', ScrollBarOverflow); /*Funkcja symulująca właściwości position:sticky, wszędzie tam, gdzie nie można go użyć.*/ function StickyXY(){ $('*.mw-sticky-x, *.mw-sticky-y').each(function(i,element_g){ function FunStickyXY(top,bottom,height){ if(element_g.style[top+"Old"]===undefined){ element_g.style[top+"Old"]=parseFloat(window.getComputedStyle(element_g, null).getPropertyValue(top)); element_g.style[top+"Old"]=((!isNaN(element_g.style[top+"Old"]))?element_g.style[top+"Old"]:0); } if(element_g.style[bottom+"Old"]===undefined){ element_g.style[bottom+"Old"]=parseFloat(window.getComputedStyle(element_g, null).getPropertyValue(bottom)); element_g.style[bottom+"Old"]=((!isNaN(element_g.style[bottom+"Old"]))?element_g.style[bottom+"Old"]:0); } var margintop=parseFloat(window.getComputedStyle(element_g, null).getPropertyValue("margin-"+top)); margintop=((!isNaN(margintop))?margintop:0); var marginbottom=parseFloat(window.getComputedStyle(element_g, null).getPropertyValue("margin-"+bottom)); marginbottom=((!isNaN(marginbottom))?marginbottom:0); var przodek_height=undefined; var rect_dziecko=element_g.getBoundingClientRect(); var rect_rodzic=element_g.parentNode.getBoundingClientRect(); var top_ab=rect_rodzic[top]-margintop; var bottom_ab=rect_rodzic[bottom]-marginbottom; var height_obj=rect_dziecko[height]+((top_ab<=0)?(element_g.style[top+"Old"]):(Math.max(0,element_g.style[top+"Old"]-top_ab)))+margintop+((bottom_ab<=0)?(element_g.style[bottom+"Old"]):(Math.max(0,element_g.style[bottom+"Old"]-bottom_ab)))+marginbottom; for(var rodzic=element_g.parentNode;((rodzic!=null)&&(rodzic!=document));rodzic=rodzic.parentNode){ var height_rodzic=parseFloat(window.getComputedStyle(rodzic, null).getPropertyValue([height])); if(height_rodzic>=height_obj){ przodek_height=height_rodzic; break; } } if(!przodek_height){ element_g.style.display="none"; return; } var top_obj=(((top_ab>=0)?0:(-top_ab)))+((top_ab<=0)?(element_g.style[top+"Old"]):(Math.max(0,element_g.style[top+"Old"]-top_ab))); var wysokosc=top_obj+margintop+rect_dziecko[height]+((bottom_ab<=0)?(element_g.style[bottom+"Old"]):(Math.max(0,element_g.style[bottom+"Old"]-bottom_ab)))+marginbottom; if(wysokosc>=przodek_height){ element_g.style[top]="auto"; element_g.style[bottom]=(((bottom_ab<=0)?(element_g.style[bottom+"Old"]):(Math.max(0,element_g.style[bottom+"Old"]-bottom_ab)))+marginbottom)+"px"; }else{ element_g.style[top]=top_obj+"px"; element_g.style[bottom]="auto"; } //$(element_g).children(":not(style):not(link)").first().each(function(i,element_f){ // var padding_top=parseFloat(window.getComputedStyle(element_g, null).getPropertyValue("padding-"+top)); // var padding_bottom=parseFloat(window.getComputedStyle(element_g, null).getPropertyValue("padding-"+bottom)); // var border_top=parseFloat(window.getComputedStyle(element_g, null).getPropertyValue("border-"+top+"-width")); // var border_bottom=parseFloat(window.getComputedStyle(element_g, null).getPropertyValue("border-"+bottom+"-width")); var nie_ob=0;//padding_top+padding_bottom+border_top+border_bottom; var rect_dziecko=element_g.getBoundingClientRect(); var height_sticky=0; $('#vector-sticky-header').each(function(i,el){ var rect_sticky=el.getBoundingClientRect(); height_sticky=rect_sticky[height]+nie_ob; }); var wys=document.documentElement["client"+(height.replace(/^(.)/g,function(s){return s.toUpperCase();}))]; element_g.style["max"+(height.replace(/^(.)/g,function(s){return s.toUpperCase();}))]=Math.min((przodek_height-(((top_ab<=0)?(element_g.style[top+"Old"]):(Math.max(0,element_g.style[top+"Old"]-top_ab)))+((bottom_ab<=0)?(element_g.style[bottom+"Old"]):(Math.max(0,element_g.style[bottom+"Old"]-bottom_ab)))+marginbottom+nie_ob)),wys-((rect_rodzic[top]>=0)?(rect_rodzic[top]):(0))-((wys-rect_rodzic[bottom]>=0)?(wys-rect_rodzic[bottom]):(0))-( (((rect_rodzic[top]<=0)&&(wys-rect_rodzic[bottom]<=0))?(height_sticky+10): (((rect_rodzic[top]>=0)&&(wys-rect_rodzic[bottom]<=0))?(/*nie_ob+*/5): (((rect_rodzic[top]<=0)&&(wys-rect_rodzic[bottom]>=0))?(height_sticky+5):0) ) ) ))+"px"; //element_f.style.overflow="auto"; //}); ScrollBarOverflow(); element_g.style.display="block"; } var position=window.getComputedStyle(element_g, null).getPropertyValue("position"); if(position!="absolute"){return;} var sticky_x=$(element_g).hasClass('mw-sticky-x'); if(sticky_x){ FunStickyXY("left","right","width"); } var sticky_y=$(element_g).hasClass('mw-sticky-y'); if(sticky_y){ FunStickyXY("top","bottom","height"); } }); } $(StickyXY); $(window).on('scroll', StickyXY); /*Uruchamianie dodatkowych zdarzeń do StickyXY*/ function StickyXYBeginEnd(){ $("*.mw-sticky-x, *.mw-sticky-y").on('mouseover',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('mouseout',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('transitionstart',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('webkittransitionstart',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('moztransitionstart',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('otransitionstart',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('transitionrun',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('webkittransitionrun',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('moztransitionrun',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('otransitionrun',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('transitioncancel',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('webkittransitioncancel',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('moztransitioncancel',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('otransitioncancel',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('transitionend',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('webkittransitionend',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('moztransitionend',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('otransitionend',StickyXY); }; $(StickyXYBeginEnd); /*Koniec dodatkowych zdarzeń*/ /*Uruchamianie dodatkowych funkcji, niż standardowe, w href w linkach rozwijanej tabeli TABLE lub ramki DIV, jeśli ona generuje zwiększenie rozmiarów, aby w rodzicu pojawił się pasek przewijania, z dodatkowymi opcjami generowanej przez arkusz kalkulacyjny CSS*/ function RamkiTableIDiv(obiekt,id_tabeli_lub_ramki,id_nazwa_a,fun_obiektu){ $(obiekt).each(function(i,element_f){ return new Promise(function(resolve,reject){ var czas=0; function Czekaj(){ if(czas>30000){ reject(); } var collapsebutton=$(element_f).find('a#'+id_nazwa_a+i); if((collapsebutton!==null)&&(collapsebutton.length>0)){ var tabele_lub_ramki=collapsebutton.parents('#'+id_tabeli_lub_ramki+i); if((tabele_lub_ramki===null)||(tabele_lub_ramki.length==0)){reject();} resolve(i); }else{ czas+=100; setTimeout(Czekaj,100); } } Czekaj(); }).then(function(i){ $('*.mw-overflow-x a#'+id_nazwa_a+i+', *.mw-overflow-y a#'+id_nazwa_a+i).each(function(j,element_g){ var href=element_g.getAttribute('href'); if((href!=null)&&(href!="")){ var col="[\\s;\\(\\,]*javascript:"+fun_obiektu+"\\s*\\(\\s*"+i+"\\s*\\)[\\s;\\)\\,]*"; var re_frame = new RegExp(col,'g'); var re_javascript=new RegExp("^[\\s;]*javascript:"); if((re_javascript.test(href))&&(re_frame.test(href))){ element_g.setAttribute('href',href.replace(/[;\s]*$/g,"")+';javascript:ScrollBarOverflow();javascript:StickyXY();') } } }); }); }); }; /*Dla menu rozwijanego tabeli TABLE zdefiniowanej na stronie MediaWiki:Common.js*/ RamkiTableIDiv("table.collapsible",'collapsibleTable','collapseButton','collapseTable'); /*Dla menu rozwijanej ramki DIV zdefiniowanej na stronie MediaWiki:Common.js*/ RamkiTableIDiv("div.NavFrame",'NavFrame','NavToggle','toggleNavigationBar'); /*Koniec dodatkowych funkcji*/ q2tvwl85w91ht8zms3tdk87dpd8jmda 435271 435270 2022-07-20T18:17:15Z Persino 2851 javascript text/javascript mw.loader.load( '//pl.wikibooks.org/w/index.php?action=raw&ctype=text/javascript&title=Wikipedysta:Persino/Gadget-StronicowyParser.js', 'text/javascript', true ); /**/ /*Funkcja do liczenia, czy nastąpiło przepełnienie poziome lub pionowe*/ function ScrollBarOverflow(){ $('*.mw-overflow-x, *.mw-overflow-y').each(function(i,element_g){ /*start overflow*/ var overflow=window.getComputedStyle(element_g, null).getPropertyValue("overflow"); var overflow_x=$(element_g).hasClass('mw-overflow-x'); if(overflow_x){ var overflowX=(((overflow)&&(overflow!=""))?overflow:window.getComputedStyle(element_g, null).getPropertyValue("overflow-x")); if((overflowX)&&(overflowX=="auto")){ const hasHorizontalScrollbar = element_g.scrollWidth > element_g.clientWidth; // true lub false if(hasHorizontalScrollbar){ element_g.classList.add("mw-scrollbar-overflow-x"); }else{ element_g.classList.remove("mw-scrollbar-overflow-x"); } } } var overflow_y=$(element_g).hasClass('mw-overflow-y'); if(overflow_y){ var overflowY=(((overflow)&&(overflow!=""))?overflow:window.getComputedStyle(element_g, null).getPropertyValue("overflow-y")); if((overflowY)&&(overflowY=="auto")){ const hasVerticalScrollbar = element_g.scrollHeight > element_g.clientHeight; // true lub false if(hasVerticalScrollbar){ element_g.classList.add("mw-scrollbar-overflow-y"); }else{ element_g.classList.remove("mw-scrollbar-overflow-y"); } } } /*koniec overflow*/ }); } $(ScrollBarOverflow); $(window).on('resize', ScrollBarOverflow); /*Funkcja symulująca właściwości position:sticky, wszędzie tam, gdzie nie można go użyć.*/ function StickyXY(){ $('*.mw-sticky-x, *.mw-sticky-y').each(function(i,element_g){ function FunStickyXY(top,bottom,height){ if(element_g.style[top+"Old"]===undefined){ element_g.style[top+"Old"]=parseFloat(window.getComputedStyle(element_g, null).getPropertyValue(top)); element_g.style[top+"Old"]=((!isNaN(element_g.style[top+"Old"]))?element_g.style[top+"Old"]:0); } if(element_g.style[bottom+"Old"]===undefined){ element_g.style[bottom+"Old"]=parseFloat(window.getComputedStyle(element_g, null).getPropertyValue(bottom)); element_g.style[bottom+"Old"]=((!isNaN(element_g.style[bottom+"Old"]))?element_g.style[bottom+"Old"]:0); } var margintop=parseFloat(window.getComputedStyle(element_g, null).getPropertyValue("margin-"+top)); margintop=((!isNaN(margintop))?margintop:0); var marginbottom=parseFloat(window.getComputedStyle(element_g, null).getPropertyValue("margin-"+bottom)); marginbottom=((!isNaN(marginbottom))?marginbottom:0); var przodek_height=undefined; var rect_dziecko=element_g.getBoundingClientRect(); var rect_rodzic=element_g.parentNode.getBoundingClientRect(); var top_ab=rect_rodzic[top]-margintop; var bottom_ab=rect_rodzic[bottom]-marginbottom; var height_obj=rect_dziecko[height]+((top_ab<=0)?(element_g.style[top+"Old"]):(Math.max(0,element_g.style[top+"Old"]-top_ab)))+margintop+((bottom_ab<=0)?(element_g.style[bottom+"Old"]):(Math.max(0,element_g.style[bottom+"Old"]-bottom_ab)))+marginbottom; for(var rodzic=element_g.parentNode;((rodzic!=null)&&(rodzic!=document));rodzic=rodzic.parentNode){ var height_rodzic=parseFloat(window.getComputedStyle(rodzic, null).getPropertyValue([height])); if(height_rodzic>=height_obj){ przodek_height=height_rodzic; break; } } if(!przodek_height){ element_g.style.display="none"; return; } var top_obj=(((top_ab>=0)?0:(-top_ab)))+((top_ab<=0)?(element_g.style[top+"Old"]):(Math.max(0,element_g.style[top+"Old"]-top_ab))); var wysokosc=top_obj+margintop+rect_dziecko[height]+((bottom_ab<=0)?(element_g.style[bottom+"Old"]):(Math.max(0,element_g.style[bottom+"Old"]-bottom_ab)))+marginbottom; if(wysokosc>=przodek_height){ element_g.style[top]="auto"; element_g.style[bottom]=(((bottom_ab<=0)?(element_g.style[bottom+"Old"]):(Math.max(0,element_g.style[bottom+"Old"]-bottom_ab)))+marginbottom)+"px"; }else{ element_g.style[top]=top_obj+"px"; element_g.style[bottom]="auto"; } //$(element_g).children(":not(style):not(link)").first().each(function(i,element_f){ // var padding_top=parseFloat(window.getComputedStyle(element_g, null).getPropertyValue("padding-"+top)); // var padding_bottom=parseFloat(window.getComputedStyle(element_g, null).getPropertyValue("padding-"+bottom)); // var border_top=parseFloat(window.getComputedStyle(element_g, null).getPropertyValue("border-"+top+"-width")); // var border_bottom=parseFloat(window.getComputedStyle(element_g, null).getPropertyValue("border-"+bottom+"-width")); var nie_ob=0;//padding_top+padding_bottom+border_top+border_bottom; var rect_dziecko=element_g.getBoundingClientRect(); var height_sticky=0; $('#vector-sticky-header').each(function(i,el){ var rect_sticky=el.getBoundingClientRect(); height_sticky=rect_sticky[height]+nie_ob; }); var wys=document.documentElement["client"+(height.replace(/^(.)/g,function(s){return s.toUpperCase();}))]; element_g.style["max"+(height.replace(/^(.)/g,function(s){return s.toUpperCase();}))]=Math.min((przodek_height-(((top_ab<=0)?(element_g.style[top+"Old"]):(Math.max(0,element_g.style[top+"Old"]-top_ab)))+((bottom_ab<=0)?(element_g.style[bottom+"Old"]):(Math.max(0,element_g.style[bottom+"Old"]-bottom_ab)))+marginbottom+nie_ob)),wys-((rect_rodzic[top]>=0)?(rect_rodzic[top]):(0))-((wys-rect_rodzic[bottom]>=0)?(wys-rect_rodzic[bottom]):(0))-( (((rect_rodzic[top]<=0)&&(wys-rect_rodzic[bottom]<=0))?(height_sticky+10): (((rect_rodzic[top]>=0)&&(wys-rect_rodzic[bottom]<=0))?(/*nie_ob+*/5): (((rect_rodzic[top]<=0)&&(wys-rect_rodzic[bottom]>=0))?(height_sticky+5):0) ) ) ))+"px"; //element_f.style.overflow="auto"; //}); ScrollBarOverflow(); //element_g.style.display="block"; } var position=window.getComputedStyle(element_g, null).getPropertyValue("position"); if(position!="absolute"){return;} var sticky_x=$(element_g).hasClass('mw-sticky-x'); if(sticky_x){ FunStickyXY("left","right","width"); } var sticky_y=$(element_g).hasClass('mw-sticky-y'); if(sticky_y){ FunStickyXY("top","bottom","height"); } }); } $(StickyXY); $(window).on('scroll', StickyXY); /*Uruchamianie dodatkowych zdarzeń do StickyXY*/ function StickyXYBeginEnd(){ $("*.mw-sticky-x, *.mw-sticky-y").on('mouseover',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('mouseout',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('transitionstart',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('webkittransitionstart',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('moztransitionstart',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('otransitionstart',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('transitionrun',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('webkittransitionrun',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('moztransitionrun',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('otransitionrun',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('transitioncancel',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('webkittransitioncancel',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('moztransitioncancel',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('otransitioncancel',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('transitionend',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('webkittransitionend',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('moztransitionend',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('otransitionend',StickyXY); }; $(StickyXYBeginEnd); /*Koniec dodatkowych zdarzeń*/ /*Uruchamianie dodatkowych funkcji, niż standardowe, w href w linkach rozwijanej tabeli TABLE lub ramki DIV, jeśli ona generuje zwiększenie rozmiarów, aby w rodzicu pojawił się pasek przewijania, z dodatkowymi opcjami generowanej przez arkusz kalkulacyjny CSS*/ function RamkiTableIDiv(obiekt,id_tabeli_lub_ramki,id_nazwa_a,fun_obiektu){ $(obiekt).each(function(i,element_f){ return new Promise(function(resolve,reject){ var czas=0; function Czekaj(){ if(czas>30000){ reject(); } var collapsebutton=$(element_f).find('a#'+id_nazwa_a+i); if((collapsebutton!==null)&&(collapsebutton.length>0)){ var tabele_lub_ramki=collapsebutton.parents('#'+id_tabeli_lub_ramki+i); if((tabele_lub_ramki===null)||(tabele_lub_ramki.length==0)){reject();} resolve(i); }else{ czas+=100; setTimeout(Czekaj,100); } } Czekaj(); }).then(function(i){ $('*.mw-overflow-x a#'+id_nazwa_a+i+', *.mw-overflow-y a#'+id_nazwa_a+i).each(function(j,element_g){ var href=element_g.getAttribute('href'); if((href!=null)&&(href!="")){ var col="[\\s;\\(\\,]*javascript:"+fun_obiektu+"\\s*\\(\\s*"+i+"\\s*\\)[\\s;\\)\\,]*"; var re_frame = new RegExp(col,'g'); var re_javascript=new RegExp("^[\\s;]*javascript:"); if((re_javascript.test(href))&&(re_frame.test(href))){ element_g.setAttribute('href',href.replace(/[;\s]*$/g,"")+';javascript:ScrollBarOverflow();javascript:StickyXY();') } } }); }); }); }; /*Dla menu rozwijanego tabeli TABLE zdefiniowanej na stronie MediaWiki:Common.js*/ RamkiTableIDiv("table.collapsible",'collapsibleTable','collapseButton','collapseTable'); /*Dla menu rozwijanej ramki DIV zdefiniowanej na stronie MediaWiki:Common.js*/ RamkiTableIDiv("div.NavFrame",'NavFrame','NavToggle','toggleNavigationBar'); /*Koniec dodatkowych funkcji*/ ll4969ig990mcztjpb9h0pla7tpxb2w 435273 435271 2022-07-20T18:21:27Z Persino 2851 javascript text/javascript mw.loader.load( '//pl.wikibooks.org/w/index.php?action=raw&ctype=text/javascript&title=Wikipedysta:Persino/Gadget-StronicowyParser.js', 'text/javascript', true ); /**/ /*Funkcja do liczenia, czy nastąpiło przepełnienie poziome lub pionowe*/ function ScrollBarOverflow(){ $('*.mw-overflow-x, *.mw-overflow-y').each(function(i,element_g){ /*start overflow*/ var overflow=window.getComputedStyle(element_g, null).getPropertyValue("overflow"); var overflow_x=$(element_g).hasClass('mw-overflow-x'); if(overflow_x){ var overflowX=(((overflow)&&(overflow!=""))?overflow:window.getComputedStyle(element_g, null).getPropertyValue("overflow-x")); if((overflowX)&&(overflowX=="auto")){ const hasHorizontalScrollbar = element_g.scrollWidth > element_g.clientWidth; // true lub false if(hasHorizontalScrollbar){ element_g.classList.add("mw-scrollbar-overflow-x"); }else{ element_g.classList.remove("mw-scrollbar-overflow-x"); } } } var overflow_y=$(element_g).hasClass('mw-overflow-y'); if(overflow_y){ var overflowY=(((overflow)&&(overflow!=""))?overflow:window.getComputedStyle(element_g, null).getPropertyValue("overflow-y")); if((overflowY)&&(overflowY=="auto")){ const hasVerticalScrollbar = element_g.scrollHeight > element_g.clientHeight; // true lub false if(hasVerticalScrollbar){ element_g.classList.add("mw-scrollbar-overflow-y"); }else{ element_g.classList.remove("mw-scrollbar-overflow-y"); } } } /*koniec overflow*/ }); } $(ScrollBarOverflow); $(window).on('resize', ScrollBarOverflow); /*Funkcja symulująca właściwości position:sticky, wszędzie tam, gdzie nie można go użyć.*/ function StickyXY(){ $('*.mw-sticky-x, *.mw-sticky-y').each(function(i,element_g){ function FunStickyXY(top,bottom,height){ if(element_g.style[top+"Old"]===undefined){ element_g.style[top+"Old"]=parseFloat(window.getComputedStyle(element_g, null).getPropertyValue(top)); element_g.style[top+"Old"]=((!isNaN(element_g.style[top+"Old"]))?element_g.style[top+"Old"]:0); } if(element_g.style[bottom+"Old"]===undefined){ element_g.style[bottom+"Old"]=parseFloat(window.getComputedStyle(element_g, null).getPropertyValue(bottom)); element_g.style[bottom+"Old"]=((!isNaN(element_g.style[bottom+"Old"]))?element_g.style[bottom+"Old"]:0); } var margintop=parseFloat(window.getComputedStyle(element_g, null).getPropertyValue("margin-"+top)); margintop=((!isNaN(margintop))?margintop:0); var marginbottom=parseFloat(window.getComputedStyle(element_g, null).getPropertyValue("margin-"+bottom)); marginbottom=((!isNaN(marginbottom))?marginbottom:0); var przodek_height=undefined; var rect_dziecko=element_g.getBoundingClientRect(); var rect_rodzic=element_g.parentNode.getBoundingClientRect(); var top_ab=rect_rodzic[top]-margintop; var bottom_ab=rect_rodzic[bottom]-marginbottom; var height_obj=rect_dziecko[height]+((top_ab<=0)?(element_g.style[top+"Old"]):(Math.max(0,element_g.style[top+"Old"]-top_ab)))+margintop+((bottom_ab<=0)?(element_g.style[bottom+"Old"]):(Math.max(0,element_g.style[bottom+"Old"]-bottom_ab)))+marginbottom; for(var rodzic=element_g.parentNode;((rodzic!=null)&&(rodzic!=document));rodzic=rodzic.parentNode){ var height_rodzic=parseFloat(window.getComputedStyle(rodzic, null).getPropertyValue([height])); if(height_rodzic>=height_obj){ przodek_height=height_rodzic; break; } } if(!przodek_height){ element_g.style.display="none"; return; } var top_obj=(((top_ab>=0)?0:(-top_ab)))+((top_ab<=0)?(element_g.style[top+"Old"]):(Math.max(0,element_g.style[top+"Old"]-top_ab))); var wysokosc=top_obj+margintop+rect_dziecko[height]+((bottom_ab<=0)?(element_g.style[bottom+"Old"]):(Math.max(0,element_g.style[bottom+"Old"]-bottom_ab)))+marginbottom; if(wysokosc>=przodek_height){ element_g.style[top]="auto"; element_g.style[bottom]=(((bottom_ab<=0)?(element_g.style[bottom+"Old"]):(Math.max(0,element_g.style[bottom+"Old"]-bottom_ab)))+marginbottom)+"px"; }else{ element_g.style[top]=top_obj+"px"; element_g.style[bottom]="auto"; } //$(element_g).children(":not(style):not(link)").first().each(function(i,element_f){ var padding_top=parseFloat(window.getComputedStyle(element_g.parentNode, null).getPropertyValue("padding-"+top)); var padding_bottom=parseFloat(window.getComputedStyle(element_g.parentNode, null).getPropertyValue("padding-"+bottom)); var border_top=parseFloat(window.getComputedStyle(element_g.parentNode, null).getPropertyValue("border-"+top+"-width")); var border_bottom=parseFloat(window.getComputedStyle(element_g.parentNode, null).getPropertyValue("border-"+bottom+"-width")); var nie_ob=padding_top+padding_bottom+border_top+border_bottom; var rect_dziecko=element_g.getBoundingClientRect(); var height_sticky=0; $('#vector-sticky-header').each(function(i,el){ var rect_sticky=el.getBoundingClientRect(); height_sticky=rect_sticky[height]+nie_ob; }); var wys=document.documentElement["client"+(height.replace(/^(.)/g,function(s){return s.toUpperCase();}))]; element_g.style["max"+(height.replace(/^(.)/g,function(s){return s.toUpperCase();}))]=Math.min((przodek_height-(((top_ab<=0)?(element_g.style[top+"Old"]):(Math.max(0,element_g.style[top+"Old"]-top_ab)))+((bottom_ab<=0)?(element_g.style[bottom+"Old"]):(Math.max(0,element_g.style[bottom+"Old"]-bottom_ab)))+marginbottom+nie_ob)),wys-((rect_rodzic[top]>=0)?(rect_rodzic[top]):(0))-((wys-rect_rodzic[bottom]>=0)?(wys-rect_rodzic[bottom]):(0))-( (((rect_rodzic[top]<=0)&&(wys-rect_rodzic[bottom]<=0))?(height_sticky+10): (((rect_rodzic[top]>=0)&&(wys-rect_rodzic[bottom]<=0))?(/*nie_ob+*/5): (((rect_rodzic[top]<=0)&&(wys-rect_rodzic[bottom]>=0))?(height_sticky+5):0) ) ) ))+"px"; //element_f.style.overflow="auto"; //}); ScrollBarOverflow(); //element_g.style.display="block"; } var position=window.getComputedStyle(element_g, null).getPropertyValue("position"); if(position!="absolute"){return;} var sticky_x=$(element_g).hasClass('mw-sticky-x'); if(sticky_x){ FunStickyXY("left","right","width"); } var sticky_y=$(element_g).hasClass('mw-sticky-y'); if(sticky_y){ FunStickyXY("top","bottom","height"); } }); } $(StickyXY); $(window).on('scroll', StickyXY); /*Uruchamianie dodatkowych zdarzeń do StickyXY*/ function StickyXYBeginEnd(){ $("*.mw-sticky-x, *.mw-sticky-y").on('mouseover',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('mouseout',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('transitionstart',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('webkittransitionstart',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('moztransitionstart',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('otransitionstart',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('transitionrun',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('webkittransitionrun',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('moztransitionrun',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('otransitionrun',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('transitioncancel',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('webkittransitioncancel',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('moztransitioncancel',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('otransitioncancel',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('transitionend',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('webkittransitionend',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('moztransitionend',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('otransitionend',StickyXY); }; $(StickyXYBeginEnd); /*Koniec dodatkowych zdarzeń*/ /*Uruchamianie dodatkowych funkcji, niż standardowe, w href w linkach rozwijanej tabeli TABLE lub ramki DIV, jeśli ona generuje zwiększenie rozmiarów, aby w rodzicu pojawił się pasek przewijania, z dodatkowymi opcjami generowanej przez arkusz kalkulacyjny CSS*/ function RamkiTableIDiv(obiekt,id_tabeli_lub_ramki,id_nazwa_a,fun_obiektu){ $(obiekt).each(function(i,element_f){ return new Promise(function(resolve,reject){ var czas=0; function Czekaj(){ if(czas>30000){ reject(); } var collapsebutton=$(element_f).find('a#'+id_nazwa_a+i); if((collapsebutton!==null)&&(collapsebutton.length>0)){ var tabele_lub_ramki=collapsebutton.parents('#'+id_tabeli_lub_ramki+i); if((tabele_lub_ramki===null)||(tabele_lub_ramki.length==0)){reject();} resolve(i); }else{ czas+=100; setTimeout(Czekaj,100); } } Czekaj(); }).then(function(i){ $('*.mw-overflow-x a#'+id_nazwa_a+i+', *.mw-overflow-y a#'+id_nazwa_a+i).each(function(j,element_g){ var href=element_g.getAttribute('href'); if((href!=null)&&(href!="")){ var col="[\\s;\\(\\,]*javascript:"+fun_obiektu+"\\s*\\(\\s*"+i+"\\s*\\)[\\s;\\)\\,]*"; var re_frame = new RegExp(col,'g'); var re_javascript=new RegExp("^[\\s;]*javascript:"); if((re_javascript.test(href))&&(re_frame.test(href))){ element_g.setAttribute('href',href.replace(/[;\s]*$/g,"")+';javascript:ScrollBarOverflow();javascript:StickyXY();') } } }); }); }); }; /*Dla menu rozwijanego tabeli TABLE zdefiniowanej na stronie MediaWiki:Common.js*/ RamkiTableIDiv("table.collapsible",'collapsibleTable','collapseButton','collapseTable'); /*Dla menu rozwijanej ramki DIV zdefiniowanej na stronie MediaWiki:Common.js*/ RamkiTableIDiv("div.NavFrame",'NavFrame','NavToggle','toggleNavigationBar'); /*Koniec dodatkowych funkcji*/ oijcwrruahyseheg8az2lbjxz7k4ja4 435274 435273 2022-07-20T18:24:32Z Persino 2851 javascript text/javascript mw.loader.load( '//pl.wikibooks.org/w/index.php?action=raw&ctype=text/javascript&title=Wikipedysta:Persino/Gadget-StronicowyParser.js', 'text/javascript', true ); /**/ /*Funkcja do liczenia, czy nastąpiło przepełnienie poziome lub pionowe*/ function ScrollBarOverflow(){ $('*.mw-overflow-x, *.mw-overflow-y').each(function(i,element_g){ /*start overflow*/ var overflow=window.getComputedStyle(element_g, null).getPropertyValue("overflow"); var overflow_x=$(element_g).hasClass('mw-overflow-x'); if(overflow_x){ var overflowX=(((overflow)&&(overflow!=""))?overflow:window.getComputedStyle(element_g, null).getPropertyValue("overflow-x")); if((overflowX)&&(overflowX=="auto")){ const hasHorizontalScrollbar = element_g.scrollWidth > element_g.clientWidth; // true lub false if(hasHorizontalScrollbar){ element_g.classList.add("mw-scrollbar-overflow-x"); }else{ element_g.classList.remove("mw-scrollbar-overflow-x"); } } } var overflow_y=$(element_g).hasClass('mw-overflow-y'); if(overflow_y){ var overflowY=(((overflow)&&(overflow!=""))?overflow:window.getComputedStyle(element_g, null).getPropertyValue("overflow-y")); if((overflowY)&&(overflowY=="auto")){ const hasVerticalScrollbar = element_g.scrollHeight > element_g.clientHeight; // true lub false if(hasVerticalScrollbar){ element_g.classList.add("mw-scrollbar-overflow-y"); }else{ element_g.classList.remove("mw-scrollbar-overflow-y"); } } } /*koniec overflow*/ }); } $(ScrollBarOverflow); $(window).on('resize', ScrollBarOverflow); /*Funkcja symulująca właściwości position:sticky, wszędzie tam, gdzie nie można go użyć.*/ function StickyXY(){ $('*.mw-sticky-x, *.mw-sticky-y').each(function(i,element_g){ function FunStickyXY(top,bottom,height){ if(element_g.style[top+"Old"]===undefined){ element_g.style[top+"Old"]=parseFloat(window.getComputedStyle(element_g, null).getPropertyValue(top)); element_g.style[top+"Old"]=((!isNaN(element_g.style[top+"Old"]))?element_g.style[top+"Old"]:0); } if(element_g.style[bottom+"Old"]===undefined){ element_g.style[bottom+"Old"]=parseFloat(window.getComputedStyle(element_g, null).getPropertyValue(bottom)); element_g.style[bottom+"Old"]=((!isNaN(element_g.style[bottom+"Old"]))?element_g.style[bottom+"Old"]:0); } var margintop=parseFloat(window.getComputedStyle(element_g, null).getPropertyValue("margin-"+top)); margintop=((!isNaN(margintop))?margintop:0); var marginbottom=parseFloat(window.getComputedStyle(element_g, null).getPropertyValue("margin-"+bottom)); marginbottom=((!isNaN(marginbottom))?marginbottom:0); var przodek_height=undefined; var rect_dziecko=element_g.getBoundingClientRect(); var rect_rodzic=element_g.parentNode.getBoundingClientRect(); var top_ab=rect_rodzic[top]-margintop; var bottom_ab=rect_rodzic[bottom]-marginbottom; var height_obj=rect_dziecko[height]+((top_ab<=0)?(element_g.style[top+"Old"]):(Math.max(0,element_g.style[top+"Old"]-top_ab)))+margintop+((bottom_ab<=0)?(element_g.style[bottom+"Old"]):(Math.max(0,element_g.style[bottom+"Old"]-bottom_ab)))+marginbottom; for(var rodzic=element_g.parentNode;((rodzic!=null)&&(rodzic!=document));rodzic=rodzic.parentNode){ var height_rodzic=parseFloat(window.getComputedStyle(rodzic, null).getPropertyValue([height])); if(height_rodzic>=height_obj){ przodek_height=height_rodzic; break; } } if(!przodek_height){ element_g.style.display="none"; return; } var top_obj=(((top_ab>=0)?0:(-top_ab)))+((top_ab<=0)?(element_g.style[top+"Old"]):(Math.max(0,element_g.style[top+"Old"]-top_ab))); var wysokosc=top_obj+margintop+rect_dziecko[height]+((bottom_ab<=0)?(element_g.style[bottom+"Old"]):(Math.max(0,element_g.style[bottom+"Old"]-bottom_ab)))+marginbottom; var padding_top=parseFloat(window.getComputedStyle(element_g.parentNode, null).getPropertyValue("padding-"+top)); var padding_bottom=parseFloat(window.getComputedStyle(element_g.parentNode, null).getPropertyValue("padding-"+bottom)); var border_top=parseFloat(window.getComputedStyle(element_g.parentNode, null).getPropertyValue("border-"+top+"-width")); var border_bottom=parseFloat(window.getComputedStyle(element_g.parentNode, null).getPropertyValue("border-"+bottom+"-width")); var nie_ob=padding_top+padding_bottom+border_top+border_bottom; var rect_dziecko=element_g.getBoundingClientRect(); var height_sticky=0; $('#vector-sticky-header').each(function(i,el){ var rect_sticky=el.getBoundingClientRect(); height_sticky=rect_sticky[height]+nie_ob; }); if(wysokosc>=przodek_height){ element_g.style[top]="auto"; element_g.style[bottom]=(((bottom_ab<=0)?(element_g.style[bottom+"Old"]):(Math.max(0,element_g.style[bottom+"Old"]-bottom_ab)))+marginbottom)+"px"; }else{ element_g.style[top]=(top_obj+height_sticky)+"px"; element_g.style[bottom]="auto"; } //$(element_g).children(":not(style):not(link)").first().each(function(i,element_f){ var wys=document.documentElement["client"+(height.replace(/^(.)/g,function(s){return s.toUpperCase();}))]; element_g.style["max"+(height.replace(/^(.)/g,function(s){return s.toUpperCase();}))]=Math.min((przodek_height-(((top_ab<=0)?(element_g.style[top+"Old"]):(Math.max(0,element_g.style[top+"Old"]-top_ab)))+((bottom_ab<=0)?(element_g.style[bottom+"Old"]):(Math.max(0,element_g.style[bottom+"Old"]-bottom_ab)))+marginbottom+nie_ob)),wys-((rect_rodzic[top]>=0)?(rect_rodzic[top]):(0))-((wys-rect_rodzic[bottom]>=0)?(wys-rect_rodzic[bottom]):(0))-( (((rect_rodzic[top]<=0)&&(wys-rect_rodzic[bottom]<=0))?(height_sticky+10): (((rect_rodzic[top]>=0)&&(wys-rect_rodzic[bottom]<=0))?(/*nie_ob+*/5): (((rect_rodzic[top]<=0)&&(wys-rect_rodzic[bottom]>=0))?(height_sticky+5):0) ) ) ))+"px"; //element_f.style.overflow="auto"; //}); ScrollBarOverflow(); //element_g.style.display="block"; } var position=window.getComputedStyle(element_g, null).getPropertyValue("position"); if(position!="absolute"){return;} var sticky_x=$(element_g).hasClass('mw-sticky-x'); if(sticky_x){ FunStickyXY("left","right","width"); } var sticky_y=$(element_g).hasClass('mw-sticky-y'); if(sticky_y){ FunStickyXY("top","bottom","height"); } }); } $(StickyXY); $(window).on('scroll', StickyXY); /*Uruchamianie dodatkowych zdarzeń do StickyXY*/ function StickyXYBeginEnd(){ $("*.mw-sticky-x, *.mw-sticky-y").on('mouseover',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('mouseout',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('transitionstart',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('webkittransitionstart',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('moztransitionstart',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('otransitionstart',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('transitionrun',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('webkittransitionrun',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('moztransitionrun',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('otransitionrun',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('transitioncancel',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('webkittransitioncancel',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('moztransitioncancel',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('otransitioncancel',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('transitionend',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('webkittransitionend',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('moztransitionend',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('otransitionend',StickyXY); }; $(StickyXYBeginEnd); /*Koniec dodatkowych zdarzeń*/ /*Uruchamianie dodatkowych funkcji, niż standardowe, w href w linkach rozwijanej tabeli TABLE lub ramki DIV, jeśli ona generuje zwiększenie rozmiarów, aby w rodzicu pojawił się pasek przewijania, z dodatkowymi opcjami generowanej przez arkusz kalkulacyjny CSS*/ function RamkiTableIDiv(obiekt,id_tabeli_lub_ramki,id_nazwa_a,fun_obiektu){ $(obiekt).each(function(i,element_f){ return new Promise(function(resolve,reject){ var czas=0; function Czekaj(){ if(czas>30000){ reject(); } var collapsebutton=$(element_f).find('a#'+id_nazwa_a+i); if((collapsebutton!==null)&&(collapsebutton.length>0)){ var tabele_lub_ramki=collapsebutton.parents('#'+id_tabeli_lub_ramki+i); if((tabele_lub_ramki===null)||(tabele_lub_ramki.length==0)){reject();} resolve(i); }else{ czas+=100; setTimeout(Czekaj,100); } } Czekaj(); }).then(function(i){ $('*.mw-overflow-x a#'+id_nazwa_a+i+', *.mw-overflow-y a#'+id_nazwa_a+i).each(function(j,element_g){ var href=element_g.getAttribute('href'); if((href!=null)&&(href!="")){ var col="[\\s;\\(\\,]*javascript:"+fun_obiektu+"\\s*\\(\\s*"+i+"\\s*\\)[\\s;\\)\\,]*"; var re_frame = new RegExp(col,'g'); var re_javascript=new RegExp("^[\\s;]*javascript:"); if((re_javascript.test(href))&&(re_frame.test(href))){ element_g.setAttribute('href',href.replace(/[;\s]*$/g,"")+';javascript:ScrollBarOverflow();javascript:StickyXY();') } } }); }); }); }; /*Dla menu rozwijanego tabeli TABLE zdefiniowanej na stronie MediaWiki:Common.js*/ RamkiTableIDiv("table.collapsible",'collapsibleTable','collapseButton','collapseTable'); /*Dla menu rozwijanej ramki DIV zdefiniowanej na stronie MediaWiki:Common.js*/ RamkiTableIDiv("div.NavFrame",'NavFrame','NavToggle','toggleNavigationBar'); /*Koniec dodatkowych funkcji*/ i46ih6j6mspff377pvaxjldsy8fchxe 435276 435274 2022-07-20T18:27:22Z Persino 2851 javascript text/javascript mw.loader.load( '//pl.wikibooks.org/w/index.php?action=raw&ctype=text/javascript&title=Wikipedysta:Persino/Gadget-StronicowyParser.js', 'text/javascript', true ); /**/ /*Funkcja do liczenia, czy nastąpiło przepełnienie poziome lub pionowe*/ function ScrollBarOverflow(){ $('*.mw-overflow-x, *.mw-overflow-y').each(function(i,element_g){ /*start overflow*/ var overflow=window.getComputedStyle(element_g, null).getPropertyValue("overflow"); var overflow_x=$(element_g).hasClass('mw-overflow-x'); if(overflow_x){ var overflowX=(((overflow)&&(overflow!=""))?overflow:window.getComputedStyle(element_g, null).getPropertyValue("overflow-x")); if((overflowX)&&(overflowX=="auto")){ const hasHorizontalScrollbar = element_g.scrollWidth > element_g.clientWidth; // true lub false if(hasHorizontalScrollbar){ element_g.classList.add("mw-scrollbar-overflow-x"); }else{ element_g.classList.remove("mw-scrollbar-overflow-x"); } } } var overflow_y=$(element_g).hasClass('mw-overflow-y'); if(overflow_y){ var overflowY=(((overflow)&&(overflow!=""))?overflow:window.getComputedStyle(element_g, null).getPropertyValue("overflow-y")); if((overflowY)&&(overflowY=="auto")){ const hasVerticalScrollbar = element_g.scrollHeight > element_g.clientHeight; // true lub false if(hasVerticalScrollbar){ element_g.classList.add("mw-scrollbar-overflow-y"); }else{ element_g.classList.remove("mw-scrollbar-overflow-y"); } } } /*koniec overflow*/ }); } $(ScrollBarOverflow); $(window).on('resize', ScrollBarOverflow); /*Funkcja symulująca właściwości position:sticky, wszędzie tam, gdzie nie można go użyć.*/ function StickyXY(){ $('*.mw-sticky-x, *.mw-sticky-y').each(function(i,element_g){ function FunStickyXY(top,bottom,height){ var padding_top=parseFloat(window.getComputedStyle(element_g.parentNode, null).getPropertyValue("padding-"+top)); var padding_bottom=parseFloat(window.getComputedStyle(element_g.parentNode, null).getPropertyValue("padding-"+bottom)); var border_top=parseFloat(window.getComputedStyle(element_g.parentNode, null).getPropertyValue("border-"+top+"-width")); var border_bottom=parseFloat(window.getComputedStyle(element_g.parentNode, null).getPropertyValue("border-"+bottom+"-width")); var nie_ob=padding_top+padding_bottom+border_top+border_bottom; var rect_dziecko=element_g.getBoundingClientRect(); var height_sticky=0; $('#vector-sticky-header').each(function(i,el){ var rect_sticky=el.getBoundingClientRect(); height_sticky=rect_sticky[height]+nie_ob; }); if(element_g.style[top+"Old"]===undefined){ element_g.style[top+"Old"]=parseFloat(window.getComputedStyle(element_g, null).getPropertyValue(top)); element_g.style[top+"Old"]=((!isNaN(element_g.style[top+"Old"]))?element_g.style[top+"Old"]:0)+height_sticky; } if(element_g.style[bottom+"Old"]===undefined){ element_g.style[bottom+"Old"]=parseFloat(window.getComputedStyle(element_g, null).getPropertyValue(bottom)); element_g.style[bottom+"Old"]=((!isNaN(element_g.style[bottom+"Old"]))?element_g.style[bottom+"Old"]:0); } var margintop=parseFloat(window.getComputedStyle(element_g, null).getPropertyValue("margin-"+top)); margintop=((!isNaN(margintop))?margintop:0); var marginbottom=parseFloat(window.getComputedStyle(element_g, null).getPropertyValue("margin-"+bottom)); marginbottom=((!isNaN(marginbottom))?marginbottom:0); var przodek_height=undefined; var rect_dziecko=element_g.getBoundingClientRect(); var rect_rodzic=element_g.parentNode.getBoundingClientRect(); var top_ab=rect_rodzic[top]-margintop; var bottom_ab=rect_rodzic[bottom]-marginbottom; var height_obj=rect_dziecko[height]+((top_ab<=0)?(element_g.style[top+"Old"]):(Math.max(0,element_g.style[top+"Old"]-top_ab)))+margintop+((bottom_ab<=0)?(element_g.style[bottom+"Old"]):(Math.max(0,element_g.style[bottom+"Old"]-bottom_ab)))+marginbottom; for(var rodzic=element_g.parentNode;((rodzic!=null)&&(rodzic!=document));rodzic=rodzic.parentNode){ var height_rodzic=parseFloat(window.getComputedStyle(rodzic, null).getPropertyValue([height])); if(height_rodzic>=height_obj){ przodek_height=height_rodzic; break; } } if(!przodek_height){ element_g.style.display="none"; return; } var top_obj=(((top_ab>=0)?0:(-top_ab)))+((top_ab<=0)?(element_g.style[top+"Old"]):(Math.max(0,element_g.style[top+"Old"]-top_ab))); var wysokosc=top_obj+margintop+rect_dziecko[height]+((bottom_ab<=0)?(element_g.style[bottom+"Old"]):(Math.max(0,element_g.style[bottom+"Old"]-bottom_ab)))+marginbottom; if(wysokosc>=przodek_height){ element_g.style[top]="auto"; element_g.style[bottom]=(((bottom_ab<=0)?(element_g.style[bottom+"Old"]):(Math.max(0,element_g.style[bottom+"Old"]-bottom_ab)))+marginbottom)+"px"; }else{ element_g.style[top]=top_obj+"px"; element_g.style[bottom]="auto"; } //$(element_g).children(":not(style):not(link)").first().each(function(i,element_f){ var wys=document.documentElement["client"+(height.replace(/^(.)/g,function(s){return s.toUpperCase();}))]; element_g.style["max"+(height.replace(/^(.)/g,function(s){return s.toUpperCase();}))]=Math.min((przodek_height-(((top_ab<=0)?(element_g.style[top+"Old"]):(Math.max(0,element_g.style[top+"Old"]-top_ab)))+((bottom_ab<=0)?(element_g.style[bottom+"Old"]):(Math.max(0,element_g.style[bottom+"Old"]-bottom_ab)))+marginbottom+nie_ob)),wys-((rect_rodzic[top]>=0)?(rect_rodzic[top]):(0))-((wys-rect_rodzic[bottom]>=0)?(wys-rect_rodzic[bottom]):(0))-( (((rect_rodzic[top]<=0)&&(wys-rect_rodzic[bottom]<=0))?(height_sticky+10): (((rect_rodzic[top]>=0)&&(wys-rect_rodzic[bottom]<=0))?(/*nie_ob+*/5): (((rect_rodzic[top]<=0)&&(wys-rect_rodzic[bottom]>=0))?(height_sticky+5):0) ) ) ))+"px"; //element_f.style.overflow="auto"; //}); ScrollBarOverflow(); //element_g.style.display="block"; } var position=window.getComputedStyle(element_g, null).getPropertyValue("position"); if(position!="absolute"){return;} var sticky_x=$(element_g).hasClass('mw-sticky-x'); if(sticky_x){ FunStickyXY("left","right","width"); } var sticky_y=$(element_g).hasClass('mw-sticky-y'); if(sticky_y){ FunStickyXY("top","bottom","height"); } }); } $(StickyXY); $(window).on('scroll', StickyXY); /*Uruchamianie dodatkowych zdarzeń do StickyXY*/ function StickyXYBeginEnd(){ $("*.mw-sticky-x, *.mw-sticky-y").on('mouseover',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('mouseout',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('transitionstart',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('webkittransitionstart',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('moztransitionstart',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('otransitionstart',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('transitionrun',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('webkittransitionrun',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('moztransitionrun',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('otransitionrun',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('transitioncancel',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('webkittransitioncancel',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('moztransitioncancel',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('otransitioncancel',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('transitionend',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('webkittransitionend',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('moztransitionend',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('otransitionend',StickyXY); }; $(StickyXYBeginEnd); /*Koniec dodatkowych zdarzeń*/ /*Uruchamianie dodatkowych funkcji, niż standardowe, w href w linkach rozwijanej tabeli TABLE lub ramki DIV, jeśli ona generuje zwiększenie rozmiarów, aby w rodzicu pojawił się pasek przewijania, z dodatkowymi opcjami generowanej przez arkusz kalkulacyjny CSS*/ function RamkiTableIDiv(obiekt,id_tabeli_lub_ramki,id_nazwa_a,fun_obiektu){ $(obiekt).each(function(i,element_f){ return new Promise(function(resolve,reject){ var czas=0; function Czekaj(){ if(czas>30000){ reject(); } var collapsebutton=$(element_f).find('a#'+id_nazwa_a+i); if((collapsebutton!==null)&&(collapsebutton.length>0)){ var tabele_lub_ramki=collapsebutton.parents('#'+id_tabeli_lub_ramki+i); if((tabele_lub_ramki===null)||(tabele_lub_ramki.length==0)){reject();} resolve(i); }else{ czas+=100; setTimeout(Czekaj,100); } } Czekaj(); }).then(function(i){ $('*.mw-overflow-x a#'+id_nazwa_a+i+', *.mw-overflow-y a#'+id_nazwa_a+i).each(function(j,element_g){ var href=element_g.getAttribute('href'); if((href!=null)&&(href!="")){ var col="[\\s;\\(\\,]*javascript:"+fun_obiektu+"\\s*\\(\\s*"+i+"\\s*\\)[\\s;\\)\\,]*"; var re_frame = new RegExp(col,'g'); var re_javascript=new RegExp("^[\\s;]*javascript:"); if((re_javascript.test(href))&&(re_frame.test(href))){ element_g.setAttribute('href',href.replace(/[;\s]*$/g,"")+';javascript:ScrollBarOverflow();javascript:StickyXY();') } } }); }); }); }; /*Dla menu rozwijanego tabeli TABLE zdefiniowanej na stronie MediaWiki:Common.js*/ RamkiTableIDiv("table.collapsible",'collapsibleTable','collapseButton','collapseTable'); /*Dla menu rozwijanej ramki DIV zdefiniowanej na stronie MediaWiki:Common.js*/ RamkiTableIDiv("div.NavFrame",'NavFrame','NavToggle','toggleNavigationBar'); /*Koniec dodatkowych funkcji*/ p727sr3qlzy0dqdvw7ck79x7mrnd3t6 435277 435276 2022-07-20T18:30:44Z Persino 2851 javascript text/javascript mw.loader.load( '//pl.wikibooks.org/w/index.php?action=raw&ctype=text/javascript&title=Wikipedysta:Persino/Gadget-StronicowyParser.js', 'text/javascript', true ); /**/ /*Funkcja do liczenia, czy nastąpiło przepełnienie poziome lub pionowe*/ function ScrollBarOverflow(){ $('*.mw-overflow-x, *.mw-overflow-y').each(function(i,element_g){ /*start overflow*/ var overflow=window.getComputedStyle(element_g, null).getPropertyValue("overflow"); var overflow_x=$(element_g).hasClass('mw-overflow-x'); if(overflow_x){ var overflowX=(((overflow)&&(overflow!=""))?overflow:window.getComputedStyle(element_g, null).getPropertyValue("overflow-x")); if((overflowX)&&(overflowX=="auto")){ const hasHorizontalScrollbar = element_g.scrollWidth > element_g.clientWidth; // true lub false if(hasHorizontalScrollbar){ element_g.classList.add("mw-scrollbar-overflow-x"); }else{ element_g.classList.remove("mw-scrollbar-overflow-x"); } } } var overflow_y=$(element_g).hasClass('mw-overflow-y'); if(overflow_y){ var overflowY=(((overflow)&&(overflow!=""))?overflow:window.getComputedStyle(element_g, null).getPropertyValue("overflow-y")); if((overflowY)&&(overflowY=="auto")){ const hasVerticalScrollbar = element_g.scrollHeight > element_g.clientHeight; // true lub false if(hasVerticalScrollbar){ element_g.classList.add("mw-scrollbar-overflow-y"); }else{ element_g.classList.remove("mw-scrollbar-overflow-y"); } } } /*koniec overflow*/ }); } $(ScrollBarOverflow); $(window).on('resize', ScrollBarOverflow); /*Funkcja symulująca właściwości position:sticky, wszędzie tam, gdzie nie można go użyć.*/ function StickyXY(){ $('*.mw-sticky-x, *.mw-sticky-y').each(function(i,element_g){ function FunStickyXY(top,bottom,height){ var padding_top=parseFloat(window.getComputedStyle(element_g.parentNode, null).getPropertyValue("padding-"+top)); var padding_bottom=parseFloat(window.getComputedStyle(element_g.parentNode, null).getPropertyValue("padding-"+bottom)); var border_top=parseFloat(window.getComputedStyle(element_g.parentNode, null).getPropertyValue("border-"+top+"-width")); var border_bottom=parseFloat(window.getComputedStyle(element_g.parentNode, null).getPropertyValue("border-"+bottom+"-width")); var nie_ob=padding_top+padding_bottom+border_top+border_bottom; var rect_dziecko=element_g.getBoundingClientRect(); var height_sticky=0; $('#vector-sticky-header').each(function(i,el){ var rect_sticky=el.getBoundingClientRect(); height_sticky=rect_sticky[height]+nie_ob; }); if(element_g.style[top+"Old"]===undefined){ element_g.style[top+"Old"]=parseFloat(window.getComputedStyle(element_g, null).getPropertyValue(top)); element_g.style[top+"Old"]=((!isNaN(element_g.style[top+"Old"]))?element_g.style[top+"Old"]:0);//+height_sticky; } if(element_g.style[bottom+"Old"]===undefined){ element_g.style[bottom+"Old"]=parseFloat(window.getComputedStyle(element_g, null).getPropertyValue(bottom)); element_g.style[bottom+"Old"]=((!isNaN(element_g.style[bottom+"Old"]))?element_g.style[bottom+"Old"]:0); } var margintop=parseFloat(window.getComputedStyle(element_g, null).getPropertyValue("margin-"+top)); margintop=((!isNaN(margintop))?margintop:0); var marginbottom=parseFloat(window.getComputedStyle(element_g, null).getPropertyValue("margin-"+bottom)); marginbottom=((!isNaN(marginbottom))?marginbottom:0); var przodek_height=undefined; var rect_dziecko=element_g.getBoundingClientRect(); var rect_rodzic=element_g.parentNode.getBoundingClientRect(); var top_ab=rect_rodzic[top]-margintop; var bottom_ab=rect_rodzic[bottom]-marginbottom; var height_obj=rect_dziecko[height]+((top_ab<=0)?(element_g.style[top+"Old"]):(Math.max(0,element_g.style[top+"Old"]-top_ab)))+margintop+((bottom_ab<=0)?(element_g.style[bottom+"Old"]):(Math.max(0,element_g.style[bottom+"Old"]-bottom_ab)))+marginbottom; for(var rodzic=element_g.parentNode;((rodzic!=null)&&(rodzic!=document));rodzic=rodzic.parentNode){ var height_rodzic=parseFloat(window.getComputedStyle(rodzic, null).getPropertyValue([height])); if(height_rodzic>=height_obj){ przodek_height=height_rodzic; break; } } if(!przodek_height){ element_g.style.display="none"; return; } var top_obj=(((top_ab>=0)?0:(-top_ab)))+((top_ab<=0)?(element_g.style[top+"Old"]):(Math.max(0,element_g.style[top+"Old"]-top_ab))); var wysokosc=top_obj+margintop+rect_dziecko[height]+((bottom_ab<=0)?(element_g.style[bottom+"Old"]):(Math.max(0,element_g.style[bottom+"Old"]-bottom_ab)))+marginbottom; if(wysokosc>=przodek_height){ element_g.style[top]="auto"; element_g.style[bottom]=(((bottom_ab<=0)?(element_g.style[bottom+"Old"]):(Math.max(0,element_g.style[bottom+"Old"]-bottom_ab)))+marginbottom)+"px"; }else{ element_g.style[top]=top_obj+"px"; element_g.style[bottom]="auto"; } //$(element_g).children(":not(style):not(link)").first().each(function(i,element_f){ var wys=document.documentElement["client"+(height.replace(/^(.)/g,function(s){return s.toUpperCase();}))]; element_g.style["max"+(height.replace(/^(.)/g,function(s){return s.toUpperCase();}))]=Math.min((przodek_height-(((top_ab<=0)?(element_g.style[top+"Old"]):(Math.max(0,element_g.style[top+"Old"]-top_ab)))+((bottom_ab<=0)?(element_g.style[bottom+"Old"]):(Math.max(0,element_g.style[bottom+"Old"]-bottom_ab)))+marginbottom+nie_ob)),wys-((rect_rodzic[top]>=0)?(rect_rodzic[top]):(0))-((wys-rect_rodzic[bottom]>=0)?(wys-rect_rodzic[bottom]):(0))-( (((rect_rodzic[top]<=0)&&(wys-rect_rodzic[bottom]<=0))?(height_sticky+10): (((rect_rodzic[top]>=0)&&(wys-rect_rodzic[bottom]<=0))?(/*nie_ob+*/5): (((rect_rodzic[top]<=0)&&(wys-rect_rodzic[bottom]>=0))?(height_sticky+5):0) ) ) ))+"px"; //element_f.style.overflow="auto"; //}); ScrollBarOverflow(); //element_g.style.display="block"; } var position=window.getComputedStyle(element_g, null).getPropertyValue("position"); if(position!="absolute"){return;} var sticky_x=$(element_g).hasClass('mw-sticky-x'); if(sticky_x){ FunStickyXY("left","right","width"); } var sticky_y=$(element_g).hasClass('mw-sticky-y'); if(sticky_y){ FunStickyXY("top","bottom","height"); } }); } $(StickyXY); $(window).on('scroll', StickyXY); /*Uruchamianie dodatkowych zdarzeń do StickyXY*/ function StickyXYBeginEnd(){ $("*.mw-sticky-x, *.mw-sticky-y").on('mouseover',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('mouseout',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('transitionstart',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('webkittransitionstart',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('moztransitionstart',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('otransitionstart',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('transitionrun',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('webkittransitionrun',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('moztransitionrun',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('otransitionrun',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('transitioncancel',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('webkittransitioncancel',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('moztransitioncancel',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('otransitioncancel',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('transitionend',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('webkittransitionend',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('moztransitionend',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('otransitionend',StickyXY); }; $(StickyXYBeginEnd); /*Koniec dodatkowych zdarzeń*/ /*Uruchamianie dodatkowych funkcji, niż standardowe, w href w linkach rozwijanej tabeli TABLE lub ramki DIV, jeśli ona generuje zwiększenie rozmiarów, aby w rodzicu pojawił się pasek przewijania, z dodatkowymi opcjami generowanej przez arkusz kalkulacyjny CSS*/ function RamkiTableIDiv(obiekt,id_tabeli_lub_ramki,id_nazwa_a,fun_obiektu){ $(obiekt).each(function(i,element_f){ return new Promise(function(resolve,reject){ var czas=0; function Czekaj(){ if(czas>30000){ reject(); } var collapsebutton=$(element_f).find('a#'+id_nazwa_a+i); if((collapsebutton!==null)&&(collapsebutton.length>0)){ var tabele_lub_ramki=collapsebutton.parents('#'+id_tabeli_lub_ramki+i); if((tabele_lub_ramki===null)||(tabele_lub_ramki.length==0)){reject();} resolve(i); }else{ czas+=100; setTimeout(Czekaj,100); } } Czekaj(); }).then(function(i){ $('*.mw-overflow-x a#'+id_nazwa_a+i+', *.mw-overflow-y a#'+id_nazwa_a+i).each(function(j,element_g){ var href=element_g.getAttribute('href'); if((href!=null)&&(href!="")){ var col="[\\s;\\(\\,]*javascript:"+fun_obiektu+"\\s*\\(\\s*"+i+"\\s*\\)[\\s;\\)\\,]*"; var re_frame = new RegExp(col,'g'); var re_javascript=new RegExp("^[\\s;]*javascript:"); if((re_javascript.test(href))&&(re_frame.test(href))){ element_g.setAttribute('href',href.replace(/[;\s]*$/g,"")+';javascript:ScrollBarOverflow();javascript:StickyXY();') } } }); }); }); }; /*Dla menu rozwijanego tabeli TABLE zdefiniowanej na stronie MediaWiki:Common.js*/ RamkiTableIDiv("table.collapsible",'collapsibleTable','collapseButton','collapseTable'); /*Dla menu rozwijanej ramki DIV zdefiniowanej na stronie MediaWiki:Common.js*/ RamkiTableIDiv("div.NavFrame",'NavFrame','NavToggle','toggleNavigationBar'); /*Koniec dodatkowych funkcji*/ oj8oa4pgdn5g4uqh4kh6cvp8cdz3c6v 435278 435277 2022-07-20T18:32:48Z Persino 2851 javascript text/javascript mw.loader.load( '//pl.wikibooks.org/w/index.php?action=raw&ctype=text/javascript&title=Wikipedysta:Persino/Gadget-StronicowyParser.js', 'text/javascript', true ); /**/ /*Funkcja do liczenia, czy nastąpiło przepełnienie poziome lub pionowe*/ function ScrollBarOverflow(){ $('*.mw-overflow-x, *.mw-overflow-y').each(function(i,element_g){ /*start overflow*/ var overflow=window.getComputedStyle(element_g, null).getPropertyValue("overflow"); var overflow_x=$(element_g).hasClass('mw-overflow-x'); if(overflow_x){ var overflowX=(((overflow)&&(overflow!=""))?overflow:window.getComputedStyle(element_g, null).getPropertyValue("overflow-x")); if((overflowX)&&(overflowX=="auto")){ const hasHorizontalScrollbar = element_g.scrollWidth > element_g.clientWidth; // true lub false if(hasHorizontalScrollbar){ element_g.classList.add("mw-scrollbar-overflow-x"); }else{ element_g.classList.remove("mw-scrollbar-overflow-x"); } } } var overflow_y=$(element_g).hasClass('mw-overflow-y'); if(overflow_y){ var overflowY=(((overflow)&&(overflow!=""))?overflow:window.getComputedStyle(element_g, null).getPropertyValue("overflow-y")); if((overflowY)&&(overflowY=="auto")){ const hasVerticalScrollbar = element_g.scrollHeight > element_g.clientHeight; // true lub false if(hasVerticalScrollbar){ element_g.classList.add("mw-scrollbar-overflow-y"); }else{ element_g.classList.remove("mw-scrollbar-overflow-y"); } } } /*koniec overflow*/ }); } $(ScrollBarOverflow); $(window).on('resize', ScrollBarOverflow); /*Funkcja symulująca właściwości position:sticky, wszędzie tam, gdzie nie można go użyć.*/ function StickyXY(){ $('*.mw-sticky-x, *.mw-sticky-y').each(function(i,element_g){ function FunStickyXY(top,bottom,height){ var padding_top=parseFloat(window.getComputedStyle(element_g.parentNode, null).getPropertyValue("padding-"+top)); var padding_bottom=parseFloat(window.getComputedStyle(element_g.parentNode, null).getPropertyValue("padding-"+bottom)); var border_top=parseFloat(window.getComputedStyle(element_g.parentNode, null).getPropertyValue("border-"+top+"-width")); var border_bottom=parseFloat(window.getComputedStyle(element_g.parentNode, null).getPropertyValue("border-"+bottom+"-width")); var nie_ob=padding_top+padding_bottom+border_top+border_bottom; var rect_dziecko=element_g.getBoundingClientRect(); var height_sticky=0; $('#vector-sticky-header').each(function(i,el){ var rect_sticky=el.getBoundingClientRect(); height_sticky=rect_sticky[height]+nie_ob; }); if(element_g.style[top+"Old"]===undefined){ element_g.style[top+"Old"]=parseFloat(window.getComputedStyle(element_g, null).getPropertyValue(top)); element_g.style[top+"Old"]=((!isNaN(element_g.style[top+"Old"]))?element_g.style[top+"Old"]:0)+height_sticky; } if(element_g.style[bottom+"Old"]===undefined){ element_g.style[bottom+"Old"]=parseFloat(window.getComputedStyle(element_g, null).getPropertyValue(bottom)); element_g.style[bottom+"Old"]=((!isNaN(element_g.style[bottom+"Old"]))?element_g.style[bottom+"Old"]:0); } var margintop=parseFloat(window.getComputedStyle(element_g, null).getPropertyValue("margin-"+top)); margintop=((!isNaN(margintop))?margintop:0); var marginbottom=parseFloat(window.getComputedStyle(element_g, null).getPropertyValue("margin-"+bottom)); marginbottom=((!isNaN(marginbottom))?marginbottom:0); var przodek_height=undefined; var rect_dziecko=element_g.getBoundingClientRect(); var rect_rodzic=element_g.parentNode.getBoundingClientRect(); var top_ab=rect_rodzic[top]-margintop; var bottom_ab=rect_rodzic[bottom]-marginbottom; var height_obj=rect_dziecko[height]+((top_ab<=0)?(element_g.style[top+"Old"]):(Math.max(0,element_g.style[top+"Old"]-top_ab)))+margintop+((bottom_ab<=0)?(element_g.style[bottom+"Old"]):(Math.max(0,element_g.style[bottom+"Old"]-bottom_ab)))+marginbottom; for(var rodzic=element_g.parentNode;((rodzic!=null)&&(rodzic!=document));rodzic=rodzic.parentNode){ var height_rodzic=parseFloat(window.getComputedStyle(rodzic, null).getPropertyValue([height])); if(height_rodzic>=height_obj){ przodek_height=height_rodzic; break; } } if(!przodek_height){ element_g.style.display="none"; return; } var top_obj=(((top_ab>=0)?0:(-top_ab)))+((top_ab<=0)?(element_g.style[top+"Old"]):(Math.max(0,element_g.style[top+"Old"]-top_ab))); var wysokosc=top_obj+margintop+rect_dziecko[height]+((bottom_ab<=0)?(element_g.style[bottom+"Old"]):(Math.max(0,element_g.style[bottom+"Old"]-bottom_ab)))+marginbottom; if(wysokosc>=przodek_height){ element_g.style[top]="auto"; element_g.style[bottom]=(((bottom_ab<=0)?(element_g.style[bottom+"Old"]):(Math.max(0,element_g.style[bottom+"Old"]-bottom_ab)))+marginbottom)+"px"; }else{ element_g.style[top]=top_obj+"px"; element_g.style[bottom]="auto"; } //$(element_g).children(":not(style):not(link)").first().each(function(i,element_f){ var wys=document.documentElement["client"+(height.replace(/^(.)/g,function(s){return s.toUpperCase();}))]; element_g.style["max"+(height.replace(/^(.)/g,function(s){return s.toUpperCase();}))]=Math.min((przodek_height-(((top_ab<=0)?(element_g.style[top+"Old"]):(Math.max(0,element_g.style[top+"Old"]-top_ab)))+((bottom_ab<=0)?(element_g.style[bottom+"Old"]):(Math.max(0,element_g.style[bottom+"Old"]-bottom_ab)))+marginbottom+nie_ob)),wys-((rect_rodzic[top]>=0)?(rect_rodzic[top]):(0))-((wys-rect_rodzic[bottom]>=0)?(wys-rect_rodzic[bottom]):(0))-( (((rect_rodzic[top]<=0)&&(wys-rect_rodzic[bottom]<=0))?(height_sticky+10): (((rect_rodzic[top]>=0)&&(wys-rect_rodzic[bottom]<=0))?(/*nie_ob+*/5): (((rect_rodzic[top]<=0)&&(wys-rect_rodzic[bottom]>=0))?(height_sticky+5):0) ) ) ))+"px"; //element_f.style.overflow="auto"; //}); ScrollBarOverflow(); //element_g.style.display="block"; } var position=window.getComputedStyle(element_g, null).getPropertyValue("position"); if(position!="absolute"){return;} var sticky_x=$(element_g).hasClass('mw-sticky-x'); if(sticky_x){ FunStickyXY("left","right","width"); } var sticky_y=$(element_g).hasClass('mw-sticky-y'); if(sticky_y){ FunStickyXY("top","bottom","height"); } }); } $(StickyXY); $(window).on('scroll', StickyXY); /*Uruchamianie dodatkowych zdarzeń do StickyXY*/ function StickyXYBeginEnd(){ $("*.mw-sticky-x, *.mw-sticky-y").on('mouseover',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('mouseout',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('transitionstart',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('webkittransitionstart',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('moztransitionstart',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('otransitionstart',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('transitionrun',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('webkittransitionrun',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('moztransitionrun',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('otransitionrun',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('transitioncancel',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('webkittransitioncancel',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('moztransitioncancel',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('otransitioncancel',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('transitionend',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('webkittransitionend',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('moztransitionend',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('otransitionend',StickyXY); }; $(StickyXYBeginEnd); /*Koniec dodatkowych zdarzeń*/ /*Uruchamianie dodatkowych funkcji, niż standardowe, w href w linkach rozwijanej tabeli TABLE lub ramki DIV, jeśli ona generuje zwiększenie rozmiarów, aby w rodzicu pojawił się pasek przewijania, z dodatkowymi opcjami generowanej przez arkusz kalkulacyjny CSS*/ function RamkiTableIDiv(obiekt,id_tabeli_lub_ramki,id_nazwa_a,fun_obiektu){ $(obiekt).each(function(i,element_f){ return new Promise(function(resolve,reject){ var czas=0; function Czekaj(){ if(czas>30000){ reject(); } var collapsebutton=$(element_f).find('a#'+id_nazwa_a+i); if((collapsebutton!==null)&&(collapsebutton.length>0)){ var tabele_lub_ramki=collapsebutton.parents('#'+id_tabeli_lub_ramki+i); if((tabele_lub_ramki===null)||(tabele_lub_ramki.length==0)){reject();} resolve(i); }else{ czas+=100; setTimeout(Czekaj,100); } } Czekaj(); }).then(function(i){ $('*.mw-overflow-x a#'+id_nazwa_a+i+', *.mw-overflow-y a#'+id_nazwa_a+i).each(function(j,element_g){ var href=element_g.getAttribute('href'); if((href!=null)&&(href!="")){ var col="[\\s;\\(\\,]*javascript:"+fun_obiektu+"\\s*\\(\\s*"+i+"\\s*\\)[\\s;\\)\\,]*"; var re_frame = new RegExp(col,'g'); var re_javascript=new RegExp("^[\\s;]*javascript:"); if((re_javascript.test(href))&&(re_frame.test(href))){ element_g.setAttribute('href',href.replace(/[;\s]*$/g,"")+';javascript:ScrollBarOverflow();javascript:StickyXY();') } } }); }); }); }; /*Dla menu rozwijanego tabeli TABLE zdefiniowanej na stronie MediaWiki:Common.js*/ RamkiTableIDiv("table.collapsible",'collapsibleTable','collapseButton','collapseTable'); /*Dla menu rozwijanej ramki DIV zdefiniowanej na stronie MediaWiki:Common.js*/ RamkiTableIDiv("div.NavFrame",'NavFrame','NavToggle','toggleNavigationBar'); /*Koniec dodatkowych funkcji*/ p727sr3qlzy0dqdvw7ck79x7mrnd3t6 435279 435278 2022-07-20T18:35:14Z Persino 2851 javascript text/javascript mw.loader.load( '//pl.wikibooks.org/w/index.php?action=raw&ctype=text/javascript&title=Wikipedysta:Persino/Gadget-StronicowyParser.js', 'text/javascript', true ); /**/ /*Funkcja do liczenia, czy nastąpiło przepełnienie poziome lub pionowe*/ function ScrollBarOverflow(){ $('*.mw-overflow-x, *.mw-overflow-y').each(function(i,element_g){ /*start overflow*/ var overflow=window.getComputedStyle(element_g, null).getPropertyValue("overflow"); var overflow_x=$(element_g).hasClass('mw-overflow-x'); if(overflow_x){ var overflowX=(((overflow)&&(overflow!=""))?overflow:window.getComputedStyle(element_g, null).getPropertyValue("overflow-x")); if((overflowX)&&(overflowX=="auto")){ const hasHorizontalScrollbar = element_g.scrollWidth > element_g.clientWidth; // true lub false if(hasHorizontalScrollbar){ element_g.classList.add("mw-scrollbar-overflow-x"); }else{ element_g.classList.remove("mw-scrollbar-overflow-x"); } } } var overflow_y=$(element_g).hasClass('mw-overflow-y'); if(overflow_y){ var overflowY=(((overflow)&&(overflow!=""))?overflow:window.getComputedStyle(element_g, null).getPropertyValue("overflow-y")); if((overflowY)&&(overflowY=="auto")){ const hasVerticalScrollbar = element_g.scrollHeight > element_g.clientHeight; // true lub false if(hasVerticalScrollbar){ element_g.classList.add("mw-scrollbar-overflow-y"); }else{ element_g.classList.remove("mw-scrollbar-overflow-y"); } } } /*koniec overflow*/ }); } $(ScrollBarOverflow); $(window).on('resize', ScrollBarOverflow); /*Funkcja symulująca właściwości position:sticky, wszędzie tam, gdzie nie można go użyć.*/ function StickyXY(){ $('*.mw-sticky-x, *.mw-sticky-y').each(function(i,element_g){ function FunStickyXY(top,bottom,height){ var padding_top=parseFloat(window.getComputedStyle(element_g.parentNode, null).getPropertyValue("padding-"+top)); var padding_bottom=parseFloat(window.getComputedStyle(element_g.parentNode, null).getPropertyValue("padding-"+bottom)); var border_top=parseFloat(window.getComputedStyle(element_g.parentNode, null).getPropertyValue("border-"+top+"-width")); var border_bottom=parseFloat(window.getComputedStyle(element_g.parentNode, null).getPropertyValue("border-"+bottom+"-width")); var nie_ob=padding_top+padding_bottom+border_top+border_bottom; var rect_dziecko=element_g.getBoundingClientRect(); var height_sticky=0; $('#vector-sticky-header').each(function(i,el){ var rect_sticky=el.getBoundingClientRect(); height_sticky=rect_sticky[height]+nie_ob; }); if(element_g.style[top+"Old"]===undefined){ element_g.style[top+"Old"]=parseFloat(window.getComputedStyle(element_g, null).getPropertyValue(top)); alert(height_sticky); element_g.style[top+"Old"]=((!isNaN(element_g.style[top+"Old"]))?element_g.style[top+"Old"]:0)+height_sticky; } if(element_g.style[bottom+"Old"]===undefined){ element_g.style[bottom+"Old"]=parseFloat(window.getComputedStyle(element_g, null).getPropertyValue(bottom)); element_g.style[bottom+"Old"]=((!isNaN(element_g.style[bottom+"Old"]))?element_g.style[bottom+"Old"]:0); } var margintop=parseFloat(window.getComputedStyle(element_g, null).getPropertyValue("margin-"+top)); margintop=((!isNaN(margintop))?margintop:0); var marginbottom=parseFloat(window.getComputedStyle(element_g, null).getPropertyValue("margin-"+bottom)); marginbottom=((!isNaN(marginbottom))?marginbottom:0); var przodek_height=undefined; var rect_dziecko=element_g.getBoundingClientRect(); var rect_rodzic=element_g.parentNode.getBoundingClientRect(); var top_ab=rect_rodzic[top]-margintop; var bottom_ab=rect_rodzic[bottom]-marginbottom; var height_obj=rect_dziecko[height]+((top_ab<=0)?(element_g.style[top+"Old"]):(Math.max(0,element_g.style[top+"Old"]-top_ab)))+margintop+((bottom_ab<=0)?(element_g.style[bottom+"Old"]):(Math.max(0,element_g.style[bottom+"Old"]-bottom_ab)))+marginbottom; for(var rodzic=element_g.parentNode;((rodzic!=null)&&(rodzic!=document));rodzic=rodzic.parentNode){ var height_rodzic=parseFloat(window.getComputedStyle(rodzic, null).getPropertyValue([height])); if(height_rodzic>=height_obj){ przodek_height=height_rodzic; break; } } if(!przodek_height){ element_g.style.display="none"; return; } var top_obj=(((top_ab>=0)?0:(-top_ab)))+((top_ab<=0)?(element_g.style[top+"Old"]):(Math.max(0,element_g.style[top+"Old"]-top_ab))); var wysokosc=top_obj+margintop+rect_dziecko[height]+((bottom_ab<=0)?(element_g.style[bottom+"Old"]):(Math.max(0,element_g.style[bottom+"Old"]-bottom_ab)))+marginbottom; if(wysokosc>=przodek_height){ element_g.style[top]="auto"; element_g.style[bottom]=(((bottom_ab<=0)?(element_g.style[bottom+"Old"]):(Math.max(0,element_g.style[bottom+"Old"]-bottom_ab)))+marginbottom)+"px"; }else{ element_g.style[top]=top_obj+"px"; element_g.style[bottom]="auto"; } //$(element_g).children(":not(style):not(link)").first().each(function(i,element_f){ var wys=document.documentElement["client"+(height.replace(/^(.)/g,function(s){return s.toUpperCase();}))]; element_g.style["max"+(height.replace(/^(.)/g,function(s){return s.toUpperCase();}))]=Math.min((przodek_height-(((top_ab<=0)?(element_g.style[top+"Old"]):(Math.max(0,element_g.style[top+"Old"]-top_ab)))+((bottom_ab<=0)?(element_g.style[bottom+"Old"]):(Math.max(0,element_g.style[bottom+"Old"]-bottom_ab)))+marginbottom+nie_ob)),wys-((rect_rodzic[top]>=0)?(rect_rodzic[top]):(0))-((wys-rect_rodzic[bottom]>=0)?(wys-rect_rodzic[bottom]):(0))-( (((rect_rodzic[top]<=0)&&(wys-rect_rodzic[bottom]<=0))?(height_sticky+10): (((rect_rodzic[top]>=0)&&(wys-rect_rodzic[bottom]<=0))?(/*nie_ob+*/5): (((rect_rodzic[top]<=0)&&(wys-rect_rodzic[bottom]>=0))?(height_sticky+5):0) ) ) ))+"px"; //element_f.style.overflow="auto"; //}); ScrollBarOverflow(); //element_g.style.display="block"; } var position=window.getComputedStyle(element_g, null).getPropertyValue("position"); if(position!="absolute"){return;} var sticky_x=$(element_g).hasClass('mw-sticky-x'); if(sticky_x){ FunStickyXY("left","right","width"); } var sticky_y=$(element_g).hasClass('mw-sticky-y'); if(sticky_y){ FunStickyXY("top","bottom","height"); } }); } $(StickyXY); $(window).on('scroll', StickyXY); /*Uruchamianie dodatkowych zdarzeń do StickyXY*/ function StickyXYBeginEnd(){ $("*.mw-sticky-x, *.mw-sticky-y").on('mouseover',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('mouseout',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('transitionstart',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('webkittransitionstart',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('moztransitionstart',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('otransitionstart',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('transitionrun',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('webkittransitionrun',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('moztransitionrun',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('otransitionrun',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('transitioncancel',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('webkittransitioncancel',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('moztransitioncancel',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('otransitioncancel',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('transitionend',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('webkittransitionend',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('moztransitionend',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('otransitionend',StickyXY); }; $(StickyXYBeginEnd); /*Koniec dodatkowych zdarzeń*/ /*Uruchamianie dodatkowych funkcji, niż standardowe, w href w linkach rozwijanej tabeli TABLE lub ramki DIV, jeśli ona generuje zwiększenie rozmiarów, aby w rodzicu pojawił się pasek przewijania, z dodatkowymi opcjami generowanej przez arkusz kalkulacyjny CSS*/ function RamkiTableIDiv(obiekt,id_tabeli_lub_ramki,id_nazwa_a,fun_obiektu){ $(obiekt).each(function(i,element_f){ return new Promise(function(resolve,reject){ var czas=0; function Czekaj(){ if(czas>30000){ reject(); } var collapsebutton=$(element_f).find('a#'+id_nazwa_a+i); if((collapsebutton!==null)&&(collapsebutton.length>0)){ var tabele_lub_ramki=collapsebutton.parents('#'+id_tabeli_lub_ramki+i); if((tabele_lub_ramki===null)||(tabele_lub_ramki.length==0)){reject();} resolve(i); }else{ czas+=100; setTimeout(Czekaj,100); } } Czekaj(); }).then(function(i){ $('*.mw-overflow-x a#'+id_nazwa_a+i+', *.mw-overflow-y a#'+id_nazwa_a+i).each(function(j,element_g){ var href=element_g.getAttribute('href'); if((href!=null)&&(href!="")){ var col="[\\s;\\(\\,]*javascript:"+fun_obiektu+"\\s*\\(\\s*"+i+"\\s*\\)[\\s;\\)\\,]*"; var re_frame = new RegExp(col,'g'); var re_javascript=new RegExp("^[\\s;]*javascript:"); if((re_javascript.test(href))&&(re_frame.test(href))){ element_g.setAttribute('href',href.replace(/[;\s]*$/g,"")+';javascript:ScrollBarOverflow();javascript:StickyXY();') } } }); }); }); }; /*Dla menu rozwijanego tabeli TABLE zdefiniowanej na stronie MediaWiki:Common.js*/ RamkiTableIDiv("table.collapsible",'collapsibleTable','collapseButton','collapseTable'); /*Dla menu rozwijanej ramki DIV zdefiniowanej na stronie MediaWiki:Common.js*/ RamkiTableIDiv("div.NavFrame",'NavFrame','NavToggle','toggleNavigationBar'); /*Koniec dodatkowych funkcji*/ tnog25ri7rxc7wqnlx1g7yjff7zfywg 435280 435279 2022-07-20T18:36:08Z Persino 2851 javascript text/javascript mw.loader.load( '//pl.wikibooks.org/w/index.php?action=raw&ctype=text/javascript&title=Wikipedysta:Persino/Gadget-StronicowyParser.js', 'text/javascript', true ); /**/ /*Funkcja do liczenia, czy nastąpiło przepełnienie poziome lub pionowe*/ function ScrollBarOverflow(){ $('*.mw-overflow-x, *.mw-overflow-y').each(function(i,element_g){ /*start overflow*/ var overflow=window.getComputedStyle(element_g, null).getPropertyValue("overflow"); var overflow_x=$(element_g).hasClass('mw-overflow-x'); if(overflow_x){ var overflowX=(((overflow)&&(overflow!=""))?overflow:window.getComputedStyle(element_g, null).getPropertyValue("overflow-x")); if((overflowX)&&(overflowX=="auto")){ const hasHorizontalScrollbar = element_g.scrollWidth > element_g.clientWidth; // true lub false if(hasHorizontalScrollbar){ element_g.classList.add("mw-scrollbar-overflow-x"); }else{ element_g.classList.remove("mw-scrollbar-overflow-x"); } } } var overflow_y=$(element_g).hasClass('mw-overflow-y'); if(overflow_y){ var overflowY=(((overflow)&&(overflow!=""))?overflow:window.getComputedStyle(element_g, null).getPropertyValue("overflow-y")); if((overflowY)&&(overflowY=="auto")){ const hasVerticalScrollbar = element_g.scrollHeight > element_g.clientHeight; // true lub false if(hasVerticalScrollbar){ element_g.classList.add("mw-scrollbar-overflow-y"); }else{ element_g.classList.remove("mw-scrollbar-overflow-y"); } } } /*koniec overflow*/ }); } $(ScrollBarOverflow); $(window).on('resize', ScrollBarOverflow); /*Funkcja symulująca właściwości position:sticky, wszędzie tam, gdzie nie można go użyć.*/ function StickyXY(){ $('*.mw-sticky-x, *.mw-sticky-y').each(function(i,element_g){ function FunStickyXY(top,bottom,height){ var padding_top=parseFloat(window.getComputedStyle(element_g.parentNode, null).getPropertyValue("padding-"+top)); var padding_bottom=parseFloat(window.getComputedStyle(element_g.parentNode, null).getPropertyValue("padding-"+bottom)); var border_top=parseFloat(window.getComputedStyle(element_g.parentNode, null).getPropertyValue("border-"+top+"-width")); var border_bottom=parseFloat(window.getComputedStyle(element_g.parentNode, null).getPropertyValue("border-"+bottom+"-width")); var nie_ob=padding_top+padding_bottom+border_top+border_bottom; var rect_dziecko=element_g.getBoundingClientRect(); var height_sticky=0; $('#vector-sticky-header').each(function(i,el){ var rect_sticky=el.getBoundingClientRect(); height_sticky=rect_sticky[height]+nie_ob; }); alert("tytan") if(element_g.style[top+"Old"]===undefined){ element_g.style[top+"Old"]=parseFloat(window.getComputedStyle(element_g, null).getPropertyValue(top)); alert(height_sticky); element_g.style[top+"Old"]=((!isNaN(element_g.style[top+"Old"]))?element_g.style[top+"Old"]:0)+height_sticky; } if(element_g.style[bottom+"Old"]===undefined){ element_g.style[bottom+"Old"]=parseFloat(window.getComputedStyle(element_g, null).getPropertyValue(bottom)); element_g.style[bottom+"Old"]=((!isNaN(element_g.style[bottom+"Old"]))?element_g.style[bottom+"Old"]:0); } var margintop=parseFloat(window.getComputedStyle(element_g, null).getPropertyValue("margin-"+top)); margintop=((!isNaN(margintop))?margintop:0); var marginbottom=parseFloat(window.getComputedStyle(element_g, null).getPropertyValue("margin-"+bottom)); marginbottom=((!isNaN(marginbottom))?marginbottom:0); var przodek_height=undefined; var rect_dziecko=element_g.getBoundingClientRect(); var rect_rodzic=element_g.parentNode.getBoundingClientRect(); var top_ab=rect_rodzic[top]-margintop; var bottom_ab=rect_rodzic[bottom]-marginbottom; var height_obj=rect_dziecko[height]+((top_ab<=0)?(element_g.style[top+"Old"]):(Math.max(0,element_g.style[top+"Old"]-top_ab)))+margintop+((bottom_ab<=0)?(element_g.style[bottom+"Old"]):(Math.max(0,element_g.style[bottom+"Old"]-bottom_ab)))+marginbottom; for(var rodzic=element_g.parentNode;((rodzic!=null)&&(rodzic!=document));rodzic=rodzic.parentNode){ var height_rodzic=parseFloat(window.getComputedStyle(rodzic, null).getPropertyValue([height])); if(height_rodzic>=height_obj){ przodek_height=height_rodzic; break; } } if(!przodek_height){ element_g.style.display="none"; return; } var top_obj=(((top_ab>=0)?0:(-top_ab)))+((top_ab<=0)?(element_g.style[top+"Old"]):(Math.max(0,element_g.style[top+"Old"]-top_ab))); var wysokosc=top_obj+margintop+rect_dziecko[height]+((bottom_ab<=0)?(element_g.style[bottom+"Old"]):(Math.max(0,element_g.style[bottom+"Old"]-bottom_ab)))+marginbottom; if(wysokosc>=przodek_height){ element_g.style[top]="auto"; element_g.style[bottom]=(((bottom_ab<=0)?(element_g.style[bottom+"Old"]):(Math.max(0,element_g.style[bottom+"Old"]-bottom_ab)))+marginbottom)+"px"; }else{ element_g.style[top]=top_obj+"px"; element_g.style[bottom]="auto"; } //$(element_g).children(":not(style):not(link)").first().each(function(i,element_f){ var wys=document.documentElement["client"+(height.replace(/^(.)/g,function(s){return s.toUpperCase();}))]; element_g.style["max"+(height.replace(/^(.)/g,function(s){return s.toUpperCase();}))]=Math.min((przodek_height-(((top_ab<=0)?(element_g.style[top+"Old"]):(Math.max(0,element_g.style[top+"Old"]-top_ab)))+((bottom_ab<=0)?(element_g.style[bottom+"Old"]):(Math.max(0,element_g.style[bottom+"Old"]-bottom_ab)))+marginbottom+nie_ob)),wys-((rect_rodzic[top]>=0)?(rect_rodzic[top]):(0))-((wys-rect_rodzic[bottom]>=0)?(wys-rect_rodzic[bottom]):(0))-( (((rect_rodzic[top]<=0)&&(wys-rect_rodzic[bottom]<=0))?(height_sticky+10): (((rect_rodzic[top]>=0)&&(wys-rect_rodzic[bottom]<=0))?(/*nie_ob+*/5): (((rect_rodzic[top]<=0)&&(wys-rect_rodzic[bottom]>=0))?(height_sticky+5):0) ) ) ))+"px"; //element_f.style.overflow="auto"; //}); ScrollBarOverflow(); //element_g.style.display="block"; } var position=window.getComputedStyle(element_g, null).getPropertyValue("position"); if(position!="absolute"){return;} var sticky_x=$(element_g).hasClass('mw-sticky-x'); if(sticky_x){ FunStickyXY("left","right","width"); } var sticky_y=$(element_g).hasClass('mw-sticky-y'); if(sticky_y){ FunStickyXY("top","bottom","height"); } }); } $(StickyXY); $(window).on('scroll', StickyXY); /*Uruchamianie dodatkowych zdarzeń do StickyXY*/ function StickyXYBeginEnd(){ $("*.mw-sticky-x, *.mw-sticky-y").on('mouseover',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('mouseout',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('transitionstart',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('webkittransitionstart',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('moztransitionstart',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('otransitionstart',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('transitionrun',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('webkittransitionrun',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('moztransitionrun',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('otransitionrun',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('transitioncancel',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('webkittransitioncancel',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('moztransitioncancel',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('otransitioncancel',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('transitionend',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('webkittransitionend',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('moztransitionend',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('otransitionend',StickyXY); }; $(StickyXYBeginEnd); /*Koniec dodatkowych zdarzeń*/ /*Uruchamianie dodatkowych funkcji, niż standardowe, w href w linkach rozwijanej tabeli TABLE lub ramki DIV, jeśli ona generuje zwiększenie rozmiarów, aby w rodzicu pojawił się pasek przewijania, z dodatkowymi opcjami generowanej przez arkusz kalkulacyjny CSS*/ function RamkiTableIDiv(obiekt,id_tabeli_lub_ramki,id_nazwa_a,fun_obiektu){ $(obiekt).each(function(i,element_f){ return new Promise(function(resolve,reject){ var czas=0; function Czekaj(){ if(czas>30000){ reject(); } var collapsebutton=$(element_f).find('a#'+id_nazwa_a+i); if((collapsebutton!==null)&&(collapsebutton.length>0)){ var tabele_lub_ramki=collapsebutton.parents('#'+id_tabeli_lub_ramki+i); if((tabele_lub_ramki===null)||(tabele_lub_ramki.length==0)){reject();} resolve(i); }else{ czas+=100; setTimeout(Czekaj,100); } } Czekaj(); }).then(function(i){ $('*.mw-overflow-x a#'+id_nazwa_a+i+', *.mw-overflow-y a#'+id_nazwa_a+i).each(function(j,element_g){ var href=element_g.getAttribute('href'); if((href!=null)&&(href!="")){ var col="[\\s;\\(\\,]*javascript:"+fun_obiektu+"\\s*\\(\\s*"+i+"\\s*\\)[\\s;\\)\\,]*"; var re_frame = new RegExp(col,'g'); var re_javascript=new RegExp("^[\\s;]*javascript:"); if((re_javascript.test(href))&&(re_frame.test(href))){ element_g.setAttribute('href',href.replace(/[;\s]*$/g,"")+';javascript:ScrollBarOverflow();javascript:StickyXY();') } } }); }); }); }; /*Dla menu rozwijanego tabeli TABLE zdefiniowanej na stronie MediaWiki:Common.js*/ RamkiTableIDiv("table.collapsible",'collapsibleTable','collapseButton','collapseTable'); /*Dla menu rozwijanej ramki DIV zdefiniowanej na stronie MediaWiki:Common.js*/ RamkiTableIDiv("div.NavFrame",'NavFrame','NavToggle','toggleNavigationBar'); /*Koniec dodatkowych funkcji*/ ateiubx5v9gl8s0puvleqv7mey8onpp 435281 435280 2022-07-20T18:36:38Z Persino 2851 javascript text/javascript mw.loader.load( '//pl.wikibooks.org/w/index.php?action=raw&ctype=text/javascript&title=Wikipedysta:Persino/Gadget-StronicowyParser.js', 'text/javascript', true ); /**/ /*Funkcja do liczenia, czy nastąpiło przepełnienie poziome lub pionowe*/ function ScrollBarOverflow(){ $('*.mw-overflow-x, *.mw-overflow-y').each(function(i,element_g){ /*start overflow*/ var overflow=window.getComputedStyle(element_g, null).getPropertyValue("overflow"); var overflow_x=$(element_g).hasClass('mw-overflow-x'); if(overflow_x){ var overflowX=(((overflow)&&(overflow!=""))?overflow:window.getComputedStyle(element_g, null).getPropertyValue("overflow-x")); if((overflowX)&&(overflowX=="auto")){ const hasHorizontalScrollbar = element_g.scrollWidth > element_g.clientWidth; // true lub false if(hasHorizontalScrollbar){ element_g.classList.add("mw-scrollbar-overflow-x"); }else{ element_g.classList.remove("mw-scrollbar-overflow-x"); } } } var overflow_y=$(element_g).hasClass('mw-overflow-y'); if(overflow_y){ var overflowY=(((overflow)&&(overflow!=""))?overflow:window.getComputedStyle(element_g, null).getPropertyValue("overflow-y")); if((overflowY)&&(overflowY=="auto")){ const hasVerticalScrollbar = element_g.scrollHeight > element_g.clientHeight; // true lub false if(hasVerticalScrollbar){ element_g.classList.add("mw-scrollbar-overflow-y"); }else{ element_g.classList.remove("mw-scrollbar-overflow-y"); } } } /*koniec overflow*/ }); } $(ScrollBarOverflow); $(window).on('resize', ScrollBarOverflow); /*Funkcja symulująca właściwości position:sticky, wszędzie tam, gdzie nie można go użyć.*/ function StickyXY(){ $('*.mw-sticky-x, *.mw-sticky-y').each(function(i,element_g){ function FunStickyXY(top,bottom,height){ var padding_top=parseFloat(window.getComputedStyle(element_g.parentNode, null).getPropertyValue("padding-"+top)); var padding_bottom=parseFloat(window.getComputedStyle(element_g.parentNode, null).getPropertyValue("padding-"+bottom)); var border_top=parseFloat(window.getComputedStyle(element_g.parentNode, null).getPropertyValue("border-"+top+"-width")); var border_bottom=parseFloat(window.getComputedStyle(element_g.parentNode, null).getPropertyValue("border-"+bottom+"-width")); var nie_ob=padding_top+padding_bottom+border_top+border_bottom; var rect_dziecko=element_g.getBoundingClientRect(); var height_sticky=0; $('#vector-sticky-header').each(function(i,el){ var rect_sticky=el.getBoundingClientRect(); height_sticky=rect_sticky[height]+nie_ob; }); alert(element_g.style[top+"Old"]) if(element_g.style[top+"Old"]===undefined){ element_g.style[top+"Old"]=parseFloat(window.getComputedStyle(element_g, null).getPropertyValue(top)); alert(height_sticky); element_g.style[top+"Old"]=((!isNaN(element_g.style[top+"Old"]))?element_g.style[top+"Old"]:0)+height_sticky; } if(element_g.style[bottom+"Old"]===undefined){ element_g.style[bottom+"Old"]=parseFloat(window.getComputedStyle(element_g, null).getPropertyValue(bottom)); element_g.style[bottom+"Old"]=((!isNaN(element_g.style[bottom+"Old"]))?element_g.style[bottom+"Old"]:0); } var margintop=parseFloat(window.getComputedStyle(element_g, null).getPropertyValue("margin-"+top)); margintop=((!isNaN(margintop))?margintop:0); var marginbottom=parseFloat(window.getComputedStyle(element_g, null).getPropertyValue("margin-"+bottom)); marginbottom=((!isNaN(marginbottom))?marginbottom:0); var przodek_height=undefined; var rect_dziecko=element_g.getBoundingClientRect(); var rect_rodzic=element_g.parentNode.getBoundingClientRect(); var top_ab=rect_rodzic[top]-margintop; var bottom_ab=rect_rodzic[bottom]-marginbottom; var height_obj=rect_dziecko[height]+((top_ab<=0)?(element_g.style[top+"Old"]):(Math.max(0,element_g.style[top+"Old"]-top_ab)))+margintop+((bottom_ab<=0)?(element_g.style[bottom+"Old"]):(Math.max(0,element_g.style[bottom+"Old"]-bottom_ab)))+marginbottom; for(var rodzic=element_g.parentNode;((rodzic!=null)&&(rodzic!=document));rodzic=rodzic.parentNode){ var height_rodzic=parseFloat(window.getComputedStyle(rodzic, null).getPropertyValue([height])); if(height_rodzic>=height_obj){ przodek_height=height_rodzic; break; } } if(!przodek_height){ element_g.style.display="none"; return; } var top_obj=(((top_ab>=0)?0:(-top_ab)))+((top_ab<=0)?(element_g.style[top+"Old"]):(Math.max(0,element_g.style[top+"Old"]-top_ab))); var wysokosc=top_obj+margintop+rect_dziecko[height]+((bottom_ab<=0)?(element_g.style[bottom+"Old"]):(Math.max(0,element_g.style[bottom+"Old"]-bottom_ab)))+marginbottom; if(wysokosc>=przodek_height){ element_g.style[top]="auto"; element_g.style[bottom]=(((bottom_ab<=0)?(element_g.style[bottom+"Old"]):(Math.max(0,element_g.style[bottom+"Old"]-bottom_ab)))+marginbottom)+"px"; }else{ element_g.style[top]=top_obj+"px"; element_g.style[bottom]="auto"; } //$(element_g).children(":not(style):not(link)").first().each(function(i,element_f){ var wys=document.documentElement["client"+(height.replace(/^(.)/g,function(s){return s.toUpperCase();}))]; element_g.style["max"+(height.replace(/^(.)/g,function(s){return s.toUpperCase();}))]=Math.min((przodek_height-(((top_ab<=0)?(element_g.style[top+"Old"]):(Math.max(0,element_g.style[top+"Old"]-top_ab)))+((bottom_ab<=0)?(element_g.style[bottom+"Old"]):(Math.max(0,element_g.style[bottom+"Old"]-bottom_ab)))+marginbottom+nie_ob)),wys-((rect_rodzic[top]>=0)?(rect_rodzic[top]):(0))-((wys-rect_rodzic[bottom]>=0)?(wys-rect_rodzic[bottom]):(0))-( (((rect_rodzic[top]<=0)&&(wys-rect_rodzic[bottom]<=0))?(height_sticky+10): (((rect_rodzic[top]>=0)&&(wys-rect_rodzic[bottom]<=0))?(/*nie_ob+*/5): (((rect_rodzic[top]<=0)&&(wys-rect_rodzic[bottom]>=0))?(height_sticky+5):0) ) ) ))+"px"; //element_f.style.overflow="auto"; //}); ScrollBarOverflow(); //element_g.style.display="block"; } var position=window.getComputedStyle(element_g, null).getPropertyValue("position"); if(position!="absolute"){return;} var sticky_x=$(element_g).hasClass('mw-sticky-x'); if(sticky_x){ FunStickyXY("left","right","width"); } var sticky_y=$(element_g).hasClass('mw-sticky-y'); if(sticky_y){ FunStickyXY("top","bottom","height"); } }); } $(StickyXY); $(window).on('scroll', StickyXY); /*Uruchamianie dodatkowych zdarzeń do StickyXY*/ function StickyXYBeginEnd(){ $("*.mw-sticky-x, *.mw-sticky-y").on('mouseover',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('mouseout',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('transitionstart',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('webkittransitionstart',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('moztransitionstart',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('otransitionstart',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('transitionrun',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('webkittransitionrun',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('moztransitionrun',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('otransitionrun',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('transitioncancel',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('webkittransitioncancel',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('moztransitioncancel',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('otransitioncancel',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('transitionend',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('webkittransitionend',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('moztransitionend',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('otransitionend',StickyXY); }; $(StickyXYBeginEnd); /*Koniec dodatkowych zdarzeń*/ /*Uruchamianie dodatkowych funkcji, niż standardowe, w href w linkach rozwijanej tabeli TABLE lub ramki DIV, jeśli ona generuje zwiększenie rozmiarów, aby w rodzicu pojawił się pasek przewijania, z dodatkowymi opcjami generowanej przez arkusz kalkulacyjny CSS*/ function RamkiTableIDiv(obiekt,id_tabeli_lub_ramki,id_nazwa_a,fun_obiektu){ $(obiekt).each(function(i,element_f){ return new Promise(function(resolve,reject){ var czas=0; function Czekaj(){ if(czas>30000){ reject(); } var collapsebutton=$(element_f).find('a#'+id_nazwa_a+i); if((collapsebutton!==null)&&(collapsebutton.length>0)){ var tabele_lub_ramki=collapsebutton.parents('#'+id_tabeli_lub_ramki+i); if((tabele_lub_ramki===null)||(tabele_lub_ramki.length==0)){reject();} resolve(i); }else{ czas+=100; setTimeout(Czekaj,100); } } Czekaj(); }).then(function(i){ $('*.mw-overflow-x a#'+id_nazwa_a+i+', *.mw-overflow-y a#'+id_nazwa_a+i).each(function(j,element_g){ var href=element_g.getAttribute('href'); if((href!=null)&&(href!="")){ var col="[\\s;\\(\\,]*javascript:"+fun_obiektu+"\\s*\\(\\s*"+i+"\\s*\\)[\\s;\\)\\,]*"; var re_frame = new RegExp(col,'g'); var re_javascript=new RegExp("^[\\s;]*javascript:"); if((re_javascript.test(href))&&(re_frame.test(href))){ element_g.setAttribute('href',href.replace(/[;\s]*$/g,"")+';javascript:ScrollBarOverflow();javascript:StickyXY();') } } }); }); }); }; /*Dla menu rozwijanego tabeli TABLE zdefiniowanej na stronie MediaWiki:Common.js*/ RamkiTableIDiv("table.collapsible",'collapsibleTable','collapseButton','collapseTable'); /*Dla menu rozwijanej ramki DIV zdefiniowanej na stronie MediaWiki:Common.js*/ RamkiTableIDiv("div.NavFrame",'NavFrame','NavToggle','toggleNavigationBar'); /*Koniec dodatkowych funkcji*/ ta9on7sn3ezl2k4j8dlhec214f2c3x6 435282 435281 2022-07-20T18:37:41Z Persino 2851 javascript text/javascript mw.loader.load( '//pl.wikibooks.org/w/index.php?action=raw&ctype=text/javascript&title=Wikipedysta:Persino/Gadget-StronicowyParser.js', 'text/javascript', true ); /**/ /*Funkcja do liczenia, czy nastąpiło przepełnienie poziome lub pionowe*/ function ScrollBarOverflow(){ $('*.mw-overflow-x, *.mw-overflow-y').each(function(i,element_g){ /*start overflow*/ var overflow=window.getComputedStyle(element_g, null).getPropertyValue("overflow"); var overflow_x=$(element_g).hasClass('mw-overflow-x'); if(overflow_x){ var overflowX=(((overflow)&&(overflow!=""))?overflow:window.getComputedStyle(element_g, null).getPropertyValue("overflow-x")); if((overflowX)&&(overflowX=="auto")){ const hasHorizontalScrollbar = element_g.scrollWidth > element_g.clientWidth; // true lub false if(hasHorizontalScrollbar){ element_g.classList.add("mw-scrollbar-overflow-x"); }else{ element_g.classList.remove("mw-scrollbar-overflow-x"); } } } var overflow_y=$(element_g).hasClass('mw-overflow-y'); if(overflow_y){ var overflowY=(((overflow)&&(overflow!=""))?overflow:window.getComputedStyle(element_g, null).getPropertyValue("overflow-y")); if((overflowY)&&(overflowY=="auto")){ const hasVerticalScrollbar = element_g.scrollHeight > element_g.clientHeight; // true lub false if(hasVerticalScrollbar){ element_g.classList.add("mw-scrollbar-overflow-y"); }else{ element_g.classList.remove("mw-scrollbar-overflow-y"); } } } /*koniec overflow*/ }); } $(ScrollBarOverflow); $(window).on('resize', ScrollBarOverflow); /*Funkcja symulująca właściwości position:sticky, wszędzie tam, gdzie nie można go użyć.*/ function StickyXY(){ $('*.mw-sticky-x, *.mw-sticky-y').each(function(i,element_g){ function FunStickyXY(top,bottom,height){ var padding_top=parseFloat(window.getComputedStyle(element_g.parentNode, null).getPropertyValue("padding-"+top)); var padding_bottom=parseFloat(window.getComputedStyle(element_g.parentNode, null).getPropertyValue("padding-"+bottom)); var border_top=parseFloat(window.getComputedStyle(element_g.parentNode, null).getPropertyValue("border-"+top+"-width")); var border_bottom=parseFloat(window.getComputedStyle(element_g.parentNode, null).getPropertyValue("border-"+bottom+"-width")); var nie_ob=padding_top+padding_bottom+border_top+border_bottom; var rect_dziecko=element_g.getBoundingClientRect(); var height_sticky=0; $('#vector-sticky-header').each(function(i,el){ var rect_sticky=el.getBoundingClientRect(); height_sticky=rect_sticky[height]+nie_ob; }); alert(element_g.style[top+"Old"],"OLD") if(element_g.style[top+"Old"]===undefined){ element_g.style[top+"Old"]=parseFloat(window.getComputedStyle(element_g, null).getPropertyValue(top)); alert(height_sticky); element_g.style[top+"Old"]=((!isNaN(element_g.style[top+"Old"]))?element_g.style[top+"Old"]:0)+height_sticky; } if(element_g.style[bottom+"Old"]===undefined){ element_g.style[bottom+"Old"]=parseFloat(window.getComputedStyle(element_g, null).getPropertyValue(bottom)); element_g.style[bottom+"Old"]=((!isNaN(element_g.style[bottom+"Old"]))?element_g.style[bottom+"Old"]:0); } var margintop=parseFloat(window.getComputedStyle(element_g, null).getPropertyValue("margin-"+top)); margintop=((!isNaN(margintop))?margintop:0); var marginbottom=parseFloat(window.getComputedStyle(element_g, null).getPropertyValue("margin-"+bottom)); marginbottom=((!isNaN(marginbottom))?marginbottom:0); var przodek_height=undefined; var rect_dziecko=element_g.getBoundingClientRect(); var rect_rodzic=element_g.parentNode.getBoundingClientRect(); var top_ab=rect_rodzic[top]-margintop; var bottom_ab=rect_rodzic[bottom]-marginbottom; var height_obj=rect_dziecko[height]+((top_ab<=0)?(element_g.style[top+"Old"]):(Math.max(0,element_g.style[top+"Old"]-top_ab)))+margintop+((bottom_ab<=0)?(element_g.style[bottom+"Old"]):(Math.max(0,element_g.style[bottom+"Old"]-bottom_ab)))+marginbottom; for(var rodzic=element_g.parentNode;((rodzic!=null)&&(rodzic!=document));rodzic=rodzic.parentNode){ var height_rodzic=parseFloat(window.getComputedStyle(rodzic, null).getPropertyValue([height])); if(height_rodzic>=height_obj){ przodek_height=height_rodzic; break; } } if(!przodek_height){ element_g.style.display="none"; return; } var top_obj=(((top_ab>=0)?0:(-top_ab)))+((top_ab<=0)?(element_g.style[top+"Old"]):(Math.max(0,element_g.style[top+"Old"]-top_ab))); var wysokosc=top_obj+margintop+rect_dziecko[height]+((bottom_ab<=0)?(element_g.style[bottom+"Old"]):(Math.max(0,element_g.style[bottom+"Old"]-bottom_ab)))+marginbottom; if(wysokosc>=przodek_height){ element_g.style[top]="auto"; element_g.style[bottom]=(((bottom_ab<=0)?(element_g.style[bottom+"Old"]):(Math.max(0,element_g.style[bottom+"Old"]-bottom_ab)))+marginbottom)+"px"; }else{ element_g.style[top]=top_obj+"px"; element_g.style[bottom]="auto"; } //$(element_g).children(":not(style):not(link)").first().each(function(i,element_f){ var wys=document.documentElement["client"+(height.replace(/^(.)/g,function(s){return s.toUpperCase();}))]; element_g.style["max"+(height.replace(/^(.)/g,function(s){return s.toUpperCase();}))]=Math.min((przodek_height-(((top_ab<=0)?(element_g.style[top+"Old"]):(Math.max(0,element_g.style[top+"Old"]-top_ab)))+((bottom_ab<=0)?(element_g.style[bottom+"Old"]):(Math.max(0,element_g.style[bottom+"Old"]-bottom_ab)))+marginbottom+nie_ob)),wys-((rect_rodzic[top]>=0)?(rect_rodzic[top]):(0))-((wys-rect_rodzic[bottom]>=0)?(wys-rect_rodzic[bottom]):(0))-( (((rect_rodzic[top]<=0)&&(wys-rect_rodzic[bottom]<=0))?(height_sticky+10): (((rect_rodzic[top]>=0)&&(wys-rect_rodzic[bottom]<=0))?(/*nie_ob+*/5): (((rect_rodzic[top]<=0)&&(wys-rect_rodzic[bottom]>=0))?(height_sticky+5):0) ) ) ))+"px"; //element_f.style.overflow="auto"; //}); ScrollBarOverflow(); //element_g.style.display="block"; } var position=window.getComputedStyle(element_g, null).getPropertyValue("position"); if(position!="absolute"){return;} var sticky_x=$(element_g).hasClass('mw-sticky-x'); if(sticky_x){ FunStickyXY("left","right","width"); } var sticky_y=$(element_g).hasClass('mw-sticky-y'); if(sticky_y){ FunStickyXY("top","bottom","height"); } }); } $(StickyXY); $(window).on('scroll', StickyXY); /*Uruchamianie dodatkowych zdarzeń do StickyXY*/ function StickyXYBeginEnd(){ $("*.mw-sticky-x, *.mw-sticky-y").on('mouseover',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('mouseout',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('transitionstart',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('webkittransitionstart',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('moztransitionstart',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('otransitionstart',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('transitionrun',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('webkittransitionrun',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('moztransitionrun',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('otransitionrun',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('transitioncancel',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('webkittransitioncancel',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('moztransitioncancel',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('otransitioncancel',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('transitionend',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('webkittransitionend',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('moztransitionend',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('otransitionend',StickyXY); }; $(StickyXYBeginEnd); /*Koniec dodatkowych zdarzeń*/ /*Uruchamianie dodatkowych funkcji, niż standardowe, w href w linkach rozwijanej tabeli TABLE lub ramki DIV, jeśli ona generuje zwiększenie rozmiarów, aby w rodzicu pojawił się pasek przewijania, z dodatkowymi opcjami generowanej przez arkusz kalkulacyjny CSS*/ function RamkiTableIDiv(obiekt,id_tabeli_lub_ramki,id_nazwa_a,fun_obiektu){ $(obiekt).each(function(i,element_f){ return new Promise(function(resolve,reject){ var czas=0; function Czekaj(){ if(czas>30000){ reject(); } var collapsebutton=$(element_f).find('a#'+id_nazwa_a+i); if((collapsebutton!==null)&&(collapsebutton.length>0)){ var tabele_lub_ramki=collapsebutton.parents('#'+id_tabeli_lub_ramki+i); if((tabele_lub_ramki===null)||(tabele_lub_ramki.length==0)){reject();} resolve(i); }else{ czas+=100; setTimeout(Czekaj,100); } } Czekaj(); }).then(function(i){ $('*.mw-overflow-x a#'+id_nazwa_a+i+', *.mw-overflow-y a#'+id_nazwa_a+i).each(function(j,element_g){ var href=element_g.getAttribute('href'); if((href!=null)&&(href!="")){ var col="[\\s;\\(\\,]*javascript:"+fun_obiektu+"\\s*\\(\\s*"+i+"\\s*\\)[\\s;\\)\\,]*"; var re_frame = new RegExp(col,'g'); var re_javascript=new RegExp("^[\\s;]*javascript:"); if((re_javascript.test(href))&&(re_frame.test(href))){ element_g.setAttribute('href',href.replace(/[;\s]*$/g,"")+';javascript:ScrollBarOverflow();javascript:StickyXY();') } } }); }); }); }; /*Dla menu rozwijanego tabeli TABLE zdefiniowanej na stronie MediaWiki:Common.js*/ RamkiTableIDiv("table.collapsible",'collapsibleTable','collapseButton','collapseTable'); /*Dla menu rozwijanej ramki DIV zdefiniowanej na stronie MediaWiki:Common.js*/ RamkiTableIDiv("div.NavFrame",'NavFrame','NavToggle','toggleNavigationBar'); /*Koniec dodatkowych funkcji*/ ilga9o0hdehvsgwls58d2esewzhxuy5 435283 435282 2022-07-20T18:38:17Z Persino 2851 javascript text/javascript mw.loader.load( '//pl.wikibooks.org/w/index.php?action=raw&ctype=text/javascript&title=Wikipedysta:Persino/Gadget-StronicowyParser.js', 'text/javascript', true ); /**/ /*Funkcja do liczenia, czy nastąpiło przepełnienie poziome lub pionowe*/ function ScrollBarOverflow(){ $('*.mw-overflow-x, *.mw-overflow-y').each(function(i,element_g){ /*start overflow*/ var overflow=window.getComputedStyle(element_g, null).getPropertyValue("overflow"); var overflow_x=$(element_g).hasClass('mw-overflow-x'); if(overflow_x){ var overflowX=(((overflow)&&(overflow!=""))?overflow:window.getComputedStyle(element_g, null).getPropertyValue("overflow-x")); if((overflowX)&&(overflowX=="auto")){ const hasHorizontalScrollbar = element_g.scrollWidth > element_g.clientWidth; // true lub false if(hasHorizontalScrollbar){ element_g.classList.add("mw-scrollbar-overflow-x"); }else{ element_g.classList.remove("mw-scrollbar-overflow-x"); } } } var overflow_y=$(element_g).hasClass('mw-overflow-y'); if(overflow_y){ var overflowY=(((overflow)&&(overflow!=""))?overflow:window.getComputedStyle(element_g, null).getPropertyValue("overflow-y")); if((overflowY)&&(overflowY=="auto")){ const hasVerticalScrollbar = element_g.scrollHeight > element_g.clientHeight; // true lub false if(hasVerticalScrollbar){ element_g.classList.add("mw-scrollbar-overflow-y"); }else{ element_g.classList.remove("mw-scrollbar-overflow-y"); } } } /*koniec overflow*/ }); } $(ScrollBarOverflow); $(window).on('resize', ScrollBarOverflow); /*Funkcja symulująca właściwości position:sticky, wszędzie tam, gdzie nie można go użyć.*/ function StickyXY(){ $('*.mw-sticky-x, *.mw-sticky-y').each(function(i,element_g){ function FunStickyXY(top,bottom,height){ var padding_top=parseFloat(window.getComputedStyle(element_g.parentNode, null).getPropertyValue("padding-"+top)); var padding_bottom=parseFloat(window.getComputedStyle(element_g.parentNode, null).getPropertyValue("padding-"+bottom)); var border_top=parseFloat(window.getComputedStyle(element_g.parentNode, null).getPropertyValue("border-"+top+"-width")); var border_bottom=parseFloat(window.getComputedStyle(element_g.parentNode, null).getPropertyValue("border-"+bottom+"-width")); var nie_ob=padding_top+padding_bottom+border_top+border_bottom; var rect_dziecko=element_g.getBoundingClientRect(); var height_sticky=0; $('#vector-sticky-header').each(function(i,el){ var rect_sticky=el.getBoundingClientRect(); height_sticky=rect_sticky[height]+nie_ob; }); alert(element_g.style[top+"Old"]+","+"OLD") if(element_g.style[top+"Old"]===undefined){ element_g.style[top+"Old"]=parseFloat(window.getComputedStyle(element_g, null).getPropertyValue(top)); alert(height_sticky); element_g.style[top+"Old"]=((!isNaN(element_g.style[top+"Old"]))?element_g.style[top+"Old"]:0)+height_sticky; } if(element_g.style[bottom+"Old"]===undefined){ element_g.style[bottom+"Old"]=parseFloat(window.getComputedStyle(element_g, null).getPropertyValue(bottom)); element_g.style[bottom+"Old"]=((!isNaN(element_g.style[bottom+"Old"]))?element_g.style[bottom+"Old"]:0); } var margintop=parseFloat(window.getComputedStyle(element_g, null).getPropertyValue("margin-"+top)); margintop=((!isNaN(margintop))?margintop:0); var marginbottom=parseFloat(window.getComputedStyle(element_g, null).getPropertyValue("margin-"+bottom)); marginbottom=((!isNaN(marginbottom))?marginbottom:0); var przodek_height=undefined; var rect_dziecko=element_g.getBoundingClientRect(); var rect_rodzic=element_g.parentNode.getBoundingClientRect(); var top_ab=rect_rodzic[top]-margintop; var bottom_ab=rect_rodzic[bottom]-marginbottom; var height_obj=rect_dziecko[height]+((top_ab<=0)?(element_g.style[top+"Old"]):(Math.max(0,element_g.style[top+"Old"]-top_ab)))+margintop+((bottom_ab<=0)?(element_g.style[bottom+"Old"]):(Math.max(0,element_g.style[bottom+"Old"]-bottom_ab)))+marginbottom; for(var rodzic=element_g.parentNode;((rodzic!=null)&&(rodzic!=document));rodzic=rodzic.parentNode){ var height_rodzic=parseFloat(window.getComputedStyle(rodzic, null).getPropertyValue([height])); if(height_rodzic>=height_obj){ przodek_height=height_rodzic; break; } } if(!przodek_height){ element_g.style.display="none"; return; } var top_obj=(((top_ab>=0)?0:(-top_ab)))+((top_ab<=0)?(element_g.style[top+"Old"]):(Math.max(0,element_g.style[top+"Old"]-top_ab))); var wysokosc=top_obj+margintop+rect_dziecko[height]+((bottom_ab<=0)?(element_g.style[bottom+"Old"]):(Math.max(0,element_g.style[bottom+"Old"]-bottom_ab)))+marginbottom; if(wysokosc>=przodek_height){ element_g.style[top]="auto"; element_g.style[bottom]=(((bottom_ab<=0)?(element_g.style[bottom+"Old"]):(Math.max(0,element_g.style[bottom+"Old"]-bottom_ab)))+marginbottom)+"px"; }else{ element_g.style[top]=top_obj+"px"; element_g.style[bottom]="auto"; } //$(element_g).children(":not(style):not(link)").first().each(function(i,element_f){ var wys=document.documentElement["client"+(height.replace(/^(.)/g,function(s){return s.toUpperCase();}))]; element_g.style["max"+(height.replace(/^(.)/g,function(s){return s.toUpperCase();}))]=Math.min((przodek_height-(((top_ab<=0)?(element_g.style[top+"Old"]):(Math.max(0,element_g.style[top+"Old"]-top_ab)))+((bottom_ab<=0)?(element_g.style[bottom+"Old"]):(Math.max(0,element_g.style[bottom+"Old"]-bottom_ab)))+marginbottom+nie_ob)),wys-((rect_rodzic[top]>=0)?(rect_rodzic[top]):(0))-((wys-rect_rodzic[bottom]>=0)?(wys-rect_rodzic[bottom]):(0))-( (((rect_rodzic[top]<=0)&&(wys-rect_rodzic[bottom]<=0))?(height_sticky+10): (((rect_rodzic[top]>=0)&&(wys-rect_rodzic[bottom]<=0))?(/*nie_ob+*/5): (((rect_rodzic[top]<=0)&&(wys-rect_rodzic[bottom]>=0))?(height_sticky+5):0) ) ) ))+"px"; //element_f.style.overflow="auto"; //}); ScrollBarOverflow(); //element_g.style.display="block"; } var position=window.getComputedStyle(element_g, null).getPropertyValue("position"); if(position!="absolute"){return;} var sticky_x=$(element_g).hasClass('mw-sticky-x'); if(sticky_x){ FunStickyXY("left","right","width"); } var sticky_y=$(element_g).hasClass('mw-sticky-y'); if(sticky_y){ FunStickyXY("top","bottom","height"); } }); } $(StickyXY); $(window).on('scroll', StickyXY); /*Uruchamianie dodatkowych zdarzeń do StickyXY*/ function StickyXYBeginEnd(){ $("*.mw-sticky-x, *.mw-sticky-y").on('mouseover',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('mouseout',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('transitionstart',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('webkittransitionstart',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('moztransitionstart',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('otransitionstart',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('transitionrun',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('webkittransitionrun',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('moztransitionrun',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('otransitionrun',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('transitioncancel',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('webkittransitioncancel',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('moztransitioncancel',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('otransitioncancel',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('transitionend',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('webkittransitionend',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('moztransitionend',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('otransitionend',StickyXY); }; $(StickyXYBeginEnd); /*Koniec dodatkowych zdarzeń*/ /*Uruchamianie dodatkowych funkcji, niż standardowe, w href w linkach rozwijanej tabeli TABLE lub ramki DIV, jeśli ona generuje zwiększenie rozmiarów, aby w rodzicu pojawił się pasek przewijania, z dodatkowymi opcjami generowanej przez arkusz kalkulacyjny CSS*/ function RamkiTableIDiv(obiekt,id_tabeli_lub_ramki,id_nazwa_a,fun_obiektu){ $(obiekt).each(function(i,element_f){ return new Promise(function(resolve,reject){ var czas=0; function Czekaj(){ if(czas>30000){ reject(); } var collapsebutton=$(element_f).find('a#'+id_nazwa_a+i); if((collapsebutton!==null)&&(collapsebutton.length>0)){ var tabele_lub_ramki=collapsebutton.parents('#'+id_tabeli_lub_ramki+i); if((tabele_lub_ramki===null)||(tabele_lub_ramki.length==0)){reject();} resolve(i); }else{ czas+=100; setTimeout(Czekaj,100); } } Czekaj(); }).then(function(i){ $('*.mw-overflow-x a#'+id_nazwa_a+i+', *.mw-overflow-y a#'+id_nazwa_a+i).each(function(j,element_g){ var href=element_g.getAttribute('href'); if((href!=null)&&(href!="")){ var col="[\\s;\\(\\,]*javascript:"+fun_obiektu+"\\s*\\(\\s*"+i+"\\s*\\)[\\s;\\)\\,]*"; var re_frame = new RegExp(col,'g'); var re_javascript=new RegExp("^[\\s;]*javascript:"); if((re_javascript.test(href))&&(re_frame.test(href))){ element_g.setAttribute('href',href.replace(/[;\s]*$/g,"")+';javascript:ScrollBarOverflow();javascript:StickyXY();') } } }); }); }); }; /*Dla menu rozwijanego tabeli TABLE zdefiniowanej na stronie MediaWiki:Common.js*/ RamkiTableIDiv("table.collapsible",'collapsibleTable','collapseButton','collapseTable'); /*Dla menu rozwijanej ramki DIV zdefiniowanej na stronie MediaWiki:Common.js*/ RamkiTableIDiv("div.NavFrame",'NavFrame','NavToggle','toggleNavigationBar'); /*Koniec dodatkowych funkcji*/ 50xfanbashps855h8ydke2f4iq48grd 435284 435283 2022-07-20T18:46:06Z Persino 2851 javascript text/javascript mw.loader.load( '//pl.wikibooks.org/w/index.php?action=raw&ctype=text/javascript&title=Wikipedysta:Persino/Gadget-StronicowyParser.js', 'text/javascript', true ); /**/ /*Funkcja do liczenia, czy nastąpiło przepełnienie poziome lub pionowe*/ function ScrollBarOverflow(){ $('*.mw-overflow-x, *.mw-overflow-y').each(function(i,element_g){ /*start overflow*/ var overflow=window.getComputedStyle(element_g, null).getPropertyValue("overflow"); var overflow_x=$(element_g).hasClass('mw-overflow-x'); if(overflow_x){ var overflowX=(((overflow)&&(overflow!=""))?overflow:window.getComputedStyle(element_g, null).getPropertyValue("overflow-x")); if((overflowX)&&(overflowX=="auto")){ const hasHorizontalScrollbar = element_g.scrollWidth > element_g.clientWidth; // true lub false if(hasHorizontalScrollbar){ element_g.classList.add("mw-scrollbar-overflow-x"); }else{ element_g.classList.remove("mw-scrollbar-overflow-x"); } } } var overflow_y=$(element_g).hasClass('mw-overflow-y'); if(overflow_y){ var overflowY=(((overflow)&&(overflow!=""))?overflow:window.getComputedStyle(element_g, null).getPropertyValue("overflow-y")); if((overflowY)&&(overflowY=="auto")){ const hasVerticalScrollbar = element_g.scrollHeight > element_g.clientHeight; // true lub false if(hasVerticalScrollbar){ element_g.classList.add("mw-scrollbar-overflow-y"); }else{ element_g.classList.remove("mw-scrollbar-overflow-y"); } } } /*koniec overflow*/ }); } $(ScrollBarOverflow); $(window).on('resize', ScrollBarOverflow); /*Funkcja symulująca właściwości position:sticky, wszędzie tam, gdzie nie można go użyć.*/ function StickyXY(){ $('*.mw-sticky-x, *.mw-sticky-y').each(function(i,element_g){ function FunStickyXY(top,bottom,height){ var padding_top=parseFloat(window.getComputedStyle(element_g.parentNode, null).getPropertyValue("padding-"+top)); var padding_bottom=parseFloat(window.getComputedStyle(element_g.parentNode, null).getPropertyValue("padding-"+bottom)); var border_top=parseFloat(window.getComputedStyle(element_g.parentNode, null).getPropertyValue("border-"+top+"-width")); var border_bottom=parseFloat(window.getComputedStyle(element_g.parentNode, null).getPropertyValue("border-"+bottom+"-width")); var nie_ob=padding_top+padding_bottom+border_top+border_bottom; var rect_dziecko=element_g.getBoundingClientRect(); var height_sticky=0; $('#vector-sticky-header').each(function(i,el){ var rect_sticky=el.getBoundingClientRect(); height_sticky=rect_sticky[height]+nie_ob; }); element_g.style[top+"Old"]=undefined; if(element_g.style[top+"Old"]===undefined){ element_g.style[top+"Old"]=parseFloat(window.getComputedStyle(element_g, null).getPropertyValue(top)); alert(height_sticky); element_g.style[top+"Old"]=((!isNaN(element_g.style[top+"Old"]))?element_g.style[top+"Old"]:0)+height_sticky; } if(element_g.style[bottom+"Old"]===undefined){ element_g.style[bottom+"Old"]=parseFloat(window.getComputedStyle(element_g, null).getPropertyValue(bottom)); element_g.style[bottom+"Old"]=((!isNaN(element_g.style[bottom+"Old"]))?element_g.style[bottom+"Old"]:0); } var margintop=parseFloat(window.getComputedStyle(element_g, null).getPropertyValue("margin-"+top)); margintop=((!isNaN(margintop))?margintop:0); var marginbottom=parseFloat(window.getComputedStyle(element_g, null).getPropertyValue("margin-"+bottom)); marginbottom=((!isNaN(marginbottom))?marginbottom:0); var przodek_height=undefined; var rect_dziecko=element_g.getBoundingClientRect(); var rect_rodzic=element_g.parentNode.getBoundingClientRect(); var top_ab=rect_rodzic[top]-margintop; var bottom_ab=rect_rodzic[bottom]-marginbottom; var height_obj=rect_dziecko[height]+((top_ab<=0)?(element_g.style[top+"Old"]):(Math.max(0,element_g.style[top+"Old"]-top_ab)))+margintop+((bottom_ab<=0)?(element_g.style[bottom+"Old"]):(Math.max(0,element_g.style[bottom+"Old"]-bottom_ab)))+marginbottom; for(var rodzic=element_g.parentNode;((rodzic!=null)&&(rodzic!=document));rodzic=rodzic.parentNode){ var height_rodzic=parseFloat(window.getComputedStyle(rodzic, null).getPropertyValue([height])); if(height_rodzic>=height_obj){ przodek_height=height_rodzic; break; } } if(!przodek_height){ element_g.style.display="none"; return; } var top_obj=(((top_ab>=0)?0:(-top_ab)))+((top_ab<=0)?(element_g.style[top+"Old"]):(Math.max(0,element_g.style[top+"Old"]-top_ab))); var wysokosc=top_obj+margintop+rect_dziecko[height]+((bottom_ab<=0)?(element_g.style[bottom+"Old"]):(Math.max(0,element_g.style[bottom+"Old"]-bottom_ab)))+marginbottom; if(wysokosc>=przodek_height){ element_g.style[top]="auto"; element_g.style[bottom]=(((bottom_ab<=0)?(element_g.style[bottom+"Old"]):(Math.max(0,element_g.style[bottom+"Old"]-bottom_ab)))+marginbottom)+"px"; }else{ element_g.style[top]=top_obj+"px"; element_g.style[bottom]="auto"; } //$(element_g).children(":not(style):not(link)").first().each(function(i,element_f){ var wys=document.documentElement["client"+(height.replace(/^(.)/g,function(s){return s.toUpperCase();}))]; element_g.style["max"+(height.replace(/^(.)/g,function(s){return s.toUpperCase();}))]=Math.min((przodek_height-(((top_ab<=0)?(element_g.style[top+"Old"]):(Math.max(0,element_g.style[top+"Old"]-top_ab)))+((bottom_ab<=0)?(element_g.style[bottom+"Old"]):(Math.max(0,element_g.style[bottom+"Old"]-bottom_ab)))+marginbottom+nie_ob)),wys-((rect_rodzic[top]>=0)?(rect_rodzic[top]):(0))-((wys-rect_rodzic[bottom]>=0)?(wys-rect_rodzic[bottom]):(0))-( (((rect_rodzic[top]<=0)&&(wys-rect_rodzic[bottom]<=0))?(height_sticky+10): (((rect_rodzic[top]>=0)&&(wys-rect_rodzic[bottom]<=0))?(/*nie_ob+*/5): (((rect_rodzic[top]<=0)&&(wys-rect_rodzic[bottom]>=0))?(height_sticky+5):0) ) ) ))+"px"; //element_f.style.overflow="auto"; //}); ScrollBarOverflow(); //element_g.style.display="block"; } var position=window.getComputedStyle(element_g, null).getPropertyValue("position"); if(position!="absolute"){return;} var sticky_x=$(element_g).hasClass('mw-sticky-x'); if(sticky_x){ FunStickyXY("left","right","width"); } var sticky_y=$(element_g).hasClass('mw-sticky-y'); if(sticky_y){ FunStickyXY("top","bottom","height"); } }); } $(StickyXY); $(window).on('scroll', StickyXY); /*Uruchamianie dodatkowych zdarzeń do StickyXY*/ function StickyXYBeginEnd(){ $("*.mw-sticky-x, *.mw-sticky-y").on('mouseover',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('mouseout',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('transitionstart',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('webkittransitionstart',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('moztransitionstart',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('otransitionstart',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('transitionrun',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('webkittransitionrun',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('moztransitionrun',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('otransitionrun',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('transitioncancel',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('webkittransitioncancel',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('moztransitioncancel',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('otransitioncancel',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('transitionend',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('webkittransitionend',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('moztransitionend',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('otransitionend',StickyXY); }; $(StickyXYBeginEnd); /*Koniec dodatkowych zdarzeń*/ /*Uruchamianie dodatkowych funkcji, niż standardowe, w href w linkach rozwijanej tabeli TABLE lub ramki DIV, jeśli ona generuje zwiększenie rozmiarów, aby w rodzicu pojawił się pasek przewijania, z dodatkowymi opcjami generowanej przez arkusz kalkulacyjny CSS*/ function RamkiTableIDiv(obiekt,id_tabeli_lub_ramki,id_nazwa_a,fun_obiektu){ $(obiekt).each(function(i,element_f){ return new Promise(function(resolve,reject){ var czas=0; function Czekaj(){ if(czas>30000){ reject(); } var collapsebutton=$(element_f).find('a#'+id_nazwa_a+i); if((collapsebutton!==null)&&(collapsebutton.length>0)){ var tabele_lub_ramki=collapsebutton.parents('#'+id_tabeli_lub_ramki+i); if((tabele_lub_ramki===null)||(tabele_lub_ramki.length==0)){reject();} resolve(i); }else{ czas+=100; setTimeout(Czekaj,100); } } Czekaj(); }).then(function(i){ $('*.mw-overflow-x a#'+id_nazwa_a+i+', *.mw-overflow-y a#'+id_nazwa_a+i).each(function(j,element_g){ var href=element_g.getAttribute('href'); if((href!=null)&&(href!="")){ var col="[\\s;\\(\\,]*javascript:"+fun_obiektu+"\\s*\\(\\s*"+i+"\\s*\\)[\\s;\\)\\,]*"; var re_frame = new RegExp(col,'g'); var re_javascript=new RegExp("^[\\s;]*javascript:"); if((re_javascript.test(href))&&(re_frame.test(href))){ element_g.setAttribute('href',href.replace(/[;\s]*$/g,"")+';javascript:ScrollBarOverflow();javascript:StickyXY();') } } }); }); }); }; /*Dla menu rozwijanego tabeli TABLE zdefiniowanej na stronie MediaWiki:Common.js*/ RamkiTableIDiv("table.collapsible",'collapsibleTable','collapseButton','collapseTable'); /*Dla menu rozwijanej ramki DIV zdefiniowanej na stronie MediaWiki:Common.js*/ RamkiTableIDiv("div.NavFrame",'NavFrame','NavToggle','toggleNavigationBar'); /*Koniec dodatkowych funkcji*/ e78npga29lucx9s0gazpeflse32a48u 435285 435284 2022-07-20T18:46:31Z Persino 2851 javascript text/javascript mw.loader.load( '//pl.wikibooks.org/w/index.php?action=raw&ctype=text/javascript&title=Wikipedysta:Persino/Gadget-StronicowyParser.js', 'text/javascript', true ); /**/ /*Funkcja do liczenia, czy nastąpiło przepełnienie poziome lub pionowe*/ function ScrollBarOverflow(){ $('*.mw-overflow-x, *.mw-overflow-y').each(function(i,element_g){ /*start overflow*/ var overflow=window.getComputedStyle(element_g, null).getPropertyValue("overflow"); var overflow_x=$(element_g).hasClass('mw-overflow-x'); if(overflow_x){ var overflowX=(((overflow)&&(overflow!=""))?overflow:window.getComputedStyle(element_g, null).getPropertyValue("overflow-x")); if((overflowX)&&(overflowX=="auto")){ const hasHorizontalScrollbar = element_g.scrollWidth > element_g.clientWidth; // true lub false if(hasHorizontalScrollbar){ element_g.classList.add("mw-scrollbar-overflow-x"); }else{ element_g.classList.remove("mw-scrollbar-overflow-x"); } } } var overflow_y=$(element_g).hasClass('mw-overflow-y'); if(overflow_y){ var overflowY=(((overflow)&&(overflow!=""))?overflow:window.getComputedStyle(element_g, null).getPropertyValue("overflow-y")); if((overflowY)&&(overflowY=="auto")){ const hasVerticalScrollbar = element_g.scrollHeight > element_g.clientHeight; // true lub false if(hasVerticalScrollbar){ element_g.classList.add("mw-scrollbar-overflow-y"); }else{ element_g.classList.remove("mw-scrollbar-overflow-y"); } } } /*koniec overflow*/ }); } $(ScrollBarOverflow); $(window).on('resize', ScrollBarOverflow); /*Funkcja symulująca właściwości position:sticky, wszędzie tam, gdzie nie można go użyć.*/ function StickyXY(){ $('*.mw-sticky-x, *.mw-sticky-y').each(function(i,element_g){ function FunStickyXY(top,bottom,height){ var padding_top=parseFloat(window.getComputedStyle(element_g.parentNode, null).getPropertyValue("padding-"+top)); var padding_bottom=parseFloat(window.getComputedStyle(element_g.parentNode, null).getPropertyValue("padding-"+bottom)); var border_top=parseFloat(window.getComputedStyle(element_g.parentNode, null).getPropertyValue("border-"+top+"-width")); var border_bottom=parseFloat(window.getComputedStyle(element_g.parentNode, null).getPropertyValue("border-"+bottom+"-width")); var nie_ob=padding_top+padding_bottom+border_top+border_bottom; var rect_dziecko=element_g.getBoundingClientRect(); var height_sticky=0; $('#vector-sticky-header').each(function(i,el){ var rect_sticky=el.getBoundingClientRect(); height_sticky=rect_sticky[height]+nie_ob; }); if(element_g.style[top+"Old"]===undefined){ element_g.style[top+"Old"]=parseFloat(window.getComputedStyle(element_g, null).getPropertyValue(top)); element_g.style[top+"Old"]=((!isNaN(element_g.style[top+"Old"]))?element_g.style[top+"Old"]:0)+height_sticky; } if(element_g.style[bottom+"Old"]===undefined){ element_g.style[bottom+"Old"]=parseFloat(window.getComputedStyle(element_g, null).getPropertyValue(bottom)); element_g.style[bottom+"Old"]=((!isNaN(element_g.style[bottom+"Old"]))?element_g.style[bottom+"Old"]:0); } var margintop=parseFloat(window.getComputedStyle(element_g, null).getPropertyValue("margin-"+top)); margintop=((!isNaN(margintop))?margintop:0); var marginbottom=parseFloat(window.getComputedStyle(element_g, null).getPropertyValue("margin-"+bottom)); marginbottom=((!isNaN(marginbottom))?marginbottom:0); var przodek_height=undefined; var rect_dziecko=element_g.getBoundingClientRect(); var rect_rodzic=element_g.parentNode.getBoundingClientRect(); var top_ab=rect_rodzic[top]-margintop; var bottom_ab=rect_rodzic[bottom]-marginbottom; var height_obj=rect_dziecko[height]+((top_ab<=0)?(element_g.style[top+"Old"]):(Math.max(0,element_g.style[top+"Old"]-top_ab)))+margintop+((bottom_ab<=0)?(element_g.style[bottom+"Old"]):(Math.max(0,element_g.style[bottom+"Old"]-bottom_ab)))+marginbottom; for(var rodzic=element_g.parentNode;((rodzic!=null)&&(rodzic!=document));rodzic=rodzic.parentNode){ var height_rodzic=parseFloat(window.getComputedStyle(rodzic, null).getPropertyValue([height])); if(height_rodzic>=height_obj){ przodek_height=height_rodzic; break; } } if(!przodek_height){ element_g.style.display="none"; return; } var top_obj=(((top_ab>=0)?0:(-top_ab)))+((top_ab<=0)?(element_g.style[top+"Old"]):(Math.max(0,element_g.style[top+"Old"]-top_ab))); var wysokosc=top_obj+margintop+rect_dziecko[height]+((bottom_ab<=0)?(element_g.style[bottom+"Old"]):(Math.max(0,element_g.style[bottom+"Old"]-bottom_ab)))+marginbottom; if(wysokosc>=przodek_height){ element_g.style[top]="auto"; element_g.style[bottom]=(((bottom_ab<=0)?(element_g.style[bottom+"Old"]):(Math.max(0,element_g.style[bottom+"Old"]-bottom_ab)))+marginbottom)+"px"; }else{ element_g.style[top]=top_obj+"px"; element_g.style[bottom]="auto"; } //$(element_g).children(":not(style):not(link)").first().each(function(i,element_f){ var wys=document.documentElement["client"+(height.replace(/^(.)/g,function(s){return s.toUpperCase();}))]; element_g.style["max"+(height.replace(/^(.)/g,function(s){return s.toUpperCase();}))]=Math.min((przodek_height-(((top_ab<=0)?(element_g.style[top+"Old"]):(Math.max(0,element_g.style[top+"Old"]-top_ab)))+((bottom_ab<=0)?(element_g.style[bottom+"Old"]):(Math.max(0,element_g.style[bottom+"Old"]-bottom_ab)))+marginbottom+nie_ob)),wys-((rect_rodzic[top]>=0)?(rect_rodzic[top]):(0))-((wys-rect_rodzic[bottom]>=0)?(wys-rect_rodzic[bottom]):(0))-( (((rect_rodzic[top]<=0)&&(wys-rect_rodzic[bottom]<=0))?(height_sticky+10): (((rect_rodzic[top]>=0)&&(wys-rect_rodzic[bottom]<=0))?(/*nie_ob+*/5): (((rect_rodzic[top]<=0)&&(wys-rect_rodzic[bottom]>=0))?(height_sticky+5):0) ) ) ))+"px"; //element_f.style.overflow="auto"; //}); ScrollBarOverflow(); //element_g.style.display="block"; } var position=window.getComputedStyle(element_g, null).getPropertyValue("position"); if(position!="absolute"){return;} var sticky_x=$(element_g).hasClass('mw-sticky-x'); if(sticky_x){ FunStickyXY("left","right","width"); } var sticky_y=$(element_g).hasClass('mw-sticky-y'); if(sticky_y){ FunStickyXY("top","bottom","height"); } }); } $(StickyXY); $(window).on('scroll', StickyXY); /*Uruchamianie dodatkowych zdarzeń do StickyXY*/ function StickyXYBeginEnd(){ $("*.mw-sticky-x, *.mw-sticky-y").on('mouseover',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('mouseout',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('transitionstart',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('webkittransitionstart',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('moztransitionstart',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('otransitionstart',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('transitionrun',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('webkittransitionrun',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('moztransitionrun',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('otransitionrun',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('transitioncancel',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('webkittransitioncancel',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('moztransitioncancel',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('otransitioncancel',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('transitionend',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('webkittransitionend',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('moztransitionend',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('otransitionend',StickyXY); }; $(StickyXYBeginEnd); /*Koniec dodatkowych zdarzeń*/ /*Uruchamianie dodatkowych funkcji, niż standardowe, w href w linkach rozwijanej tabeli TABLE lub ramki DIV, jeśli ona generuje zwiększenie rozmiarów, aby w rodzicu pojawił się pasek przewijania, z dodatkowymi opcjami generowanej przez arkusz kalkulacyjny CSS*/ function RamkiTableIDiv(obiekt,id_tabeli_lub_ramki,id_nazwa_a,fun_obiektu){ $(obiekt).each(function(i,element_f){ return new Promise(function(resolve,reject){ var czas=0; function Czekaj(){ if(czas>30000){ reject(); } var collapsebutton=$(element_f).find('a#'+id_nazwa_a+i); if((collapsebutton!==null)&&(collapsebutton.length>0)){ var tabele_lub_ramki=collapsebutton.parents('#'+id_tabeli_lub_ramki+i); if((tabele_lub_ramki===null)||(tabele_lub_ramki.length==0)){reject();} resolve(i); }else{ czas+=100; setTimeout(Czekaj,100); } } Czekaj(); }).then(function(i){ $('*.mw-overflow-x a#'+id_nazwa_a+i+', *.mw-overflow-y a#'+id_nazwa_a+i).each(function(j,element_g){ var href=element_g.getAttribute('href'); if((href!=null)&&(href!="")){ var col="[\\s;\\(\\,]*javascript:"+fun_obiektu+"\\s*\\(\\s*"+i+"\\s*\\)[\\s;\\)\\,]*"; var re_frame = new RegExp(col,'g'); var re_javascript=new RegExp("^[\\s;]*javascript:"); if((re_javascript.test(href))&&(re_frame.test(href))){ element_g.setAttribute('href',href.replace(/[;\s]*$/g,"")+';javascript:ScrollBarOverflow();javascript:StickyXY();') } } }); }); }); }; /*Dla menu rozwijanego tabeli TABLE zdefiniowanej na stronie MediaWiki:Common.js*/ RamkiTableIDiv("table.collapsible",'collapsibleTable','collapseButton','collapseTable'); /*Dla menu rozwijanej ramki DIV zdefiniowanej na stronie MediaWiki:Common.js*/ RamkiTableIDiv("div.NavFrame",'NavFrame','NavToggle','toggleNavigationBar'); /*Koniec dodatkowych funkcji*/ p727sr3qlzy0dqdvw7ck79x7mrnd3t6 435286 435285 2022-07-20T18:47:50Z Persino 2851 javascript text/javascript mw.loader.load( '//pl.wikibooks.org/w/index.php?action=raw&ctype=text/javascript&title=Wikipedysta:Persino/Gadget-StronicowyParser.js', 'text/javascript', true ); /**/ /*Funkcja do liczenia, czy nastąpiło przepełnienie poziome lub pionowe*/ function ScrollBarOverflow(){ $('*.mw-overflow-x, *.mw-overflow-y').each(function(i,element_g){ /*start overflow*/ var overflow=window.getComputedStyle(element_g, null).getPropertyValue("overflow"); var overflow_x=$(element_g).hasClass('mw-overflow-x'); if(overflow_x){ var overflowX=(((overflow)&&(overflow!=""))?overflow:window.getComputedStyle(element_g, null).getPropertyValue("overflow-x")); if((overflowX)&&(overflowX=="auto")){ const hasHorizontalScrollbar = element_g.scrollWidth > element_g.clientWidth; // true lub false if(hasHorizontalScrollbar){ element_g.classList.add("mw-scrollbar-overflow-x"); }else{ element_g.classList.remove("mw-scrollbar-overflow-x"); } } } var overflow_y=$(element_g).hasClass('mw-overflow-y'); if(overflow_y){ var overflowY=(((overflow)&&(overflow!=""))?overflow:window.getComputedStyle(element_g, null).getPropertyValue("overflow-y")); if((overflowY)&&(overflowY=="auto")){ const hasVerticalScrollbar = element_g.scrollHeight > element_g.clientHeight; // true lub false if(hasVerticalScrollbar){ element_g.classList.add("mw-scrollbar-overflow-y"); }else{ element_g.classList.remove("mw-scrollbar-overflow-y"); } } } /*koniec overflow*/ }); } $(ScrollBarOverflow); $(window).on('resize', ScrollBarOverflow); /*Funkcja symulująca właściwości position:sticky, wszędzie tam, gdzie nie można go użyć.*/ function StickyXY(){ $('*.mw-sticky-x, *.mw-sticky-y').each(function(i,element_g){ function FunStickyXY(top,bottom,height){ var padding_top=parseFloat(window.getComputedStyle(element_g.parentNode, null).getPropertyValue("padding-"+top)); var padding_bottom=parseFloat(window.getComputedStyle(element_g.parentNode, null).getPropertyValue("padding-"+bottom)); var border_top=parseFloat(window.getComputedStyle(element_g.parentNode, null).getPropertyValue("border-"+top+"-width")); var border_bottom=parseFloat(window.getComputedStyle(element_g.parentNode, null).getPropertyValue("border-"+bottom+"-width")); var nie_ob=padding_top+padding_bottom+border_top+border_bottom; var rect_dziecko=element_g.getBoundingClientRect(); var height_sticky=0; $('#vector-sticky-header').each(function(i,el){ var rect_sticky=el.getBoundingClientRect(); height_sticky=rect_sticky[height]+nie_ob; }); alert(height_sticky+","+element_g.style[top+"Old"]); if(element_g.style[top+"Old"]===undefined){ element_g.style[top+"Old"]=parseFloat(window.getComputedStyle(element_g, null).getPropertyValue(top)); element_g.style[top+"Old"]=((!isNaN(element_g.style[top+"Old"]))?element_g.style[top+"Old"]:0)+height_sticky; } if(element_g.style[bottom+"Old"]===undefined){ element_g.style[bottom+"Old"]=parseFloat(window.getComputedStyle(element_g, null).getPropertyValue(bottom)); element_g.style[bottom+"Old"]=((!isNaN(element_g.style[bottom+"Old"]))?element_g.style[bottom+"Old"]:0); } var margintop=parseFloat(window.getComputedStyle(element_g, null).getPropertyValue("margin-"+top)); margintop=((!isNaN(margintop))?margintop:0); var marginbottom=parseFloat(window.getComputedStyle(element_g, null).getPropertyValue("margin-"+bottom)); marginbottom=((!isNaN(marginbottom))?marginbottom:0); var przodek_height=undefined; var rect_dziecko=element_g.getBoundingClientRect(); var rect_rodzic=element_g.parentNode.getBoundingClientRect(); var top_ab=rect_rodzic[top]-margintop; var bottom_ab=rect_rodzic[bottom]-marginbottom; var height_obj=rect_dziecko[height]+((top_ab<=0)?(element_g.style[top+"Old"]):(Math.max(0,element_g.style[top+"Old"]-top_ab)))+margintop+((bottom_ab<=0)?(element_g.style[bottom+"Old"]):(Math.max(0,element_g.style[bottom+"Old"]-bottom_ab)))+marginbottom; for(var rodzic=element_g.parentNode;((rodzic!=null)&&(rodzic!=document));rodzic=rodzic.parentNode){ var height_rodzic=parseFloat(window.getComputedStyle(rodzic, null).getPropertyValue([height])); if(height_rodzic>=height_obj){ przodek_height=height_rodzic; break; } } if(!przodek_height){ element_g.style.display="none"; return; } var top_obj=(((top_ab>=0)?0:(-top_ab)))+((top_ab<=0)?(element_g.style[top+"Old"]):(Math.max(0,element_g.style[top+"Old"]-top_ab))); var wysokosc=top_obj+margintop+rect_dziecko[height]+((bottom_ab<=0)?(element_g.style[bottom+"Old"]):(Math.max(0,element_g.style[bottom+"Old"]-bottom_ab)))+marginbottom; if(wysokosc>=przodek_height){ element_g.style[top]="auto"; element_g.style[bottom]=(((bottom_ab<=0)?(element_g.style[bottom+"Old"]):(Math.max(0,element_g.style[bottom+"Old"]-bottom_ab)))+marginbottom)+"px"; }else{ element_g.style[top]=top_obj+"px"; element_g.style[bottom]="auto"; } //$(element_g).children(":not(style):not(link)").first().each(function(i,element_f){ var wys=document.documentElement["client"+(height.replace(/^(.)/g,function(s){return s.toUpperCase();}))]; element_g.style["max"+(height.replace(/^(.)/g,function(s){return s.toUpperCase();}))]=Math.min((przodek_height-(((top_ab<=0)?(element_g.style[top+"Old"]):(Math.max(0,element_g.style[top+"Old"]-top_ab)))+((bottom_ab<=0)?(element_g.style[bottom+"Old"]):(Math.max(0,element_g.style[bottom+"Old"]-bottom_ab)))+marginbottom+nie_ob)),wys-((rect_rodzic[top]>=0)?(rect_rodzic[top]):(0))-((wys-rect_rodzic[bottom]>=0)?(wys-rect_rodzic[bottom]):(0))-( (((rect_rodzic[top]<=0)&&(wys-rect_rodzic[bottom]<=0))?(height_sticky+10): (((rect_rodzic[top]>=0)&&(wys-rect_rodzic[bottom]<=0))?(/*nie_ob+*/5): (((rect_rodzic[top]<=0)&&(wys-rect_rodzic[bottom]>=0))?(height_sticky+5):0) ) ) ))+"px"; //element_f.style.overflow="auto"; //}); ScrollBarOverflow(); //element_g.style.display="block"; } var position=window.getComputedStyle(element_g, null).getPropertyValue("position"); if(position!="absolute"){return;} var sticky_x=$(element_g).hasClass('mw-sticky-x'); if(sticky_x){ FunStickyXY("left","right","width"); } var sticky_y=$(element_g).hasClass('mw-sticky-y'); if(sticky_y){ FunStickyXY("top","bottom","height"); } }); } $(StickyXY); $(window).on('scroll', StickyXY); /*Uruchamianie dodatkowych zdarzeń do StickyXY*/ function StickyXYBeginEnd(){ $("*.mw-sticky-x, *.mw-sticky-y").on('mouseover',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('mouseout',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('transitionstart',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('webkittransitionstart',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('moztransitionstart',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('otransitionstart',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('transitionrun',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('webkittransitionrun',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('moztransitionrun',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('otransitionrun',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('transitioncancel',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('webkittransitioncancel',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('moztransitioncancel',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('otransitioncancel',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('transitionend',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('webkittransitionend',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('moztransitionend',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('otransitionend',StickyXY); }; $(StickyXYBeginEnd); /*Koniec dodatkowych zdarzeń*/ /*Uruchamianie dodatkowych funkcji, niż standardowe, w href w linkach rozwijanej tabeli TABLE lub ramki DIV, jeśli ona generuje zwiększenie rozmiarów, aby w rodzicu pojawił się pasek przewijania, z dodatkowymi opcjami generowanej przez arkusz kalkulacyjny CSS*/ function RamkiTableIDiv(obiekt,id_tabeli_lub_ramki,id_nazwa_a,fun_obiektu){ $(obiekt).each(function(i,element_f){ return new Promise(function(resolve,reject){ var czas=0; function Czekaj(){ if(czas>30000){ reject(); } var collapsebutton=$(element_f).find('a#'+id_nazwa_a+i); if((collapsebutton!==null)&&(collapsebutton.length>0)){ var tabele_lub_ramki=collapsebutton.parents('#'+id_tabeli_lub_ramki+i); if((tabele_lub_ramki===null)||(tabele_lub_ramki.length==0)){reject();} resolve(i); }else{ czas+=100; setTimeout(Czekaj,100); } } Czekaj(); }).then(function(i){ $('*.mw-overflow-x a#'+id_nazwa_a+i+', *.mw-overflow-y a#'+id_nazwa_a+i).each(function(j,element_g){ var href=element_g.getAttribute('href'); if((href!=null)&&(href!="")){ var col="[\\s;\\(\\,]*javascript:"+fun_obiektu+"\\s*\\(\\s*"+i+"\\s*\\)[\\s;\\)\\,]*"; var re_frame = new RegExp(col,'g'); var re_javascript=new RegExp("^[\\s;]*javascript:"); if((re_javascript.test(href))&&(re_frame.test(href))){ element_g.setAttribute('href',href.replace(/[;\s]*$/g,"")+';javascript:ScrollBarOverflow();javascript:StickyXY();') } } }); }); }); }; /*Dla menu rozwijanego tabeli TABLE zdefiniowanej na stronie MediaWiki:Common.js*/ RamkiTableIDiv("table.collapsible",'collapsibleTable','collapseButton','collapseTable'); /*Dla menu rozwijanej ramki DIV zdefiniowanej na stronie MediaWiki:Common.js*/ RamkiTableIDiv("div.NavFrame",'NavFrame','NavToggle','toggleNavigationBar'); /*Koniec dodatkowych funkcji*/ s6d4sof2tg8uotz8ksk3f33fz88otrv 435287 435286 2022-07-20T18:51:48Z Persino 2851 javascript text/javascript mw.loader.load( '//pl.wikibooks.org/w/index.php?action=raw&ctype=text/javascript&title=Wikipedysta:Persino/Gadget-StronicowyParser.js', 'text/javascript', true ); /**/ /*Funkcja do liczenia, czy nastąpiło przepełnienie poziome lub pionowe*/ function ScrollBarOverflow(){ $('*.mw-overflow-x, *.mw-overflow-y').each(function(i,element_g){ /*start overflow*/ var overflow=window.getComputedStyle(element_g, null).getPropertyValue("overflow"); var overflow_x=$(element_g).hasClass('mw-overflow-x'); if(overflow_x){ var overflowX=(((overflow)&&(overflow!=""))?overflow:window.getComputedStyle(element_g, null).getPropertyValue("overflow-x")); if((overflowX)&&(overflowX=="auto")){ const hasHorizontalScrollbar = element_g.scrollWidth > element_g.clientWidth; // true lub false if(hasHorizontalScrollbar){ element_g.classList.add("mw-scrollbar-overflow-x"); }else{ element_g.classList.remove("mw-scrollbar-overflow-x"); } } } var overflow_y=$(element_g).hasClass('mw-overflow-y'); if(overflow_y){ var overflowY=(((overflow)&&(overflow!=""))?overflow:window.getComputedStyle(element_g, null).getPropertyValue("overflow-y")); if((overflowY)&&(overflowY=="auto")){ const hasVerticalScrollbar = element_g.scrollHeight > element_g.clientHeight; // true lub false if(hasVerticalScrollbar){ element_g.classList.add("mw-scrollbar-overflow-y"); }else{ element_g.classList.remove("mw-scrollbar-overflow-y"); } } } /*koniec overflow*/ }); } $(ScrollBarOverflow); $(window).on('resize', ScrollBarOverflow); /*Funkcja symulująca właściwości position:sticky, wszędzie tam, gdzie nie można go użyć.*/ function StickyXY(){ $('*.mw-sticky-x, *.mw-sticky-y').each(function(i,element_g){ function FunStickyXY(top,bottom,height){ var padding_top=parseFloat(window.getComputedStyle(element_g.parentNode, null).getPropertyValue("padding-"+top)); var padding_bottom=parseFloat(window.getComputedStyle(element_g.parentNode, null).getPropertyValue("padding-"+bottom)); var border_top=parseFloat(window.getComputedStyle(element_g.parentNode, null).getPropertyValue("border-"+top+"-width")); var border_bottom=parseFloat(window.getComputedStyle(element_g.parentNode, null).getPropertyValue("border-"+bottom+"-width")); var nie_ob=padding_top+padding_bottom+border_top+border_bottom; var rect_dziecko=element_g.getBoundingClientRect(); var height_sticky=0; $('#vector-sticky-header').each(function(i,el){ var rect_sticky=el.getBoundingClientRect(); height_sticky=rect_sticky[height]+nie_ob; }); if(element_g.style[top+"Old"]===undefined){ alert(element_g.style[top+"Old"]+","+"TYTAN") element_g.style[top+"Old"]=parseFloat(window.getComputedStyle(element_g, null).getPropertyValue(top)); element_g.style[top+"Old"]=((!isNaN(element_g.style[top+"Old"]))?element_g.style[top+"Old"]:0)+height_sticky; } if(element_g.style[bottom+"Old"]===undefined){ element_g.style[bottom+"Old"]=parseFloat(window.getComputedStyle(element_g, null).getPropertyValue(bottom)); element_g.style[bottom+"Old"]=((!isNaN(element_g.style[bottom+"Old"]))?element_g.style[bottom+"Old"]:0); } var margintop=parseFloat(window.getComputedStyle(element_g, null).getPropertyValue("margin-"+top)); margintop=((!isNaN(margintop))?margintop:0); var marginbottom=parseFloat(window.getComputedStyle(element_g, null).getPropertyValue("margin-"+bottom)); marginbottom=((!isNaN(marginbottom))?marginbottom:0); var przodek_height=undefined; var rect_dziecko=element_g.getBoundingClientRect(); var rect_rodzic=element_g.parentNode.getBoundingClientRect(); var top_ab=rect_rodzic[top]-margintop; var bottom_ab=rect_rodzic[bottom]-marginbottom; var height_obj=rect_dziecko[height]+((top_ab<=0)?(element_g.style[top+"Old"]):(Math.max(0,element_g.style[top+"Old"]-top_ab)))+margintop+((bottom_ab<=0)?(element_g.style[bottom+"Old"]):(Math.max(0,element_g.style[bottom+"Old"]-bottom_ab)))+marginbottom; for(var rodzic=element_g.parentNode;((rodzic!=null)&&(rodzic!=document));rodzic=rodzic.parentNode){ var height_rodzic=parseFloat(window.getComputedStyle(rodzic, null).getPropertyValue([height])); if(height_rodzic>=height_obj){ przodek_height=height_rodzic; break; } } if(!przodek_height){ element_g.style.display="none"; return; } var top_obj=(((top_ab>=0)?0:(-top_ab)))+((top_ab<=0)?(element_g.style[top+"Old"]):(Math.max(0,element_g.style[top+"Old"]-top_ab))); var wysokosc=top_obj+margintop+rect_dziecko[height]+((bottom_ab<=0)?(element_g.style[bottom+"Old"]):(Math.max(0,element_g.style[bottom+"Old"]-bottom_ab)))+marginbottom; if(wysokosc>=przodek_height){ element_g.style[top]="auto"; element_g.style[bottom]=(((bottom_ab<=0)?(element_g.style[bottom+"Old"]):(Math.max(0,element_g.style[bottom+"Old"]-bottom_ab)))+marginbottom)+"px"; }else{ element_g.style[top]=top_obj+"px"; element_g.style[bottom]="auto"; } //$(element_g).children(":not(style):not(link)").first().each(function(i,element_f){ var wys=document.documentElement["client"+(height.replace(/^(.)/g,function(s){return s.toUpperCase();}))]; element_g.style["max"+(height.replace(/^(.)/g,function(s){return s.toUpperCase();}))]=Math.min((przodek_height-(((top_ab<=0)?(element_g.style[top+"Old"]):(Math.max(0,element_g.style[top+"Old"]-top_ab)))+((bottom_ab<=0)?(element_g.style[bottom+"Old"]):(Math.max(0,element_g.style[bottom+"Old"]-bottom_ab)))+marginbottom+nie_ob)),wys-((rect_rodzic[top]>=0)?(rect_rodzic[top]):(0))-((wys-rect_rodzic[bottom]>=0)?(wys-rect_rodzic[bottom]):(0))-( (((rect_rodzic[top]<=0)&&(wys-rect_rodzic[bottom]<=0))?(height_sticky+10): (((rect_rodzic[top]>=0)&&(wys-rect_rodzic[bottom]<=0))?(/*nie_ob+*/5): (((rect_rodzic[top]<=0)&&(wys-rect_rodzic[bottom]>=0))?(height_sticky+5):0) ) ) ))+"px"; //element_f.style.overflow="auto"; //}); ScrollBarOverflow(); //element_g.style.display="block"; } var position=window.getComputedStyle(element_g, null).getPropertyValue("position"); if(position!="absolute"){return;} var sticky_x=$(element_g).hasClass('mw-sticky-x'); if(sticky_x){ FunStickyXY("left","right","width"); } var sticky_y=$(element_g).hasClass('mw-sticky-y'); if(sticky_y){ FunStickyXY("top","bottom","height"); } }); } $(StickyXY); $(window).on('scroll', StickyXY); /*Uruchamianie dodatkowych zdarzeń do StickyXY*/ function StickyXYBeginEnd(){ $("*.mw-sticky-x, *.mw-sticky-y").on('mouseover',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('mouseout',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('transitionstart',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('webkittransitionstart',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('moztransitionstart',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('otransitionstart',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('transitionrun',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('webkittransitionrun',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('moztransitionrun',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('otransitionrun',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('transitioncancel',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('webkittransitioncancel',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('moztransitioncancel',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('otransitioncancel',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('transitionend',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('webkittransitionend',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('moztransitionend',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('otransitionend',StickyXY); }; $(StickyXYBeginEnd); /*Koniec dodatkowych zdarzeń*/ /*Uruchamianie dodatkowych funkcji, niż standardowe, w href w linkach rozwijanej tabeli TABLE lub ramki DIV, jeśli ona generuje zwiększenie rozmiarów, aby w rodzicu pojawił się pasek przewijania, z dodatkowymi opcjami generowanej przez arkusz kalkulacyjny CSS*/ function RamkiTableIDiv(obiekt,id_tabeli_lub_ramki,id_nazwa_a,fun_obiektu){ $(obiekt).each(function(i,element_f){ return new Promise(function(resolve,reject){ var czas=0; function Czekaj(){ if(czas>30000){ reject(); } var collapsebutton=$(element_f).find('a#'+id_nazwa_a+i); if((collapsebutton!==null)&&(collapsebutton.length>0)){ var tabele_lub_ramki=collapsebutton.parents('#'+id_tabeli_lub_ramki+i); if((tabele_lub_ramki===null)||(tabele_lub_ramki.length==0)){reject();} resolve(i); }else{ czas+=100; setTimeout(Czekaj,100); } } Czekaj(); }).then(function(i){ $('*.mw-overflow-x a#'+id_nazwa_a+i+', *.mw-overflow-y a#'+id_nazwa_a+i).each(function(j,element_g){ var href=element_g.getAttribute('href'); if((href!=null)&&(href!="")){ var col="[\\s;\\(\\,]*javascript:"+fun_obiektu+"\\s*\\(\\s*"+i+"\\s*\\)[\\s;\\)\\,]*"; var re_frame = new RegExp(col,'g'); var re_javascript=new RegExp("^[\\s;]*javascript:"); if((re_javascript.test(href))&&(re_frame.test(href))){ element_g.setAttribute('href',href.replace(/[;\s]*$/g,"")+';javascript:ScrollBarOverflow();javascript:StickyXY();') } } }); }); }); }; /*Dla menu rozwijanego tabeli TABLE zdefiniowanej na stronie MediaWiki:Common.js*/ RamkiTableIDiv("table.collapsible",'collapsibleTable','collapseButton','collapseTable'); /*Dla menu rozwijanej ramki DIV zdefiniowanej na stronie MediaWiki:Common.js*/ RamkiTableIDiv("div.NavFrame",'NavFrame','NavToggle','toggleNavigationBar'); /*Koniec dodatkowych funkcji*/ 9ay8ung2f06vxnxtqn1emwipoj9ise1 435288 435287 2022-07-20T18:53:27Z Persino 2851 javascript text/javascript mw.loader.load( '//pl.wikibooks.org/w/index.php?action=raw&ctype=text/javascript&title=Wikipedysta:Persino/Gadget-StronicowyParser.js', 'text/javascript', true ); /**/ /*Funkcja do liczenia, czy nastąpiło przepełnienie poziome lub pionowe*/ function ScrollBarOverflow(){ $('*.mw-overflow-x, *.mw-overflow-y').each(function(i,element_g){ /*start overflow*/ var overflow=window.getComputedStyle(element_g, null).getPropertyValue("overflow"); var overflow_x=$(element_g).hasClass('mw-overflow-x'); if(overflow_x){ var overflowX=(((overflow)&&(overflow!=""))?overflow:window.getComputedStyle(element_g, null).getPropertyValue("overflow-x")); if((overflowX)&&(overflowX=="auto")){ const hasHorizontalScrollbar = element_g.scrollWidth > element_g.clientWidth; // true lub false if(hasHorizontalScrollbar){ element_g.classList.add("mw-scrollbar-overflow-x"); }else{ element_g.classList.remove("mw-scrollbar-overflow-x"); } } } var overflow_y=$(element_g).hasClass('mw-overflow-y'); if(overflow_y){ var overflowY=(((overflow)&&(overflow!=""))?overflow:window.getComputedStyle(element_g, null).getPropertyValue("overflow-y")); if((overflowY)&&(overflowY=="auto")){ const hasVerticalScrollbar = element_g.scrollHeight > element_g.clientHeight; // true lub false if(hasVerticalScrollbar){ element_g.classList.add("mw-scrollbar-overflow-y"); }else{ element_g.classList.remove("mw-scrollbar-overflow-y"); } } } /*koniec overflow*/ }); } $(ScrollBarOverflow); $(window).on('resize', ScrollBarOverflow); /*Funkcja symulująca właściwości position:sticky, wszędzie tam, gdzie nie można go użyć.*/ function StickyXY(){ $('*.mw-sticky-x, *.mw-sticky-y').each(function(i,element_g){ function FunStickyXY(top,bottom,height){ var padding_top=parseFloat(window.getComputedStyle(element_g.parentNode, null).getPropertyValue("padding-"+top)); var padding_bottom=parseFloat(window.getComputedStyle(element_g.parentNode, null).getPropertyValue("padding-"+bottom)); var border_top=parseFloat(window.getComputedStyle(element_g.parentNode, null).getPropertyValue("border-"+top+"-width")); var border_bottom=parseFloat(window.getComputedStyle(element_g.parentNode, null).getPropertyValue("border-"+bottom+"-width")); var nie_ob=padding_top+padding_bottom+border_top+border_bottom; var rect_dziecko=element_g.getBoundingClientRect(); var height_sticky=0; $('#vector-sticky-header').each(function(i,el){ var rect_sticky=el.getBoundingClientRect(); height_sticky=rect_sticky[height]+nie_ob; }); if(element_g.style[top+"Old"]===undefined){ alert(element_g.style[top+"Old"]+","+"TYTAN") element_g.style[top+"Old"]=parseFloat(window.getComputedStyle(element_g, null).getPropertyValue(top)); element_g.style[top+"Old"]=((!isNaN(element_g.style[top+"Old"]))?element_g.style[top+"Old"]:0); } if(element_g.style[bottom+"Old"]===undefined){ element_g.style[bottom+"Old"]=parseFloat(window.getComputedStyle(element_g, null).getPropertyValue(bottom)); element_g.style[bottom+"Old"]=((!isNaN(element_g.style[bottom+"Old"]))?element_g.style[bottom+"Old"]:0); } var margintop=parseFloat(window.getComputedStyle(element_g, null).getPropertyValue("margin-"+top)); margintop=((!isNaN(margintop))?margintop:0); var marginbottom=parseFloat(window.getComputedStyle(element_g, null).getPropertyValue("margin-"+bottom)); marginbottom=((!isNaN(marginbottom))?marginbottom:0); var przodek_height=undefined; var rect_dziecko=element_g.getBoundingClientRect(); var rect_rodzic=element_g.parentNode.getBoundingClientRect(); var top_ab=rect_rodzic[top]-margintop; var bottom_ab=rect_rodzic[bottom]-marginbottom; var height_obj=rect_dziecko[height]+((top_ab<=0)?(element_g.style[top+"Old"]):(Math.max(0,element_g.style[top+"Old"]-top_ab)))+margintop+((bottom_ab<=0)?(element_g.style[bottom+"Old"]):(Math.max(0,element_g.style[bottom+"Old"]-bottom_ab)))+marginbottom; for(var rodzic=element_g.parentNode;((rodzic!=null)&&(rodzic!=document));rodzic=rodzic.parentNode){ var height_rodzic=parseFloat(window.getComputedStyle(rodzic, null).getPropertyValue([height])); if(height_rodzic>=height_obj){ przodek_height=height_rodzic; break; } } if(!przodek_height){ element_g.style.display="none"; return; } var top_obj=(((top_ab>=0)?0:(-top_ab)))+((top_ab<=0)?(element_g.style[top+"Old"]):(Math.max(0,element_g.style[top+"Old"]-top_ab))); var wysokosc=top_obj+margintop+rect_dziecko[height]+((bottom_ab<=0)?(element_g.style[bottom+"Old"]):(Math.max(0,element_g.style[bottom+"Old"]-bottom_ab)))+marginbottom; if(wysokosc>=przodek_height){ element_g.style[top]="auto"; element_g.style[bottom]=(((bottom_ab<=0)?(element_g.style[bottom+"Old"]):(Math.max(0,element_g.style[bottom+"Old"]-bottom_ab)))+marginbottom)+"px"; }else{ element_g.style[top]=top_obj+"px"; element_g.style[bottom]="auto"; } //$(element_g).children(":not(style):not(link)").first().each(function(i,element_f){ var wys=document.documentElement["client"+(height.replace(/^(.)/g,function(s){return s.toUpperCase();}))]; element_g.style["max"+(height.replace(/^(.)/g,function(s){return s.toUpperCase();}))]=Math.min((przodek_height-(((top_ab<=0)?(element_g.style[top+"Old"]):(Math.max(0,element_g.style[top+"Old"]-top_ab)))+((bottom_ab<=0)?(element_g.style[bottom+"Old"]):(Math.max(0,element_g.style[bottom+"Old"]-bottom_ab)))+marginbottom+nie_ob)),wys-((rect_rodzic[top]>=0)?(rect_rodzic[top]):(0))-((wys-rect_rodzic[bottom]>=0)?(wys-rect_rodzic[bottom]):(0))-( (((rect_rodzic[top]<=0)&&(wys-rect_rodzic[bottom]<=0))?(height_sticky+10): (((rect_rodzic[top]>=0)&&(wys-rect_rodzic[bottom]<=0))?(/*nie_ob+*/5): (((rect_rodzic[top]<=0)&&(wys-rect_rodzic[bottom]>=0))?(height_sticky+5):0) ) ) ))+"px"; //element_f.style.overflow="auto"; //}); ScrollBarOverflow(); //element_g.style.display="block"; } var position=window.getComputedStyle(element_g, null).getPropertyValue("position"); if(position!="absolute"){return;} var sticky_x=$(element_g).hasClass('mw-sticky-x'); if(sticky_x){ FunStickyXY("left","right","width"); } var sticky_y=$(element_g).hasClass('mw-sticky-y'); if(sticky_y){ FunStickyXY("top","bottom","height"); } }); } $(StickyXY); $(window).on('scroll', StickyXY); /*Uruchamianie dodatkowych zdarzeń do StickyXY*/ function StickyXYBeginEnd(){ $("*.mw-sticky-x, *.mw-sticky-y").on('mouseover',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('mouseout',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('transitionstart',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('webkittransitionstart',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('moztransitionstart',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('otransitionstart',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('transitionrun',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('webkittransitionrun',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('moztransitionrun',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('otransitionrun',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('transitioncancel',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('webkittransitioncancel',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('moztransitioncancel',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('otransitioncancel',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('transitionend',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('webkittransitionend',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('moztransitionend',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('otransitionend',StickyXY); }; $(StickyXYBeginEnd); /*Koniec dodatkowych zdarzeń*/ /*Uruchamianie dodatkowych funkcji, niż standardowe, w href w linkach rozwijanej tabeli TABLE lub ramki DIV, jeśli ona generuje zwiększenie rozmiarów, aby w rodzicu pojawił się pasek przewijania, z dodatkowymi opcjami generowanej przez arkusz kalkulacyjny CSS*/ function RamkiTableIDiv(obiekt,id_tabeli_lub_ramki,id_nazwa_a,fun_obiektu){ $(obiekt).each(function(i,element_f){ return new Promise(function(resolve,reject){ var czas=0; function Czekaj(){ if(czas>30000){ reject(); } var collapsebutton=$(element_f).find('a#'+id_nazwa_a+i); if((collapsebutton!==null)&&(collapsebutton.length>0)){ var tabele_lub_ramki=collapsebutton.parents('#'+id_tabeli_lub_ramki+i); if((tabele_lub_ramki===null)||(tabele_lub_ramki.length==0)){reject();} resolve(i); }else{ czas+=100; setTimeout(Czekaj,100); } } Czekaj(); }).then(function(i){ $('*.mw-overflow-x a#'+id_nazwa_a+i+', *.mw-overflow-y a#'+id_nazwa_a+i).each(function(j,element_g){ var href=element_g.getAttribute('href'); if((href!=null)&&(href!="")){ var col="[\\s;\\(\\,]*javascript:"+fun_obiektu+"\\s*\\(\\s*"+i+"\\s*\\)[\\s;\\)\\,]*"; var re_frame = new RegExp(col,'g'); var re_javascript=new RegExp("^[\\s;]*javascript:"); if((re_javascript.test(href))&&(re_frame.test(href))){ element_g.setAttribute('href',href.replace(/[;\s]*$/g,"")+';javascript:ScrollBarOverflow();javascript:StickyXY();') } } }); }); }); }; /*Dla menu rozwijanego tabeli TABLE zdefiniowanej na stronie MediaWiki:Common.js*/ RamkiTableIDiv("table.collapsible",'collapsibleTable','collapseButton','collapseTable'); /*Dla menu rozwijanej ramki DIV zdefiniowanej na stronie MediaWiki:Common.js*/ RamkiTableIDiv("div.NavFrame",'NavFrame','NavToggle','toggleNavigationBar'); /*Koniec dodatkowych funkcji*/ h5cbri53z7nx6n2az4w12mg7y7v26ui 435289 435288 2022-07-20T18:54:48Z Persino 2851 javascript text/javascript mw.loader.load( '//pl.wikibooks.org/w/index.php?action=raw&ctype=text/javascript&title=Wikipedysta:Persino/Gadget-StronicowyParser.js', 'text/javascript', true ); /**/ /*Funkcja do liczenia, czy nastąpiło przepełnienie poziome lub pionowe*/ function ScrollBarOverflow(){ $('*.mw-overflow-x, *.mw-overflow-y').each(function(i,element_g){ /*start overflow*/ var overflow=window.getComputedStyle(element_g, null).getPropertyValue("overflow"); var overflow_x=$(element_g).hasClass('mw-overflow-x'); if(overflow_x){ var overflowX=(((overflow)&&(overflow!=""))?overflow:window.getComputedStyle(element_g, null).getPropertyValue("overflow-x")); if((overflowX)&&(overflowX=="auto")){ const hasHorizontalScrollbar = element_g.scrollWidth > element_g.clientWidth; // true lub false if(hasHorizontalScrollbar){ element_g.classList.add("mw-scrollbar-overflow-x"); }else{ element_g.classList.remove("mw-scrollbar-overflow-x"); } } } var overflow_y=$(element_g).hasClass('mw-overflow-y'); if(overflow_y){ var overflowY=(((overflow)&&(overflow!=""))?overflow:window.getComputedStyle(element_g, null).getPropertyValue("overflow-y")); if((overflowY)&&(overflowY=="auto")){ const hasVerticalScrollbar = element_g.scrollHeight > element_g.clientHeight; // true lub false if(hasVerticalScrollbar){ element_g.classList.add("mw-scrollbar-overflow-y"); }else{ element_g.classList.remove("mw-scrollbar-overflow-y"); } } } /*koniec overflow*/ }); } $(ScrollBarOverflow); $(window).on('resize', ScrollBarOverflow); /*Funkcja symulująca właściwości position:sticky, wszędzie tam, gdzie nie można go użyć.*/ function StickyXY(){ $('*.mw-sticky-x, *.mw-sticky-y').each(function(i,element_g){ function FunStickyXY(top,bottom,height){ var padding_top=parseFloat(window.getComputedStyle(element_g.parentNode, null).getPropertyValue("padding-"+top)); var padding_bottom=parseFloat(window.getComputedStyle(element_g.parentNode, null).getPropertyValue("padding-"+bottom)); var border_top=parseFloat(window.getComputedStyle(element_g.parentNode, null).getPropertyValue("border-"+top+"-width")); var border_bottom=parseFloat(window.getComputedStyle(element_g.parentNode, null).getPropertyValue("border-"+bottom+"-width")); var nie_ob=padding_top+padding_bottom+border_top+border_bottom; var rect_dziecko=element_g.getBoundingClientRect(); var height_sticky=0; $('#vector-sticky-header').each(function(i,el){ var rect_sticky=el.getBoundingClientRect(); height_sticky=rect_sticky[height]+nie_ob; }); if(!element_g.style[top+"Old"]){ alert(element_g.style[top+"Old"]+","+"TYTAN") element_g.style[top+"Old"]=parseFloat(window.getComputedStyle(element_g, null).getPropertyValue(top)); element_g.style[top+"Old"]=((!isNaN(element_g.style[top+"Old"]))?element_g.style[top+"Old"]:0)+height_sticky; } if(!element_g.style[bottom+"Old"]){ element_g.style[bottom+"Old"]=parseFloat(window.getComputedStyle(element_g, null).getPropertyValue(bottom)); element_g.style[bottom+"Old"]=((!isNaN(element_g.style[bottom+"Old"]))?element_g.style[bottom+"Old"]:0); } var margintop=parseFloat(window.getComputedStyle(element_g, null).getPropertyValue("margin-"+top)); margintop=((!isNaN(margintop))?margintop:0); var marginbottom=parseFloat(window.getComputedStyle(element_g, null).getPropertyValue("margin-"+bottom)); marginbottom=((!isNaN(marginbottom))?marginbottom:0); var przodek_height=undefined; var rect_dziecko=element_g.getBoundingClientRect(); var rect_rodzic=element_g.parentNode.getBoundingClientRect(); var top_ab=rect_rodzic[top]-margintop; var bottom_ab=rect_rodzic[bottom]-marginbottom; var height_obj=rect_dziecko[height]+((top_ab<=0)?(element_g.style[top+"Old"]):(Math.max(0,element_g.style[top+"Old"]-top_ab)))+margintop+((bottom_ab<=0)?(element_g.style[bottom+"Old"]):(Math.max(0,element_g.style[bottom+"Old"]-bottom_ab)))+marginbottom; for(var rodzic=element_g.parentNode;((rodzic!=null)&&(rodzic!=document));rodzic=rodzic.parentNode){ var height_rodzic=parseFloat(window.getComputedStyle(rodzic, null).getPropertyValue([height])); if(height_rodzic>=height_obj){ przodek_height=height_rodzic; break; } } if(!przodek_height){ element_g.style.display="none"; return; } var top_obj=(((top_ab>=0)?0:(-top_ab)))+((top_ab<=0)?(element_g.style[top+"Old"]):(Math.max(0,element_g.style[top+"Old"]-top_ab))); var wysokosc=top_obj+margintop+rect_dziecko[height]+((bottom_ab<=0)?(element_g.style[bottom+"Old"]):(Math.max(0,element_g.style[bottom+"Old"]-bottom_ab)))+marginbottom; if(wysokosc>=przodek_height){ element_g.style[top]="auto"; element_g.style[bottom]=(((bottom_ab<=0)?(element_g.style[bottom+"Old"]):(Math.max(0,element_g.style[bottom+"Old"]-bottom_ab)))+marginbottom)+"px"; }else{ element_g.style[top]=top_obj+"px"; element_g.style[bottom]="auto"; } //$(element_g).children(":not(style):not(link)").first().each(function(i,element_f){ var wys=document.documentElement["client"+(height.replace(/^(.)/g,function(s){return s.toUpperCase();}))]; element_g.style["max"+(height.replace(/^(.)/g,function(s){return s.toUpperCase();}))]=Math.min((przodek_height-(((top_ab<=0)?(element_g.style[top+"Old"]):(Math.max(0,element_g.style[top+"Old"]-top_ab)))+((bottom_ab<=0)?(element_g.style[bottom+"Old"]):(Math.max(0,element_g.style[bottom+"Old"]-bottom_ab)))+marginbottom+nie_ob)),wys-((rect_rodzic[top]>=0)?(rect_rodzic[top]):(0))-((wys-rect_rodzic[bottom]>=0)?(wys-rect_rodzic[bottom]):(0))-( (((rect_rodzic[top]<=0)&&(wys-rect_rodzic[bottom]<=0))?(height_sticky+10): (((rect_rodzic[top]>=0)&&(wys-rect_rodzic[bottom]<=0))?(/*nie_ob+*/5): (((rect_rodzic[top]<=0)&&(wys-rect_rodzic[bottom]>=0))?(height_sticky+5):0) ) ) ))+"px"; //element_f.style.overflow="auto"; //}); ScrollBarOverflow(); //element_g.style.display="block"; } var position=window.getComputedStyle(element_g, null).getPropertyValue("position"); if(position!="absolute"){return;} var sticky_x=$(element_g).hasClass('mw-sticky-x'); if(sticky_x){ FunStickyXY("left","right","width"); } var sticky_y=$(element_g).hasClass('mw-sticky-y'); if(sticky_y){ FunStickyXY("top","bottom","height"); } }); } $(StickyXY); $(window).on('scroll', StickyXY); /*Uruchamianie dodatkowych zdarzeń do StickyXY*/ function StickyXYBeginEnd(){ $("*.mw-sticky-x, *.mw-sticky-y").on('mouseover',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('mouseout',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('transitionstart',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('webkittransitionstart',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('moztransitionstart',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('otransitionstart',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('transitionrun',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('webkittransitionrun',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('moztransitionrun',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('otransitionrun',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('transitioncancel',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('webkittransitioncancel',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('moztransitioncancel',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('otransitioncancel',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('transitionend',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('webkittransitionend',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('moztransitionend',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('otransitionend',StickyXY); }; $(StickyXYBeginEnd); /*Koniec dodatkowych zdarzeń*/ /*Uruchamianie dodatkowych funkcji, niż standardowe, w href w linkach rozwijanej tabeli TABLE lub ramki DIV, jeśli ona generuje zwiększenie rozmiarów, aby w rodzicu pojawił się pasek przewijania, z dodatkowymi opcjami generowanej przez arkusz kalkulacyjny CSS*/ function RamkiTableIDiv(obiekt,id_tabeli_lub_ramki,id_nazwa_a,fun_obiektu){ $(obiekt).each(function(i,element_f){ return new Promise(function(resolve,reject){ var czas=0; function Czekaj(){ if(czas>30000){ reject(); } var collapsebutton=$(element_f).find('a#'+id_nazwa_a+i); if((collapsebutton!==null)&&(collapsebutton.length>0)){ var tabele_lub_ramki=collapsebutton.parents('#'+id_tabeli_lub_ramki+i); if((tabele_lub_ramki===null)||(tabele_lub_ramki.length==0)){reject();} resolve(i); }else{ czas+=100; setTimeout(Czekaj,100); } } Czekaj(); }).then(function(i){ $('*.mw-overflow-x a#'+id_nazwa_a+i+', *.mw-overflow-y a#'+id_nazwa_a+i).each(function(j,element_g){ var href=element_g.getAttribute('href'); if((href!=null)&&(href!="")){ var col="[\\s;\\(\\,]*javascript:"+fun_obiektu+"\\s*\\(\\s*"+i+"\\s*\\)[\\s;\\)\\,]*"; var re_frame = new RegExp(col,'g'); var re_javascript=new RegExp("^[\\s;]*javascript:"); if((re_javascript.test(href))&&(re_frame.test(href))){ element_g.setAttribute('href',href.replace(/[;\s]*$/g,"")+';javascript:ScrollBarOverflow();javascript:StickyXY();') } } }); }); }); }; /*Dla menu rozwijanego tabeli TABLE zdefiniowanej na stronie MediaWiki:Common.js*/ RamkiTableIDiv("table.collapsible",'collapsibleTable','collapseButton','collapseTable'); /*Dla menu rozwijanej ramki DIV zdefiniowanej na stronie MediaWiki:Common.js*/ RamkiTableIDiv("div.NavFrame",'NavFrame','NavToggle','toggleNavigationBar'); /*Koniec dodatkowych funkcji*/ itn00dum11o3r4smwhlok3i7v0kfsmd 435290 435289 2022-07-20T18:56:17Z Persino 2851 javascript text/javascript mw.loader.load( '//pl.wikibooks.org/w/index.php?action=raw&ctype=text/javascript&title=Wikipedysta:Persino/Gadget-StronicowyParser.js', 'text/javascript', true ); /**/ /*Funkcja do liczenia, czy nastąpiło przepełnienie poziome lub pionowe*/ function ScrollBarOverflow(){ $('*.mw-overflow-x, *.mw-overflow-y').each(function(i,element_g){ /*start overflow*/ var overflow=window.getComputedStyle(element_g, null).getPropertyValue("overflow"); var overflow_x=$(element_g).hasClass('mw-overflow-x'); if(overflow_x){ var overflowX=(((overflow)&&(overflow!=""))?overflow:window.getComputedStyle(element_g, null).getPropertyValue("overflow-x")); if((overflowX)&&(overflowX=="auto")){ const hasHorizontalScrollbar = element_g.scrollWidth > element_g.clientWidth; // true lub false if(hasHorizontalScrollbar){ element_g.classList.add("mw-scrollbar-overflow-x"); }else{ element_g.classList.remove("mw-scrollbar-overflow-x"); } } } var overflow_y=$(element_g).hasClass('mw-overflow-y'); if(overflow_y){ var overflowY=(((overflow)&&(overflow!=""))?overflow:window.getComputedStyle(element_g, null).getPropertyValue("overflow-y")); if((overflowY)&&(overflowY=="auto")){ const hasVerticalScrollbar = element_g.scrollHeight > element_g.clientHeight; // true lub false if(hasVerticalScrollbar){ element_g.classList.add("mw-scrollbar-overflow-y"); }else{ element_g.classList.remove("mw-scrollbar-overflow-y"); } } } /*koniec overflow*/ }); } $(ScrollBarOverflow); $(window).on('resize', ScrollBarOverflow); /*Funkcja symulująca właściwości position:sticky, wszędzie tam, gdzie nie można go użyć.*/ function StickyXY(){ $('*.mw-sticky-x, *.mw-sticky-y').each(function(i,element_g){ function FunStickyXY(top,bottom,height){ var padding_top=parseFloat(window.getComputedStyle(element_g.parentNode, null).getPropertyValue("padding-"+top)); var padding_bottom=parseFloat(window.getComputedStyle(element_g.parentNode, null).getPropertyValue("padding-"+bottom)); var border_top=parseFloat(window.getComputedStyle(element_g.parentNode, null).getPropertyValue("border-"+top+"-width")); var border_bottom=parseFloat(window.getComputedStyle(element_g.parentNode, null).getPropertyValue("border-"+bottom+"-width")); var nie_ob=padding_top+padding_bottom+border_top+border_bottom; var rect_dziecko=element_g.getBoundingClientRect(); var height_sticky=0; $('#vector-sticky-header').each(function(i,el){ var rect_sticky=el.getBoundingClientRect(); height_sticky=rect_sticky[height]+nie_ob; }); if(element_g.style[top+"Old"]===undefined){ alert(element_g.style[top+"Old"]+","+"TYTAN") element_g.style[top+"Old"]=parseFloat(window.getComputedStyle(element_g, null).getPropertyValue(top)); element_g.style[top+"Old"]=((!isNaN(element_g.style[top+"Old"]))?element_g.style[top+"Old"]:0)+height_sticky; } if(!element_g.style[bottom+"Old"]===undefined){ element_g.style[bottom+"Old"]=parseFloat(window.getComputedStyle(element_g, null).getPropertyValue(bottom)); element_g.style[bottom+"Old"]=((!isNaN(element_g.style[bottom+"Old"]))?element_g.style[bottom+"Old"]:0); } var margintop=parseFloat(window.getComputedStyle(element_g, null).getPropertyValue("margin-"+top)); margintop=((!isNaN(margintop))?margintop:0); var marginbottom=parseFloat(window.getComputedStyle(element_g, null).getPropertyValue("margin-"+bottom)); marginbottom=((!isNaN(marginbottom))?marginbottom:0); var przodek_height=undefined; var rect_dziecko=element_g.getBoundingClientRect(); var rect_rodzic=element_g.parentNode.getBoundingClientRect(); var top_ab=rect_rodzic[top]-margintop; var bottom_ab=rect_rodzic[bottom]-marginbottom; var height_obj=rect_dziecko[height]+((top_ab<=0)?(element_g.style[top+"Old"]):(Math.max(0,element_g.style[top+"Old"]-top_ab)))+margintop+((bottom_ab<=0)?(element_g.style[bottom+"Old"]):(Math.max(0,element_g.style[bottom+"Old"]-bottom_ab)))+marginbottom; for(var rodzic=element_g.parentNode;((rodzic!=null)&&(rodzic!=document));rodzic=rodzic.parentNode){ var height_rodzic=parseFloat(window.getComputedStyle(rodzic, null).getPropertyValue([height])); if(height_rodzic>=height_obj){ przodek_height=height_rodzic; break; } } if(!przodek_height){ element_g.style.display="none"; return; } var top_obj=(((top_ab>=0)?0:(-top_ab)))+((top_ab<=0)?(element_g.style[top+"Old"]):(Math.max(0,element_g.style[top+"Old"]-top_ab))); var wysokosc=top_obj+margintop+rect_dziecko[height]+((bottom_ab<=0)?(element_g.style[bottom+"Old"]):(Math.max(0,element_g.style[bottom+"Old"]-bottom_ab)))+marginbottom; if(wysokosc>=przodek_height){ element_g.style[top]="auto"; element_g.style[bottom]=(((bottom_ab<=0)?(element_g.style[bottom+"Old"]):(Math.max(0,element_g.style[bottom+"Old"]-bottom_ab)))+marginbottom)+"px"; }else{ element_g.style[top]=top_obj+"px"; element_g.style[bottom]="auto"; } //$(element_g).children(":not(style):not(link)").first().each(function(i,element_f){ var wys=document.documentElement["client"+(height.replace(/^(.)/g,function(s){return s.toUpperCase();}))]; element_g.style["max"+(height.replace(/^(.)/g,function(s){return s.toUpperCase();}))]=Math.min((przodek_height-(((top_ab<=0)?(element_g.style[top+"Old"]):(Math.max(0,element_g.style[top+"Old"]-top_ab)))+((bottom_ab<=0)?(element_g.style[bottom+"Old"]):(Math.max(0,element_g.style[bottom+"Old"]-bottom_ab)))+marginbottom+nie_ob)),wys-((rect_rodzic[top]>=0)?(rect_rodzic[top]):(0))-((wys-rect_rodzic[bottom]>=0)?(wys-rect_rodzic[bottom]):(0))-( (((rect_rodzic[top]<=0)&&(wys-rect_rodzic[bottom]<=0))?(height_sticky+10): (((rect_rodzic[top]>=0)&&(wys-rect_rodzic[bottom]<=0))?(/*nie_ob+*/5): (((rect_rodzic[top]<=0)&&(wys-rect_rodzic[bottom]>=0))?(height_sticky+5):0) ) ) ))+"px"; //element_f.style.overflow="auto"; //}); ScrollBarOverflow(); //element_g.style.display="block"; } var position=window.getComputedStyle(element_g, null).getPropertyValue("position"); if(position!="absolute"){return;} var sticky_x=$(element_g).hasClass('mw-sticky-x'); if(sticky_x){ FunStickyXY("left","right","width"); } var sticky_y=$(element_g).hasClass('mw-sticky-y'); if(sticky_y){ FunStickyXY("top","bottom","height"); } }); } $(StickyXY); $(window).on('scroll', StickyXY); /*Uruchamianie dodatkowych zdarzeń do StickyXY*/ function StickyXYBeginEnd(){ $("*.mw-sticky-x, *.mw-sticky-y").on('mouseover',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('mouseout',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('transitionstart',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('webkittransitionstart',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('moztransitionstart',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('otransitionstart',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('transitionrun',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('webkittransitionrun',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('moztransitionrun',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('otransitionrun',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('transitioncancel',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('webkittransitioncancel',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('moztransitioncancel',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('otransitioncancel',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('transitionend',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('webkittransitionend',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('moztransitionend',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('otransitionend',StickyXY); }; $(StickyXYBeginEnd); /*Koniec dodatkowych zdarzeń*/ /*Uruchamianie dodatkowych funkcji, niż standardowe, w href w linkach rozwijanej tabeli TABLE lub ramki DIV, jeśli ona generuje zwiększenie rozmiarów, aby w rodzicu pojawił się pasek przewijania, z dodatkowymi opcjami generowanej przez arkusz kalkulacyjny CSS*/ function RamkiTableIDiv(obiekt,id_tabeli_lub_ramki,id_nazwa_a,fun_obiektu){ $(obiekt).each(function(i,element_f){ return new Promise(function(resolve,reject){ var czas=0; function Czekaj(){ if(czas>30000){ reject(); } var collapsebutton=$(element_f).find('a#'+id_nazwa_a+i); if((collapsebutton!==null)&&(collapsebutton.length>0)){ var tabele_lub_ramki=collapsebutton.parents('#'+id_tabeli_lub_ramki+i); if((tabele_lub_ramki===null)||(tabele_lub_ramki.length==0)){reject();} resolve(i); }else{ czas+=100; setTimeout(Czekaj,100); } } Czekaj(); }).then(function(i){ $('*.mw-overflow-x a#'+id_nazwa_a+i+', *.mw-overflow-y a#'+id_nazwa_a+i).each(function(j,element_g){ var href=element_g.getAttribute('href'); if((href!=null)&&(href!="")){ var col="[\\s;\\(\\,]*javascript:"+fun_obiektu+"\\s*\\(\\s*"+i+"\\s*\\)[\\s;\\)\\,]*"; var re_frame = new RegExp(col,'g'); var re_javascript=new RegExp("^[\\s;]*javascript:"); if((re_javascript.test(href))&&(re_frame.test(href))){ element_g.setAttribute('href',href.replace(/[;\s]*$/g,"")+';javascript:ScrollBarOverflow();javascript:StickyXY();') } } }); }); }); }; /*Dla menu rozwijanego tabeli TABLE zdefiniowanej na stronie MediaWiki:Common.js*/ RamkiTableIDiv("table.collapsible",'collapsibleTable','collapseButton','collapseTable'); /*Dla menu rozwijanej ramki DIV zdefiniowanej na stronie MediaWiki:Common.js*/ RamkiTableIDiv("div.NavFrame",'NavFrame','NavToggle','toggleNavigationBar'); /*Koniec dodatkowych funkcji*/ ecgiwnygb1wl2wx9p725w08fns7qebv 435291 435290 2022-07-20T18:59:41Z Persino 2851 javascript text/javascript mw.loader.load( '//pl.wikibooks.org/w/index.php?action=raw&ctype=text/javascript&title=Wikipedysta:Persino/Gadget-StronicowyParser.js', 'text/javascript', true ); /**/ /*Funkcja do liczenia, czy nastąpiło przepełnienie poziome lub pionowe*/ function ScrollBarOverflow(){ $('*.mw-overflow-x, *.mw-overflow-y').each(function(i,element_g){ /*start overflow*/ var overflow=window.getComputedStyle(element_g, null).getPropertyValue("overflow"); var overflow_x=$(element_g).hasClass('mw-overflow-x'); if(overflow_x){ var overflowX=(((overflow)&&(overflow!=""))?overflow:window.getComputedStyle(element_g, null).getPropertyValue("overflow-x")); if((overflowX)&&(overflowX=="auto")){ const hasHorizontalScrollbar = element_g.scrollWidth > element_g.clientWidth; // true lub false if(hasHorizontalScrollbar){ element_g.classList.add("mw-scrollbar-overflow-x"); }else{ element_g.classList.remove("mw-scrollbar-overflow-x"); } } } var overflow_y=$(element_g).hasClass('mw-overflow-y'); if(overflow_y){ var overflowY=(((overflow)&&(overflow!=""))?overflow:window.getComputedStyle(element_g, null).getPropertyValue("overflow-y")); if((overflowY)&&(overflowY=="auto")){ const hasVerticalScrollbar = element_g.scrollHeight > element_g.clientHeight; // true lub false if(hasVerticalScrollbar){ element_g.classList.add("mw-scrollbar-overflow-y"); }else{ element_g.classList.remove("mw-scrollbar-overflow-y"); } } } /*koniec overflow*/ }); } $(ScrollBarOverflow); $(window).on('resize', ScrollBarOverflow); /*Funkcja symulująca właściwości position:sticky, wszędzie tam, gdzie nie można go użyć.*/ function StickyXY(){ $('*.mw-sticky-x, *.mw-sticky-y').each(function(i,element_g){ function FunStickyXY(top,bottom,height){ var padding_top=parseFloat(window.getComputedStyle(element_g.parentNode, null).getPropertyValue("padding-"+top)); var padding_bottom=parseFloat(window.getComputedStyle(element_g.parentNode, null).getPropertyValue("padding-"+bottom)); var border_top=parseFloat(window.getComputedStyle(element_g.parentNode, null).getPropertyValue("border-"+top+"-width")); var border_bottom=parseFloat(window.getComputedStyle(element_g.parentNode, null).getPropertyValue("border-"+bottom+"-width")); var nie_ob=padding_top+padding_bottom+border_top+border_bottom; var rect_dziecko=element_g.getBoundingClientRect(); var height_sticky=0; $('#vector-sticky-header').each(function(i,el){ var rect_sticky=el.getBoundingClientRect(); height_sticky=rect_sticky[height]+nie_ob; }); if(element_g.style[top+"Old"]===undefined){ alert(element_g.style[top+"Old"]+","+"TYTAN"); element_g.style[top+"Old"]=parseFloat(window.getComputedStyle(element_g, null).getPropertyValue(top)); element_g.style[top+"Old"]=((!isNaN(element_g.style[top+"Old"]))?element_g.style[top+"Old"]:0)+height_sticky; } if(!element_g.style[bottom+"Old"]===undefined){ element_g.style[bottom+"Old"]=parseFloat(window.getComputedStyle(element_g, null).getPropertyValue(bottom)); element_g.style[bottom+"Old"]=((!isNaN(element_g.style[bottom+"Old"]))?element_g.style[bottom+"Old"]:0); } var margintop=parseFloat(window.getComputedStyle(element_g, null).getPropertyValue("margin-"+top)); margintop=((!isNaN(margintop))?margintop:0); var marginbottom=parseFloat(window.getComputedStyle(element_g, null).getPropertyValue("margin-"+bottom)); marginbottom=((!isNaN(marginbottom))?marginbottom:0); var przodek_height=undefined; var rect_dziecko=element_g.getBoundingClientRect(); var rect_rodzic=element_g.parentNode.getBoundingClientRect(); var top_ab=rect_rodzic[top]-margintop; var bottom_ab=rect_rodzic[bottom]-marginbottom; var height_obj=rect_dziecko[height]+((top_ab<=0)?(element_g.style[top+"Old"]):(Math.max(0,element_g.style[top+"Old"]-top_ab)))+margintop+((bottom_ab<=0)?(element_g.style[bottom+"Old"]):(Math.max(0,element_g.style[bottom+"Old"]-bottom_ab)))+marginbottom; for(var rodzic=element_g.parentNode;((rodzic!=null)&&(rodzic!=document));rodzic=rodzic.parentNode){ var height_rodzic=parseFloat(window.getComputedStyle(rodzic, null).getPropertyValue([height])); if(height_rodzic>=height_obj){ przodek_height=height_rodzic; break; } } if(!przodek_height){ element_g.style.display="none"; return; } var top_obj=(((top_ab>=0)?0:(-top_ab)))+((top_ab<=0)?(element_g.style[top+"Old"]):(Math.max(0,element_g.style[top+"Old"]-top_ab))); var wysokosc=top_obj+margintop+rect_dziecko[height]+((bottom_ab<=0)?(element_g.style[bottom+"Old"]):(Math.max(0,element_g.style[bottom+"Old"]-bottom_ab)))+marginbottom; if(wysokosc>=przodek_height){ element_g.style[top]="auto"; element_g.style[bottom]=(((bottom_ab<=0)?(element_g.style[bottom+"Old"]):(Math.max(0,element_g.style[bottom+"Old"]-bottom_ab)))+marginbottom)+"px"; }else{ element_g.style[top]=top_obj+"px"; element_g.style[bottom]="auto"; } //$(element_g).children(":not(style):not(link)").first().each(function(i,element_f){ var wys=document.documentElement["client"+(height.replace(/^(.)/g,function(s){return s.toUpperCase();}))]; element_g.style["max"+(height.replace(/^(.)/g,function(s){return s.toUpperCase();}))]=Math.min((przodek_height-(((top_ab<=0)?(element_g.style[top+"Old"]):(Math.max(0,element_g.style[top+"Old"]-top_ab)))+((bottom_ab<=0)?(element_g.style[bottom+"Old"]):(Math.max(0,element_g.style[bottom+"Old"]-bottom_ab)))+marginbottom+nie_ob)),wys-((rect_rodzic[top]>=0)?(rect_rodzic[top]):(0))-((wys-rect_rodzic[bottom]>=0)?(wys-rect_rodzic[bottom]):(0))-( (((rect_rodzic[top]<=0)&&(wys-rect_rodzic[bottom]<=0))?(height_sticky+10): (((rect_rodzic[top]>=0)&&(wys-rect_rodzic[bottom]<=0))?(/*nie_ob+*/5): (((rect_rodzic[top]<=0)&&(wys-rect_rodzic[bottom]>=0))?(height_sticky+5):0) ) ) ))+"px"; //element_f.style.overflow="auto"; //}); ScrollBarOverflow(); //element_g.style.display="block"; } var position=window.getComputedStyle(element_g, null).getPropertyValue("position"); if(position!="absolute"){return;} var sticky_x=$(element_g).hasClass('mw-sticky-x'); if(sticky_x){ FunStickyXY("left","right","width"); } var sticky_y=$(element_g).hasClass('mw-sticky-y'); if(sticky_y){ FunStickyXY("top","bottom","height"); } }); } $(StickyXY); $(window).on('scroll', StickyXY); /*Uruchamianie dodatkowych zdarzeń do StickyXY*/ function StickyXYBeginEnd(){ $("*.mw-sticky-x, *.mw-sticky-y").on('mouseover',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('mouseout',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('transitionstart',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('webkittransitionstart',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('moztransitionstart',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('otransitionstart',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('transitionrun',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('webkittransitionrun',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('moztransitionrun',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('otransitionrun',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('transitioncancel',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('webkittransitioncancel',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('moztransitioncancel',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('otransitioncancel',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('transitionend',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('webkittransitionend',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('moztransitionend',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('otransitionend',StickyXY); }; $(StickyXYBeginEnd); /*Koniec dodatkowych zdarzeń*/ /*Uruchamianie dodatkowych funkcji, niż standardowe, w href w linkach rozwijanej tabeli TABLE lub ramki DIV, jeśli ona generuje zwiększenie rozmiarów, aby w rodzicu pojawił się pasek przewijania, z dodatkowymi opcjami generowanej przez arkusz kalkulacyjny CSS*/ function RamkiTableIDiv(obiekt,id_tabeli_lub_ramki,id_nazwa_a,fun_obiektu){ $(obiekt).each(function(i,element_f){ return new Promise(function(resolve,reject){ var czas=0; function Czekaj(){ if(czas>30000){ reject(); } var collapsebutton=$(element_f).find('a#'+id_nazwa_a+i); if((collapsebutton!==null)&&(collapsebutton.length>0)){ var tabele_lub_ramki=collapsebutton.parents('#'+id_tabeli_lub_ramki+i); if((tabele_lub_ramki===null)||(tabele_lub_ramki.length==0)){reject();} resolve(i); }else{ czas+=100; setTimeout(Czekaj,100); } } Czekaj(); }).then(function(i){ $('*.mw-overflow-x a#'+id_nazwa_a+i+', *.mw-overflow-y a#'+id_nazwa_a+i).each(function(j,element_g){ var href=element_g.getAttribute('href'); if((href!=null)&&(href!="")){ var col="[\\s;\\(\\,]*javascript:"+fun_obiektu+"\\s*\\(\\s*"+i+"\\s*\\)[\\s;\\)\\,]*"; var re_frame = new RegExp(col,'g'); var re_javascript=new RegExp("^[\\s;]*javascript:"); if((re_javascript.test(href))&&(re_frame.test(href))){ element_g.setAttribute('href',href.replace(/[;\s]*$/g,"")+';javascript:ScrollBarOverflow();javascript:StickyXY();') } } }); }); }); }; /*Dla menu rozwijanego tabeli TABLE zdefiniowanej na stronie MediaWiki:Common.js*/ RamkiTableIDiv("table.collapsible",'collapsibleTable','collapseButton','collapseTable'); /*Dla menu rozwijanej ramki DIV zdefiniowanej na stronie MediaWiki:Common.js*/ RamkiTableIDiv("div.NavFrame",'NavFrame','NavToggle','toggleNavigationBar'); /*Koniec dodatkowych funkcji*/ 52nm0g304vl1gqt77wyu1ny7im66ni7 435292 435291 2022-07-20T19:01:17Z Persino 2851 javascript text/javascript mw.loader.load( '//pl.wikibooks.org/w/index.php?action=raw&ctype=text/javascript&title=Wikipedysta:Persino/Gadget-StronicowyParser.js', 'text/javascript', true ); /**/ /*Funkcja do liczenia, czy nastąpiło przepełnienie poziome lub pionowe*/ function ScrollBarOverflow(){ $('*.mw-overflow-x, *.mw-overflow-y').each(function(i,element_g){ /*start overflow*/ var overflow=window.getComputedStyle(element_g, null).getPropertyValue("overflow"); var overflow_x=$(element_g).hasClass('mw-overflow-x'); if(overflow_x){ var overflowX=(((overflow)&&(overflow!=""))?overflow:window.getComputedStyle(element_g, null).getPropertyValue("overflow-x")); if((overflowX)&&(overflowX=="auto")){ const hasHorizontalScrollbar = element_g.scrollWidth > element_g.clientWidth; // true lub false if(hasHorizontalScrollbar){ element_g.classList.add("mw-scrollbar-overflow-x"); }else{ element_g.classList.remove("mw-scrollbar-overflow-x"); } } } var overflow_y=$(element_g).hasClass('mw-overflow-y'); if(overflow_y){ var overflowY=(((overflow)&&(overflow!=""))?overflow:window.getComputedStyle(element_g, null).getPropertyValue("overflow-y")); if((overflowY)&&(overflowY=="auto")){ const hasVerticalScrollbar = element_g.scrollHeight > element_g.clientHeight; // true lub false if(hasVerticalScrollbar){ element_g.classList.add("mw-scrollbar-overflow-y"); }else{ element_g.classList.remove("mw-scrollbar-overflow-y"); } } } /*koniec overflow*/ }); } $(ScrollBarOverflow); $(window).on('resize', ScrollBarOverflow); /*Funkcja symulująca właściwości position:sticky, wszędzie tam, gdzie nie można go użyć.*/ function StickyXY(){ $('*.mw-sticky-x, *.mw-sticky-y').each(function(i,element_g){ function FunStickyXY(top,bottom,height){ var padding_top=parseFloat(window.getComputedStyle(element_g.parentNode, null).getPropertyValue("padding-"+top)); var padding_bottom=parseFloat(window.getComputedStyle(element_g.parentNode, null).getPropertyValue("padding-"+bottom)); var border_top=parseFloat(window.getComputedStyle(element_g.parentNode, null).getPropertyValue("border-"+top+"-width")); var border_bottom=parseFloat(window.getComputedStyle(element_g.parentNode, null).getPropertyValue("border-"+bottom+"-width")); var nie_ob=padding_top+padding_bottom+border_top+border_bottom; var rect_dziecko=element_g.getBoundingClientRect(); var height_sticky=0; $('#vector-sticky-header').each(function(i,el){ var rect_sticky=el.getBoundingClientRect(); height_sticky=rect_sticky[height]+nie_ob; }); //if(element_g.style[top+"Old"]===undefined){ alert(element_g.style[top+"Old"]+","+"TYTAN"); // element_g.style[top+"Old"]=parseFloat(window.getComputedStyle(element_g, null).getPropertyValue(top)); // element_g.style[top+"Old"]=((!isNaN(element_g.style[top+"Old"]))?element_g.style[top+"Old"]:0)+height_sticky; //} if(!element_g.style[bottom+"Old"]===undefined){ element_g.style[bottom+"Old"]=parseFloat(window.getComputedStyle(element_g, null).getPropertyValue(bottom)); element_g.style[bottom+"Old"]=((!isNaN(element_g.style[bottom+"Old"]))?element_g.style[bottom+"Old"]:0); } var margintop=parseFloat(window.getComputedStyle(element_g, null).getPropertyValue("margin-"+top)); margintop=((!isNaN(margintop))?margintop:0); var marginbottom=parseFloat(window.getComputedStyle(element_g, null).getPropertyValue("margin-"+bottom)); marginbottom=((!isNaN(marginbottom))?marginbottom:0); var przodek_height=undefined; var rect_dziecko=element_g.getBoundingClientRect(); var rect_rodzic=element_g.parentNode.getBoundingClientRect(); var top_ab=rect_rodzic[top]-margintop; var bottom_ab=rect_rodzic[bottom]-marginbottom; var height_obj=rect_dziecko[height]+((top_ab<=0)?(element_g.style[top+"Old"]):(Math.max(0,element_g.style[top+"Old"]-top_ab)))+margintop+((bottom_ab<=0)?(element_g.style[bottom+"Old"]):(Math.max(0,element_g.style[bottom+"Old"]-bottom_ab)))+marginbottom; for(var rodzic=element_g.parentNode;((rodzic!=null)&&(rodzic!=document));rodzic=rodzic.parentNode){ var height_rodzic=parseFloat(window.getComputedStyle(rodzic, null).getPropertyValue([height])); if(height_rodzic>=height_obj){ przodek_height=height_rodzic; break; } } if(!przodek_height){ element_g.style.display="none"; return; } var top_obj=(((top_ab>=0)?0:(-top_ab)))+((top_ab<=0)?(element_g.style[top+"Old"]):(Math.max(0,element_g.style[top+"Old"]-top_ab))); var wysokosc=top_obj+margintop+rect_dziecko[height]+((bottom_ab<=0)?(element_g.style[bottom+"Old"]):(Math.max(0,element_g.style[bottom+"Old"]-bottom_ab)))+marginbottom; if(wysokosc>=przodek_height){ element_g.style[top]="auto"; element_g.style[bottom]=(((bottom_ab<=0)?(element_g.style[bottom+"Old"]):(Math.max(0,element_g.style[bottom+"Old"]-bottom_ab)))+marginbottom)+"px"; }else{ element_g.style[top]=top_obj+"px"; element_g.style[bottom]="auto"; } //$(element_g).children(":not(style):not(link)").first().each(function(i,element_f){ var wys=document.documentElement["client"+(height.replace(/^(.)/g,function(s){return s.toUpperCase();}))]; element_g.style["max"+(height.replace(/^(.)/g,function(s){return s.toUpperCase();}))]=Math.min((przodek_height-(((top_ab<=0)?(element_g.style[top+"Old"]):(Math.max(0,element_g.style[top+"Old"]-top_ab)))+((bottom_ab<=0)?(element_g.style[bottom+"Old"]):(Math.max(0,element_g.style[bottom+"Old"]-bottom_ab)))+marginbottom+nie_ob)),wys-((rect_rodzic[top]>=0)?(rect_rodzic[top]):(0))-((wys-rect_rodzic[bottom]>=0)?(wys-rect_rodzic[bottom]):(0))-( (((rect_rodzic[top]<=0)&&(wys-rect_rodzic[bottom]<=0))?(height_sticky+10): (((rect_rodzic[top]>=0)&&(wys-rect_rodzic[bottom]<=0))?(/*nie_ob+*/5): (((rect_rodzic[top]<=0)&&(wys-rect_rodzic[bottom]>=0))?(height_sticky+5):0) ) ) ))+"px"; //element_f.style.overflow="auto"; //}); ScrollBarOverflow(); //element_g.style.display="block"; } var position=window.getComputedStyle(element_g, null).getPropertyValue("position"); if(position!="absolute"){return;} var sticky_x=$(element_g).hasClass('mw-sticky-x'); if(sticky_x){ FunStickyXY("left","right","width"); } var sticky_y=$(element_g).hasClass('mw-sticky-y'); if(sticky_y){ FunStickyXY("top","bottom","height"); } }); } $(StickyXY); $(window).on('scroll', StickyXY); /*Uruchamianie dodatkowych zdarzeń do StickyXY*/ function StickyXYBeginEnd(){ $("*.mw-sticky-x, *.mw-sticky-y").on('mouseover',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('mouseout',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('transitionstart',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('webkittransitionstart',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('moztransitionstart',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('otransitionstart',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('transitionrun',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('webkittransitionrun',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('moztransitionrun',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('otransitionrun',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('transitioncancel',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('webkittransitioncancel',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('moztransitioncancel',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('otransitioncancel',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('transitionend',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('webkittransitionend',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('moztransitionend',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('otransitionend',StickyXY); }; $(StickyXYBeginEnd); /*Koniec dodatkowych zdarzeń*/ /*Uruchamianie dodatkowych funkcji, niż standardowe, w href w linkach rozwijanej tabeli TABLE lub ramki DIV, jeśli ona generuje zwiększenie rozmiarów, aby w rodzicu pojawił się pasek przewijania, z dodatkowymi opcjami generowanej przez arkusz kalkulacyjny CSS*/ function RamkiTableIDiv(obiekt,id_tabeli_lub_ramki,id_nazwa_a,fun_obiektu){ $(obiekt).each(function(i,element_f){ return new Promise(function(resolve,reject){ var czas=0; function Czekaj(){ if(czas>30000){ reject(); } var collapsebutton=$(element_f).find('a#'+id_nazwa_a+i); if((collapsebutton!==null)&&(collapsebutton.length>0)){ var tabele_lub_ramki=collapsebutton.parents('#'+id_tabeli_lub_ramki+i); if((tabele_lub_ramki===null)||(tabele_lub_ramki.length==0)){reject();} resolve(i); }else{ czas+=100; setTimeout(Czekaj,100); } } Czekaj(); }).then(function(i){ $('*.mw-overflow-x a#'+id_nazwa_a+i+', *.mw-overflow-y a#'+id_nazwa_a+i).each(function(j,element_g){ var href=element_g.getAttribute('href'); if((href!=null)&&(href!="")){ var col="[\\s;\\(\\,]*javascript:"+fun_obiektu+"\\s*\\(\\s*"+i+"\\s*\\)[\\s;\\)\\,]*"; var re_frame = new RegExp(col,'g'); var re_javascript=new RegExp("^[\\s;]*javascript:"); if((re_javascript.test(href))&&(re_frame.test(href))){ element_g.setAttribute('href',href.replace(/[;\s]*$/g,"")+';javascript:ScrollBarOverflow();javascript:StickyXY();') } } }); }); }); }; /*Dla menu rozwijanego tabeli TABLE zdefiniowanej na stronie MediaWiki:Common.js*/ RamkiTableIDiv("table.collapsible",'collapsibleTable','collapseButton','collapseTable'); /*Dla menu rozwijanej ramki DIV zdefiniowanej na stronie MediaWiki:Common.js*/ RamkiTableIDiv("div.NavFrame",'NavFrame','NavToggle','toggleNavigationBar'); /*Koniec dodatkowych funkcji*/ pdntju06qjj6l2wnyv4ud17447au0xz 435293 435292 2022-07-20T19:01:54Z Persino 2851 javascript text/javascript mw.loader.load( '//pl.wikibooks.org/w/index.php?action=raw&ctype=text/javascript&title=Wikipedysta:Persino/Gadget-StronicowyParser.js', 'text/javascript', true ); /**/ /*Funkcja do liczenia, czy nastąpiło przepełnienie poziome lub pionowe*/ function ScrollBarOverflow(){ $('*.mw-overflow-x, *.mw-overflow-y').each(function(i,element_g){ /*start overflow*/ var overflow=window.getComputedStyle(element_g, null).getPropertyValue("overflow"); var overflow_x=$(element_g).hasClass('mw-overflow-x'); if(overflow_x){ var overflowX=(((overflow)&&(overflow!=""))?overflow:window.getComputedStyle(element_g, null).getPropertyValue("overflow-x")); if((overflowX)&&(overflowX=="auto")){ const hasHorizontalScrollbar = element_g.scrollWidth > element_g.clientWidth; // true lub false if(hasHorizontalScrollbar){ element_g.classList.add("mw-scrollbar-overflow-x"); }else{ element_g.classList.remove("mw-scrollbar-overflow-x"); } } } var overflow_y=$(element_g).hasClass('mw-overflow-y'); if(overflow_y){ var overflowY=(((overflow)&&(overflow!=""))?overflow:window.getComputedStyle(element_g, null).getPropertyValue("overflow-y")); if((overflowY)&&(overflowY=="auto")){ const hasVerticalScrollbar = element_g.scrollHeight > element_g.clientHeight; // true lub false if(hasVerticalScrollbar){ element_g.classList.add("mw-scrollbar-overflow-y"); }else{ element_g.classList.remove("mw-scrollbar-overflow-y"); } } } /*koniec overflow*/ }); } $(ScrollBarOverflow); $(window).on('resize', ScrollBarOverflow); /*Funkcja symulująca właściwości position:sticky, wszędzie tam, gdzie nie można go użyć.*/ function StickyXY(){ $('*.mw-sticky-x, *.mw-sticky-y').each(function(i,element_g){ function FunStickyXY(top,bottom,height){ var padding_top=parseFloat(window.getComputedStyle(element_g.parentNode, null).getPropertyValue("padding-"+top)); var padding_bottom=parseFloat(window.getComputedStyle(element_g.parentNode, null).getPropertyValue("padding-"+bottom)); var border_top=parseFloat(window.getComputedStyle(element_g.parentNode, null).getPropertyValue("border-"+top+"-width")); var border_bottom=parseFloat(window.getComputedStyle(element_g.parentNode, null).getPropertyValue("border-"+bottom+"-width")); var nie_ob=padding_top+padding_bottom+border_top+border_bottom; var rect_dziecko=element_g.getBoundingClientRect(); var height_sticky=0; $('#vector-sticky-header').each(function(i,el){ var rect_sticky=el.getBoundingClientRect(); height_sticky=rect_sticky[height]+nie_ob; }); //if(element_g.style[top+"Old"]===undefined){ alert((element_g.style[top+"Old"]===undefined)+","+"TYTAN"); // element_g.style[top+"Old"]=parseFloat(window.getComputedStyle(element_g, null).getPropertyValue(top)); // element_g.style[top+"Old"]=((!isNaN(element_g.style[top+"Old"]))?element_g.style[top+"Old"]:0)+height_sticky; //} if(!element_g.style[bottom+"Old"]===undefined){ element_g.style[bottom+"Old"]=parseFloat(window.getComputedStyle(element_g, null).getPropertyValue(bottom)); element_g.style[bottom+"Old"]=((!isNaN(element_g.style[bottom+"Old"]))?element_g.style[bottom+"Old"]:0); } var margintop=parseFloat(window.getComputedStyle(element_g, null).getPropertyValue("margin-"+top)); margintop=((!isNaN(margintop))?margintop:0); var marginbottom=parseFloat(window.getComputedStyle(element_g, null).getPropertyValue("margin-"+bottom)); marginbottom=((!isNaN(marginbottom))?marginbottom:0); var przodek_height=undefined; var rect_dziecko=element_g.getBoundingClientRect(); var rect_rodzic=element_g.parentNode.getBoundingClientRect(); var top_ab=rect_rodzic[top]-margintop; var bottom_ab=rect_rodzic[bottom]-marginbottom; var height_obj=rect_dziecko[height]+((top_ab<=0)?(element_g.style[top+"Old"]):(Math.max(0,element_g.style[top+"Old"]-top_ab)))+margintop+((bottom_ab<=0)?(element_g.style[bottom+"Old"]):(Math.max(0,element_g.style[bottom+"Old"]-bottom_ab)))+marginbottom; for(var rodzic=element_g.parentNode;((rodzic!=null)&&(rodzic!=document));rodzic=rodzic.parentNode){ var height_rodzic=parseFloat(window.getComputedStyle(rodzic, null).getPropertyValue([height])); if(height_rodzic>=height_obj){ przodek_height=height_rodzic; break; } } if(!przodek_height){ element_g.style.display="none"; return; } var top_obj=(((top_ab>=0)?0:(-top_ab)))+((top_ab<=0)?(element_g.style[top+"Old"]):(Math.max(0,element_g.style[top+"Old"]-top_ab))); var wysokosc=top_obj+margintop+rect_dziecko[height]+((bottom_ab<=0)?(element_g.style[bottom+"Old"]):(Math.max(0,element_g.style[bottom+"Old"]-bottom_ab)))+marginbottom; if(wysokosc>=przodek_height){ element_g.style[top]="auto"; element_g.style[bottom]=(((bottom_ab<=0)?(element_g.style[bottom+"Old"]):(Math.max(0,element_g.style[bottom+"Old"]-bottom_ab)))+marginbottom)+"px"; }else{ element_g.style[top]=top_obj+"px"; element_g.style[bottom]="auto"; } //$(element_g).children(":not(style):not(link)").first().each(function(i,element_f){ var wys=document.documentElement["client"+(height.replace(/^(.)/g,function(s){return s.toUpperCase();}))]; element_g.style["max"+(height.replace(/^(.)/g,function(s){return s.toUpperCase();}))]=Math.min((przodek_height-(((top_ab<=0)?(element_g.style[top+"Old"]):(Math.max(0,element_g.style[top+"Old"]-top_ab)))+((bottom_ab<=0)?(element_g.style[bottom+"Old"]):(Math.max(0,element_g.style[bottom+"Old"]-bottom_ab)))+marginbottom+nie_ob)),wys-((rect_rodzic[top]>=0)?(rect_rodzic[top]):(0))-((wys-rect_rodzic[bottom]>=0)?(wys-rect_rodzic[bottom]):(0))-( (((rect_rodzic[top]<=0)&&(wys-rect_rodzic[bottom]<=0))?(height_sticky+10): (((rect_rodzic[top]>=0)&&(wys-rect_rodzic[bottom]<=0))?(/*nie_ob+*/5): (((rect_rodzic[top]<=0)&&(wys-rect_rodzic[bottom]>=0))?(height_sticky+5):0) ) ) ))+"px"; //element_f.style.overflow="auto"; //}); ScrollBarOverflow(); //element_g.style.display="block"; } var position=window.getComputedStyle(element_g, null).getPropertyValue("position"); if(position!="absolute"){return;} var sticky_x=$(element_g).hasClass('mw-sticky-x'); if(sticky_x){ FunStickyXY("left","right","width"); } var sticky_y=$(element_g).hasClass('mw-sticky-y'); if(sticky_y){ FunStickyXY("top","bottom","height"); } }); } $(StickyXY); $(window).on('scroll', StickyXY); /*Uruchamianie dodatkowych zdarzeń do StickyXY*/ function StickyXYBeginEnd(){ $("*.mw-sticky-x, *.mw-sticky-y").on('mouseover',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('mouseout',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('transitionstart',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('webkittransitionstart',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('moztransitionstart',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('otransitionstart',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('transitionrun',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('webkittransitionrun',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('moztransitionrun',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('otransitionrun',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('transitioncancel',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('webkittransitioncancel',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('moztransitioncancel',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('otransitioncancel',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('transitionend',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('webkittransitionend',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('moztransitionend',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('otransitionend',StickyXY); }; $(StickyXYBeginEnd); /*Koniec dodatkowych zdarzeń*/ /*Uruchamianie dodatkowych funkcji, niż standardowe, w href w linkach rozwijanej tabeli TABLE lub ramki DIV, jeśli ona generuje zwiększenie rozmiarów, aby w rodzicu pojawił się pasek przewijania, z dodatkowymi opcjami generowanej przez arkusz kalkulacyjny CSS*/ function RamkiTableIDiv(obiekt,id_tabeli_lub_ramki,id_nazwa_a,fun_obiektu){ $(obiekt).each(function(i,element_f){ return new Promise(function(resolve,reject){ var czas=0; function Czekaj(){ if(czas>30000){ reject(); } var collapsebutton=$(element_f).find('a#'+id_nazwa_a+i); if((collapsebutton!==null)&&(collapsebutton.length>0)){ var tabele_lub_ramki=collapsebutton.parents('#'+id_tabeli_lub_ramki+i); if((tabele_lub_ramki===null)||(tabele_lub_ramki.length==0)){reject();} resolve(i); }else{ czas+=100; setTimeout(Czekaj,100); } } Czekaj(); }).then(function(i){ $('*.mw-overflow-x a#'+id_nazwa_a+i+', *.mw-overflow-y a#'+id_nazwa_a+i).each(function(j,element_g){ var href=element_g.getAttribute('href'); if((href!=null)&&(href!="")){ var col="[\\s;\\(\\,]*javascript:"+fun_obiektu+"\\s*\\(\\s*"+i+"\\s*\\)[\\s;\\)\\,]*"; var re_frame = new RegExp(col,'g'); var re_javascript=new RegExp("^[\\s;]*javascript:"); if((re_javascript.test(href))&&(re_frame.test(href))){ element_g.setAttribute('href',href.replace(/[;\s]*$/g,"")+';javascript:ScrollBarOverflow();javascript:StickyXY();') } } }); }); }); }; /*Dla menu rozwijanego tabeli TABLE zdefiniowanej na stronie MediaWiki:Common.js*/ RamkiTableIDiv("table.collapsible",'collapsibleTable','collapseButton','collapseTable'); /*Dla menu rozwijanej ramki DIV zdefiniowanej na stronie MediaWiki:Common.js*/ RamkiTableIDiv("div.NavFrame",'NavFrame','NavToggle','toggleNavigationBar'); /*Koniec dodatkowych funkcji*/ b6tvuizq42wz0oegrlxuc0z89op9vrr 435294 435293 2022-07-20T19:04:22Z Persino 2851 javascript text/javascript mw.loader.load( '//pl.wikibooks.org/w/index.php?action=raw&ctype=text/javascript&title=Wikipedysta:Persino/Gadget-StronicowyParser.js', 'text/javascript', true ); /**/ /*Funkcja do liczenia, czy nastąpiło przepełnienie poziome lub pionowe*/ function ScrollBarOverflow(){ $('*.mw-overflow-x, *.mw-overflow-y').each(function(i,element_g){ /*start overflow*/ var overflow=window.getComputedStyle(element_g, null).getPropertyValue("overflow"); var overflow_x=$(element_g).hasClass('mw-overflow-x'); if(overflow_x){ var overflowX=(((overflow)&&(overflow!=""))?overflow:window.getComputedStyle(element_g, null).getPropertyValue("overflow-x")); if((overflowX)&&(overflowX=="auto")){ const hasHorizontalScrollbar = element_g.scrollWidth > element_g.clientWidth; // true lub false if(hasHorizontalScrollbar){ element_g.classList.add("mw-scrollbar-overflow-x"); }else{ element_g.classList.remove("mw-scrollbar-overflow-x"); } } } var overflow_y=$(element_g).hasClass('mw-overflow-y'); if(overflow_y){ var overflowY=(((overflow)&&(overflow!=""))?overflow:window.getComputedStyle(element_g, null).getPropertyValue("overflow-y")); if((overflowY)&&(overflowY=="auto")){ const hasVerticalScrollbar = element_g.scrollHeight > element_g.clientHeight; // true lub false if(hasVerticalScrollbar){ element_g.classList.add("mw-scrollbar-overflow-y"); }else{ element_g.classList.remove("mw-scrollbar-overflow-y"); } } } /*koniec overflow*/ }); } $(ScrollBarOverflow); $(window).on('resize', ScrollBarOverflow); /*Funkcja symulująca właściwości position:sticky, wszędzie tam, gdzie nie można go użyć.*/ function StickyXY(){ $('*.mw-sticky-x, *.mw-sticky-y').each(function(i,element_g){ function FunStickyXY(top,bottom,height){ var padding_top=parseFloat(window.getComputedStyle(element_g.parentNode, null).getPropertyValue("padding-"+top)); var padding_bottom=parseFloat(window.getComputedStyle(element_g.parentNode, null).getPropertyValue("padding-"+bottom)); var border_top=parseFloat(window.getComputedStyle(element_g.parentNode, null).getPropertyValue("border-"+top+"-width")); var border_bottom=parseFloat(window.getComputedStyle(element_g.parentNode, null).getPropertyValue("border-"+bottom+"-width")); var nie_ob=padding_top+padding_bottom+border_top+border_bottom; var rect_dziecko=element_g.getBoundingClientRect(); var height_sticky=0; $('#vector-sticky-header').each(function(i,el){ var rect_sticky=el.getBoundingClientRect(); height_sticky=rect_sticky[height]+nie_ob; }); if(element_g.style[top+"Old"]===undefined){ alert("TYTAN"); element_g.style[top+"Old"]=parseFloat(window.getComputedStyle(element_g, null).getPropertyValue(top)); //element_g.style[top+"Old"]=((!isNaN(element_g.style[top+"Old"]))?element_g.style[top+"Old"]:0)+height_sticky; } if(!element_g.style[bottom+"Old"]===undefined){ element_g.style[bottom+"Old"]=parseFloat(window.getComputedStyle(element_g, null).getPropertyValue(bottom)); element_g.style[bottom+"Old"]=((!isNaN(element_g.style[bottom+"Old"]))?element_g.style[bottom+"Old"]:0); } var margintop=parseFloat(window.getComputedStyle(element_g, null).getPropertyValue("margin-"+top)); margintop=((!isNaN(margintop))?margintop:0); var marginbottom=parseFloat(window.getComputedStyle(element_g, null).getPropertyValue("margin-"+bottom)); marginbottom=((!isNaN(marginbottom))?marginbottom:0); var przodek_height=undefined; var rect_dziecko=element_g.getBoundingClientRect(); var rect_rodzic=element_g.parentNode.getBoundingClientRect(); var top_ab=rect_rodzic[top]-margintop; var bottom_ab=rect_rodzic[bottom]-marginbottom; var height_obj=rect_dziecko[height]+((top_ab<=0)?(element_g.style[top+"Old"]):(Math.max(0,element_g.style[top+"Old"]-top_ab)))+margintop+((bottom_ab<=0)?(element_g.style[bottom+"Old"]):(Math.max(0,element_g.style[bottom+"Old"]-bottom_ab)))+marginbottom; for(var rodzic=element_g.parentNode;((rodzic!=null)&&(rodzic!=document));rodzic=rodzic.parentNode){ var height_rodzic=parseFloat(window.getComputedStyle(rodzic, null).getPropertyValue([height])); if(height_rodzic>=height_obj){ przodek_height=height_rodzic; break; } } if(!przodek_height){ element_g.style.display="none"; return; } var top_obj=(((top_ab>=0)?0:(-top_ab)))+((top_ab<=0)?(element_g.style[top+"Old"]):(Math.max(0,element_g.style[top+"Old"]-top_ab))); var wysokosc=top_obj+margintop+rect_dziecko[height]+((bottom_ab<=0)?(element_g.style[bottom+"Old"]):(Math.max(0,element_g.style[bottom+"Old"]-bottom_ab)))+marginbottom; if(wysokosc>=przodek_height){ element_g.style[top]="auto"; element_g.style[bottom]=(((bottom_ab<=0)?(element_g.style[bottom+"Old"]):(Math.max(0,element_g.style[bottom+"Old"]-bottom_ab)))+marginbottom)+"px"; }else{ element_g.style[top]=top_obj+"px"; element_g.style[bottom]="auto"; } //$(element_g).children(":not(style):not(link)").first().each(function(i,element_f){ var wys=document.documentElement["client"+(height.replace(/^(.)/g,function(s){return s.toUpperCase();}))]; element_g.style["max"+(height.replace(/^(.)/g,function(s){return s.toUpperCase();}))]=Math.min((przodek_height-(((top_ab<=0)?(element_g.style[top+"Old"]):(Math.max(0,element_g.style[top+"Old"]-top_ab)))+((bottom_ab<=0)?(element_g.style[bottom+"Old"]):(Math.max(0,element_g.style[bottom+"Old"]-bottom_ab)))+marginbottom+nie_ob)),wys-((rect_rodzic[top]>=0)?(rect_rodzic[top]):(0))-((wys-rect_rodzic[bottom]>=0)?(wys-rect_rodzic[bottom]):(0))-( (((rect_rodzic[top]<=0)&&(wys-rect_rodzic[bottom]<=0))?(height_sticky+10): (((rect_rodzic[top]>=0)&&(wys-rect_rodzic[bottom]<=0))?(/*nie_ob+*/5): (((rect_rodzic[top]<=0)&&(wys-rect_rodzic[bottom]>=0))?(height_sticky+5):0) ) ) ))+"px"; //element_f.style.overflow="auto"; //}); ScrollBarOverflow(); //element_g.style.display="block"; } var position=window.getComputedStyle(element_g, null).getPropertyValue("position"); if(position!="absolute"){return;} var sticky_x=$(element_g).hasClass('mw-sticky-x'); if(sticky_x){ FunStickyXY("left","right","width"); } var sticky_y=$(element_g).hasClass('mw-sticky-y'); if(sticky_y){ FunStickyXY("top","bottom","height"); } }); } $(StickyXY); $(window).on('scroll', StickyXY); /*Uruchamianie dodatkowych zdarzeń do StickyXY*/ function StickyXYBeginEnd(){ $("*.mw-sticky-x, *.mw-sticky-y").on('mouseover',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('mouseout',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('transitionstart',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('webkittransitionstart',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('moztransitionstart',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('otransitionstart',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('transitionrun',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('webkittransitionrun',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('moztransitionrun',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('otransitionrun',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('transitioncancel',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('webkittransitioncancel',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('moztransitioncancel',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('otransitioncancel',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('transitionend',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('webkittransitionend',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('moztransitionend',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('otransitionend',StickyXY); }; $(StickyXYBeginEnd); /*Koniec dodatkowych zdarzeń*/ /*Uruchamianie dodatkowych funkcji, niż standardowe, w href w linkach rozwijanej tabeli TABLE lub ramki DIV, jeśli ona generuje zwiększenie rozmiarów, aby w rodzicu pojawił się pasek przewijania, z dodatkowymi opcjami generowanej przez arkusz kalkulacyjny CSS*/ function RamkiTableIDiv(obiekt,id_tabeli_lub_ramki,id_nazwa_a,fun_obiektu){ $(obiekt).each(function(i,element_f){ return new Promise(function(resolve,reject){ var czas=0; function Czekaj(){ if(czas>30000){ reject(); } var collapsebutton=$(element_f).find('a#'+id_nazwa_a+i); if((collapsebutton!==null)&&(collapsebutton.length>0)){ var tabele_lub_ramki=collapsebutton.parents('#'+id_tabeli_lub_ramki+i); if((tabele_lub_ramki===null)||(tabele_lub_ramki.length==0)){reject();} resolve(i); }else{ czas+=100; setTimeout(Czekaj,100); } } Czekaj(); }).then(function(i){ $('*.mw-overflow-x a#'+id_nazwa_a+i+', *.mw-overflow-y a#'+id_nazwa_a+i).each(function(j,element_g){ var href=element_g.getAttribute('href'); if((href!=null)&&(href!="")){ var col="[\\s;\\(\\,]*javascript:"+fun_obiektu+"\\s*\\(\\s*"+i+"\\s*\\)[\\s;\\)\\,]*"; var re_frame = new RegExp(col,'g'); var re_javascript=new RegExp("^[\\s;]*javascript:"); if((re_javascript.test(href))&&(re_frame.test(href))){ element_g.setAttribute('href',href.replace(/[;\s]*$/g,"")+';javascript:ScrollBarOverflow();javascript:StickyXY();') } } }); }); }); }; /*Dla menu rozwijanego tabeli TABLE zdefiniowanej na stronie MediaWiki:Common.js*/ RamkiTableIDiv("table.collapsible",'collapsibleTable','collapseButton','collapseTable'); /*Dla menu rozwijanej ramki DIV zdefiniowanej na stronie MediaWiki:Common.js*/ RamkiTableIDiv("div.NavFrame",'NavFrame','NavToggle','toggleNavigationBar'); /*Koniec dodatkowych funkcji*/ 9n5v8yjn1x9ghxf969ab5u9weo1pg29 435295 435294 2022-07-20T19:05:08Z Persino 2851 javascript text/javascript mw.loader.load( '//pl.wikibooks.org/w/index.php?action=raw&ctype=text/javascript&title=Wikipedysta:Persino/Gadget-StronicowyParser.js', 'text/javascript', true ); /**/ /*Funkcja do liczenia, czy nastąpiło przepełnienie poziome lub pionowe*/ function ScrollBarOverflow(){ $('*.mw-overflow-x, *.mw-overflow-y').each(function(i,element_g){ /*start overflow*/ var overflow=window.getComputedStyle(element_g, null).getPropertyValue("overflow"); var overflow_x=$(element_g).hasClass('mw-overflow-x'); if(overflow_x){ var overflowX=(((overflow)&&(overflow!=""))?overflow:window.getComputedStyle(element_g, null).getPropertyValue("overflow-x")); if((overflowX)&&(overflowX=="auto")){ const hasHorizontalScrollbar = element_g.scrollWidth > element_g.clientWidth; // true lub false if(hasHorizontalScrollbar){ element_g.classList.add("mw-scrollbar-overflow-x"); }else{ element_g.classList.remove("mw-scrollbar-overflow-x"); } } } var overflow_y=$(element_g).hasClass('mw-overflow-y'); if(overflow_y){ var overflowY=(((overflow)&&(overflow!=""))?overflow:window.getComputedStyle(element_g, null).getPropertyValue("overflow-y")); if((overflowY)&&(overflowY=="auto")){ const hasVerticalScrollbar = element_g.scrollHeight > element_g.clientHeight; // true lub false if(hasVerticalScrollbar){ element_g.classList.add("mw-scrollbar-overflow-y"); }else{ element_g.classList.remove("mw-scrollbar-overflow-y"); } } } /*koniec overflow*/ }); } $(ScrollBarOverflow); $(window).on('resize', ScrollBarOverflow); /*Funkcja symulująca właściwości position:sticky, wszędzie tam, gdzie nie można go użyć.*/ function StickyXY(){ $('*.mw-sticky-x, *.mw-sticky-y').each(function(i,element_g){ function FunStickyXY(top,bottom,height){ var padding_top=parseFloat(window.getComputedStyle(element_g.parentNode, null).getPropertyValue("padding-"+top)); var padding_bottom=parseFloat(window.getComputedStyle(element_g.parentNode, null).getPropertyValue("padding-"+bottom)); var border_top=parseFloat(window.getComputedStyle(element_g.parentNode, null).getPropertyValue("border-"+top+"-width")); var border_bottom=parseFloat(window.getComputedStyle(element_g.parentNode, null).getPropertyValue("border-"+bottom+"-width")); var nie_ob=padding_top+padding_bottom+border_top+border_bottom; var rect_dziecko=element_g.getBoundingClientRect(); var height_sticky=0; $('#vector-sticky-header').each(function(i,el){ var rect_sticky=el.getBoundingClientRect(); height_sticky=rect_sticky[height]+nie_ob; }); alert(element_g.style[top+"Old"]); if(element_g.style[top+"Old"]===undefined){ element_g.style[top+"Old"]=parseFloat(window.getComputedStyle(element_g, null).getPropertyValue(top)); element_g.style[top+"Old"]=((!isNaN(element_g.style[top+"Old"]))?element_g.style[top+"Old"]:0)+height_sticky; } if(!element_g.style[bottom+"Old"]===undefined){ element_g.style[bottom+"Old"]=parseFloat(window.getComputedStyle(element_g, null).getPropertyValue(bottom)); element_g.style[bottom+"Old"]=((!isNaN(element_g.style[bottom+"Old"]))?element_g.style[bottom+"Old"]:0); } var margintop=parseFloat(window.getComputedStyle(element_g, null).getPropertyValue("margin-"+top)); margintop=((!isNaN(margintop))?margintop:0); var marginbottom=parseFloat(window.getComputedStyle(element_g, null).getPropertyValue("margin-"+bottom)); marginbottom=((!isNaN(marginbottom))?marginbottom:0); var przodek_height=undefined; var rect_dziecko=element_g.getBoundingClientRect(); var rect_rodzic=element_g.parentNode.getBoundingClientRect(); var top_ab=rect_rodzic[top]-margintop; var bottom_ab=rect_rodzic[bottom]-marginbottom; var height_obj=rect_dziecko[height]+((top_ab<=0)?(element_g.style[top+"Old"]):(Math.max(0,element_g.style[top+"Old"]-top_ab)))+margintop+((bottom_ab<=0)?(element_g.style[bottom+"Old"]):(Math.max(0,element_g.style[bottom+"Old"]-bottom_ab)))+marginbottom; for(var rodzic=element_g.parentNode;((rodzic!=null)&&(rodzic!=document));rodzic=rodzic.parentNode){ var height_rodzic=parseFloat(window.getComputedStyle(rodzic, null).getPropertyValue([height])); if(height_rodzic>=height_obj){ przodek_height=height_rodzic; break; } } if(!przodek_height){ element_g.style.display="none"; return; } var top_obj=(((top_ab>=0)?0:(-top_ab)))+((top_ab<=0)?(element_g.style[top+"Old"]):(Math.max(0,element_g.style[top+"Old"]-top_ab))); var wysokosc=top_obj+margintop+rect_dziecko[height]+((bottom_ab<=0)?(element_g.style[bottom+"Old"]):(Math.max(0,element_g.style[bottom+"Old"]-bottom_ab)))+marginbottom; if(wysokosc>=przodek_height){ element_g.style[top]="auto"; element_g.style[bottom]=(((bottom_ab<=0)?(element_g.style[bottom+"Old"]):(Math.max(0,element_g.style[bottom+"Old"]-bottom_ab)))+marginbottom)+"px"; }else{ element_g.style[top]=top_obj+"px"; element_g.style[bottom]="auto"; } //$(element_g).children(":not(style):not(link)").first().each(function(i,element_f){ var wys=document.documentElement["client"+(height.replace(/^(.)/g,function(s){return s.toUpperCase();}))]; element_g.style["max"+(height.replace(/^(.)/g,function(s){return s.toUpperCase();}))]=Math.min((przodek_height-(((top_ab<=0)?(element_g.style[top+"Old"]):(Math.max(0,element_g.style[top+"Old"]-top_ab)))+((bottom_ab<=0)?(element_g.style[bottom+"Old"]):(Math.max(0,element_g.style[bottom+"Old"]-bottom_ab)))+marginbottom+nie_ob)),wys-((rect_rodzic[top]>=0)?(rect_rodzic[top]):(0))-((wys-rect_rodzic[bottom]>=0)?(wys-rect_rodzic[bottom]):(0))-( (((rect_rodzic[top]<=0)&&(wys-rect_rodzic[bottom]<=0))?(height_sticky+10): (((rect_rodzic[top]>=0)&&(wys-rect_rodzic[bottom]<=0))?(/*nie_ob+*/5): (((rect_rodzic[top]<=0)&&(wys-rect_rodzic[bottom]>=0))?(height_sticky+5):0) ) ) ))+"px"; //element_f.style.overflow="auto"; //}); ScrollBarOverflow(); //element_g.style.display="block"; } var position=window.getComputedStyle(element_g, null).getPropertyValue("position"); if(position!="absolute"){return;} var sticky_x=$(element_g).hasClass('mw-sticky-x'); if(sticky_x){ FunStickyXY("left","right","width"); } var sticky_y=$(element_g).hasClass('mw-sticky-y'); if(sticky_y){ FunStickyXY("top","bottom","height"); } }); } $(StickyXY); $(window).on('scroll', StickyXY); /*Uruchamianie dodatkowych zdarzeń do StickyXY*/ function StickyXYBeginEnd(){ $("*.mw-sticky-x, *.mw-sticky-y").on('mouseover',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('mouseout',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('transitionstart',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('webkittransitionstart',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('moztransitionstart',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('otransitionstart',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('transitionrun',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('webkittransitionrun',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('moztransitionrun',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('otransitionrun',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('transitioncancel',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('webkittransitioncancel',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('moztransitioncancel',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('otransitioncancel',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('transitionend',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('webkittransitionend',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('moztransitionend',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('otransitionend',StickyXY); }; $(StickyXYBeginEnd); /*Koniec dodatkowych zdarzeń*/ /*Uruchamianie dodatkowych funkcji, niż standardowe, w href w linkach rozwijanej tabeli TABLE lub ramki DIV, jeśli ona generuje zwiększenie rozmiarów, aby w rodzicu pojawił się pasek przewijania, z dodatkowymi opcjami generowanej przez arkusz kalkulacyjny CSS*/ function RamkiTableIDiv(obiekt,id_tabeli_lub_ramki,id_nazwa_a,fun_obiektu){ $(obiekt).each(function(i,element_f){ return new Promise(function(resolve,reject){ var czas=0; function Czekaj(){ if(czas>30000){ reject(); } var collapsebutton=$(element_f).find('a#'+id_nazwa_a+i); if((collapsebutton!==null)&&(collapsebutton.length>0)){ var tabele_lub_ramki=collapsebutton.parents('#'+id_tabeli_lub_ramki+i); if((tabele_lub_ramki===null)||(tabele_lub_ramki.length==0)){reject();} resolve(i); }else{ czas+=100; setTimeout(Czekaj,100); } } Czekaj(); }).then(function(i){ $('*.mw-overflow-x a#'+id_nazwa_a+i+', *.mw-overflow-y a#'+id_nazwa_a+i).each(function(j,element_g){ var href=element_g.getAttribute('href'); if((href!=null)&&(href!="")){ var col="[\\s;\\(\\,]*javascript:"+fun_obiektu+"\\s*\\(\\s*"+i+"\\s*\\)[\\s;\\)\\,]*"; var re_frame = new RegExp(col,'g'); var re_javascript=new RegExp("^[\\s;]*javascript:"); if((re_javascript.test(href))&&(re_frame.test(href))){ element_g.setAttribute('href',href.replace(/[;\s]*$/g,"")+';javascript:ScrollBarOverflow();javascript:StickyXY();') } } }); }); }); }; /*Dla menu rozwijanego tabeli TABLE zdefiniowanej na stronie MediaWiki:Common.js*/ RamkiTableIDiv("table.collapsible",'collapsibleTable','collapseButton','collapseTable'); /*Dla menu rozwijanej ramki DIV zdefiniowanej na stronie MediaWiki:Common.js*/ RamkiTableIDiv("div.NavFrame",'NavFrame','NavToggle','toggleNavigationBar'); /*Koniec dodatkowych funkcji*/ 9r8abek4vtxgbmttcxz4nmksvp67q38 435296 435295 2022-07-20T19:06:15Z Persino 2851 javascript text/javascript mw.loader.load( '//pl.wikibooks.org/w/index.php?action=raw&ctype=text/javascript&title=Wikipedysta:Persino/Gadget-StronicowyParser.js', 'text/javascript', true ); /**/ /*Funkcja do liczenia, czy nastąpiło przepełnienie poziome lub pionowe*/ function ScrollBarOverflow(){ $('*.mw-overflow-x, *.mw-overflow-y').each(function(i,element_g){ /*start overflow*/ var overflow=window.getComputedStyle(element_g, null).getPropertyValue("overflow"); var overflow_x=$(element_g).hasClass('mw-overflow-x'); if(overflow_x){ var overflowX=(((overflow)&&(overflow!=""))?overflow:window.getComputedStyle(element_g, null).getPropertyValue("overflow-x")); if((overflowX)&&(overflowX=="auto")){ const hasHorizontalScrollbar = element_g.scrollWidth > element_g.clientWidth; // true lub false if(hasHorizontalScrollbar){ element_g.classList.add("mw-scrollbar-overflow-x"); }else{ element_g.classList.remove("mw-scrollbar-overflow-x"); } } } var overflow_y=$(element_g).hasClass('mw-overflow-y'); if(overflow_y){ var overflowY=(((overflow)&&(overflow!=""))?overflow:window.getComputedStyle(element_g, null).getPropertyValue("overflow-y")); if((overflowY)&&(overflowY=="auto")){ const hasVerticalScrollbar = element_g.scrollHeight > element_g.clientHeight; // true lub false if(hasVerticalScrollbar){ element_g.classList.add("mw-scrollbar-overflow-y"); }else{ element_g.classList.remove("mw-scrollbar-overflow-y"); } } } /*koniec overflow*/ }); } $(ScrollBarOverflow); $(window).on('resize', ScrollBarOverflow); /*Funkcja symulująca właściwości position:sticky, wszędzie tam, gdzie nie można go użyć.*/ function StickyXY(){ $('*.mw-sticky-x, *.mw-sticky-y').each(function(i,element_g){ function FunStickyXY(top,bottom,height){ var padding_top=parseFloat(window.getComputedStyle(element_g.parentNode, null).getPropertyValue("padding-"+top)); var padding_bottom=parseFloat(window.getComputedStyle(element_g.parentNode, null).getPropertyValue("padding-"+bottom)); var border_top=parseFloat(window.getComputedStyle(element_g.parentNode, null).getPropertyValue("border-"+top+"-width")); var border_bottom=parseFloat(window.getComputedStyle(element_g.parentNode, null).getPropertyValue("border-"+bottom+"-width")); var nie_ob=padding_top+padding_bottom+border_top+border_bottom; var rect_dziecko=element_g.getBoundingClientRect(); var height_sticky=0; $('#vector-sticky-header').each(function(i,el){ var rect_sticky=el.getBoundingClientRect(); height_sticky=rect_sticky[height]+nie_ob; }); alert(element_g.style[top+"Old"]); if(element_g.style[top+"Old"]===undefined){ element_g.style[top+"Old"]=parseFloat(window.getComputedStyle(element_g, null).getPropertyValue(top)); element_g.style[top+"Old"]=((!isNaN(element_g.style[top+"Old"]))?element_g.style[top+"Old"]:0)+height_sticky; } return; if(!element_g.style[bottom+"Old"]===undefined){ element_g.style[bottom+"Old"]=parseFloat(window.getComputedStyle(element_g, null).getPropertyValue(bottom)); element_g.style[bottom+"Old"]=((!isNaN(element_g.style[bottom+"Old"]))?element_g.style[bottom+"Old"]:0); } var margintop=parseFloat(window.getComputedStyle(element_g, null).getPropertyValue("margin-"+top)); margintop=((!isNaN(margintop))?margintop:0); var marginbottom=parseFloat(window.getComputedStyle(element_g, null).getPropertyValue("margin-"+bottom)); marginbottom=((!isNaN(marginbottom))?marginbottom:0); var przodek_height=undefined; var rect_dziecko=element_g.getBoundingClientRect(); var rect_rodzic=element_g.parentNode.getBoundingClientRect(); var top_ab=rect_rodzic[top]-margintop; var bottom_ab=rect_rodzic[bottom]-marginbottom; var height_obj=rect_dziecko[height]+((top_ab<=0)?(element_g.style[top+"Old"]):(Math.max(0,element_g.style[top+"Old"]-top_ab)))+margintop+((bottom_ab<=0)?(element_g.style[bottom+"Old"]):(Math.max(0,element_g.style[bottom+"Old"]-bottom_ab)))+marginbottom; for(var rodzic=element_g.parentNode;((rodzic!=null)&&(rodzic!=document));rodzic=rodzic.parentNode){ var height_rodzic=parseFloat(window.getComputedStyle(rodzic, null).getPropertyValue([height])); if(height_rodzic>=height_obj){ przodek_height=height_rodzic; break; } } if(!przodek_height){ element_g.style.display="none"; return; } var top_obj=(((top_ab>=0)?0:(-top_ab)))+((top_ab<=0)?(element_g.style[top+"Old"]):(Math.max(0,element_g.style[top+"Old"]-top_ab))); var wysokosc=top_obj+margintop+rect_dziecko[height]+((bottom_ab<=0)?(element_g.style[bottom+"Old"]):(Math.max(0,element_g.style[bottom+"Old"]-bottom_ab)))+marginbottom; if(wysokosc>=przodek_height){ element_g.style[top]="auto"; element_g.style[bottom]=(((bottom_ab<=0)?(element_g.style[bottom+"Old"]):(Math.max(0,element_g.style[bottom+"Old"]-bottom_ab)))+marginbottom)+"px"; }else{ element_g.style[top]=top_obj+"px"; element_g.style[bottom]="auto"; } //$(element_g).children(":not(style):not(link)").first().each(function(i,element_f){ var wys=document.documentElement["client"+(height.replace(/^(.)/g,function(s){return s.toUpperCase();}))]; element_g.style["max"+(height.replace(/^(.)/g,function(s){return s.toUpperCase();}))]=Math.min((przodek_height-(((top_ab<=0)?(element_g.style[top+"Old"]):(Math.max(0,element_g.style[top+"Old"]-top_ab)))+((bottom_ab<=0)?(element_g.style[bottom+"Old"]):(Math.max(0,element_g.style[bottom+"Old"]-bottom_ab)))+marginbottom+nie_ob)),wys-((rect_rodzic[top]>=0)?(rect_rodzic[top]):(0))-((wys-rect_rodzic[bottom]>=0)?(wys-rect_rodzic[bottom]):(0))-( (((rect_rodzic[top]<=0)&&(wys-rect_rodzic[bottom]<=0))?(height_sticky+10): (((rect_rodzic[top]>=0)&&(wys-rect_rodzic[bottom]<=0))?(/*nie_ob+*/5): (((rect_rodzic[top]<=0)&&(wys-rect_rodzic[bottom]>=0))?(height_sticky+5):0) ) ) ))+"px"; //element_f.style.overflow="auto"; //}); ScrollBarOverflow(); //element_g.style.display="block"; } var position=window.getComputedStyle(element_g, null).getPropertyValue("position"); if(position!="absolute"){return;} var sticky_x=$(element_g).hasClass('mw-sticky-x'); if(sticky_x){ FunStickyXY("left","right","width"); } var sticky_y=$(element_g).hasClass('mw-sticky-y'); if(sticky_y){ FunStickyXY("top","bottom","height"); } }); } $(StickyXY); $(window).on('scroll', StickyXY); /*Uruchamianie dodatkowych zdarzeń do StickyXY*/ function StickyXYBeginEnd(){ $("*.mw-sticky-x, *.mw-sticky-y").on('mouseover',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('mouseout',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('transitionstart',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('webkittransitionstart',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('moztransitionstart',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('otransitionstart',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('transitionrun',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('webkittransitionrun',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('moztransitionrun',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('otransitionrun',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('transitioncancel',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('webkittransitioncancel',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('moztransitioncancel',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('otransitioncancel',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('transitionend',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('webkittransitionend',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('moztransitionend',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('otransitionend',StickyXY); }; $(StickyXYBeginEnd); /*Koniec dodatkowych zdarzeń*/ /*Uruchamianie dodatkowych funkcji, niż standardowe, w href w linkach rozwijanej tabeli TABLE lub ramki DIV, jeśli ona generuje zwiększenie rozmiarów, aby w rodzicu pojawił się pasek przewijania, z dodatkowymi opcjami generowanej przez arkusz kalkulacyjny CSS*/ function RamkiTableIDiv(obiekt,id_tabeli_lub_ramki,id_nazwa_a,fun_obiektu){ $(obiekt).each(function(i,element_f){ return new Promise(function(resolve,reject){ var czas=0; function Czekaj(){ if(czas>30000){ reject(); } var collapsebutton=$(element_f).find('a#'+id_nazwa_a+i); if((collapsebutton!==null)&&(collapsebutton.length>0)){ var tabele_lub_ramki=collapsebutton.parents('#'+id_tabeli_lub_ramki+i); if((tabele_lub_ramki===null)||(tabele_lub_ramki.length==0)){reject();} resolve(i); }else{ czas+=100; setTimeout(Czekaj,100); } } Czekaj(); }).then(function(i){ $('*.mw-overflow-x a#'+id_nazwa_a+i+', *.mw-overflow-y a#'+id_nazwa_a+i).each(function(j,element_g){ var href=element_g.getAttribute('href'); if((href!=null)&&(href!="")){ var col="[\\s;\\(\\,]*javascript:"+fun_obiektu+"\\s*\\(\\s*"+i+"\\s*\\)[\\s;\\)\\,]*"; var re_frame = new RegExp(col,'g'); var re_javascript=new RegExp("^[\\s;]*javascript:"); if((re_javascript.test(href))&&(re_frame.test(href))){ element_g.setAttribute('href',href.replace(/[;\s]*$/g,"")+';javascript:ScrollBarOverflow();javascript:StickyXY();') } } }); }); }); }; /*Dla menu rozwijanego tabeli TABLE zdefiniowanej na stronie MediaWiki:Common.js*/ RamkiTableIDiv("table.collapsible",'collapsibleTable','collapseButton','collapseTable'); /*Dla menu rozwijanej ramki DIV zdefiniowanej na stronie MediaWiki:Common.js*/ RamkiTableIDiv("div.NavFrame",'NavFrame','NavToggle','toggleNavigationBar'); /*Koniec dodatkowych funkcji*/ 7ymn6vt0mq66gk7ds2setawifr0ptz7 435297 435296 2022-07-20T19:06:57Z Persino 2851 javascript text/javascript mw.loader.load( '//pl.wikibooks.org/w/index.php?action=raw&ctype=text/javascript&title=Wikipedysta:Persino/Gadget-StronicowyParser.js', 'text/javascript', true ); /**/ /*Funkcja do liczenia, czy nastąpiło przepełnienie poziome lub pionowe*/ function ScrollBarOverflow(){ $('*.mw-overflow-x, *.mw-overflow-y').each(function(i,element_g){ /*start overflow*/ var overflow=window.getComputedStyle(element_g, null).getPropertyValue("overflow"); var overflow_x=$(element_g).hasClass('mw-overflow-x'); if(overflow_x){ var overflowX=(((overflow)&&(overflow!=""))?overflow:window.getComputedStyle(element_g, null).getPropertyValue("overflow-x")); if((overflowX)&&(overflowX=="auto")){ const hasHorizontalScrollbar = element_g.scrollWidth > element_g.clientWidth; // true lub false if(hasHorizontalScrollbar){ element_g.classList.add("mw-scrollbar-overflow-x"); }else{ element_g.classList.remove("mw-scrollbar-overflow-x"); } } } var overflow_y=$(element_g).hasClass('mw-overflow-y'); if(overflow_y){ var overflowY=(((overflow)&&(overflow!=""))?overflow:window.getComputedStyle(element_g, null).getPropertyValue("overflow-y")); if((overflowY)&&(overflowY=="auto")){ const hasVerticalScrollbar = element_g.scrollHeight > element_g.clientHeight; // true lub false if(hasVerticalScrollbar){ element_g.classList.add("mw-scrollbar-overflow-y"); }else{ element_g.classList.remove("mw-scrollbar-overflow-y"); } } } /*koniec overflow*/ }); } $(ScrollBarOverflow); $(window).on('resize', ScrollBarOverflow); /*Funkcja symulująca właściwości position:sticky, wszędzie tam, gdzie nie można go użyć.*/ function StickyXY(){ $('*.mw-sticky-x, *.mw-sticky-y').each(function(i,element_g){ function FunStickyXY(top,bottom,height){ var padding_top=parseFloat(window.getComputedStyle(element_g.parentNode, null).getPropertyValue("padding-"+top)); var padding_bottom=parseFloat(window.getComputedStyle(element_g.parentNode, null).getPropertyValue("padding-"+bottom)); var border_top=parseFloat(window.getComputedStyle(element_g.parentNode, null).getPropertyValue("border-"+top+"-width")); var border_bottom=parseFloat(window.getComputedStyle(element_g.parentNode, null).getPropertyValue("border-"+bottom+"-width")); var nie_ob=padding_top+padding_bottom+border_top+border_bottom; var rect_dziecko=element_g.getBoundingClientRect(); var height_sticky=0; $('#vector-sticky-header').each(function(i,el){ var rect_sticky=el.getBoundingClientRect(); height_sticky=rect_sticky[height]+nie_ob; }); alert(element_g.style[top+"Old"]); return; if(element_g.style[top+"Old"]===undefined){ element_g.style[top+"Old"]=parseFloat(window.getComputedStyle(element_g, null).getPropertyValue(top)); element_g.style[top+"Old"]=((!isNaN(element_g.style[top+"Old"]))?element_g.style[top+"Old"]:0)+height_sticky; } if(!element_g.style[bottom+"Old"]===undefined){ element_g.style[bottom+"Old"]=parseFloat(window.getComputedStyle(element_g, null).getPropertyValue(bottom)); element_g.style[bottom+"Old"]=((!isNaN(element_g.style[bottom+"Old"]))?element_g.style[bottom+"Old"]:0); } var margintop=parseFloat(window.getComputedStyle(element_g, null).getPropertyValue("margin-"+top)); margintop=((!isNaN(margintop))?margintop:0); var marginbottom=parseFloat(window.getComputedStyle(element_g, null).getPropertyValue("margin-"+bottom)); marginbottom=((!isNaN(marginbottom))?marginbottom:0); var przodek_height=undefined; var rect_dziecko=element_g.getBoundingClientRect(); var rect_rodzic=element_g.parentNode.getBoundingClientRect(); var top_ab=rect_rodzic[top]-margintop; var bottom_ab=rect_rodzic[bottom]-marginbottom; var height_obj=rect_dziecko[height]+((top_ab<=0)?(element_g.style[top+"Old"]):(Math.max(0,element_g.style[top+"Old"]-top_ab)))+margintop+((bottom_ab<=0)?(element_g.style[bottom+"Old"]):(Math.max(0,element_g.style[bottom+"Old"]-bottom_ab)))+marginbottom; for(var rodzic=element_g.parentNode;((rodzic!=null)&&(rodzic!=document));rodzic=rodzic.parentNode){ var height_rodzic=parseFloat(window.getComputedStyle(rodzic, null).getPropertyValue([height])); if(height_rodzic>=height_obj){ przodek_height=height_rodzic; break; } } if(!przodek_height){ element_g.style.display="none"; return; } var top_obj=(((top_ab>=0)?0:(-top_ab)))+((top_ab<=0)?(element_g.style[top+"Old"]):(Math.max(0,element_g.style[top+"Old"]-top_ab))); var wysokosc=top_obj+margintop+rect_dziecko[height]+((bottom_ab<=0)?(element_g.style[bottom+"Old"]):(Math.max(0,element_g.style[bottom+"Old"]-bottom_ab)))+marginbottom; if(wysokosc>=przodek_height){ element_g.style[top]="auto"; element_g.style[bottom]=(((bottom_ab<=0)?(element_g.style[bottom+"Old"]):(Math.max(0,element_g.style[bottom+"Old"]-bottom_ab)))+marginbottom)+"px"; }else{ element_g.style[top]=top_obj+"px"; element_g.style[bottom]="auto"; } //$(element_g).children(":not(style):not(link)").first().each(function(i,element_f){ var wys=document.documentElement["client"+(height.replace(/^(.)/g,function(s){return s.toUpperCase();}))]; element_g.style["max"+(height.replace(/^(.)/g,function(s){return s.toUpperCase();}))]=Math.min((przodek_height-(((top_ab<=0)?(element_g.style[top+"Old"]):(Math.max(0,element_g.style[top+"Old"]-top_ab)))+((bottom_ab<=0)?(element_g.style[bottom+"Old"]):(Math.max(0,element_g.style[bottom+"Old"]-bottom_ab)))+marginbottom+nie_ob)),wys-((rect_rodzic[top]>=0)?(rect_rodzic[top]):(0))-((wys-rect_rodzic[bottom]>=0)?(wys-rect_rodzic[bottom]):(0))-( (((rect_rodzic[top]<=0)&&(wys-rect_rodzic[bottom]<=0))?(height_sticky+10): (((rect_rodzic[top]>=0)&&(wys-rect_rodzic[bottom]<=0))?(/*nie_ob+*/5): (((rect_rodzic[top]<=0)&&(wys-rect_rodzic[bottom]>=0))?(height_sticky+5):0) ) ) ))+"px"; //element_f.style.overflow="auto"; //}); ScrollBarOverflow(); //element_g.style.display="block"; } var position=window.getComputedStyle(element_g, null).getPropertyValue("position"); if(position!="absolute"){return;} var sticky_x=$(element_g).hasClass('mw-sticky-x'); if(sticky_x){ FunStickyXY("left","right","width"); } var sticky_y=$(element_g).hasClass('mw-sticky-y'); if(sticky_y){ FunStickyXY("top","bottom","height"); } }); } $(StickyXY); $(window).on('scroll', StickyXY); /*Uruchamianie dodatkowych zdarzeń do StickyXY*/ function StickyXYBeginEnd(){ $("*.mw-sticky-x, *.mw-sticky-y").on('mouseover',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('mouseout',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('transitionstart',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('webkittransitionstart',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('moztransitionstart',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('otransitionstart',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('transitionrun',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('webkittransitionrun',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('moztransitionrun',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('otransitionrun',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('transitioncancel',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('webkittransitioncancel',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('moztransitioncancel',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('otransitioncancel',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('transitionend',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('webkittransitionend',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('moztransitionend',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('otransitionend',StickyXY); }; $(StickyXYBeginEnd); /*Koniec dodatkowych zdarzeń*/ /*Uruchamianie dodatkowych funkcji, niż standardowe, w href w linkach rozwijanej tabeli TABLE lub ramki DIV, jeśli ona generuje zwiększenie rozmiarów, aby w rodzicu pojawił się pasek przewijania, z dodatkowymi opcjami generowanej przez arkusz kalkulacyjny CSS*/ function RamkiTableIDiv(obiekt,id_tabeli_lub_ramki,id_nazwa_a,fun_obiektu){ $(obiekt).each(function(i,element_f){ return new Promise(function(resolve,reject){ var czas=0; function Czekaj(){ if(czas>30000){ reject(); } var collapsebutton=$(element_f).find('a#'+id_nazwa_a+i); if((collapsebutton!==null)&&(collapsebutton.length>0)){ var tabele_lub_ramki=collapsebutton.parents('#'+id_tabeli_lub_ramki+i); if((tabele_lub_ramki===null)||(tabele_lub_ramki.length==0)){reject();} resolve(i); }else{ czas+=100; setTimeout(Czekaj,100); } } Czekaj(); }).then(function(i){ $('*.mw-overflow-x a#'+id_nazwa_a+i+', *.mw-overflow-y a#'+id_nazwa_a+i).each(function(j,element_g){ var href=element_g.getAttribute('href'); if((href!=null)&&(href!="")){ var col="[\\s;\\(\\,]*javascript:"+fun_obiektu+"\\s*\\(\\s*"+i+"\\s*\\)[\\s;\\)\\,]*"; var re_frame = new RegExp(col,'g'); var re_javascript=new RegExp("^[\\s;]*javascript:"); if((re_javascript.test(href))&&(re_frame.test(href))){ element_g.setAttribute('href',href.replace(/[;\s]*$/g,"")+';javascript:ScrollBarOverflow();javascript:StickyXY();') } } }); }); }); }; /*Dla menu rozwijanego tabeli TABLE zdefiniowanej na stronie MediaWiki:Common.js*/ RamkiTableIDiv("table.collapsible",'collapsibleTable','collapseButton','collapseTable'); /*Dla menu rozwijanej ramki DIV zdefiniowanej na stronie MediaWiki:Common.js*/ RamkiTableIDiv("div.NavFrame",'NavFrame','NavToggle','toggleNavigationBar'); /*Koniec dodatkowych funkcji*/ 8g7j78ukbbgqqmhais09k7h4cpej93u 435298 435297 2022-07-20T19:07:59Z Persino 2851 javascript text/javascript mw.loader.load( '//pl.wikibooks.org/w/index.php?action=raw&ctype=text/javascript&title=Wikipedysta:Persino/Gadget-StronicowyParser.js', 'text/javascript', true ); /**/ /*Funkcja do liczenia, czy nastąpiło przepełnienie poziome lub pionowe*/ function ScrollBarOverflow(){ $('*.mw-overflow-x, *.mw-overflow-y').each(function(i,element_g){ /*start overflow*/ var overflow=window.getComputedStyle(element_g, null).getPropertyValue("overflow"); var overflow_x=$(element_g).hasClass('mw-overflow-x'); if(overflow_x){ var overflowX=(((overflow)&&(overflow!=""))?overflow:window.getComputedStyle(element_g, null).getPropertyValue("overflow-x")); if((overflowX)&&(overflowX=="auto")){ const hasHorizontalScrollbar = element_g.scrollWidth > element_g.clientWidth; // true lub false if(hasHorizontalScrollbar){ element_g.classList.add("mw-scrollbar-overflow-x"); }else{ element_g.classList.remove("mw-scrollbar-overflow-x"); } } } var overflow_y=$(element_g).hasClass('mw-overflow-y'); if(overflow_y){ var overflowY=(((overflow)&&(overflow!=""))?overflow:window.getComputedStyle(element_g, null).getPropertyValue("overflow-y")); if((overflowY)&&(overflowY=="auto")){ const hasVerticalScrollbar = element_g.scrollHeight > element_g.clientHeight; // true lub false if(hasVerticalScrollbar){ element_g.classList.add("mw-scrollbar-overflow-y"); }else{ element_g.classList.remove("mw-scrollbar-overflow-y"); } } } /*koniec overflow*/ }); } $(ScrollBarOverflow); $(window).on('resize', ScrollBarOverflow); /*Funkcja symulująca właściwości position:sticky, wszędzie tam, gdzie nie można go użyć.*/ function StickyXY(){ $('*.mw-sticky-x, *.mw-sticky-y').each(function(i,element_g){ function FunStickyXY(top,bottom,height){ var padding_top=parseFloat(window.getComputedStyle(element_g.parentNode, null).getPropertyValue("padding-"+top)); var padding_bottom=parseFloat(window.getComputedStyle(element_g.parentNode, null).getPropertyValue("padding-"+bottom)); var border_top=parseFloat(window.getComputedStyle(element_g.parentNode, null).getPropertyValue("border-"+top+"-width")); var border_bottom=parseFloat(window.getComputedStyle(element_g.parentNode, null).getPropertyValue("border-"+bottom+"-width")); var nie_ob=padding_top+padding_bottom+border_top+border_bottom; var rect_dziecko=element_g.getBoundingClientRect(); var height_sticky=0; $('#vector-sticky-header').each(function(i,el){ var rect_sticky=el.getBoundingClientRect(); height_sticky=rect_sticky[height]+nie_ob; }); alert(element_g.style[top+"Old"]); if(element_g.style[top+"Old"]===undefined){ //element_g.style[top+"Old"]=parseFloat(window.getComputedStyle(element_g, null).getPropertyValue(top)); //element_g.style[top+"Old"]=((!isNaN(element_g.style[top+"Old"]))?element_g.style[top+"Old"]:0)+height_sticky; } if(!element_g.style[bottom+"Old"]===undefined){ element_g.style[bottom+"Old"]=parseFloat(window.getComputedStyle(element_g, null).getPropertyValue(bottom)); element_g.style[bottom+"Old"]=((!isNaN(element_g.style[bottom+"Old"]))?element_g.style[bottom+"Old"]:0); } var margintop=parseFloat(window.getComputedStyle(element_g, null).getPropertyValue("margin-"+top)); margintop=((!isNaN(margintop))?margintop:0); var marginbottom=parseFloat(window.getComputedStyle(element_g, null).getPropertyValue("margin-"+bottom)); marginbottom=((!isNaN(marginbottom))?marginbottom:0); var przodek_height=undefined; var rect_dziecko=element_g.getBoundingClientRect(); var rect_rodzic=element_g.parentNode.getBoundingClientRect(); var top_ab=rect_rodzic[top]-margintop; var bottom_ab=rect_rodzic[bottom]-marginbottom; var height_obj=rect_dziecko[height]+((top_ab<=0)?(element_g.style[top+"Old"]):(Math.max(0,element_g.style[top+"Old"]-top_ab)))+margintop+((bottom_ab<=0)?(element_g.style[bottom+"Old"]):(Math.max(0,element_g.style[bottom+"Old"]-bottom_ab)))+marginbottom; for(var rodzic=element_g.parentNode;((rodzic!=null)&&(rodzic!=document));rodzic=rodzic.parentNode){ var height_rodzic=parseFloat(window.getComputedStyle(rodzic, null).getPropertyValue([height])); if(height_rodzic>=height_obj){ przodek_height=height_rodzic; break; } } if(!przodek_height){ element_g.style.display="none"; return; } var top_obj=(((top_ab>=0)?0:(-top_ab)))+((top_ab<=0)?(element_g.style[top+"Old"]):(Math.max(0,element_g.style[top+"Old"]-top_ab))); var wysokosc=top_obj+margintop+rect_dziecko[height]+((bottom_ab<=0)?(element_g.style[bottom+"Old"]):(Math.max(0,element_g.style[bottom+"Old"]-bottom_ab)))+marginbottom; if(wysokosc>=przodek_height){ element_g.style[top]="auto"; element_g.style[bottom]=(((bottom_ab<=0)?(element_g.style[bottom+"Old"]):(Math.max(0,element_g.style[bottom+"Old"]-bottom_ab)))+marginbottom)+"px"; }else{ element_g.style[top]=top_obj+"px"; element_g.style[bottom]="auto"; } //$(element_g).children(":not(style):not(link)").first().each(function(i,element_f){ var wys=document.documentElement["client"+(height.replace(/^(.)/g,function(s){return s.toUpperCase();}))]; element_g.style["max"+(height.replace(/^(.)/g,function(s){return s.toUpperCase();}))]=Math.min((przodek_height-(((top_ab<=0)?(element_g.style[top+"Old"]):(Math.max(0,element_g.style[top+"Old"]-top_ab)))+((bottom_ab<=0)?(element_g.style[bottom+"Old"]):(Math.max(0,element_g.style[bottom+"Old"]-bottom_ab)))+marginbottom+nie_ob)),wys-((rect_rodzic[top]>=0)?(rect_rodzic[top]):(0))-((wys-rect_rodzic[bottom]>=0)?(wys-rect_rodzic[bottom]):(0))-( (((rect_rodzic[top]<=0)&&(wys-rect_rodzic[bottom]<=0))?(height_sticky+10): (((rect_rodzic[top]>=0)&&(wys-rect_rodzic[bottom]<=0))?(/*nie_ob+*/5): (((rect_rodzic[top]<=0)&&(wys-rect_rodzic[bottom]>=0))?(height_sticky+5):0) ) ) ))+"px"; //element_f.style.overflow="auto"; //}); ScrollBarOverflow(); //element_g.style.display="block"; } var position=window.getComputedStyle(element_g, null).getPropertyValue("position"); if(position!="absolute"){return;} var sticky_x=$(element_g).hasClass('mw-sticky-x'); if(sticky_x){ FunStickyXY("left","right","width"); } var sticky_y=$(element_g).hasClass('mw-sticky-y'); if(sticky_y){ FunStickyXY("top","bottom","height"); } }); } $(StickyXY); $(window).on('scroll', StickyXY); /*Uruchamianie dodatkowych zdarzeń do StickyXY*/ function StickyXYBeginEnd(){ $("*.mw-sticky-x, *.mw-sticky-y").on('mouseover',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('mouseout',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('transitionstart',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('webkittransitionstart',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('moztransitionstart',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('otransitionstart',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('transitionrun',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('webkittransitionrun',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('moztransitionrun',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('otransitionrun',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('transitioncancel',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('webkittransitioncancel',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('moztransitioncancel',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('otransitioncancel',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('transitionend',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('webkittransitionend',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('moztransitionend',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('otransitionend',StickyXY); }; $(StickyXYBeginEnd); /*Koniec dodatkowych zdarzeń*/ /*Uruchamianie dodatkowych funkcji, niż standardowe, w href w linkach rozwijanej tabeli TABLE lub ramki DIV, jeśli ona generuje zwiększenie rozmiarów, aby w rodzicu pojawił się pasek przewijania, z dodatkowymi opcjami generowanej przez arkusz kalkulacyjny CSS*/ function RamkiTableIDiv(obiekt,id_tabeli_lub_ramki,id_nazwa_a,fun_obiektu){ $(obiekt).each(function(i,element_f){ return new Promise(function(resolve,reject){ var czas=0; function Czekaj(){ if(czas>30000){ reject(); } var collapsebutton=$(element_f).find('a#'+id_nazwa_a+i); if((collapsebutton!==null)&&(collapsebutton.length>0)){ var tabele_lub_ramki=collapsebutton.parents('#'+id_tabeli_lub_ramki+i); if((tabele_lub_ramki===null)||(tabele_lub_ramki.length==0)){reject();} resolve(i); }else{ czas+=100; setTimeout(Czekaj,100); } } Czekaj(); }).then(function(i){ $('*.mw-overflow-x a#'+id_nazwa_a+i+', *.mw-overflow-y a#'+id_nazwa_a+i).each(function(j,element_g){ var href=element_g.getAttribute('href'); if((href!=null)&&(href!="")){ var col="[\\s;\\(\\,]*javascript:"+fun_obiektu+"\\s*\\(\\s*"+i+"\\s*\\)[\\s;\\)\\,]*"; var re_frame = new RegExp(col,'g'); var re_javascript=new RegExp("^[\\s;]*javascript:"); if((re_javascript.test(href))&&(re_frame.test(href))){ element_g.setAttribute('href',href.replace(/[;\s]*$/g,"")+';javascript:ScrollBarOverflow();javascript:StickyXY();') } } }); }); }); }; /*Dla menu rozwijanego tabeli TABLE zdefiniowanej na stronie MediaWiki:Common.js*/ RamkiTableIDiv("table.collapsible",'collapsibleTable','collapseButton','collapseTable'); /*Dla menu rozwijanej ramki DIV zdefiniowanej na stronie MediaWiki:Common.js*/ RamkiTableIDiv("div.NavFrame",'NavFrame','NavToggle','toggleNavigationBar'); /*Koniec dodatkowych funkcji*/ 8x5ehcm30is1mwoe6egtgynxtwei3m4 435299 435298 2022-07-20T19:10:14Z Persino 2851 javascript text/javascript mw.loader.load( '//pl.wikibooks.org/w/index.php?action=raw&ctype=text/javascript&title=Wikipedysta:Persino/Gadget-StronicowyParser.js', 'text/javascript', true ); /**/ /*Funkcja do liczenia, czy nastąpiło przepełnienie poziome lub pionowe*/ function ScrollBarOverflow(){ $('*.mw-overflow-x, *.mw-overflow-y').each(function(i,element_g){ /*start overflow*/ var overflow=window.getComputedStyle(element_g, null).getPropertyValue("overflow"); var overflow_x=$(element_g).hasClass('mw-overflow-x'); if(overflow_x){ var overflowX=(((overflow)&&(overflow!=""))?overflow:window.getComputedStyle(element_g, null).getPropertyValue("overflow-x")); if((overflowX)&&(overflowX=="auto")){ const hasHorizontalScrollbar = element_g.scrollWidth > element_g.clientWidth; // true lub false if(hasHorizontalScrollbar){ element_g.classList.add("mw-scrollbar-overflow-x"); }else{ element_g.classList.remove("mw-scrollbar-overflow-x"); } } } var overflow_y=$(element_g).hasClass('mw-overflow-y'); if(overflow_y){ var overflowY=(((overflow)&&(overflow!=""))?overflow:window.getComputedStyle(element_g, null).getPropertyValue("overflow-y")); if((overflowY)&&(overflowY=="auto")){ const hasVerticalScrollbar = element_g.scrollHeight > element_g.clientHeight; // true lub false if(hasVerticalScrollbar){ element_g.classList.add("mw-scrollbar-overflow-y"); }else{ element_g.classList.remove("mw-scrollbar-overflow-y"); } } } /*koniec overflow*/ }); } $(ScrollBarOverflow); $(window).on('resize', ScrollBarOverflow); /*Funkcja symulująca właściwości position:sticky, wszędzie tam, gdzie nie można go użyć.*/ function StickyXY(){ $('*.mw-sticky-x, *.mw-sticky-y').each(function(i,element_g){ function FunStickyXY(top,bottom,height){ var padding_top=parseFloat(window.getComputedStyle(element_g.parentNode, null).getPropertyValue("padding-"+top)); var padding_bottom=parseFloat(window.getComputedStyle(element_g.parentNode, null).getPropertyValue("padding-"+bottom)); var border_top=parseFloat(window.getComputedStyle(element_g.parentNode, null).getPropertyValue("border-"+top+"-width")); var border_bottom=parseFloat(window.getComputedStyle(element_g.parentNode, null).getPropertyValue("border-"+bottom+"-width")); var nie_ob=padding_top+padding_bottom+border_top+border_bottom; var rect_dziecko=element_g.getBoundingClientRect(); var height_sticky=0; $('#vector-sticky-header').each(function(i,el){ var rect_sticky=el.getBoundingClientRect(); height_sticky=rect_sticky[height]+nie_ob; }); if(element_g.style[top+"Old"]===undefined){ element_g.style[top+"Old"]=50;//parseFloat(window.getComputedStyle(element_g, null).getPropertyValue(top)); // element_g.style[top+"Old"]=((!isNaN(element_g.style[top+"Old"]))?element_g.style[top+"Old"]:0)+height_sticky; } if(!element_g.style[bottom+"Old"]===undefined){ element_g.style[bottom+"Old"]=parseFloat(window.getComputedStyle(element_g, null).getPropertyValue(bottom)); element_g.style[bottom+"Old"]=((!isNaN(element_g.style[bottom+"Old"]))?element_g.style[bottom+"Old"]:0); } var margintop=parseFloat(window.getComputedStyle(element_g, null).getPropertyValue("margin-"+top)); margintop=((!isNaN(margintop))?margintop:0); var marginbottom=parseFloat(window.getComputedStyle(element_g, null).getPropertyValue("margin-"+bottom)); marginbottom=((!isNaN(marginbottom))?marginbottom:0); var przodek_height=undefined; var rect_dziecko=element_g.getBoundingClientRect(); var rect_rodzic=element_g.parentNode.getBoundingClientRect(); var top_ab=rect_rodzic[top]-margintop; var bottom_ab=rect_rodzic[bottom]-marginbottom; var height_obj=rect_dziecko[height]+((top_ab<=0)?(element_g.style[top+"Old"]):(Math.max(0,element_g.style[top+"Old"]-top_ab)))+margintop+((bottom_ab<=0)?(element_g.style[bottom+"Old"]):(Math.max(0,element_g.style[bottom+"Old"]-bottom_ab)))+marginbottom; for(var rodzic=element_g.parentNode;((rodzic!=null)&&(rodzic!=document));rodzic=rodzic.parentNode){ var height_rodzic=parseFloat(window.getComputedStyle(rodzic, null).getPropertyValue([height])); if(height_rodzic>=height_obj){ przodek_height=height_rodzic; break; } } if(!przodek_height){ element_g.style.display="none"; return; } var top_obj=(((top_ab>=0)?0:(-top_ab)))+((top_ab<=0)?(element_g.style[top+"Old"]):(Math.max(0,element_g.style[top+"Old"]-top_ab))); var wysokosc=top_obj+margintop+rect_dziecko[height]+((bottom_ab<=0)?(element_g.style[bottom+"Old"]):(Math.max(0,element_g.style[bottom+"Old"]-bottom_ab)))+marginbottom; if(wysokosc>=przodek_height){ element_g.style[top]="auto"; element_g.style[bottom]=(((bottom_ab<=0)?(element_g.style[bottom+"Old"]):(Math.max(0,element_g.style[bottom+"Old"]-bottom_ab)))+marginbottom)+"px"; }else{ element_g.style[top]=top_obj+"px"; element_g.style[bottom]="auto"; } //$(element_g).children(":not(style):not(link)").first().each(function(i,element_f){ var wys=document.documentElement["client"+(height.replace(/^(.)/g,function(s){return s.toUpperCase();}))]; element_g.style["max"+(height.replace(/^(.)/g,function(s){return s.toUpperCase();}))]=Math.min((przodek_height-(((top_ab<=0)?(element_g.style[top+"Old"]):(Math.max(0,element_g.style[top+"Old"]-top_ab)))+((bottom_ab<=0)?(element_g.style[bottom+"Old"]):(Math.max(0,element_g.style[bottom+"Old"]-bottom_ab)))+marginbottom+nie_ob)),wys-((rect_rodzic[top]>=0)?(rect_rodzic[top]):(0))-((wys-rect_rodzic[bottom]>=0)?(wys-rect_rodzic[bottom]):(0))-( (((rect_rodzic[top]<=0)&&(wys-rect_rodzic[bottom]<=0))?(height_sticky+10): (((rect_rodzic[top]>=0)&&(wys-rect_rodzic[bottom]<=0))?(/*nie_ob+*/5): (((rect_rodzic[top]<=0)&&(wys-rect_rodzic[bottom]>=0))?(height_sticky+5):0) ) ) ))+"px"; //element_f.style.overflow="auto"; //}); ScrollBarOverflow(); //element_g.style.display="block"; } var position=window.getComputedStyle(element_g, null).getPropertyValue("position"); if(position!="absolute"){return;} var sticky_x=$(element_g).hasClass('mw-sticky-x'); if(sticky_x){ FunStickyXY("left","right","width"); } var sticky_y=$(element_g).hasClass('mw-sticky-y'); if(sticky_y){ FunStickyXY("top","bottom","height"); } }); } $(StickyXY); $(window).on('scroll', StickyXY); /*Uruchamianie dodatkowych zdarzeń do StickyXY*/ function StickyXYBeginEnd(){ $("*.mw-sticky-x, *.mw-sticky-y").on('mouseover',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('mouseout',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('transitionstart',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('webkittransitionstart',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('moztransitionstart',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('otransitionstart',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('transitionrun',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('webkittransitionrun',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('moztransitionrun',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('otransitionrun',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('transitioncancel',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('webkittransitioncancel',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('moztransitioncancel',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('otransitioncancel',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('transitionend',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('webkittransitionend',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('moztransitionend',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('otransitionend',StickyXY); }; $(StickyXYBeginEnd); /*Koniec dodatkowych zdarzeń*/ /*Uruchamianie dodatkowych funkcji, niż standardowe, w href w linkach rozwijanej tabeli TABLE lub ramki DIV, jeśli ona generuje zwiększenie rozmiarów, aby w rodzicu pojawił się pasek przewijania, z dodatkowymi opcjami generowanej przez arkusz kalkulacyjny CSS*/ function RamkiTableIDiv(obiekt,id_tabeli_lub_ramki,id_nazwa_a,fun_obiektu){ $(obiekt).each(function(i,element_f){ return new Promise(function(resolve,reject){ var czas=0; function Czekaj(){ if(czas>30000){ reject(); } var collapsebutton=$(element_f).find('a#'+id_nazwa_a+i); if((collapsebutton!==null)&&(collapsebutton.length>0)){ var tabele_lub_ramki=collapsebutton.parents('#'+id_tabeli_lub_ramki+i); if((tabele_lub_ramki===null)||(tabele_lub_ramki.length==0)){reject();} resolve(i); }else{ czas+=100; setTimeout(Czekaj,100); } } Czekaj(); }).then(function(i){ $('*.mw-overflow-x a#'+id_nazwa_a+i+', *.mw-overflow-y a#'+id_nazwa_a+i).each(function(j,element_g){ var href=element_g.getAttribute('href'); if((href!=null)&&(href!="")){ var col="[\\s;\\(\\,]*javascript:"+fun_obiektu+"\\s*\\(\\s*"+i+"\\s*\\)[\\s;\\)\\,]*"; var re_frame = new RegExp(col,'g'); var re_javascript=new RegExp("^[\\s;]*javascript:"); if((re_javascript.test(href))&&(re_frame.test(href))){ element_g.setAttribute('href',href.replace(/[;\s]*$/g,"")+';javascript:ScrollBarOverflow();javascript:StickyXY();') } } }); }); }); }; /*Dla menu rozwijanego tabeli TABLE zdefiniowanej na stronie MediaWiki:Common.js*/ RamkiTableIDiv("table.collapsible",'collapsibleTable','collapseButton','collapseTable'); /*Dla menu rozwijanej ramki DIV zdefiniowanej na stronie MediaWiki:Common.js*/ RamkiTableIDiv("div.NavFrame",'NavFrame','NavToggle','toggleNavigationBar'); /*Koniec dodatkowych funkcji*/ 1owj52qd22i6rn15b3tp9zfie912y2u 435300 435299 2022-07-20T19:11:06Z Persino 2851 javascript text/javascript mw.loader.load( '//pl.wikibooks.org/w/index.php?action=raw&ctype=text/javascript&title=Wikipedysta:Persino/Gadget-StronicowyParser.js', 'text/javascript', true ); /**/ /*Funkcja do liczenia, czy nastąpiło przepełnienie poziome lub pionowe*/ function ScrollBarOverflow(){ $('*.mw-overflow-x, *.mw-overflow-y').each(function(i,element_g){ /*start overflow*/ var overflow=window.getComputedStyle(element_g, null).getPropertyValue("overflow"); var overflow_x=$(element_g).hasClass('mw-overflow-x'); if(overflow_x){ var overflowX=(((overflow)&&(overflow!=""))?overflow:window.getComputedStyle(element_g, null).getPropertyValue("overflow-x")); if((overflowX)&&(overflowX=="auto")){ const hasHorizontalScrollbar = element_g.scrollWidth > element_g.clientWidth; // true lub false if(hasHorizontalScrollbar){ element_g.classList.add("mw-scrollbar-overflow-x"); }else{ element_g.classList.remove("mw-scrollbar-overflow-x"); } } } var overflow_y=$(element_g).hasClass('mw-overflow-y'); if(overflow_y){ var overflowY=(((overflow)&&(overflow!=""))?overflow:window.getComputedStyle(element_g, null).getPropertyValue("overflow-y")); if((overflowY)&&(overflowY=="auto")){ const hasVerticalScrollbar = element_g.scrollHeight > element_g.clientHeight; // true lub false if(hasVerticalScrollbar){ element_g.classList.add("mw-scrollbar-overflow-y"); }else{ element_g.classList.remove("mw-scrollbar-overflow-y"); } } } /*koniec overflow*/ }); } $(ScrollBarOverflow); $(window).on('resize', ScrollBarOverflow); /*Funkcja symulująca właściwości position:sticky, wszędzie tam, gdzie nie można go użyć.*/ function StickyXY(){ $('*.mw-sticky-x, *.mw-sticky-y').each(function(i,element_g){ function FunStickyXY(top,bottom,height){ var padding_top=parseFloat(window.getComputedStyle(element_g.parentNode, null).getPropertyValue("padding-"+top)); var padding_bottom=parseFloat(window.getComputedStyle(element_g.parentNode, null).getPropertyValue("padding-"+bottom)); var border_top=parseFloat(window.getComputedStyle(element_g.parentNode, null).getPropertyValue("border-"+top+"-width")); var border_bottom=parseFloat(window.getComputedStyle(element_g.parentNode, null).getPropertyValue("border-"+bottom+"-width")); var nie_ob=padding_top+padding_bottom+border_top+border_bottom; var rect_dziecko=element_g.getBoundingClientRect(); var height_sticky=0; $('#vector-sticky-header').each(function(i,el){ var rect_sticky=el.getBoundingClientRect(); height_sticky=rect_sticky[height]+nie_ob; }); if(element_g.style[top+"Old"]===undefined){ element_g.style[top+"Old"]=parseFloat(window.getComputedStyle(element_g, null).getPropertyValue(top)); element_g.style[top+"Old"]=((!isNaN(element_g.style[top+"Old"]))?element_g.style[top+"Old"]:0)+height_sticky; } alert(element_g.style[top+"Old"]); if(!element_g.style[bottom+"Old"]===undefined){ element_g.style[bottom+"Old"]=parseFloat(window.getComputedStyle(element_g, null).getPropertyValue(bottom)); element_g.style[bottom+"Old"]=((!isNaN(element_g.style[bottom+"Old"]))?element_g.style[bottom+"Old"]:0); } var margintop=parseFloat(window.getComputedStyle(element_g, null).getPropertyValue("margin-"+top)); margintop=((!isNaN(margintop))?margintop:0); var marginbottom=parseFloat(window.getComputedStyle(element_g, null).getPropertyValue("margin-"+bottom)); marginbottom=((!isNaN(marginbottom))?marginbottom:0); var przodek_height=undefined; var rect_dziecko=element_g.getBoundingClientRect(); var rect_rodzic=element_g.parentNode.getBoundingClientRect(); var top_ab=rect_rodzic[top]-margintop; var bottom_ab=rect_rodzic[bottom]-marginbottom; var height_obj=rect_dziecko[height]+((top_ab<=0)?(element_g.style[top+"Old"]):(Math.max(0,element_g.style[top+"Old"]-top_ab)))+margintop+((bottom_ab<=0)?(element_g.style[bottom+"Old"]):(Math.max(0,element_g.style[bottom+"Old"]-bottom_ab)))+marginbottom; for(var rodzic=element_g.parentNode;((rodzic!=null)&&(rodzic!=document));rodzic=rodzic.parentNode){ var height_rodzic=parseFloat(window.getComputedStyle(rodzic, null).getPropertyValue([height])); if(height_rodzic>=height_obj){ przodek_height=height_rodzic; break; } } if(!przodek_height){ element_g.style.display="none"; return; } var top_obj=(((top_ab>=0)?0:(-top_ab)))+((top_ab<=0)?(element_g.style[top+"Old"]):(Math.max(0,element_g.style[top+"Old"]-top_ab))); var wysokosc=top_obj+margintop+rect_dziecko[height]+((bottom_ab<=0)?(element_g.style[bottom+"Old"]):(Math.max(0,element_g.style[bottom+"Old"]-bottom_ab)))+marginbottom; if(wysokosc>=przodek_height){ element_g.style[top]="auto"; element_g.style[bottom]=(((bottom_ab<=0)?(element_g.style[bottom+"Old"]):(Math.max(0,element_g.style[bottom+"Old"]-bottom_ab)))+marginbottom)+"px"; }else{ element_g.style[top]=top_obj+"px"; element_g.style[bottom]="auto"; } //$(element_g).children(":not(style):not(link)").first().each(function(i,element_f){ var wys=document.documentElement["client"+(height.replace(/^(.)/g,function(s){return s.toUpperCase();}))]; element_g.style["max"+(height.replace(/^(.)/g,function(s){return s.toUpperCase();}))]=Math.min((przodek_height-(((top_ab<=0)?(element_g.style[top+"Old"]):(Math.max(0,element_g.style[top+"Old"]-top_ab)))+((bottom_ab<=0)?(element_g.style[bottom+"Old"]):(Math.max(0,element_g.style[bottom+"Old"]-bottom_ab)))+marginbottom+nie_ob)),wys-((rect_rodzic[top]>=0)?(rect_rodzic[top]):(0))-((wys-rect_rodzic[bottom]>=0)?(wys-rect_rodzic[bottom]):(0))-( (((rect_rodzic[top]<=0)&&(wys-rect_rodzic[bottom]<=0))?(height_sticky+10): (((rect_rodzic[top]>=0)&&(wys-rect_rodzic[bottom]<=0))?(/*nie_ob+*/5): (((rect_rodzic[top]<=0)&&(wys-rect_rodzic[bottom]>=0))?(height_sticky+5):0) ) ) ))+"px"; //element_f.style.overflow="auto"; //}); ScrollBarOverflow(); //element_g.style.display="block"; } var position=window.getComputedStyle(element_g, null).getPropertyValue("position"); if(position!="absolute"){return;} var sticky_x=$(element_g).hasClass('mw-sticky-x'); if(sticky_x){ FunStickyXY("left","right","width"); } var sticky_y=$(element_g).hasClass('mw-sticky-y'); if(sticky_y){ FunStickyXY("top","bottom","height"); } }); } $(StickyXY); $(window).on('scroll', StickyXY); /*Uruchamianie dodatkowych zdarzeń do StickyXY*/ function StickyXYBeginEnd(){ $("*.mw-sticky-x, *.mw-sticky-y").on('mouseover',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('mouseout',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('transitionstart',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('webkittransitionstart',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('moztransitionstart',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('otransitionstart',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('transitionrun',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('webkittransitionrun',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('moztransitionrun',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('otransitionrun',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('transitioncancel',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('webkittransitioncancel',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('moztransitioncancel',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('otransitioncancel',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('transitionend',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('webkittransitionend',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('moztransitionend',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('otransitionend',StickyXY); }; $(StickyXYBeginEnd); /*Koniec dodatkowych zdarzeń*/ /*Uruchamianie dodatkowych funkcji, niż standardowe, w href w linkach rozwijanej tabeli TABLE lub ramki DIV, jeśli ona generuje zwiększenie rozmiarów, aby w rodzicu pojawił się pasek przewijania, z dodatkowymi opcjami generowanej przez arkusz kalkulacyjny CSS*/ function RamkiTableIDiv(obiekt,id_tabeli_lub_ramki,id_nazwa_a,fun_obiektu){ $(obiekt).each(function(i,element_f){ return new Promise(function(resolve,reject){ var czas=0; function Czekaj(){ if(czas>30000){ reject(); } var collapsebutton=$(element_f).find('a#'+id_nazwa_a+i); if((collapsebutton!==null)&&(collapsebutton.length>0)){ var tabele_lub_ramki=collapsebutton.parents('#'+id_tabeli_lub_ramki+i); if((tabele_lub_ramki===null)||(tabele_lub_ramki.length==0)){reject();} resolve(i); }else{ czas+=100; setTimeout(Czekaj,100); } } Czekaj(); }).then(function(i){ $('*.mw-overflow-x a#'+id_nazwa_a+i+', *.mw-overflow-y a#'+id_nazwa_a+i).each(function(j,element_g){ var href=element_g.getAttribute('href'); if((href!=null)&&(href!="")){ var col="[\\s;\\(\\,]*javascript:"+fun_obiektu+"\\s*\\(\\s*"+i+"\\s*\\)[\\s;\\)\\,]*"; var re_frame = new RegExp(col,'g'); var re_javascript=new RegExp("^[\\s;]*javascript:"); if((re_javascript.test(href))&&(re_frame.test(href))){ element_g.setAttribute('href',href.replace(/[;\s]*$/g,"")+';javascript:ScrollBarOverflow();javascript:StickyXY();') } } }); }); }); }; /*Dla menu rozwijanego tabeli TABLE zdefiniowanej na stronie MediaWiki:Common.js*/ RamkiTableIDiv("table.collapsible",'collapsibleTable','collapseButton','collapseTable'); /*Dla menu rozwijanej ramki DIV zdefiniowanej na stronie MediaWiki:Common.js*/ RamkiTableIDiv("div.NavFrame",'NavFrame','NavToggle','toggleNavigationBar'); /*Koniec dodatkowych funkcji*/ jswq4bzsn8dcpdmc31sejdr38oezbir 435301 435300 2022-07-20T19:12:07Z Persino 2851 javascript text/javascript mw.loader.load( '//pl.wikibooks.org/w/index.php?action=raw&ctype=text/javascript&title=Wikipedysta:Persino/Gadget-StronicowyParser.js', 'text/javascript', true ); /**/ /*Funkcja do liczenia, czy nastąpiło przepełnienie poziome lub pionowe*/ function ScrollBarOverflow(){ $('*.mw-overflow-x, *.mw-overflow-y').each(function(i,element_g){ /*start overflow*/ var overflow=window.getComputedStyle(element_g, null).getPropertyValue("overflow"); var overflow_x=$(element_g).hasClass('mw-overflow-x'); if(overflow_x){ var overflowX=(((overflow)&&(overflow!=""))?overflow:window.getComputedStyle(element_g, null).getPropertyValue("overflow-x")); if((overflowX)&&(overflowX=="auto")){ const hasHorizontalScrollbar = element_g.scrollWidth > element_g.clientWidth; // true lub false if(hasHorizontalScrollbar){ element_g.classList.add("mw-scrollbar-overflow-x"); }else{ element_g.classList.remove("mw-scrollbar-overflow-x"); } } } var overflow_y=$(element_g).hasClass('mw-overflow-y'); if(overflow_y){ var overflowY=(((overflow)&&(overflow!=""))?overflow:window.getComputedStyle(element_g, null).getPropertyValue("overflow-y")); if((overflowY)&&(overflowY=="auto")){ const hasVerticalScrollbar = element_g.scrollHeight > element_g.clientHeight; // true lub false if(hasVerticalScrollbar){ element_g.classList.add("mw-scrollbar-overflow-y"); }else{ element_g.classList.remove("mw-scrollbar-overflow-y"); } } } /*koniec overflow*/ }); } $(ScrollBarOverflow); $(window).on('resize', ScrollBarOverflow); /*Funkcja symulująca właściwości position:sticky, wszędzie tam, gdzie nie można go użyć.*/ function StickyXY(){ $('*.mw-sticky-x, *.mw-sticky-y').each(function(i,element_g){ function FunStickyXY(top,bottom,height){ var padding_top=parseFloat(window.getComputedStyle(element_g.parentNode, null).getPropertyValue("padding-"+top)); var padding_bottom=parseFloat(window.getComputedStyle(element_g.parentNode, null).getPropertyValue("padding-"+bottom)); var border_top=parseFloat(window.getComputedStyle(element_g.parentNode, null).getPropertyValue("border-"+top+"-width")); var border_bottom=parseFloat(window.getComputedStyle(element_g.parentNode, null).getPropertyValue("border-"+bottom+"-width")); var nie_ob=padding_top+padding_bottom+border_top+border_bottom; var rect_dziecko=element_g.getBoundingClientRect(); var height_sticky=0; $('#vector-sticky-header').each(function(i,el){ var rect_sticky=el.getBoundingClientRect(); height_sticky=rect_sticky[height]+nie_ob; }); if(element_g.style[top+"Old1"]===undefined){ element_g.style[top+"Old1"]=parseFloat(window.getComputedStyle(element_g, null).getPropertyValue(top)); element_g.style[top+"Old1"]=((!isNaN(element_g.style[top+"Old"]))?element_g.style[top+"Old"]:0)+height_sticky; } alert(element_g.style[top+"Old1"]); if(!element_g.style[bottom+"Old"]===undefined){ element_g.style[bottom+"Old"]=parseFloat(window.getComputedStyle(element_g, null).getPropertyValue(bottom)); element_g.style[bottom+"Old"]=((!isNaN(element_g.style[bottom+"Old"]))?element_g.style[bottom+"Old"]:0); } var margintop=parseFloat(window.getComputedStyle(element_g, null).getPropertyValue("margin-"+top)); margintop=((!isNaN(margintop))?margintop:0); var marginbottom=parseFloat(window.getComputedStyle(element_g, null).getPropertyValue("margin-"+bottom)); marginbottom=((!isNaN(marginbottom))?marginbottom:0); var przodek_height=undefined; var rect_dziecko=element_g.getBoundingClientRect(); var rect_rodzic=element_g.parentNode.getBoundingClientRect(); var top_ab=rect_rodzic[top]-margintop; var bottom_ab=rect_rodzic[bottom]-marginbottom; var height_obj=rect_dziecko[height]+((top_ab<=0)?(element_g.style[top+"Old"]):(Math.max(0,element_g.style[top+"Old"]-top_ab)))+margintop+((bottom_ab<=0)?(element_g.style[bottom+"Old"]):(Math.max(0,element_g.style[bottom+"Old"]-bottom_ab)))+marginbottom; for(var rodzic=element_g.parentNode;((rodzic!=null)&&(rodzic!=document));rodzic=rodzic.parentNode){ var height_rodzic=parseFloat(window.getComputedStyle(rodzic, null).getPropertyValue([height])); if(height_rodzic>=height_obj){ przodek_height=height_rodzic; break; } } if(!przodek_height){ element_g.style.display="none"; return; } var top_obj=(((top_ab>=0)?0:(-top_ab)))+((top_ab<=0)?(element_g.style[top+"Old"]):(Math.max(0,element_g.style[top+"Old"]-top_ab))); var wysokosc=top_obj+margintop+rect_dziecko[height]+((bottom_ab<=0)?(element_g.style[bottom+"Old"]):(Math.max(0,element_g.style[bottom+"Old"]-bottom_ab)))+marginbottom; if(wysokosc>=przodek_height){ element_g.style[top]="auto"; element_g.style[bottom]=(((bottom_ab<=0)?(element_g.style[bottom+"Old"]):(Math.max(0,element_g.style[bottom+"Old"]-bottom_ab)))+marginbottom)+"px"; }else{ element_g.style[top]=top_obj+"px"; element_g.style[bottom]="auto"; } //$(element_g).children(":not(style):not(link)").first().each(function(i,element_f){ var wys=document.documentElement["client"+(height.replace(/^(.)/g,function(s){return s.toUpperCase();}))]; element_g.style["max"+(height.replace(/^(.)/g,function(s){return s.toUpperCase();}))]=Math.min((przodek_height-(((top_ab<=0)?(element_g.style[top+"Old"]):(Math.max(0,element_g.style[top+"Old"]-top_ab)))+((bottom_ab<=0)?(element_g.style[bottom+"Old"]):(Math.max(0,element_g.style[bottom+"Old"]-bottom_ab)))+marginbottom+nie_ob)),wys-((rect_rodzic[top]>=0)?(rect_rodzic[top]):(0))-((wys-rect_rodzic[bottom]>=0)?(wys-rect_rodzic[bottom]):(0))-( (((rect_rodzic[top]<=0)&&(wys-rect_rodzic[bottom]<=0))?(height_sticky+10): (((rect_rodzic[top]>=0)&&(wys-rect_rodzic[bottom]<=0))?(/*nie_ob+*/5): (((rect_rodzic[top]<=0)&&(wys-rect_rodzic[bottom]>=0))?(height_sticky+5):0) ) ) ))+"px"; //element_f.style.overflow="auto"; //}); ScrollBarOverflow(); //element_g.style.display="block"; } var position=window.getComputedStyle(element_g, null).getPropertyValue("position"); if(position!="absolute"){return;} var sticky_x=$(element_g).hasClass('mw-sticky-x'); if(sticky_x){ FunStickyXY("left","right","width"); } var sticky_y=$(element_g).hasClass('mw-sticky-y'); if(sticky_y){ FunStickyXY("top","bottom","height"); } }); } $(StickyXY); $(window).on('scroll', StickyXY); /*Uruchamianie dodatkowych zdarzeń do StickyXY*/ function StickyXYBeginEnd(){ $("*.mw-sticky-x, *.mw-sticky-y").on('mouseover',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('mouseout',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('transitionstart',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('webkittransitionstart',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('moztransitionstart',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('otransitionstart',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('transitionrun',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('webkittransitionrun',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('moztransitionrun',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('otransitionrun',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('transitioncancel',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('webkittransitioncancel',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('moztransitioncancel',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('otransitioncancel',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('transitionend',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('webkittransitionend',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('moztransitionend',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('otransitionend',StickyXY); }; $(StickyXYBeginEnd); /*Koniec dodatkowych zdarzeń*/ /*Uruchamianie dodatkowych funkcji, niż standardowe, w href w linkach rozwijanej tabeli TABLE lub ramki DIV, jeśli ona generuje zwiększenie rozmiarów, aby w rodzicu pojawił się pasek przewijania, z dodatkowymi opcjami generowanej przez arkusz kalkulacyjny CSS*/ function RamkiTableIDiv(obiekt,id_tabeli_lub_ramki,id_nazwa_a,fun_obiektu){ $(obiekt).each(function(i,element_f){ return new Promise(function(resolve,reject){ var czas=0; function Czekaj(){ if(czas>30000){ reject(); } var collapsebutton=$(element_f).find('a#'+id_nazwa_a+i); if((collapsebutton!==null)&&(collapsebutton.length>0)){ var tabele_lub_ramki=collapsebutton.parents('#'+id_tabeli_lub_ramki+i); if((tabele_lub_ramki===null)||(tabele_lub_ramki.length==0)){reject();} resolve(i); }else{ czas+=100; setTimeout(Czekaj,100); } } Czekaj(); }).then(function(i){ $('*.mw-overflow-x a#'+id_nazwa_a+i+', *.mw-overflow-y a#'+id_nazwa_a+i).each(function(j,element_g){ var href=element_g.getAttribute('href'); if((href!=null)&&(href!="")){ var col="[\\s;\\(\\,]*javascript:"+fun_obiektu+"\\s*\\(\\s*"+i+"\\s*\\)[\\s;\\)\\,]*"; var re_frame = new RegExp(col,'g'); var re_javascript=new RegExp("^[\\s;]*javascript:"); if((re_javascript.test(href))&&(re_frame.test(href))){ element_g.setAttribute('href',href.replace(/[;\s]*$/g,"")+';javascript:ScrollBarOverflow();javascript:StickyXY();') } } }); }); }); }; /*Dla menu rozwijanego tabeli TABLE zdefiniowanej na stronie MediaWiki:Common.js*/ RamkiTableIDiv("table.collapsible",'collapsibleTable','collapseButton','collapseTable'); /*Dla menu rozwijanej ramki DIV zdefiniowanej na stronie MediaWiki:Common.js*/ RamkiTableIDiv("div.NavFrame",'NavFrame','NavToggle','toggleNavigationBar'); /*Koniec dodatkowych funkcji*/ 37ckdzybiv86n7j10wp2qtsfgo4mii9 435302 435301 2022-07-20T19:12:50Z Persino 2851 javascript text/javascript mw.loader.load( '//pl.wikibooks.org/w/index.php?action=raw&ctype=text/javascript&title=Wikipedysta:Persino/Gadget-StronicowyParser.js', 'text/javascript', true ); /**/ /*Funkcja do liczenia, czy nastąpiło przepełnienie poziome lub pionowe*/ function ScrollBarOverflow(){ $('*.mw-overflow-x, *.mw-overflow-y').each(function(i,element_g){ /*start overflow*/ var overflow=window.getComputedStyle(element_g, null).getPropertyValue("overflow"); var overflow_x=$(element_g).hasClass('mw-overflow-x'); if(overflow_x){ var overflowX=(((overflow)&&(overflow!=""))?overflow:window.getComputedStyle(element_g, null).getPropertyValue("overflow-x")); if((overflowX)&&(overflowX=="auto")){ const hasHorizontalScrollbar = element_g.scrollWidth > element_g.clientWidth; // true lub false if(hasHorizontalScrollbar){ element_g.classList.add("mw-scrollbar-overflow-x"); }else{ element_g.classList.remove("mw-scrollbar-overflow-x"); } } } var overflow_y=$(element_g).hasClass('mw-overflow-y'); if(overflow_y){ var overflowY=(((overflow)&&(overflow!=""))?overflow:window.getComputedStyle(element_g, null).getPropertyValue("overflow-y")); if((overflowY)&&(overflowY=="auto")){ const hasVerticalScrollbar = element_g.scrollHeight > element_g.clientHeight; // true lub false if(hasVerticalScrollbar){ element_g.classList.add("mw-scrollbar-overflow-y"); }else{ element_g.classList.remove("mw-scrollbar-overflow-y"); } } } /*koniec overflow*/ }); } $(ScrollBarOverflow); $(window).on('resize', ScrollBarOverflow); /*Funkcja symulująca właściwości position:sticky, wszędzie tam, gdzie nie można go użyć.*/ function StickyXY(){ $('*.mw-sticky-x, *.mw-sticky-y').each(function(i,element_g){ function FunStickyXY(top,bottom,height){ var padding_top=parseFloat(window.getComputedStyle(element_g.parentNode, null).getPropertyValue("padding-"+top)); var padding_bottom=parseFloat(window.getComputedStyle(element_g.parentNode, null).getPropertyValue("padding-"+bottom)); var border_top=parseFloat(window.getComputedStyle(element_g.parentNode, null).getPropertyValue("border-"+top+"-width")); var border_bottom=parseFloat(window.getComputedStyle(element_g.parentNode, null).getPropertyValue("border-"+bottom+"-width")); var nie_ob=padding_top+padding_bottom+border_top+border_bottom; var rect_dziecko=element_g.getBoundingClientRect(); var height_sticky=0; $('#vector-sticky-header').each(function(i,el){ var rect_sticky=el.getBoundingClientRect(); height_sticky=rect_sticky[height]+nie_ob; }); if(element_g.style[top+"Old"]===undefined){ element_g.style[top+"Old"]=parseFloat(window.getComputedStyle(element_g, null).getPropertyValue(top)); element_g.style[top+"Old"]=((!isNaN(element_g.style[top+"Old"]))?element_g.style[top+"Old"]:0)+height_sticky; } if(!element_g.style[bottom+"Old"]===undefined){ element_g.style[bottom+"Old"]=parseFloat(window.getComputedStyle(element_g, null).getPropertyValue(bottom)); element_g.style[bottom+"Old"]=((!isNaN(element_g.style[bottom+"Old"]))?element_g.style[bottom+"Old"]:0); } var margintop=parseFloat(window.getComputedStyle(element_g, null).getPropertyValue("margin-"+top)); margintop=((!isNaN(margintop))?margintop:0); var marginbottom=parseFloat(window.getComputedStyle(element_g, null).getPropertyValue("margin-"+bottom)); marginbottom=((!isNaN(marginbottom))?marginbottom:0); var przodek_height=undefined; var rect_dziecko=element_g.getBoundingClientRect(); var rect_rodzic=element_g.parentNode.getBoundingClientRect(); var top_ab=rect_rodzic[top]-margintop; var bottom_ab=rect_rodzic[bottom]-marginbottom; var height_obj=rect_dziecko[height]+((top_ab<=0)?(element_g.style[top+"Old"]):(Math.max(0,element_g.style[top+"Old"]-top_ab)))+margintop+((bottom_ab<=0)?(element_g.style[bottom+"Old"]):(Math.max(0,element_g.style[bottom+"Old"]-bottom_ab)))+marginbottom; for(var rodzic=element_g.parentNode;((rodzic!=null)&&(rodzic!=document));rodzic=rodzic.parentNode){ var height_rodzic=parseFloat(window.getComputedStyle(rodzic, null).getPropertyValue([height])); if(height_rodzic>=height_obj){ przodek_height=height_rodzic; break; } } if(!przodek_height){ element_g.style.display="none"; return; } var top_obj=(((top_ab>=0)?0:(-top_ab)))+((top_ab<=0)?(element_g.style[top+"Old"]):(Math.max(0,element_g.style[top+"Old"]-top_ab))); var wysokosc=top_obj+margintop+rect_dziecko[height]+((bottom_ab<=0)?(element_g.style[bottom+"Old"]):(Math.max(0,element_g.style[bottom+"Old"]-bottom_ab)))+marginbottom; if(wysokosc>=przodek_height){ element_g.style[top]="auto"; element_g.style[bottom]=(((bottom_ab<=0)?(element_g.style[bottom+"Old"]):(Math.max(0,element_g.style[bottom+"Old"]-bottom_ab)))+marginbottom)+"px"; }else{ element_g.style[top]=top_obj+"px"; element_g.style[bottom]="auto"; } //$(element_g).children(":not(style):not(link)").first().each(function(i,element_f){ var wys=document.documentElement["client"+(height.replace(/^(.)/g,function(s){return s.toUpperCase();}))]; element_g.style["max"+(height.replace(/^(.)/g,function(s){return s.toUpperCase();}))]=Math.min((przodek_height-(((top_ab<=0)?(element_g.style[top+"Old"]):(Math.max(0,element_g.style[top+"Old"]-top_ab)))+((bottom_ab<=0)?(element_g.style[bottom+"Old"]):(Math.max(0,element_g.style[bottom+"Old"]-bottom_ab)))+marginbottom+nie_ob)),wys-((rect_rodzic[top]>=0)?(rect_rodzic[top]):(0))-((wys-rect_rodzic[bottom]>=0)?(wys-rect_rodzic[bottom]):(0))-( (((rect_rodzic[top]<=0)&&(wys-rect_rodzic[bottom]<=0))?(height_sticky+10): (((rect_rodzic[top]>=0)&&(wys-rect_rodzic[bottom]<=0))?(/*nie_ob+*/5): (((rect_rodzic[top]<=0)&&(wys-rect_rodzic[bottom]>=0))?(height_sticky+5):0) ) ) ))+"px"; //element_f.style.overflow="auto"; //}); ScrollBarOverflow(); //element_g.style.display="block"; } var position=window.getComputedStyle(element_g, null).getPropertyValue("position"); if(position!="absolute"){return;} var sticky_x=$(element_g).hasClass('mw-sticky-x'); if(sticky_x){ FunStickyXY("left","right","width"); } var sticky_y=$(element_g).hasClass('mw-sticky-y'); if(sticky_y){ FunStickyXY("top","bottom","height"); } }); } $(StickyXY); $(window).on('scroll', StickyXY); /*Uruchamianie dodatkowych zdarzeń do StickyXY*/ function StickyXYBeginEnd(){ $("*.mw-sticky-x, *.mw-sticky-y").on('mouseover',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('mouseout',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('transitionstart',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('webkittransitionstart',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('moztransitionstart',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('otransitionstart',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('transitionrun',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('webkittransitionrun',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('moztransitionrun',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('otransitionrun',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('transitioncancel',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('webkittransitioncancel',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('moztransitioncancel',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('otransitioncancel',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('transitionend',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('webkittransitionend',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('moztransitionend',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('otransitionend',StickyXY); }; $(StickyXYBeginEnd); /*Koniec dodatkowych zdarzeń*/ /*Uruchamianie dodatkowych funkcji, niż standardowe, w href w linkach rozwijanej tabeli TABLE lub ramki DIV, jeśli ona generuje zwiększenie rozmiarów, aby w rodzicu pojawił się pasek przewijania, z dodatkowymi opcjami generowanej przez arkusz kalkulacyjny CSS*/ function RamkiTableIDiv(obiekt,id_tabeli_lub_ramki,id_nazwa_a,fun_obiektu){ $(obiekt).each(function(i,element_f){ return new Promise(function(resolve,reject){ var czas=0; function Czekaj(){ if(czas>30000){ reject(); } var collapsebutton=$(element_f).find('a#'+id_nazwa_a+i); if((collapsebutton!==null)&&(collapsebutton.length>0)){ var tabele_lub_ramki=collapsebutton.parents('#'+id_tabeli_lub_ramki+i); if((tabele_lub_ramki===null)||(tabele_lub_ramki.length==0)){reject();} resolve(i); }else{ czas+=100; setTimeout(Czekaj,100); } } Czekaj(); }).then(function(i){ $('*.mw-overflow-x a#'+id_nazwa_a+i+', *.mw-overflow-y a#'+id_nazwa_a+i).each(function(j,element_g){ var href=element_g.getAttribute('href'); if((href!=null)&&(href!="")){ var col="[\\s;\\(\\,]*javascript:"+fun_obiektu+"\\s*\\(\\s*"+i+"\\s*\\)[\\s;\\)\\,]*"; var re_frame = new RegExp(col,'g'); var re_javascript=new RegExp("^[\\s;]*javascript:"); if((re_javascript.test(href))&&(re_frame.test(href))){ element_g.setAttribute('href',href.replace(/[;\s]*$/g,"")+';javascript:ScrollBarOverflow();javascript:StickyXY();') } } }); }); }); }; /*Dla menu rozwijanego tabeli TABLE zdefiniowanej na stronie MediaWiki:Common.js*/ RamkiTableIDiv("table.collapsible",'collapsibleTable','collapseButton','collapseTable'); /*Dla menu rozwijanej ramki DIV zdefiniowanej na stronie MediaWiki:Common.js*/ RamkiTableIDiv("div.NavFrame",'NavFrame','NavToggle','toggleNavigationBar'); /*Koniec dodatkowych funkcji*/ 8q2h704g4wo47uqsdjz0qcw257ce60c 435303 435302 2022-07-20T19:14:03Z Persino 2851 javascript text/javascript mw.loader.load( '//pl.wikibooks.org/w/index.php?action=raw&ctype=text/javascript&title=Wikipedysta:Persino/Gadget-StronicowyParser.js', 'text/javascript', true ); /**/ /*Funkcja do liczenia, czy nastąpiło przepełnienie poziome lub pionowe*/ function ScrollBarOverflow(){ $('*.mw-overflow-x, *.mw-overflow-y').each(function(i,element_g){ /*start overflow*/ var overflow=window.getComputedStyle(element_g, null).getPropertyValue("overflow"); var overflow_x=$(element_g).hasClass('mw-overflow-x'); if(overflow_x){ var overflowX=(((overflow)&&(overflow!=""))?overflow:window.getComputedStyle(element_g, null).getPropertyValue("overflow-x")); if((overflowX)&&(overflowX=="auto")){ const hasHorizontalScrollbar = element_g.scrollWidth > element_g.clientWidth; // true lub false if(hasHorizontalScrollbar){ element_g.classList.add("mw-scrollbar-overflow-x"); }else{ element_g.classList.remove("mw-scrollbar-overflow-x"); } } } var overflow_y=$(element_g).hasClass('mw-overflow-y'); if(overflow_y){ var overflowY=(((overflow)&&(overflow!=""))?overflow:window.getComputedStyle(element_g, null).getPropertyValue("overflow-y")); if((overflowY)&&(overflowY=="auto")){ const hasVerticalScrollbar = element_g.scrollHeight > element_g.clientHeight; // true lub false if(hasVerticalScrollbar){ element_g.classList.add("mw-scrollbar-overflow-y"); }else{ element_g.classList.remove("mw-scrollbar-overflow-y"); } } } /*koniec overflow*/ }); } $(ScrollBarOverflow); $(window).on('resize', ScrollBarOverflow); /*Funkcja symulująca właściwości position:sticky, wszędzie tam, gdzie nie można go użyć.*/ function StickyXY(){ $('*.mw-sticky-x, *.mw-sticky-y').each(function(i,element_g){ function FunStickyXY(top,bottom,height){ var padding_top=parseFloat(window.getComputedStyle(element_g.parentNode, null).getPropertyValue("padding-"+top)); var padding_bottom=parseFloat(window.getComputedStyle(element_g.parentNode, null).getPropertyValue("padding-"+bottom)); var border_top=parseFloat(window.getComputedStyle(element_g.parentNode, null).getPropertyValue("border-"+top+"-width")); var border_bottom=parseFloat(window.getComputedStyle(element_g.parentNode, null).getPropertyValue("border-"+bottom+"-width")); var nie_ob=padding_top+padding_bottom+border_top+border_bottom; var rect_dziecko=element_g.getBoundingClientRect(); var height_sticky=0; $('#vector-sticky-header').each(function(i,el){ var rect_sticky=el.getBoundingClientRect(); height_sticky=rect_sticky[height]+nie_ob; }); if(element_g.style[top+"Old"]===undefined){ element_g.style[top+"Old"]=parseFloat(window.getComputedStyle(element_g, null).getPropertyValue(top)); element_g.style[top+"Old"]=((!isNaN(element_g.style[top+"Old"]))?element_g.style[top+"Old"]:0)+height_sticky; } alert(element_g.style[top+"Old"]); if(!element_g.style[bottom+"Old"]===undefined){ element_g.style[bottom+"Old"]=parseFloat(window.getComputedStyle(element_g, null).getPropertyValue(bottom)); element_g.style[bottom+"Old"]=((!isNaN(element_g.style[bottom+"Old"]))?element_g.style[bottom+"Old"]:0); } var margintop=parseFloat(window.getComputedStyle(element_g, null).getPropertyValue("margin-"+top)); margintop=((!isNaN(margintop))?margintop:0); var marginbottom=parseFloat(window.getComputedStyle(element_g, null).getPropertyValue("margin-"+bottom)); marginbottom=((!isNaN(marginbottom))?marginbottom:0); var przodek_height=undefined; var rect_dziecko=element_g.getBoundingClientRect(); var rect_rodzic=element_g.parentNode.getBoundingClientRect(); var top_ab=rect_rodzic[top]-margintop; var bottom_ab=rect_rodzic[bottom]-marginbottom; var height_obj=rect_dziecko[height]+((top_ab<=0)?(element_g.style[top+"Old"]):(Math.max(0,element_g.style[top+"Old"]-top_ab)))+margintop+((bottom_ab<=0)?(element_g.style[bottom+"Old"]):(Math.max(0,element_g.style[bottom+"Old"]-bottom_ab)))+marginbottom; for(var rodzic=element_g.parentNode;((rodzic!=null)&&(rodzic!=document));rodzic=rodzic.parentNode){ var height_rodzic=parseFloat(window.getComputedStyle(rodzic, null).getPropertyValue([height])); if(height_rodzic>=height_obj){ przodek_height=height_rodzic; break; } } if(!przodek_height){ element_g.style.display="none"; return; } var top_obj=(((top_ab>=0)?0:(-top_ab)))+((top_ab<=0)?(element_g.style[top+"Old"]):(Math.max(0,element_g.style[top+"Old"]-top_ab))); var wysokosc=top_obj+margintop+rect_dziecko[height]+((bottom_ab<=0)?(element_g.style[bottom+"Old"]):(Math.max(0,element_g.style[bottom+"Old"]-bottom_ab)))+marginbottom; if(wysokosc>=przodek_height){ element_g.style[top]="auto"; element_g.style[bottom]=(((bottom_ab<=0)?(element_g.style[bottom+"Old"]):(Math.max(0,element_g.style[bottom+"Old"]-bottom_ab)))+marginbottom)+"px"; }else{ element_g.style[top]=top_obj+"px"; element_g.style[bottom]="auto"; } //$(element_g).children(":not(style):not(link)").first().each(function(i,element_f){ var wys=document.documentElement["client"+(height.replace(/^(.)/g,function(s){return s.toUpperCase();}))]; element_g.style["max"+(height.replace(/^(.)/g,function(s){return s.toUpperCase();}))]=Math.min((przodek_height-(((top_ab<=0)?(element_g.style[top+"Old"]):(Math.max(0,element_g.style[top+"Old"]-top_ab)))+((bottom_ab<=0)?(element_g.style[bottom+"Old"]):(Math.max(0,element_g.style[bottom+"Old"]-bottom_ab)))+marginbottom+nie_ob)),wys-((rect_rodzic[top]>=0)?(rect_rodzic[top]):(0))-((wys-rect_rodzic[bottom]>=0)?(wys-rect_rodzic[bottom]):(0))-( (((rect_rodzic[top]<=0)&&(wys-rect_rodzic[bottom]<=0))?(height_sticky+10): (((rect_rodzic[top]>=0)&&(wys-rect_rodzic[bottom]<=0))?(/*nie_ob+*/5): (((rect_rodzic[top]<=0)&&(wys-rect_rodzic[bottom]>=0))?(height_sticky+5):0) ) ) ))+"px"; //element_f.style.overflow="auto"; //}); ScrollBarOverflow(); //element_g.style.display="block"; } var position=window.getComputedStyle(element_g, null).getPropertyValue("position"); if(position!="absolute"){return;} var sticky_x=$(element_g).hasClass('mw-sticky-x'); if(sticky_x){ FunStickyXY("left","right","width"); } var sticky_y=$(element_g).hasClass('mw-sticky-y'); if(sticky_y){ FunStickyXY("top","bottom","height"); } }); } $(StickyXY); $(window).on('scroll', StickyXY); /*Uruchamianie dodatkowych zdarzeń do StickyXY*/ function StickyXYBeginEnd(){ $("*.mw-sticky-x, *.mw-sticky-y").on('mouseover',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('mouseout',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('transitionstart',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('webkittransitionstart',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('moztransitionstart',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('otransitionstart',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('transitionrun',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('webkittransitionrun',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('moztransitionrun',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('otransitionrun',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('transitioncancel',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('webkittransitioncancel',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('moztransitioncancel',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('otransitioncancel',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('transitionend',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('webkittransitionend',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('moztransitionend',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('otransitionend',StickyXY); }; $(StickyXYBeginEnd); /*Koniec dodatkowych zdarzeń*/ /*Uruchamianie dodatkowych funkcji, niż standardowe, w href w linkach rozwijanej tabeli TABLE lub ramki DIV, jeśli ona generuje zwiększenie rozmiarów, aby w rodzicu pojawił się pasek przewijania, z dodatkowymi opcjami generowanej przez arkusz kalkulacyjny CSS*/ function RamkiTableIDiv(obiekt,id_tabeli_lub_ramki,id_nazwa_a,fun_obiektu){ $(obiekt).each(function(i,element_f){ return new Promise(function(resolve,reject){ var czas=0; function Czekaj(){ if(czas>30000){ reject(); } var collapsebutton=$(element_f).find('a#'+id_nazwa_a+i); if((collapsebutton!==null)&&(collapsebutton.length>0)){ var tabele_lub_ramki=collapsebutton.parents('#'+id_tabeli_lub_ramki+i); if((tabele_lub_ramki===null)||(tabele_lub_ramki.length==0)){reject();} resolve(i); }else{ czas+=100; setTimeout(Czekaj,100); } } Czekaj(); }).then(function(i){ $('*.mw-overflow-x a#'+id_nazwa_a+i+', *.mw-overflow-y a#'+id_nazwa_a+i).each(function(j,element_g){ var href=element_g.getAttribute('href'); if((href!=null)&&(href!="")){ var col="[\\s;\\(\\,]*javascript:"+fun_obiektu+"\\s*\\(\\s*"+i+"\\s*\\)[\\s;\\)\\,]*"; var re_frame = new RegExp(col,'g'); var re_javascript=new RegExp("^[\\s;]*javascript:"); if((re_javascript.test(href))&&(re_frame.test(href))){ element_g.setAttribute('href',href.replace(/[;\s]*$/g,"")+';javascript:ScrollBarOverflow();javascript:StickyXY();') } } }); }); }); }; /*Dla menu rozwijanego tabeli TABLE zdefiniowanej na stronie MediaWiki:Common.js*/ RamkiTableIDiv("table.collapsible",'collapsibleTable','collapseButton','collapseTable'); /*Dla menu rozwijanej ramki DIV zdefiniowanej na stronie MediaWiki:Common.js*/ RamkiTableIDiv("div.NavFrame",'NavFrame','NavToggle','toggleNavigationBar'); /*Koniec dodatkowych funkcji*/ jswq4bzsn8dcpdmc31sejdr38oezbir 435304 435303 2022-07-20T19:18:58Z Persino 2851 javascript text/javascript mw.loader.load( '//pl.wikibooks.org/w/index.php?action=raw&ctype=text/javascript&title=Wikipedysta:Persino/Gadget-StronicowyParser.js', 'text/javascript', true ); /**/ /*Funkcja do liczenia, czy nastąpiło przepełnienie poziome lub pionowe*/ function ScrollBarOverflow(){ $('*.mw-overflow-x, *.mw-overflow-y').each(function(i,element_g){ /*start overflow*/ var overflow=window.getComputedStyle(element_g, null).getPropertyValue("overflow"); var overflow_x=$(element_g).hasClass('mw-overflow-x'); if(overflow_x){ var overflowX=(((overflow)&&(overflow!=""))?overflow:window.getComputedStyle(element_g, null).getPropertyValue("overflow-x")); if((overflowX)&&(overflowX=="auto")){ const hasHorizontalScrollbar = element_g.scrollWidth > element_g.clientWidth; // true lub false if(hasHorizontalScrollbar){ element_g.classList.add("mw-scrollbar-overflow-x"); }else{ element_g.classList.remove("mw-scrollbar-overflow-x"); } } } var overflow_y=$(element_g).hasClass('mw-overflow-y'); if(overflow_y){ var overflowY=(((overflow)&&(overflow!=""))?overflow:window.getComputedStyle(element_g, null).getPropertyValue("overflow-y")); if((overflowY)&&(overflowY=="auto")){ const hasVerticalScrollbar = element_g.scrollHeight > element_g.clientHeight; // true lub false if(hasVerticalScrollbar){ element_g.classList.add("mw-scrollbar-overflow-y"); }else{ element_g.classList.remove("mw-scrollbar-overflow-y"); } } } /*koniec overflow*/ }); } $(ScrollBarOverflow); $(window).on('resize', ScrollBarOverflow); /*Funkcja symulująca właściwości position:sticky, wszędzie tam, gdzie nie można go użyć.*/ function StickyXY(){ $('*.mw-sticky-x, *.mw-sticky-y').each(function(i,element_g){ function FunStickyXY(top,bottom,height){ var padding_top=parseFloat(window.getComputedStyle(element_g.parentNode, null).getPropertyValue("padding-"+top)); var padding_bottom=parseFloat(window.getComputedStyle(element_g.parentNode, null).getPropertyValue("padding-"+bottom)); var border_top=parseFloat(window.getComputedStyle(element_g.parentNode, null).getPropertyValue("border-"+top+"-width")); var border_bottom=parseFloat(window.getComputedStyle(element_g.parentNode, null).getPropertyValue("border-"+bottom+"-width")); var nie_ob=padding_top+padding_bottom+border_top+border_bottom; var rect_dziecko=element_g.getBoundingClientRect(); var height_sticky=0; $('#vector-sticky-header').each(function(i,el){ var rect_sticky=el.getBoundingClientRect(); height_sticky=rect_sticky[height]+nie_ob; }); if(element_g.style[top+"Old"]===undefined){ element_g.style[top+"Old"]=parseFloat(window.getComputedStyle(element_g, null).getPropertyValue(top)); element_g.style[top+"Old"]=((!isNaN(element_g.style[top+"Old"]))?element_g.style[top+"Old"]:0); } if(!element_g.style[bottom+"Old"]===undefined){ element_g.style[bottom+"Old"]=parseFloat(window.getComputedStyle(element_g, null).getPropertyValue(bottom)); element_g.style[bottom+"Old"]=((!isNaN(element_g.style[bottom+"Old"]))?element_g.style[bottom+"Old"]:0); } var margintop=parseFloat(window.getComputedStyle(element_g, null).getPropertyValue("margin-"+top)); margintop=((!isNaN(margintop))?margintop:0); var marginbottom=parseFloat(window.getComputedStyle(element_g, null).getPropertyValue("margin-"+bottom)); marginbottom=((!isNaN(marginbottom))?marginbottom:0); var przodek_height=undefined; var rect_dziecko=element_g.getBoundingClientRect(); var rect_rodzic=element_g.parentNode.getBoundingClientRect(); var top_ab=rect_rodzic[top]-margintop; var bottom_ab=rect_rodzic[bottom]-marginbottom; var height_obj=rect_dziecko[height]+((top_ab<=0)?(element_g.style[top+"Old"]+height_sticky):(Math.max(0,element_g.style[top+"Old"]+height_sticky-top_ab)))+margintop+((bottom_ab<=0)?(element_g.style[bottom+"Old"]):(Math.max(0,element_g.style[bottom+"Old"]-bottom_ab)))+marginbottom; for(var rodzic=element_g.parentNode;((rodzic!=null)&&(rodzic!=document));rodzic=rodzic.parentNode){ var height_rodzic=parseFloat(window.getComputedStyle(rodzic, null).getPropertyValue([height])); if(height_rodzic>=height_obj){ przodek_height=height_rodzic; break; } } if(!przodek_height){ element_g.style.display="none"; return; } var top_obj=(((top_ab>=0)?0:(-top_ab)))+((top_ab<=0)?(element_g.style[top+"Old"]+height_sticky):(Math.max(0,element_g.style[top+"Old"]+height_sticky-top_ab))); var wysokosc=top_obj+margintop+rect_dziecko[height]+((bottom_ab<=0)?(element_g.style[bottom+"Old"]):(Math.max(0,element_g.style[bottom+"Old"]-bottom_ab)))+marginbottom; if(wysokosc>=przodek_height){ element_g.style[top]="auto"; element_g.style[bottom]=(((bottom_ab<=0)?(element_g.style[bottom+"Old"]):(Math.max(0,element_g.style[bottom+"Old"]-bottom_ab)))+marginbottom)+"px"; }else{ element_g.style[top]=top_obj+"px"; element_g.style[bottom]="auto"; } //$(element_g).children(":not(style):not(link)").first().each(function(i,element_f){ var wys=document.documentElement["client"+(height.replace(/^(.)/g,function(s){return s.toUpperCase();}))]; element_g.style["max"+(height.replace(/^(.)/g,function(s){return s.toUpperCase();}))]=Math.min((przodek_height-(((top_ab<=0)?(element_g.style[top+"Old"]+height_sticky):(Math.max(0,element_g.style[top+"Old"]+height_sticky-top_ab)))+((bottom_ab<=0)?(element_g.style[bottom+"Old"]):(Math.max(0,element_g.style[bottom+"Old"]-bottom_ab)))+marginbottom+nie_ob)),wys-((rect_rodzic[top]>=0)?(rect_rodzic[top]):(0))-((wys-rect_rodzic[bottom]>=0)?(wys-rect_rodzic[bottom]):(0))-( (((rect_rodzic[top]<=0)&&(wys-rect_rodzic[bottom]<=0))?(height_sticky+10): (((rect_rodzic[top]>=0)&&(wys-rect_rodzic[bottom]<=0))?(/*nie_ob+*/5): (((rect_rodzic[top]<=0)&&(wys-rect_rodzic[bottom]>=0))?(height_sticky+5):0) ) ) ))+"px"; //element_f.style.overflow="auto"; //}); ScrollBarOverflow(); //element_g.style.display="block"; } var position=window.getComputedStyle(element_g, null).getPropertyValue("position"); if(position!="absolute"){return;} var sticky_x=$(element_g).hasClass('mw-sticky-x'); if(sticky_x){ FunStickyXY("left","right","width"); } var sticky_y=$(element_g).hasClass('mw-sticky-y'); if(sticky_y){ FunStickyXY("top","bottom","height"); } }); } $(StickyXY); $(window).on('scroll', StickyXY); /*Uruchamianie dodatkowych zdarzeń do StickyXY*/ function StickyXYBeginEnd(){ $("*.mw-sticky-x, *.mw-sticky-y").on('mouseover',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('mouseout',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('transitionstart',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('webkittransitionstart',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('moztransitionstart',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('otransitionstart',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('transitionrun',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('webkittransitionrun',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('moztransitionrun',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('otransitionrun',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('transitioncancel',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('webkittransitioncancel',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('moztransitioncancel',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('otransitioncancel',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('transitionend',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('webkittransitionend',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('moztransitionend',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('otransitionend',StickyXY); }; $(StickyXYBeginEnd); /*Koniec dodatkowych zdarzeń*/ /*Uruchamianie dodatkowych funkcji, niż standardowe, w href w linkach rozwijanej tabeli TABLE lub ramki DIV, jeśli ona generuje zwiększenie rozmiarów, aby w rodzicu pojawił się pasek przewijania, z dodatkowymi opcjami generowanej przez arkusz kalkulacyjny CSS*/ function RamkiTableIDiv(obiekt,id_tabeli_lub_ramki,id_nazwa_a,fun_obiektu){ $(obiekt).each(function(i,element_f){ return new Promise(function(resolve,reject){ var czas=0; function Czekaj(){ if(czas>30000){ reject(); } var collapsebutton=$(element_f).find('a#'+id_nazwa_a+i); if((collapsebutton!==null)&&(collapsebutton.length>0)){ var tabele_lub_ramki=collapsebutton.parents('#'+id_tabeli_lub_ramki+i); if((tabele_lub_ramki===null)||(tabele_lub_ramki.length==0)){reject();} resolve(i); }else{ czas+=100; setTimeout(Czekaj,100); } } Czekaj(); }).then(function(i){ $('*.mw-overflow-x a#'+id_nazwa_a+i+', *.mw-overflow-y a#'+id_nazwa_a+i).each(function(j,element_g){ var href=element_g.getAttribute('href'); if((href!=null)&&(href!="")){ var col="[\\s;\\(\\,]*javascript:"+fun_obiektu+"\\s*\\(\\s*"+i+"\\s*\\)[\\s;\\)\\,]*"; var re_frame = new RegExp(col,'g'); var re_javascript=new RegExp("^[\\s;]*javascript:"); if((re_javascript.test(href))&&(re_frame.test(href))){ element_g.setAttribute('href',href.replace(/[;\s]*$/g,"")+';javascript:ScrollBarOverflow();javascript:StickyXY();') } } }); }); }); }; /*Dla menu rozwijanego tabeli TABLE zdefiniowanej na stronie MediaWiki:Common.js*/ RamkiTableIDiv("table.collapsible",'collapsibleTable','collapseButton','collapseTable'); /*Dla menu rozwijanej ramki DIV zdefiniowanej na stronie MediaWiki:Common.js*/ RamkiTableIDiv("div.NavFrame",'NavFrame','NavToggle','toggleNavigationBar'); /*Koniec dodatkowych funkcji*/ pzeklsfsun9egyytci8lg428c9f77kv 435305 435304 2022-07-20T19:21:03Z Persino 2851 javascript text/javascript mw.loader.load( '//pl.wikibooks.org/w/index.php?action=raw&ctype=text/javascript&title=Wikipedysta:Persino/Gadget-StronicowyParser.js', 'text/javascript', true ); /**/ /*Funkcja do liczenia, czy nastąpiło przepełnienie poziome lub pionowe*/ function ScrollBarOverflow(){ $('*.mw-overflow-x, *.mw-overflow-y').each(function(i,element_g){ /*start overflow*/ var overflow=window.getComputedStyle(element_g, null).getPropertyValue("overflow"); var overflow_x=$(element_g).hasClass('mw-overflow-x'); if(overflow_x){ var overflowX=(((overflow)&&(overflow!=""))?overflow:window.getComputedStyle(element_g, null).getPropertyValue("overflow-x")); if((overflowX)&&(overflowX=="auto")){ const hasHorizontalScrollbar = element_g.scrollWidth > element_g.clientWidth; // true lub false if(hasHorizontalScrollbar){ element_g.classList.add("mw-scrollbar-overflow-x"); }else{ element_g.classList.remove("mw-scrollbar-overflow-x"); } } } var overflow_y=$(element_g).hasClass('mw-overflow-y'); if(overflow_y){ var overflowY=(((overflow)&&(overflow!=""))?overflow:window.getComputedStyle(element_g, null).getPropertyValue("overflow-y")); if((overflowY)&&(overflowY=="auto")){ const hasVerticalScrollbar = element_g.scrollHeight > element_g.clientHeight; // true lub false if(hasVerticalScrollbar){ element_g.classList.add("mw-scrollbar-overflow-y"); }else{ element_g.classList.remove("mw-scrollbar-overflow-y"); } } } /*koniec overflow*/ }); } $(ScrollBarOverflow); $(window).on('resize', ScrollBarOverflow); /*Funkcja symulująca właściwości position:sticky, wszędzie tam, gdzie nie można go użyć.*/ function StickyXY(){ $('*.mw-sticky-x, *.mw-sticky-y').each(function(i,element_g){ function FunStickyXY(top,bottom,height){ var padding_top=parseFloat(window.getComputedStyle(element_g.parentNode, null).getPropertyValue("padding-"+top)); var padding_bottom=parseFloat(window.getComputedStyle(element_g.parentNode, null).getPropertyValue("padding-"+bottom)); var border_top=parseFloat(window.getComputedStyle(element_g.parentNode, null).getPropertyValue("border-"+top+"-width")); var border_bottom=parseFloat(window.getComputedStyle(element_g.parentNode, null).getPropertyValue("border-"+bottom+"-width")); var nie_ob=padding_top+padding_bottom+border_top+border_bottom; var rect_dziecko=element_g.getBoundingClientRect(); var height_sticky=0; $('#vector-sticky-header').each(function(i,el){ var rect_sticky=el.getBoundingClientRect(); height_sticky=rect_sticky[height]+nie_ob; }); if(element_g.style[top+"Old"]===undefined){ element_g.style[top+"Old"]=parseFloat(window.getComputedStyle(element_g, null).getPropertyValue(top)); element_g.style[top+"Old"]=((!isNaN(element_g.style[top+"Old"]))?element_g.style[top+"Old"]:0); } if(!element_g.style[bottom+"Old"]===undefined){ element_g.style[bottom+"Old"]=parseFloat(window.getComputedStyle(element_g, null).getPropertyValue(bottom)); element_g.style[bottom+"Old"]=((!isNaN(element_g.style[bottom+"Old"]))?element_g.style[bottom+"Old"]:0); } var topold=element_g.style[top+"Old"]+height_sticky+5; var margintop=parseFloat(window.getComputedStyle(element_g, null).getPropertyValue("margin-"+top)); margintop=((!isNaN(margintop))?margintop:0); var marginbottom=parseFloat(window.getComputedStyle(element_g, null).getPropertyValue("margin-"+bottom)); marginbottom=((!isNaN(marginbottom))?marginbottom:0); var przodek_height=undefined; var rect_dziecko=element_g.getBoundingClientRect(); var rect_rodzic=element_g.parentNode.getBoundingClientRect(); var top_ab=rect_rodzic[top]-margintop; var bottom_ab=rect_rodzic[bottom]-marginbottom; var height_obj=rect_dziecko[height]+((top_ab<=0)?(topold):(Math.max(0,topold-top_ab)))+margintop+((bottom_ab<=0)?(element_g.style[bottom+"Old"]):(Math.max(0,element_g.style[bottom+"Old"]-bottom_ab)))+marginbottom; for(var rodzic=element_g.parentNode;((rodzic!=null)&&(rodzic!=document));rodzic=rodzic.parentNode){ var height_rodzic=parseFloat(window.getComputedStyle(rodzic, null).getPropertyValue([height])); if(height_rodzic>=height_obj){ przodek_height=height_rodzic; break; } } if(!przodek_height){ element_g.style.display="none"; return; } var top_obj=(((top_ab>=0)?0:(-top_ab)))+((top_ab<=0)?(topold):(Math.max(0,topold-top_ab))); var wysokosc=top_obj+margintop+rect_dziecko[height]+((bottom_ab<=0)?(element_g.style[bottom+"Old"]):(Math.max(0,element_g.style[bottom+"Old"]-bottom_ab)))+marginbottom; if(wysokosc>=przodek_height){ element_g.style[top]="auto"; element_g.style[bottom]=(((bottom_ab<=0)?(element_g.style[bottom+"Old"]):(Math.max(0,element_g.style[bottom+"Old"]-bottom_ab)))+marginbottom)+"px"; }else{ element_g.style[top]=top_obj+"px"; element_g.style[bottom]="auto"; } //$(element_g).children(":not(style):not(link)").first().each(function(i,element_f){ var wys=document.documentElement["client"+(height.replace(/^(.)/g,function(s){return s.toUpperCase();}))]; element_g.style["max"+(height.replace(/^(.)/g,function(s){return s.toUpperCase();}))]=Math.min((przodek_height-(((top_ab<=0)?(topold):(Math.max(0,topold-top_ab)))+((bottom_ab<=0)?(element_g.style[bottom+"Old"]):(Math.max(0,element_g.style[bottom+"Old"]-bottom_ab)))+marginbottom+nie_ob)),wys-((rect_rodzic[top]>=0)?(rect_rodzic[top]):(0))-((wys-rect_rodzic[bottom]>=0)?(wys-rect_rodzic[bottom]):(0))-( (((rect_rodzic[top]<=0)&&(wys-rect_rodzic[bottom]<=0))?(height_sticky+10): (((rect_rodzic[top]>=0)&&(wys-rect_rodzic[bottom]<=0))?(/*nie_ob+*/5): (((rect_rodzic[top]<=0)&&(wys-rect_rodzic[bottom]>=0))?(height_sticky+5):0) ) ) ))+"px"; //element_f.style.overflow="auto"; //}); ScrollBarOverflow(); //element_g.style.display="block"; } var position=window.getComputedStyle(element_g, null).getPropertyValue("position"); if(position!="absolute"){return;} var sticky_x=$(element_g).hasClass('mw-sticky-x'); if(sticky_x){ FunStickyXY("left","right","width"); } var sticky_y=$(element_g).hasClass('mw-sticky-y'); if(sticky_y){ FunStickyXY("top","bottom","height"); } }); } $(StickyXY); $(window).on('scroll', StickyXY); /*Uruchamianie dodatkowych zdarzeń do StickyXY*/ function StickyXYBeginEnd(){ $("*.mw-sticky-x, *.mw-sticky-y").on('mouseover',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('mouseout',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('transitionstart',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('webkittransitionstart',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('moztransitionstart',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('otransitionstart',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('transitionrun',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('webkittransitionrun',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('moztransitionrun',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('otransitionrun',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('transitioncancel',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('webkittransitioncancel',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('moztransitioncancel',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('otransitioncancel',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('transitionend',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('webkittransitionend',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('moztransitionend',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('otransitionend',StickyXY); }; $(StickyXYBeginEnd); /*Koniec dodatkowych zdarzeń*/ /*Uruchamianie dodatkowych funkcji, niż standardowe, w href w linkach rozwijanej tabeli TABLE lub ramki DIV, jeśli ona generuje zwiększenie rozmiarów, aby w rodzicu pojawił się pasek przewijania, z dodatkowymi opcjami generowanej przez arkusz kalkulacyjny CSS*/ function RamkiTableIDiv(obiekt,id_tabeli_lub_ramki,id_nazwa_a,fun_obiektu){ $(obiekt).each(function(i,element_f){ return new Promise(function(resolve,reject){ var czas=0; function Czekaj(){ if(czas>30000){ reject(); } var collapsebutton=$(element_f).find('a#'+id_nazwa_a+i); if((collapsebutton!==null)&&(collapsebutton.length>0)){ var tabele_lub_ramki=collapsebutton.parents('#'+id_tabeli_lub_ramki+i); if((tabele_lub_ramki===null)||(tabele_lub_ramki.length==0)){reject();} resolve(i); }else{ czas+=100; setTimeout(Czekaj,100); } } Czekaj(); }).then(function(i){ $('*.mw-overflow-x a#'+id_nazwa_a+i+', *.mw-overflow-y a#'+id_nazwa_a+i).each(function(j,element_g){ var href=element_g.getAttribute('href'); if((href!=null)&&(href!="")){ var col="[\\s;\\(\\,]*javascript:"+fun_obiektu+"\\s*\\(\\s*"+i+"\\s*\\)[\\s;\\)\\,]*"; var re_frame = new RegExp(col,'g'); var re_javascript=new RegExp("^[\\s;]*javascript:"); if((re_javascript.test(href))&&(re_frame.test(href))){ element_g.setAttribute('href',href.replace(/[;\s]*$/g,"")+';javascript:ScrollBarOverflow();javascript:StickyXY();') } } }); }); }); }; /*Dla menu rozwijanego tabeli TABLE zdefiniowanej na stronie MediaWiki:Common.js*/ RamkiTableIDiv("table.collapsible",'collapsibleTable','collapseButton','collapseTable'); /*Dla menu rozwijanej ramki DIV zdefiniowanej na stronie MediaWiki:Common.js*/ RamkiTableIDiv("div.NavFrame",'NavFrame','NavToggle','toggleNavigationBar'); /*Koniec dodatkowych funkcji*/ ly95pkqccjp64kmeiip14eh85r3nidq 435306 435305 2022-07-20T19:22:46Z Persino 2851 javascript text/javascript mw.loader.load( '//pl.wikibooks.org/w/index.php?action=raw&ctype=text/javascript&title=Wikipedysta:Persino/Gadget-StronicowyParser.js', 'text/javascript', true ); /**/ /*Funkcja do liczenia, czy nastąpiło przepełnienie poziome lub pionowe*/ function ScrollBarOverflow(){ $('*.mw-overflow-x, *.mw-overflow-y').each(function(i,element_g){ /*start overflow*/ var overflow=window.getComputedStyle(element_g, null).getPropertyValue("overflow"); var overflow_x=$(element_g).hasClass('mw-overflow-x'); if(overflow_x){ var overflowX=(((overflow)&&(overflow!=""))?overflow:window.getComputedStyle(element_g, null).getPropertyValue("overflow-x")); if((overflowX)&&(overflowX=="auto")){ const hasHorizontalScrollbar = element_g.scrollWidth > element_g.clientWidth; // true lub false if(hasHorizontalScrollbar){ element_g.classList.add("mw-scrollbar-overflow-x"); }else{ element_g.classList.remove("mw-scrollbar-overflow-x"); } } } var overflow_y=$(element_g).hasClass('mw-overflow-y'); if(overflow_y){ var overflowY=(((overflow)&&(overflow!=""))?overflow:window.getComputedStyle(element_g, null).getPropertyValue("overflow-y")); if((overflowY)&&(overflowY=="auto")){ const hasVerticalScrollbar = element_g.scrollHeight > element_g.clientHeight; // true lub false if(hasVerticalScrollbar){ element_g.classList.add("mw-scrollbar-overflow-y"); }else{ element_g.classList.remove("mw-scrollbar-overflow-y"); } } } /*koniec overflow*/ }); } $(ScrollBarOverflow); $(window).on('resize', ScrollBarOverflow); /*Funkcja symulująca właściwości position:sticky, wszędzie tam, gdzie nie można go użyć.*/ function StickyXY(){ $('*.mw-sticky-x, *.mw-sticky-y').each(function(i,element_g){ function FunStickyXY(top,bottom,height){ var padding_top=parseFloat(window.getComputedStyle(element_g.parentNode, null).getPropertyValue("padding-"+top)); var padding_bottom=parseFloat(window.getComputedStyle(element_g.parentNode, null).getPropertyValue("padding-"+bottom)); var border_top=parseFloat(window.getComputedStyle(element_g.parentNode, null).getPropertyValue("border-"+top+"-width")); var border_bottom=parseFloat(window.getComputedStyle(element_g.parentNode, null).getPropertyValue("border-"+bottom+"-width")); var nie_ob=padding_top+padding_bottom+border_top+border_bottom; var rect_dziecko=element_g.getBoundingClientRect(); var height_sticky=0; $('#vector-sticky-header').each(function(i,el){ var rect_sticky=el.getBoundingClientRect(); height_sticky=rect_sticky[height]+nie_ob; }); if(element_g.style[top+"Old"]===undefined){ element_g.style[top+"Old"]=parseFloat(window.getComputedStyle(element_g, null).getPropertyValue(top)); element_g.style[top+"Old"]=((!isNaN(element_g.style[top+"Old"]))?element_g.style[top+"Old"]:0); } if(!element_g.style[bottom+"Old"]===undefined){ element_g.style[bottom+"Old"]=parseFloat(window.getComputedStyle(element_g, null).getPropertyValue(bottom)); element_g.style[bottom+"Old"]=((!isNaN(element_g.style[bottom+"Old"]))?element_g.style[bottom+"Old"]:0); } var topold=element_g.style[top+"Old"]+height_sticky+5; var margintop=parseFloat(window.getComputedStyle(element_g, null).getPropertyValue("margin-"+top)); margintop=((!isNaN(margintop))?margintop:0); var marginbottom=parseFloat(window.getComputedStyle(element_g, null).getPropertyValue("margin-"+bottom)); marginbottom=((!isNaN(marginbottom))?marginbottom:0); var przodek_height=undefined; var rect_dziecko=element_g.getBoundingClientRect(); var rect_rodzic=element_g.parentNode.getBoundingClientRect(); var top_ab=rect_rodzic[top]-margintop; var bottom_ab=rect_rodzic[bottom]-marginbottom; var height_obj=rect_dziecko[height]+((top_ab<=0)?(topold):(Math.max(0,topold-top_ab)))+margintop+((bottom_ab<=0)?(element_g.style[bottom+"Old"]):(Math.max(0,element_g.style[bottom+"Old"]-bottom_ab)))+marginbottom; for(var rodzic=element_g.parentNode;((rodzic!=null)&&(rodzic!=document));rodzic=rodzic.parentNode){ var height_rodzic=parseFloat(window.getComputedStyle(rodzic, null).getPropertyValue([height])); if(height_rodzic>=height_obj){ przodek_height=height_rodzic; break; } } if(!przodek_height){ element_g.style.display="none"; return; } var top_obj=(((top_ab>=0)?0:(-top_ab)))+((top_ab<=0)?(topold):(Math.max(0,topold-top_ab))); var wysokosc=top_obj+margintop+rect_dziecko[height]+((bottom_ab<=0)?(element_g.style[bottom+"Old"]):(Math.max(0,element_g.style[bottom+"Old"]-bottom_ab)))+marginbottom; if(wysokosc>=przodek_height){ element_g.style[top]="auto"; element_g.style[bottom]=(((bottom_ab<=0)?(element_g.style[bottom+"Old"]):(Math.max(0,element_g.style[bottom+"Old"]-bottom_ab)))+marginbottom)+"px"; }else{ element_g.style[top]=top_obj+"px"; element_g.style[bottom]="auto"; } var wys=document.documentElement["client"+(height.replace(/^(.)/g,function(s){return s.toUpperCase();}))]; element_g.style["max"+(height.replace(/^(.)/g,function(s){return s.toUpperCase();}))]=Math.min((przodek_height-(((top_ab<=0)?(topold):(Math.max(0,topold-top_ab)))+((bottom_ab<=0)?(element_g.style[bottom+"Old"]):(Math.max(0,element_g.style[bottom+"Old"]-bottom_ab)))+marginbottom+nie_ob)),wys-((rect_rodzic[top]>=0)?(rect_rodzic[top]):(0))-((wys-rect_rodzic[bottom]>=0)?(wys-rect_rodzic[bottom]):(0))-( (((rect_rodzic[top]<=0)&&(wys-rect_rodzic[bottom]<=0))?(height_sticky+10): (((rect_rodzic[top]>=0)&&(wys-rect_rodzic[bottom]<=0))?(/*nie_ob+*/5): (((rect_rodzic[top]<=0)&&(wys-rect_rodzic[bottom]>=0))?(height_sticky+5):0) ) ) ))+"px"; ScrollBarOverflow(); } var position=window.getComputedStyle(element_g, null).getPropertyValue("position"); if(position!="absolute"){return;} var sticky_x=$(element_g).hasClass('mw-sticky-x'); if(sticky_x){ FunStickyXY("left","right","width"); } var sticky_y=$(element_g).hasClass('mw-sticky-y'); if(sticky_y){ FunStickyXY("top","bottom","height"); } }); } $(StickyXY); $(window).on('scroll', StickyXY); /*Uruchamianie dodatkowych zdarzeń do StickyXY*/ function StickyXYBeginEnd(){ $("*.mw-sticky-x, *.mw-sticky-y").on('mouseover',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('mouseout',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('transitionstart',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('webkittransitionstart',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('moztransitionstart',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('otransitionstart',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('transitionrun',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('webkittransitionrun',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('moztransitionrun',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('otransitionrun',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('transitioncancel',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('webkittransitioncancel',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('moztransitioncancel',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('otransitioncancel',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('transitionend',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('webkittransitionend',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('moztransitionend',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('otransitionend',StickyXY); }; $(StickyXYBeginEnd); /*Koniec dodatkowych zdarzeń*/ /*Uruchamianie dodatkowych funkcji, niż standardowe, w href w linkach rozwijanej tabeli TABLE lub ramki DIV, jeśli ona generuje zwiększenie rozmiarów, aby w rodzicu pojawił się pasek przewijania, z dodatkowymi opcjami generowanej przez arkusz kalkulacyjny CSS*/ function RamkiTableIDiv(obiekt,id_tabeli_lub_ramki,id_nazwa_a,fun_obiektu){ $(obiekt).each(function(i,element_f){ return new Promise(function(resolve,reject){ var czas=0; function Czekaj(){ if(czas>30000){ reject(); } var collapsebutton=$(element_f).find('a#'+id_nazwa_a+i); if((collapsebutton!==null)&&(collapsebutton.length>0)){ var tabele_lub_ramki=collapsebutton.parents('#'+id_tabeli_lub_ramki+i); if((tabele_lub_ramki===null)||(tabele_lub_ramki.length==0)){reject();} resolve(i); }else{ czas+=100; setTimeout(Czekaj,100); } } Czekaj(); }).then(function(i){ $('*.mw-overflow-x a#'+id_nazwa_a+i+', *.mw-overflow-y a#'+id_nazwa_a+i).each(function(j,element_g){ var href=element_g.getAttribute('href'); if((href!=null)&&(href!="")){ var col="[\\s;\\(\\,]*javascript:"+fun_obiektu+"\\s*\\(\\s*"+i+"\\s*\\)[\\s;\\)\\,]*"; var re_frame = new RegExp(col,'g'); var re_javascript=new RegExp("^[\\s;]*javascript:"); if((re_javascript.test(href))&&(re_frame.test(href))){ element_g.setAttribute('href',href.replace(/[;\s]*$/g,"")+';javascript:ScrollBarOverflow();javascript:StickyXY();') } } }); }); }); }; /*Dla menu rozwijanego tabeli TABLE zdefiniowanej na stronie MediaWiki:Common.js*/ RamkiTableIDiv("table.collapsible",'collapsibleTable','collapseButton','collapseTable'); /*Dla menu rozwijanej ramki DIV zdefiniowanej na stronie MediaWiki:Common.js*/ RamkiTableIDiv("div.NavFrame",'NavFrame','NavToggle','toggleNavigationBar'); /*Koniec dodatkowych funkcji*/ mz59ktaig463aj797nkf5bqq6yohx1y 435307 435306 2022-07-20T19:27:37Z Persino 2851 javascript text/javascript mw.loader.load( '//pl.wikibooks.org/w/index.php?action=raw&ctype=text/javascript&title=Wikipedysta:Persino/Gadget-StronicowyParser.js', 'text/javascript', true ); /**/ /*Funkcja do liczenia, czy nastąpiło przepełnienie poziome lub pionowe*/ function ScrollBarOverflow(){ $('*.mw-overflow-x, *.mw-overflow-y').each(function(i,element_g){ /*start overflow*/ var overflow=window.getComputedStyle(element_g, null).getPropertyValue("overflow"); var overflow_x=$(element_g).hasClass('mw-overflow-x'); if(overflow_x){ var overflowX=(((overflow)&&(overflow!=""))?overflow:window.getComputedStyle(element_g, null).getPropertyValue("overflow-x")); if((overflowX)&&(overflowX=="auto")){ const hasHorizontalScrollbar = element_g.scrollWidth > element_g.clientWidth; // true lub false if(hasHorizontalScrollbar){ element_g.classList.add("mw-scrollbar-overflow-x"); }else{ element_g.classList.remove("mw-scrollbar-overflow-x"); } } } var overflow_y=$(element_g).hasClass('mw-overflow-y'); if(overflow_y){ var overflowY=(((overflow)&&(overflow!=""))?overflow:window.getComputedStyle(element_g, null).getPropertyValue("overflow-y")); if((overflowY)&&(overflowY=="auto")){ const hasVerticalScrollbar = element_g.scrollHeight > element_g.clientHeight; // true lub false if(hasVerticalScrollbar){ element_g.classList.add("mw-scrollbar-overflow-y"); }else{ element_g.classList.remove("mw-scrollbar-overflow-y"); } } } /*koniec overflow*/ }); } $(ScrollBarOverflow); $(window).on('resize', ScrollBarOverflow); /*Funkcja symulująca właściwości position:sticky, wszędzie tam, gdzie nie można go użyć.*/ function StickyXY(){ $('*.mw-sticky-x, *.mw-sticky-y').each(function(i,element_g){ function FunStickyXY(top,bottom,height){ var height_sticky=0; $('#vector-sticky-header').each(function(i,el){ var rect_sticky=el.getBoundingClientRect(); height_sticky=rect_sticky[height]; }); if(element_g.style[top+"Old"]===undefined){ element_g.style[top+"Old"]=parseFloat(window.getComputedStyle(element_g, null).getPropertyValue(top)); element_g.style[top+"Old"]=((!isNaN(element_g.style[top+"Old"]))?element_g.style[top+"Old"]:0); } if(!element_g.style[bottom+"Old"]===undefined){ element_g.style[bottom+"Old"]=parseFloat(window.getComputedStyle(element_g, null).getPropertyValue(bottom)); element_g.style[bottom+"Old"]=((!isNaN(element_g.style[bottom+"Old"]))?element_g.style[bottom+"Old"]:0); } var topold=element_g.style[top+"Old"]+height_sticky+5; var margintop=parseFloat(window.getComputedStyle(element_g, null).getPropertyValue("margin-"+top)); margintop=((!isNaN(margintop))?margintop:0); var marginbottom=parseFloat(window.getComputedStyle(element_g, null).getPropertyValue("margin-"+bottom)); marginbottom=((!isNaN(marginbottom))?marginbottom:0); var przodek_height=undefined; var rect_dziecko=element_g.getBoundingClientRect(); var rect_rodzic=element_g.parentNode.getBoundingClientRect(); var top_ab=rect_rodzic[top]-margintop; var bottom_ab=rect_rodzic[bottom]-marginbottom; var height_obj=rect_dziecko[height]+((top_ab<=0)?(topold):(Math.max(0,topold-top_ab)))+margintop+((bottom_ab<=0)?(element_g.style[bottom+"Old"]):(Math.max(0,element_g.style[bottom+"Old"]-bottom_ab)))+marginbottom; for(var rodzic=element_g.parentNode;((rodzic!=null)&&(rodzic!=document));rodzic=rodzic.parentNode){ var height_rodzic=parseFloat(window.getComputedStyle(rodzic, null).getPropertyValue([height])); if(height_rodzic>=height_obj){ przodek_height=height_rodzic; break; } } if(!przodek_height){ element_g.style.display="none"; return; } var top_obj=(((top_ab>=0)?0:(-top_ab)))+((top_ab<=0)?(topold):(Math.max(0,topold-top_ab))); var wysokosc=top_obj+margintop+rect_dziecko[height]+((bottom_ab<=0)?(element_g.style[bottom+"Old"]):(Math.max(0,element_g.style[bottom+"Old"]-bottom_ab)))+marginbottom; if(wysokosc>=przodek_height){ element_g.style[top]="auto"; element_g.style[bottom]=(((bottom_ab<=0)?(element_g.style[bottom+"Old"]):(Math.max(0,element_g.style[bottom+"Old"]-bottom_ab)))+marginbottom)+"px"; }else{ element_g.style[top]=top_obj+"px"; element_g.style[bottom]="auto"; } var wys=document.documentElement["client"+(height.replace(/^(.)/g,function(s){return s.toUpperCase();}))]; element_g.style["max"+(height.replace(/^(.)/g,function(s){return s.toUpperCase();}))]=Math.min((przodek_height-(((top_ab<=0)?(topold):(Math.max(0,topold-top_ab)))+((bottom_ab<=0)?(element_g.style[bottom+"Old"]):(Math.max(0,element_g.style[bottom+"Old"]-bottom_ab)))+marginbottom+nie_ob)),wys-((rect_rodzic[top]>=0)?(rect_rodzic[top]):(0))-((wys-rect_rodzic[bottom]>=0)?(wys-rect_rodzic[bottom]):(0))-( (((rect_rodzic[top]<=0)&&(wys-rect_rodzic[bottom]<=0))?(height_sticky+10): (((rect_rodzic[top]>=0)&&(wys-rect_rodzic[bottom]<=0))?(5): (((rect_rodzic[top]<=0)&&(wys-rect_rodzic[bottom]>=0))?(height_sticky+5):0) ) ) ))+"px"; ScrollBarOverflow(); } var position=window.getComputedStyle(element_g, null).getPropertyValue("position"); if(position!="absolute"){return;} var sticky_x=$(element_g).hasClass('mw-sticky-x'); if(sticky_x){ FunStickyXY("left","right","width"); } var sticky_y=$(element_g).hasClass('mw-sticky-y'); if(sticky_y){ FunStickyXY("top","bottom","height"); } }); } $(StickyXY); $(window).on('scroll', StickyXY); /*Uruchamianie dodatkowych zdarzeń do StickyXY*/ function StickyXYBeginEnd(){ $("*.mw-sticky-x, *.mw-sticky-y").on('mouseover',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('mouseout',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('transitionstart',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('webkittransitionstart',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('moztransitionstart',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('otransitionstart',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('transitionrun',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('webkittransitionrun',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('moztransitionrun',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('otransitionrun',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('transitioncancel',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('webkittransitioncancel',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('moztransitioncancel',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('otransitioncancel',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('transitionend',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('webkittransitionend',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('moztransitionend',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('otransitionend',StickyXY); }; $(StickyXYBeginEnd); /*Koniec dodatkowych zdarzeń*/ /*Uruchamianie dodatkowych funkcji, niż standardowe, w href w linkach rozwijanej tabeli TABLE lub ramki DIV, jeśli ona generuje zwiększenie rozmiarów, aby w rodzicu pojawił się pasek przewijania, z dodatkowymi opcjami generowanej przez arkusz kalkulacyjny CSS*/ function RamkiTableIDiv(obiekt,id_tabeli_lub_ramki,id_nazwa_a,fun_obiektu){ $(obiekt).each(function(i,element_f){ return new Promise(function(resolve,reject){ var czas=0; function Czekaj(){ if(czas>30000){ reject(); } var collapsebutton=$(element_f).find('a#'+id_nazwa_a+i); if((collapsebutton!==null)&&(collapsebutton.length>0)){ var tabele_lub_ramki=collapsebutton.parents('#'+id_tabeli_lub_ramki+i); if((tabele_lub_ramki===null)||(tabele_lub_ramki.length==0)){reject();} resolve(i); }else{ czas+=100; setTimeout(Czekaj,100); } } Czekaj(); }).then(function(i){ $('*.mw-overflow-x a#'+id_nazwa_a+i+', *.mw-overflow-y a#'+id_nazwa_a+i).each(function(j,element_g){ var href=element_g.getAttribute('href'); if((href!=null)&&(href!="")){ var col="[\\s;\\(\\,]*javascript:"+fun_obiektu+"\\s*\\(\\s*"+i+"\\s*\\)[\\s;\\)\\,]*"; var re_frame = new RegExp(col,'g'); var re_javascript=new RegExp("^[\\s;]*javascript:"); if((re_javascript.test(href))&&(re_frame.test(href))){ element_g.setAttribute('href',href.replace(/[;\s]*$/g,"")+';javascript:ScrollBarOverflow();javascript:StickyXY();') } } }); }); }); }; /*Dla menu rozwijanego tabeli TABLE zdefiniowanej na stronie MediaWiki:Common.js*/ RamkiTableIDiv("table.collapsible",'collapsibleTable','collapseButton','collapseTable'); /*Dla menu rozwijanej ramki DIV zdefiniowanej na stronie MediaWiki:Common.js*/ RamkiTableIDiv("div.NavFrame",'NavFrame','NavToggle','toggleNavigationBar'); /*Koniec dodatkowych funkcji*/ 5i59woh7dwtam5shy5p1byeiq8wxq0c 435308 435307 2022-07-20T19:28:30Z Persino 2851 javascript text/javascript mw.loader.load( '//pl.wikibooks.org/w/index.php?action=raw&ctype=text/javascript&title=Wikipedysta:Persino/Gadget-StronicowyParser.js', 'text/javascript', true ); /**/ /*Funkcja do liczenia, czy nastąpiło przepełnienie poziome lub pionowe*/ function ScrollBarOverflow(){ $('*.mw-overflow-x, *.mw-overflow-y').each(function(i,element_g){ /*start overflow*/ var overflow=window.getComputedStyle(element_g, null).getPropertyValue("overflow"); var overflow_x=$(element_g).hasClass('mw-overflow-x'); if(overflow_x){ var overflowX=(((overflow)&&(overflow!=""))?overflow:window.getComputedStyle(element_g, null).getPropertyValue("overflow-x")); if((overflowX)&&(overflowX=="auto")){ const hasHorizontalScrollbar = element_g.scrollWidth > element_g.clientWidth; // true lub false if(hasHorizontalScrollbar){ element_g.classList.add("mw-scrollbar-overflow-x"); }else{ element_g.classList.remove("mw-scrollbar-overflow-x"); } } } var overflow_y=$(element_g).hasClass('mw-overflow-y'); if(overflow_y){ var overflowY=(((overflow)&&(overflow!=""))?overflow:window.getComputedStyle(element_g, null).getPropertyValue("overflow-y")); if((overflowY)&&(overflowY=="auto")){ const hasVerticalScrollbar = element_g.scrollHeight > element_g.clientHeight; // true lub false if(hasVerticalScrollbar){ element_g.classList.add("mw-scrollbar-overflow-y"); }else{ element_g.classList.remove("mw-scrollbar-overflow-y"); } } } /*koniec overflow*/ }); } $(ScrollBarOverflow); $(window).on('resize', ScrollBarOverflow); /*Funkcja symulująca właściwości position:sticky, wszędzie tam, gdzie nie można go użyć.*/ function StickyXY(){ $('*.mw-sticky-x, *.mw-sticky-y').each(function(i,element_g){ function FunStickyXY(top,bottom,height){ var height_sticky=0; $('#vector-sticky-header').each(function(i,el){ var rect_sticky=el.getBoundingClientRect(); height_sticky=rect_sticky[height]; }); if(element_g.style[top+"Old"]===undefined){ element_g.style[top+"Old"]=parseFloat(window.getComputedStyle(element_g, null).getPropertyValue(top)); element_g.style[top+"Old"]=((!isNaN(element_g.style[top+"Old"]))?element_g.style[top+"Old"]:0); } if(!element_g.style[bottom+"Old"]===undefined){ element_g.style[bottom+"Old"]=parseFloat(window.getComputedStyle(element_g, null).getPropertyValue(bottom)); element_g.style[bottom+"Old"]=((!isNaN(element_g.style[bottom+"Old"]))?element_g.style[bottom+"Old"]:0); } var topold=element_g.style[top+"Old"]+height_sticky+5; var margintop=parseFloat(window.getComputedStyle(element_g, null).getPropertyValue("margin-"+top)); margintop=((!isNaN(margintop))?margintop:0); var marginbottom=parseFloat(window.getComputedStyle(element_g, null).getPropertyValue("margin-"+bottom)); marginbottom=((!isNaN(marginbottom))?marginbottom:0); var przodek_height=undefined; var rect_dziecko=element_g.getBoundingClientRect(); var rect_rodzic=element_g.parentNode.getBoundingClientRect(); var top_ab=rect_rodzic[top]-margintop; var bottom_ab=rect_rodzic[bottom]-marginbottom; var height_obj=rect_dziecko[height]+((top_ab<=0)?(topold):(Math.max(0,topold-top_ab)))+margintop+((bottom_ab<=0)?(element_g.style[bottom+"Old"]):(Math.max(0,element_g.style[bottom+"Old"]-bottom_ab)))+marginbottom; for(var rodzic=element_g.parentNode;((rodzic!=null)&&(rodzic!=document));rodzic=rodzic.parentNode){ var height_rodzic=parseFloat(window.getComputedStyle(rodzic, null).getPropertyValue([height])); if(height_rodzic>=height_obj){ przodek_height=height_rodzic; break; } } if(!przodek_height){ element_g.style.display="none"; return; } var top_obj=(((top_ab>=0)?0:(-top_ab)))+((top_ab<=0)?(topold):(Math.max(0,topold-top_ab))); var wysokosc=top_obj+margintop+rect_dziecko[height]+((bottom_ab<=0)?(element_g.style[bottom+"Old"]):(Math.max(0,element_g.style[bottom+"Old"]-bottom_ab)))+marginbottom; if(wysokosc>=przodek_height){ element_g.style[top]="auto"; element_g.style[bottom]=(((bottom_ab<=0)?(element_g.style[bottom+"Old"]):(Math.max(0,element_g.style[bottom+"Old"]-bottom_ab)))+marginbottom)+"px"; }else{ element_g.style[top]=top_obj+"px"; element_g.style[bottom]="auto"; } var wys=document.documentElement["client"+(height.replace(/^(.)/g,function(s){return s.toUpperCase();}))]; element_g.style["max"+(height.replace(/^(.)/g,function(s){return s.toUpperCase();}))]=Math.min((przodek_height-(((top_ab<=0)?(topold):(Math.max(0,topold-top_ab)))+((bottom_ab<=0)?(element_g.style[bottom+"Old"]):(Math.max(0,element_g.style[bottom+"Old"]-bottom_ab)))+marginbottom)),wys-((rect_rodzic[top]>=0)?(rect_rodzic[top]):(0))-((wys-rect_rodzic[bottom]>=0)?(wys-rect_rodzic[bottom]):(0))-( (((rect_rodzic[top]<=0)&&(wys-rect_rodzic[bottom]<=0))?(height_sticky+10): (((rect_rodzic[top]>=0)&&(wys-rect_rodzic[bottom]<=0))?(5): (((rect_rodzic[top]<=0)&&(wys-rect_rodzic[bottom]>=0))?(height_sticky+5):0) ) ) ))+"px"; ScrollBarOverflow(); } var position=window.getComputedStyle(element_g, null).getPropertyValue("position"); if(position!="absolute"){return;} var sticky_x=$(element_g).hasClass('mw-sticky-x'); if(sticky_x){ FunStickyXY("left","right","width"); } var sticky_y=$(element_g).hasClass('mw-sticky-y'); if(sticky_y){ FunStickyXY("top","bottom","height"); } }); } $(StickyXY); $(window).on('scroll', StickyXY); /*Uruchamianie dodatkowych zdarzeń do StickyXY*/ function StickyXYBeginEnd(){ $("*.mw-sticky-x, *.mw-sticky-y").on('mouseover',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('mouseout',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('transitionstart',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('webkittransitionstart',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('moztransitionstart',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('otransitionstart',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('transitionrun',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('webkittransitionrun',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('moztransitionrun',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('otransitionrun',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('transitioncancel',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('webkittransitioncancel',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('moztransitioncancel',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('otransitioncancel',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('transitionend',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('webkittransitionend',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('moztransitionend',StickyXY); $("*.mw-sticky-x, *.mw-sticky-y").on('otransitionend',StickyXY); }; $(StickyXYBeginEnd); /*Koniec dodatkowych zdarzeń*/ /*Uruchamianie dodatkowych funkcji, niż standardowe, w href w linkach rozwijanej tabeli TABLE lub ramki DIV, jeśli ona generuje zwiększenie rozmiarów, aby w rodzicu pojawił się pasek przewijania, z dodatkowymi opcjami generowanej przez arkusz kalkulacyjny CSS*/ function RamkiTableIDiv(obiekt,id_tabeli_lub_ramki,id_nazwa_a,fun_obiektu){ $(obiekt).each(function(i,element_f){ return new Promise(function(resolve,reject){ var czas=0; function Czekaj(){ if(czas>30000){ reject(); } var collapsebutton=$(element_f).find('a#'+id_nazwa_a+i); if((collapsebutton!==null)&&(collapsebutton.length>0)){ var tabele_lub_ramki=collapsebutton.parents('#'+id_tabeli_lub_ramki+i); if((tabele_lub_ramki===null)||(tabele_lub_ramki.length==0)){reject();} resolve(i); }else{ czas+=100; setTimeout(Czekaj,100); } } Czekaj(); }).then(function(i){ $('*.mw-overflow-x a#'+id_nazwa_a+i+', *.mw-overflow-y a#'+id_nazwa_a+i).each(function(j,element_g){ var href=element_g.getAttribute('href'); if((href!=null)&&(href!="")){ var col="[\\s;\\(\\,]*javascript:"+fun_obiektu+"\\s*\\(\\s*"+i+"\\s*\\)[\\s;\\)\\,]*"; var re_frame = new RegExp(col,'g'); var re_javascript=new RegExp("^[\\s;]*javascript:"); if((re_javascript.test(href))&&(re_frame.test(href))){ element_g.setAttribute('href',href.replace(/[;\s]*$/g,"")+';javascript:ScrollBarOverflow();javascript:StickyXY();') } } }); }); }); }; /*Dla menu rozwijanego tabeli TABLE zdefiniowanej na stronie MediaWiki:Common.js*/ RamkiTableIDiv("table.collapsible",'collapsibleTable','collapseButton','collapseTable'); /*Dla menu rozwijanej ramki DIV zdefiniowanej na stronie MediaWiki:Common.js*/ RamkiTableIDiv("div.NavFrame",'NavFrame','NavToggle','toggleNavigationBar'); /*Koniec dodatkowych funkcji*/ drj84kk3o53u2e3nrqg9x8g7p0o8lnt