MediaWiki:Common.css

Poznámka: Po uložení musíte vyprázdnit mezipaměť vašeho prohlížeče, jinak změny neuvidíte.

/*'''Toto je CSS stylopis společný pro všechny vzhledy.'''Tento stylopis nemá vliv na mobilní verzi Wikipedie, která využívá vlastní stylopis [[MediaWiki:Mobile.css]]. Berte tento fakt v úvahu při provádění změn: provedete-li změnu pouze zde, může se stát, že stránky ovlivněné tímto stylopisem se budou v mobilní verzi zobrazovat s chybami.Pokud chcete změnit pouze vzhled Vector (výchozí vzhled Wikipedie), editujte [[MediaWiki:Vector.css]].Veškeré změny byste měli otestovat pomocí [http://jigsaw.w3.org/css-validator/validator?uri=http%3A%2F%2Fcs.wikipedia.org%2Fw%2Findex.php%3Ftitle%3DMediaWiki%3ACommon.css%26action%3Draw%26ctype%3Dtext%2Fcss%26usermedium%3Dall&usermedium=all Validátoru W3C].Změnu loga např. kvůli výročí nebo dosažení milníku neprovádějte zde! Pro správný postup viz https://cs.wikipedia.org/w/index.php?diff=21041300. */ /*== Import testovacích stylů ==[[MediaWiki:Test.css]] slouží k testování stylů před jejich konečným zakomponováním do globálních stylových předpisů.@import url("/w/index.php?title=MediaWiki:Test.css&action=raw&ctype=text/css");== Globální styly pro [[MediaWiki]] == */ /*=== styl pro generovaný obsah === */ .toc   {   clear:left;   } /*=== zaškrtávací boxy a jejich popisky v [[Speciální:Search]] ===v rozšířeném módu */ #powersearch label   {   white-space: nowrap;   } /*=== bytecounter v [[Speciální:Recentchanges]] a [[Speciální:Watchlist]] === */ strong.mw-plusminus-neg   {   color: #c00;   } span.mw-plusminus-neg   {   color: #900;   } span.mw-plusminus-pos   {   color: #060;   }  strong.mw-plusminus-pos   {   color: #060;   } span.mw-plusminus-null   {   color: #666;   } /*=== značky (RC apod.) === */.mw-tag-markers {    font-family:sans-serif;    font-style:italic;    font-size:90%;} /*=== varování u editací ===(editace staré verze, zamčené stránky...) */ .editwarning   {   background-color: #ffc;   border: 3px double #c00;   margin: 0 0 1em 0;   padding: .5em 1em;   } /*=== reference === */ .references   {   font-size: 90%;   } ol.references li:target, sup.reference:target   {    background-color: #ffc;   }/* T156351: Support for Parsoid's Cite implementation */span[rel="mw:referencedBy"] {    counter-reset: mw-ref-linkback 0;}span[rel="mw:referencedBy"] > a::before {    font-weight: bold;    font-style: italic;    content: counter( mw-ref-linkback, lower-alpha );}    /*== Obecné styly == */ /*=== externí odkazy bez ikonky === */ .plainlinksneverexpand a   {   background: none !important;   padding: 0 !important   } .plainlinksneverexpand a.external.text:after   {   display: none !important;   } .plainlinksneverexpand a.external.autonumber:after   {   display: none !important;   } /*=== vynucené zalomení ===za plovoucím objektem pomocí <code><nowiki><div class="cleaner"><br /></div></nowiki></code> nebo <code><nowiki><div class="cleaner"><hr /></div></nowiki></code> */ div.cleaner   {   clear: both;   } div.cleaner br, div.cleaner hr   {   clear: both;   display: none;   } /*=== náhrada za <code><nowiki><abbr></nowiki></code> a <code><nowiki><acronym></nowiki></code> === */ span.abbr, span.acronym   {   border-bottom: 1px dotted;   cursor: help;   } /*=== nezalamování textu === */ .nowrap   {   white-space: pre;   } /*=== odrážky u definic v seznamu definic (např. na [[Portál:Aktuality]]) === */ .odrazenedefinice dd   {   display: list-item;   list-style-type: disc;   list-style-position: inside;   } /*=== netučné termíny v seznamu definic (např. v [[Portál:Aktuality|Aktuality]]) === */ .netucneterminy dt   {   font-weight: normal;   } /*=== varování === */ span.varovani, span.warning   {   background-color: #c00;   color: #ff0;   font-weight: bold;   padding: 0 .5em;   } /*=== zarovnání === */ sup, sub   {   line-height: 1em;   } /*=== bezodrážkový seznam ( unbulleted list ) ===*/.plainlist ol,.plainlist ul {line-height: inherit;list-style: none none;margin: 0;}.plainlist ol li,.plainlist ul li {margin-bottom: 0;} /*== Specifické styly pro šablony == */ /*=== infobox ===převzato z en */ .infobox   {   background-color: #f8f9fa;   border: 1px solid #a2a9b1;   clear: right;   float: right;   font-size: 90%;   line-height: 1.5em;   margin-bottom: .5em;   margin-left: 1em;    padding: .2em;   width: 277.2px;   } .infobox caption   {   font-size: 125%;   font-weight: bold;    /*margin-left: inherit;*/   text-align: center;   } .infobox tr   {   vertical-align: top;   } .infobox.bordered   {   border-collapse: collapse;   } .infobox.bordered td, .infobox.bordered th   {   border: 1px solid #a2a9b1;   } /*=== navboxy === */ div.navbox {   border: 1px solid transparent;   clear: both;   font-size: 88%;   padding: 2px;   text-align: center;   margin-top: 2em; } div.navbox + div.navbox {   margin-top: 0; }div.navbox tr.navbox-padding {   height: 2px; } div.navbox th.navbox-title, div.navbox td.navbox-abovebelow, div.navbox th {   padding-left: 1em;   padding-right: 1em;   text-align: center; } div.navbox td.navbox-group {   font-weight: bold;   padding-left: 1em;   padding-right: 1em;   text-align: right;   white-space: nowrap; } div.navbox table.navbox-navbox, div.navbox table.navbox-subgroup, div.navbox td.navbox-group + th.navbox-title, div.navbox td.navbox-list {   width: 100%; } div.navbox td.navbox-list {   padding: 0; } div.navbox td.navbox-group + td.navbox-list {   border-left: 2px solid transparent;   text-align: left; } div.navbox td.navbox-list div {   padding: 0 .25em; } div.navbox td.navbox-group + th.navbox-title {   border-left: 2px solid transparent; } div.navbox table.navbox-navbox th.navbox-title span.navbox-titletext {   font-size: 110%; } div.navbox table.navbox-subgroup th.navbox-title span.navbox-titletext {   font-size: 100%; } div.navbox td.navbox-imageleft {   padding: 0 2px 0 0;   width: 0; } div.navbox td.navbox-image {   padding: 0 0 0 2px;   width: 0; }/* barvy */ div.navbox {   border-color: #a2a9b1; } div.navbox, div.navbox table.navbox-subgroup {   background-color: #fdfdfd; } div.navbox table.navbox-navbox {   background-color: transparent;   color: inherit; } div.navbox td.navbox-group + th.navbox-title , div.navbox td.navbox-group + td.navbox-list {   border-color: #fdfdfd; } div.navbox th.navbox-title, div.navbox th {   background-color: #e0e0e0; } div.navbox td.navbox-abovebelow, div.navbox td.navbox-group, div.navbox table.navbox-subgroup td.navbox-title {   background-color: #e7e7e7; } div.navbox table.navbox-subgroup td.navbox-group, div.navbox table.navbox-subgroup td.navbox-abovebelow {   background-color: #f0f0f0; } div.navbox td.navbox-even {   background-color: #f7f7f7; } div.navbox td.navbox-odd {   background-color: transparent; } table.navboxes {   border: 1px solid #a2a9b1;   clear: both;   text-align: center;   width: 100%; } table.navboxes th {   background-color: #e0e0e0;   padding-left: 1em;   padding-right: 1em; } table.navboxes div.navbox {   font-size: 88%;   margin-top: 0; } table.navboxes + table.navboxes, table.navboxes + div.navbox, div.navbox + table.navboxes, div.navbox + div.navbox {   margin-top: -1px; } div.navbox .mw-collapsible-toggle, table.navboxes .mw-collapsible-toggle {   width: 6em;   text-align: right; } .mw-collapsible-toggle {   font-weight: normal; } /*=== locmap === */.location-map img {    display: block; } /*=== různá hlášení ==='''ZASTARALÉ''' */ .messagebox   {   background-color: #f8f9fa;   border: 1px solid #a2a9b1;   margin: 0 auto 1em auto;   padding: .2em;   text-align: justify;   width: 85%;   } .messagebox.merge   {   background-color: #f5edf5;   border: 1px solid #c9f;   text-align: center;   } .messagebox.cleanup   {   background-color: #eef;   border: 1px solid #99f;   text-align: center;   } .messagebox.standard-talk   {   background-color: #f8eaba;   border: 1px solid #cc9;   } /*=== šablony úvodních upozornění ===(Název, Různé významy - sdílená část) */  .uvodni-upozorneni   {   font-style: italic;   margin: 0 0 1em 1.6em;   } .uvodni-upozorneni + .uvodni-upozorneni, .uvodni-upozorneni + dl, dl + .uvodni-upozorneni   {   margin-top:-1em;   } /*=== Název === */ #Sablona__Nazev #Sablona__Nazev_Spravny-nazev   {   font-weight: bold;   } /*=== Math ===*/.times-serif,span.texhtml {    font-family: "Nimbus Roman No9 L", "Times New Roman", Times, serif;    font-size: 118%;    line-height: 1;}span.texhtml {    white-space: nowrap;}span.texhtml span.texhtml {    font-size: 100%;}span.mwe-math-mathml-inline {    font-size: 118%;}/* Force tabular and lining display for digits and texhtml */.digits,.texhtml {    -moz-font-feature-settings: "lnum", "tnum", "kern" 0;    -webkit-font-feature-settings: "lnum", "tnum", "kern" 0;    font-feature-settings: "lnum", "tnum", "kern" 0;    font-variant-numeric: lining-nums tabular-nums;    font-kerning: none;}/*=== Odmocnina === */ span.odmocnina   {   text-decoration: overline;   } /*=== IPA ===s použitím původního stylu */ .IPA   {   cursor: help;   } a span.IPA   {   cursor: pointer;   } /*=== Pravidla a Pravidlo - @@@ === */ #Sablona--Pravidla   {   border: thin solid #a2a9b1;   float: right;   font-size: smaller;   line-height: 1.2;   margin: 0 0 0 1em;   padding: .2em;   } #Sablona--Pravidla span   {   font-weight: bold;   } #Sablona--Pravidla ul   {   display: block;   line-height: 1.0;   } #Sablona--Pravidla ul li   {   border-left-style: solid;   border-left-width: 1em;   display: block;   } div.wikipravidlo   {   border-width: thick;   border-style: solid;   margin-bottom: 1em;   padding: .5em;   text-align: justify;   } div.wikipravidlo-obrazek   {   float: left;   margin: 0;   } div.wikipravidlo-obsah   {   margin-left: 70px;   } div.wikipravidlo-nadpis   {   font-size: large;   font-weight: bold;   } #Sablona--Pravidlo-zavazne, #Sablona--Pravidla__Zavazne   {   border-color: #9f9;   } #Sablona--Pravidlo-doporuceni, #Sablona--Pravidla__Doporuceni   {   border-color: #cf9;   } #Sablona--Pravidlo-hlasovani, #Sablona--Pravidla__Hlasovani   {   border-color: #ff9;   } #Sablona--Pravidlo-navrh, #Sablona--Pravidla__Navrh   {   border-color: #fc9;   } #Sablona--Pravidlo-neschvalene, #Sablona--Pravidla__Neschvalene   {   border-color: #f99;   } #Sablona--Uvaha, #Sablona--Pravidla__Uvaha   {   border-color: #ccc;   } /*=== Popis souboru === */#shared-image-desc .cs  {    font-size: large;  } /*== Specifické styly pro jednotlivé stránky == */ /*=== [[Special:Recentchanges]] === */.mw-special-Recentchanges .mw-specialpage-summary  {  display:none  } /*=== odsazování pro básně === */ div.poem.odsad {margin-left: 2.5em;}/*=== flagicon ===*/span.flagicon {   display: inline-block;  text-align: center;  min-width: 24px;  vertical-align: 5%;}/*== Cedule ==*/div.labelced {margin: 0 10% 2em 10%;/* Odrazeni o desetinu sirky z obou stran a mezera dole */background: #fbfbfb;width: auto;overflow: hidden;}div.labelced-page {border: 1px solid #a2a9b1;border-left: 10px solid #1e90ff;/* Vychozi: Modra "poznamka" */}div.labelced + div.labelced {/* Spojeni dvou navazujicich ceduli s jednoduchym rameckem */margin-top: -2em;border-top: none;}div.labelced-page-type-speedy {border-left: 10px solid #b22222;/* Cervena "urgentni" */background: #fee;/* Ruzovy podklad */}div.labelced-page-type-delete {border-left: 10px solid #b22222;/* Cervene "smazani" */}div.labelced-page-type-content {border-left: 10px solid #f28500;/* Oranzova "k obsahu" */}div.labelced-page-type-maintenance {border-left: 10px solid #f4c430;/* Zluty "vzhled a styl" */}div.labelced-page-type-move {border-left: 10px solid #9932cc;/* Fialovy "presun" */}div.labelced-page-type-protection {border-left: 10px solid #bba;/* Sedozlata "ochrana" */}div.labelced-page-type-editnotice {    margin: 0 !important;    border-left: 1px solid #a2a9b1 !important;}div.labelced_message {border: none;padding: .25em .5em;width: auto;text-align: left;display: flex;}div.labelced hr {/* Skryti horizontalni cary mezi textem a poznamkou */display: none;}div.labelced_image {float: left;border: none;padding: 2px .5em 0 0;text-align: center;}div.labelced_message_headline {font-size: 90%;font-weight: bold;margin: 0 0 .25em 0;padding: 0 .25em;text-align: left;width: auto;}div.labelced_message_text {font-size: 90%;padding: 0 .25em;text-align: left;width: auto;}div.labelced_message_text p,div.labelced_note_text p {margin: 0}div.labelced_message_text p + p,div.labelced_note_text p + p {/* Odsazeni odstavcu ve viceodstavcovem textu zpravy nebo poznamky */margin-top: .5em;}div.labelced_note {padding: .25em .5em;background: #eeeeee;width: auto;}div.labelced_note_text {font-size: smaller;margin: 0 0 0 52px;padding: 0 .25em;text-align: left;}div.labelced_message_headline-noimage,div.labelced_message_text-noimage,div.labelced_message_note-noimage {/* Zruseni odsazeni zleva v pripade chybejiciho obrazku */margin-left: 0;}div.labelced_note div.labelced_image {/* Skryti obrazku v poznamce */display: none;}/*** == Cedule diskuse ==*/div.labelced-talk {background: #F0F8FF;/* Vychozi: Modry podklad */border-width: 1px 5px;border-style: solid;border-color: #CAE1FF;/* Vychozi: Modra "poznamka" */}div.labelced-talk-type-featured {border-color: #CAE1FF #FFD700;/* Svetle zlutozlate "zvyrazneni" */}div.labelced-talk-type-protected {border-color: #CAE1FF #DCDCCB;/* Svetle sedozlata "ochrana" */}/* Styl pro řádkové seznamy s oddělovačem mezi položkami.   Upozornění: formátování pomocí hlist nebude fungovat, jestliže výsledný HTML kód   nebude obsahovat zalomitelný znak mezi položkami seznamu. K tomu může dojít za   těchto podmínek:   1) Seznam je vytvořen pomocí wiki syntaxe (tzn. HTML je vytvářeno pomocí   parser.php) a   2) HTMLTidy je zakázané nebo nedostupné (jako ve jmenném prostoru Speciální:)   Problém lze obejít tím že vytvořít seznam formátovaný třídou .hlist pomocí HTML   namísto wiki syntaxe. Viz také [[bugzilla:39617]].   Poslední aktualizace: 24. ledna 2013   @source mediawiki.org/wiki/Snippets/Horizontal_lists   @maintainer: [[User:Edokter]]   @revision: 3.1*/.skin-monobook .hlist dl,.skin-modern .hlist dl,.skin-vector .hlist dl {    line-height: 1.5em;}.hlist dl,.hlist ol,.hlist ul {    margin: 0;    padding: 0;}/* Display list items inline and make them nowrap */.hlist dd,.hlist dt,.hlist li {    margin: 0;    display: inline;}/* Allow wrapping for list items (in tight spaces) */.hlist.hwrap dd,.hlist.hwrap dt,.hlist.hwrap li {    white-space: normal;}/* Display nested lists inline and allow them to wrap */.hlist dl dl, .hlist dl ol, .hlist dl ul,.hlist ol dl, .hlist ol ol, .hlist ol ul,.hlist ul dl, .hlist ul ol, .hlist ul ul {    display: inline;    white-space: normal;}/* Generate interpuncts */.hlist dt:after {    content: ":";}.hlist dd:after,.hlist li:after {    content: " • ";    font-weight: bold;}.hlist dd:last-child:after,.hlist dt:last-child:after,.hlist li:last-child:after {    content: none;}/* Add parentheses around nested lists */.hlist dd dd:first-child:before, .hlist dd dt:first-child:before, .hlist dd li:first-child:before,.hlist dt dd:first-child:before, .hlist dt dt:first-child:before, .hlist dt li:first-child:before,.hlist li dd:first-child:before, .hlist li dt:first-child:before, .hlist li li:first-child:before {    content: "(";    font-weight: normal;}.hlist dd dd:last-child:after, .hlist dd dt:last-child:after, .hlist dd li:last-child:after,.hlist dt dd:last-child:after, .hlist dt dt:last-child:after, .hlist dt li:last-child:after,.hlist li dd:last-child:after, .hlist li dt:last-child:after, .hlist li li:last-child:after {    content: ")";    font-weight: normal;}/* Put numbers in front of ordered list items */.hlist.hnum ol {    counter-reset: list-item;}.hlist.hnum ol > li {    counter-increment: list-item;}.hlist.hnum ol > li:before {    content: counter(list-item) " ";}.hlist.hnum dd ol > li:first-child:before,.hlist.hnum dt ol > li:first-child:before,.hlist.hnum li ol > li:first-child:before {    content: "(" counter(list-item) " ";}/* Style for horizontal lists (separator following item).   @source mediawiki.org/wiki/Snippets/Horizontal_lists   @revision 9 (2016-08-10)   @author [[User:Edokter]] */.hlist2 dl,.hlist2 ol,.hlist2 ul {/* don't trust the note that says margin doesn't work with inline * removing margin: 0 makes dds have margins again */    margin: 0;    padding: 0;}/* Display list items inline */.hlist2 dd,.hlist2 dt,.hlist2 li {    margin: 0;    display: inline;}/* Display nested lists inline */.hlist2.inline,.hlist2.inline dl,.hlist2.inline ol,.hlist2.inline ul,.hlist2 dl dl, .hlist2 dl ol, .hlist2 dl ul,.hlist2 ol dl, .hlist2 ol ol, .hlist2 ol ul,.hlist2 ul dl, .hlist2 ul ol, .hlist2 ul ul {    display: inline;}/* Hide empty list items */.hlist2 .mw-empty-li,.hlist2 .mw-empty-elt {    display: none;}/* Generate interpuncts */.hlist2 dt:after {    content: ": ";}.hlist2 dd:after,.hlist2 li:after {    content: " • ";    font-weight: bold;}.hlist2 dd:last-child:after,.hlist2 dt:last-child:after,.hlist2 li:last-child:after {    content: none;}/* Add parentheses around nested lists */.hlist2 dd dd:first-child:before, .hlist2 dd dt:first-child:before, .hlist2 dd li:first-child:before,.hlist2 dt dd:first-child:before, .hlist2 dt dt:first-child:before, .hlist2 dt li:first-child:before,.hlist2 li dd:first-child:before, .hlist2 li dt:first-child:before, .hlist2 li li:first-child:before {    content: " (";    font-weight: normal;}.hlist2 dd dd:last-child:after, .hlist2 dd dt:last-child:after, .hlist2 dd li:last-child:after,.hlist2 dt dd:last-child:after, .hlist2 dt dt:last-child:after, .hlist2 dt li:last-child:after,.hlist2 li dd:last-child:after, .hlist2 li dt:last-child:after, .hlist2 li li:last-child:after {    content: ")";    font-weight: normal;}/* Put ordinals in front of ordered list items */.hlist2 ol {    counter-reset: listitem;}.hlist2 ol > li {    counter-increment: listitem;}.hlist2 ol > li:before {    content: " " counter(listitem) "\a0";}.hlist2 dd ol > li:first-child:before,.hlist2 dt ol > li:first-child:before,.hlist2 li ol > li:first-child:before {    content: " (" counter(listitem) "\a0";} /*=== sesterské projekty === .sisterproject   {   background-color: #f8f9fa;   border: 1px solid #a2a9b1;   clear: right;   float: right;   font-size: smaller;   margin: 0 0 1em 1em;   padding: 4px;   width: 250px;   } .sisterproject b   {   font-size: small;   } *//** * @brief Odkazy na sesterské projekty *  * @author [[meta:User:Danny B.]] */li span.sisterproject {background-color: transparent;border: none;clear: none;float: none;font-size: 100%;margin: 0;padding: 0;width: auto;}span.sisterproject span.sisterproject_image {display: inline-block;height: 16px;width: 16px;}.sisterproject_text_target {font-weight: bold;}.sisterproject-wikinews .sisterproject_text_target {font-style: italic;}/*== Skrytí zaškrtávátek u generovaných inputboxů ==Umožňuje skrýt zaškrtávací políčka pro volbu názvových prostorů u prvků typu <inputbox> – využíváno ve stránce [[Nápověda:Obsah]] */.inputbox-hidecheckboxes form .inputbox-element,.inputbox-hidecheckboxes .mw-ui-checkbox {display: none !important;}/** Vycentrování popisků v galerii **/.gallery-center-text .gallerytext {text-align: center;}/** Přesun ikony „přehrát“ u videí do levého dolního rohu **/.mw-tmh-player a .mw-tmh-play-icon, .PopUpMediaTransform a .play-btn-large {margin: 0 !important;top: auto !important;left: 1ex !important;bottom: 1ex !important;transform: none !important;}