|
|
Řádek 1: |
Řádek 1: |
| /* Zde uvedené CSS bude ovlivňovat všechny styly */ | | /* |
| | '''Toto je CSS stylopis společný pro všechny vzhledy''' |
|
| |
|
| /* Reset italic styling set by user agent */ | | Pokud chcete změnit pouze vzhled Vector (výchozí vzhled Wikipedie), editujte [[MediaWiki:Vector.css]]. |
| cite, dfn {
| | |
| font-style: inherit;
| | 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]. |
| }
| | */ |
| | /* |
| | == 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ů. |
|
| |
|
| /* Straight quote marks for <q> */ | | @import url("/w/index.php?title=MediaWiki:Test.css&action=raw&ctype=text/css"); |
| q {
| |
| quotes: '"' '"' "'" "'";
| |
| }
| |
|
| |
|
| /* Avoid collision of blockquote with floating elements by swapping margin and padding */ | | == Globální styly pro [[MediaWiki]] == |
| blockquote {
| | */ |
| overflow: hidden;
| | /* |
| margin: 1em 0;
| | === styl pro generovaný obsah === |
| padding: 0 40px;
| | */ |
| } | | #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; |
| | } |
| | /* |
| | === přesměrování v [[Speciální:Allpages]], [[Speciální:Prefixindex]] a kategoriích === |
| | */ |
| | .allpagesredirect, .redirect-in-category |
| | { |
| | font-style: italic; |
| | } |
| | /* |
| | === bytecounter v [[Speciální:Recentchanges]] a [[Speciální:Watchlist]] === |
| | */ |
| | strong.mw-plusminus-neg |
| | { |
| | color: #c00; |
| | } |
|
| |
|
| /* Prevent the 'double bold' bug in Firefox when using DirectWrite */
| | span.mw-plusminus-neg |
| strong.selflink {
| | { |
| font-weight: 700;
| | color: #900; |
| } | | } |
|
| |
|
| /* Consistent size for <sub> and <sup> */
| | span.mw-plusminus-pos |
| .mw-body sub, | | { |
| .mw-body sup, | | color: #060; |
| span.reference /* for Parsoid */ {
| | } |
| font-size: 80%;
| | |
| } | | strong.mw-plusminus-pos |
| | { |
| | color: #060; |
| | } |
|
| |
|
| /* Main page fixes */
| | span.mw-plusminus-null |
| #interwiki-completelist {
| | { |
| font-weight: bold;
| | color: #666; |
| }
| | } |
| body.page-Main_Page #ca-delete {
| |
| display: none !important;
| |
| }
| |
| body.page-Main_Page #mp-topbanner {
| |
| clear: both;
| |
| } | |
|
| |
|
| /* Pre-emptively hide watchlist notices to prevent jumps */ | | /* |
| .client-js #watchlist-message { | | === značky (RC apod.) === |
| display: none; | | */ |
| | .mw-tag-markers { |
| | font-family:sans-serif; |
| | font-style:italic; |
| | font-size:90%; |
| } | | } |
|
| |
|
| /* Unhorrify 'Changed since last visit' colors */ | | /* |
| .updatedmarker { | | === varování u editací === |
| background-color: transparent;
| | (editace staré verze, zamčené stránky...) |
| color: #006400;
| | */ |
| } | | .editwarning |
| | { |
| | background-color: #ffc; |
| | border: 3px double #c00; |
| | margin: 0 0 1em 0; |
| | padding: .5em 1em; |
| | } |
| | /* |
| | === reference === |
| | */ |
| | .references |
| | { |
| | font-size: 90%; |
| | } |
|
| |
|
| /* Edit window toolbar */ | | ol.references li:target, |
| #toolbar {
| | sup.reference:target |
| height: 22px; | | { |
| margin-bottom: 6px;
| | background-color: #ffc; |
| | } |
| | /* |
| | === bílé pozadí pod průhlednými obrázky v článcích === |
| | */ |
| | div.thumb img.thumbimage { |
| | background-color: #fff; |
| } | | } |
| | /* |
|
| |
|
| /* Hide charinsert base for those not using the gadget */ | | == Obecné styly == |
| #editpage-specialchars {
| | */ |
| display: none;
| | /* |
| } | | === skrývání obsahu === |
| | umožňuje podmíněné skrývání textu v šablonách (toto použití je '''ZASTARALÉ''') |
| | */ |
| | .hiddenStructure |
| | { |
| | display: none; |
| | speak: none; |
| | } |
| | /* |
| | === externí odkazy bez ikonky === |
| | */ |
| | .plainlinksneverexpand a |
| | { |
| | background: none !important; |
| | padding: 0 !important |
| | } |
|
| |
|
| /* Highlight linked elements (such as clicked references) in blue */
| | .plainlinksneverexpand a.external.text:after |
| body.action-info :target,
| | { |
| .citation:target {
| | display: none !important; |
| background-color: #DEF; /* Fallback */
| | } |
| background-color: rgba(0, 127, 255, 0.133);
| |
| } | |
|
| |
|
| /* Styling for citations. Breaks long urls, etc., rather than overflowing box */ | | .plainlinksneverexpand a.external.autonumber:after |
| .citation { | | { |
| word-wrap: break-word;
| | 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; |
| | } |
|
| |
|
| /* For linked citation numbers and document IDs, where the number need not be shown | | div.cleaner br, |
| on a screen or a handheld, but should be included in the printed version */ | | div.cleaner hr |
| @media screen, handheld {
| | { |
| .citation .printonly {
| | clear: both; |
| display: none;
| | 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; |
| | } |
| | /* |
| | === odsazení === |
| | */ |
| | .odsadit |
| | { |
| | margin-left: 2em; |
| | } |
| | /* |
| | === skrytí přetékajícího obsahu === |
| | */ |
| | .hiddenOverflow |
| | { |
| | overflow: hidden; |
| | } |
| | /* |
| | === odrážky v definicích v seznamu definic (např. v [[Portál:Aktuality|Aktuality]]) === |
| | */ |
| | .odrazenedefinice dd |
| | { |
| | display: list-item; |
| | list-style-type: square; |
| | padding: 0; |
| | } |
| | /* |
| | === 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í === |
| | */ |
| | .alLeft |
| | { |
| | text-align: left; |
| | } |
|
| |
|
| /* Make the list of references smaller */
| | .alRight |
| ol.references,
| | { |
| div.reflist,
| | text-align: right; |
| div.refbegin {
| | } |
| font-size: 90%; /* Default font-size */
| |
| margin-bottom: 0.5em;
| |
| }
| |
| div.refbegin-100 {
| |
| font-size: 100%; /* Option for normal fontsize in {{refbegin}} */
| |
| }
| |
| div.reflist ol.references {
| |
| font-size: 100%; /* Reset font-size when nested in div.reflist */
| |
| list-style-type: inherit; /* Enable custom list style types */
| |
| } | |
|
| |
|
| /* Ensure refs in table headers and the like aren't bold or italic */
| | .alJustify |
| sup.reference {
| | { |
| font-weight: normal;
| | text-align: justify; |
| font-style: normal;
| | } |
| } | |
|
| |
|
| /* Allow hidden ref errors to be shown by user CSS */ | | sup, sub |
| span.brokenref {
| | { |
| display: none;
| | line-height: 1em; |
| } | | } |
| | /* |
| | == Specifické styly pro šablony == |
| | */ |
| | /* |
| | === infobox === |
| | převzato z en |
| | */ |
| | .infobox |
| | { |
| | background-color: #f9f9f9; |
| | border: 1px solid #aaa; |
| | clear: right; |
| | float: right; |
| | font-size: 90%; |
| | line-height: 1.5em; |
| | margin-bottom: .5em; |
| | margin-left: 1em; |
| | padding: .2em; |
| | width: 270px; |
| | } |
|
| |
|
| /* Reset top margin for lists embedded in columns */
| | .infobox caption |
| div.columns {
| | { |
| margin-top: 0.3em;
| | font-size: 125%; |
| }
| | font-weight: bold; |
| div.columns dl,
| | margin-left: inherit; |
| div.columns ol,
| | text-align: center; |
| div.columns ul {
| | } |
| margin-top: 0;
| |
| } | |
|
| |
|
| /* Avoid elements from breaking between columns */
| | .infobox tr |
| .nocolbreak, | | { |
| div.columns li,
| | vertical-align: top; |
| div.columns dd dd {
| | } |
| -webkit-column-break-inside: avoid;
| |
| page-break-inside: avoid;
| |
| break-inside: avoid-column;
| |
| } | |
|
| |
|
| /* Style for [[Template:Flowlist]] that Lets lists flow around floating objecs */
| | .infobox.bordered |
| .flowlist ul {
| | { |
| overflow-x: hidden;
| | border-collapse: collapse; |
| margin-left: 0;
| | } |
| padding-left: 1.6em;
| |
| }
| |
| .flowlist ol { | |
| overflow-x: hidden;
| |
| margin-left: 0;
| |
| padding-left: 3.2em;
| |
| }
| |
| .flowlist dl {
| |
| overflow-x: hidden;
| |
| } | |
|
| |
|
| /* Style for horizontal lists (separator following item).
| | .infobox.bordered td, |
| @source mediawiki.org/wiki/Snippets/Horizontal_lists
| | .infobox.bordered th |
| @revision 7 (2015-11-12) | | { |
| @author [[User:Edokter]] | | border: 1px solid #aaa; |
| | } |
| | /* |
| | === navboxy === |
| */ | | */ |
| .hlist dl, | | |
| .hlist ol,
| | div.navbox { |
| .hlist ul {
| | border: 1px solid transparent; |
| margin: 0;
| | clear: both; |
| padding: 0;
| | font-size: 88%; |
| } | | padding: 2px; |
| /* Display list items inline */
| | text-align: center; |
| .hlist dd,
| | margin-top: 2em; |
| .hlist dt, | | } |
| .hlist li { | | |
| margin: 0;
| | div.navbox + div.navbox { |
| display: inline;
| | margin-top: 0; |
| } | | } |
| /* Display nested lists inline */
| | |
| .hlist.inline, | | div.navbox tr.navbox-padding { |
| .hlist.inline dl,
| | height: 2px; |
| .hlist.inline ol,
| | } |
| .hlist.inline ul,
| | |
| .hlist dl dl, .hlist dl ol, .hlist dl ul, | | div.navbox th.navbox-title, |
| .hlist ol dl, .hlist ol ol, .hlist ol ul, | | div.navbox td.navbox-abovebelow, |
| .hlist ul dl, .hlist ul ol, .hlist ul ul { | | div.navbox th { |
| display: inline;
| | padding-left: 1em; |
| }
| | padding-right: 1em; |
| /* Hide empty list itmes */
| | text-align: center; |
| .hlist .mw-empty-li {
| | } |
| display: none;
| | |
| }
| | div.navbox td.navbox-group { |
| /* Generate interpuncts */
| | font-weight: bold; |
| .hlist dt:after {
| | padding-left: 1em; |
| content: ": ";
| | padding-right: 1em; |
| } | | text-align: right; |
| .hlist dd:after, | | white-space: nowrap; |
| .hlist li:after { | | } |
| content: " · ";
| | |
| font-weight: bold;
| | div.navbox table.navbox-navbox, |
| }
| | div.navbox table.navbox-subgroup, |
| .hlist dd:last-child:after,
| | div.navbox td.navbox-group + th.navbox-title, |
| .hlist dt:last-child:after,
| | div.navbox td.navbox-list { |
| .hlist li:last-child:after {
| | width: 100%; |
| content: none;
| | } |
| } | | |
| /* Add parentheses around nested lists */
| | div.navbox td.navbox-list { |
| .hlist dd dd:first-child:before, .hlist dd dt:first-child:before, .hlist dd li:first-child:before, | | padding: 0; |
| .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: " (";
| | div.navbox td.navbox-group + td.navbox-list { |
| font-weight: normal;
| | border-left: 2px solid transparent; |
| } | | text-align: left; |
| .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 { | | div.navbox td.navbox-list div { |
| content: ") ";
| | padding: 0 .25em; |
| font-weight: normal;
| | } |
| } | | |
| /* Put ordinals in front of ordered list items */
| | div.navbox td.navbox-group + th.navbox-title { |
| .hlist ol { | | border-left: 2px solid transparent; |
| counter-reset: listitem;
| | } |
| } | | |
| .hlist ol > li { | | div.navbox table.navbox-navbox th.navbox-title span.navbox-titletext { |
| counter-increment: listitem;
| | font-size: 110%; |
| } | | } |
| .hlist ol > li:before { | | |
| content: " " counter(listitem) " ";
| | div.navbox table.navbox-subgroup th.navbox-title span.navbox-titletext { |
| white-space: nowrap;
| | font-size: 100%; |
| } | | } |
| .hlist dd ol > li:first-child:before, | | |
| .hlist dt ol > li:first-child:before,
| | div.navbox td.navbox-imageleft { |
| .hlist li ol > li:first-child:before { | | padding: 0 2px 0 0; |
| content: " (" counter(listitem) " ";
| | width: 0; |
| } | | } |
| | |
| | div.navbox td.navbox-image { |
| | padding: 0 0 0 2px; |
| | width: 0; |
| | } |
| | |
| | div.navbox .collapseButton { |
| | width: 6em; |
| | } |
| | |
| | /* barvy */ |
| | |
| | div.navbox { |
| | border-color: #aaa; |
| | } |
|
| |
|
| /* Unbulleted lists */
| | div.navbox, |
| .plainlist ol, | | div.navbox table.navbox-subgroup { |
| .plainlist ul { | | background-color: #fdfdfd; |
| line-height: inherit;
| | } |
| list-style: none none;
| |
| margin: 0;
| |
| }
| |
| .plainlist ol li,
| |
| .plainlist ul li {
| |
| margin-bottom: 0;
| |
| } | |
|
| |
|
| /* Default style for navigation boxes */
| | div.navbox table.navbox-navbox { |
| .navbox { /* Navbox container style */ | | background-color: transparent; |
| border: 1px solid #aaa;
| | color: inherit; |
| width: 100%;
| | } |
| margin: auto;
| |
| clear: both;
| |
| font-size: 88%;
| |
| text-align: center;
| |
| padding: 1px;
| |
| }
| |
| .navbox-inner,
| |
| .navbox-subgroup {
| |
| width: 100%;
| |
| }
| |
| .navbox-group, | |
| .navbox-title,
| |
| .navbox-abovebelow {
| |
| padding: 0.25em 1em; /* Title, group and above/below styles */
| |
| line-height: 1.5em;
| |
| text-align: center;
| |
| }
| |
| th.navbox-group { /* Group style */
| |
| white-space: nowrap;
| |
| /* @noflip */
| |
| text-align: right;
| |
| }
| |
| .navbox,
| |
| .navbox-subgroup {
| |
| background: #fdfdfd; /* Background color */
| |
| }
| |
| .navbox-list {
| |
| line-height: 1.5em;
| |
| border-color: #fdfdfd; /* Must match background color */
| |
| }
| |
| .navbox th,
| |
| .navbox-title {
| |
| background: #ccccff; /* Level 1 color */
| |
| }
| |
| .navbox-abovebelow,
| |
| th.navbox-group,
| |
| .navbox-subgroup .navbox-title {
| |
| background: #ddddff; /* Level 2 color */
| |
| }
| |
| .navbox-subgroup .navbox-group,
| |
| .navbox-subgroup .navbox-abovebelow {
| |
| background: #e6e6ff; /* Level 3 color */
| |
| }
| |
| .navbox-even {
| |
| background: #f7f7f7; /* Even row striping */
| |
| }
| |
| .navbox-odd {
| |
| background: transparent; /* Odd row striping */
| |
| }
| |
| table.navbox {
| |
| margin-top: 1em; /* Prevent preceding content from clinging to navboxes */
| |
| }
| |
| table.navbox table.navbox {
| |
| margin-top: 0; /* No top margin for nested navboxes */
| |
| }
| |
| table.navbox + table.navbox {
| |
| margin-top: -1px; /* Single pixel border between adjacent navboxes */
| |
| }
| |
| .navbox .hlist td dl,
| |
| .navbox .hlist td ol,
| |
| .navbox .hlist td ul,
| |
| .navbox td.hlist dl,
| |
| .navbox td.hlist ol,
| |
| .navbox td.hlist ul {
| |
| padding: 0.125em 0; /* Adjust hlist padding in navboxes */
| |
| } | |
|
| |
|
| /* Default styling for Navbar template */
| | div.navbox td.navbox-group + th.navbox-title , |
| .navbar { | | div.navbox td.navbox-group + td.navbox-list { |
| display: inline;
| | border-color: #fdfdfd; |
| font-size: 88%;
| | } |
| font-weight: normal;
| |
| }
| |
| .navbar ul { | |
| display: inline;
| |
| white-space: nowrap;
| |
| }
| |
| .mw-body-content .navbar ul { | |
| line-height: inherit;
| |
| }
| |
| .navbar li {
| |
| word-spacing: -0.125em;
| |
| }
| |
| .navbar.mini li abbr[title] { | |
| font-variant: small-caps;
| |
| border-bottom: none;
| |
| text-decoration: none;
| |
| cursor: inherit;
| |
| }
| |
| /* Navbar styling when nested in infobox and navbox */
| |
| .infobox .navbar {
| |
| font-size: 100%;
| |
| }
| |
| .navbox .navbar { | |
| display: block;
| |
| font-size: 100%;
| |
| }
| |
| .navbox-title .navbar { | |
| /* @noflip */
| |
| float: left;
| |
| /* @noflip */
| |
| text-align: left;
| |
| /* @noflip */
| |
| margin-right: 0.5em;
| |
| width: 6em;
| |
| } | |
|
| |
|
| /* 'show'/'hide' buttons created dynamically by the CollapsibleTables javascript
| | div.navbox th.navbox-title, |
| in [[MediaWiki:Common.js]] are styled here so they can be customised. */
| | div.navbox th { |
| .collapseButton {
| | background-color: #e0e0e0; |
| /* @noflip */
| | } |
| float: right;
| |
| font-weight: normal;
| |
| /* @noflip */
| |
| margin-left: 0.5em;
| |
| /* @noflip */
| |
| text-align: right;
| |
| width: auto;
| |
| }
| |
| /* In navboxes, the show/hide button balances the v·d·e links
| |
| from [[Template:Navbar]], so they need to be the same width. */
| |
| .navbox .collapseButton { | |
| width: 6em;
| |
| } | |
|
| |
|
| /* Styling for JQuery makeCollapsible, matching that of collapseButton */
| | div.navbox td.navbox-abovebelow, |
| .mw-collapsible-toggle { | | div.navbox td.navbox-group, |
| font-weight: normal;
| | div.navbox table.navbox-subgroup td.navbox-title { |
| /* @noflip */
| | background-color: #e7e7e7; |
| text-align: right;
| | } |
| }
| |
| .navbox .mw-collapsible-toggle { | |
| width: 6em;
| |
| } | |
|
| |
|
| /* Infobox template style */
| | div.navbox table.navbox-subgroup td.navbox-group, |
| .infobox { | | div.navbox table.navbox-subgroup td.navbox-abovebelow { |
| border: 1px solid #aaa;
| | background-color: #f0f0f0; |
| border-spacing: 3px;
| | } |
| background-color: #f9f9f9;
| |
| color: black;
| |
| /* @noflip */
| |
| margin: 0.5em 0 0.5em 1em;
| |
| padding: 0.2em;
| |
| /* @noflip */
| |
| float: right;
| |
| /* @noflip */
| |
| clear: right;
| |
| font-size: 88%;
| |
| line-height: 1.5em;
| |
| }
| |
| .infobox caption { | |
| font-size: 125%;
| |
| font-weight: bold;
| |
| padding: 0.2em;
| |
| }
| |
| .infobox td,
| |
| .infobox th { | |
| vertical-align: top;
| |
| /* @noflip */
| |
| text-align: left;
| |
| }
| |
| .infobox.bordered {
| |
| border-collapse: collapse;
| |
| }
| |
| .infobox.bordered td,
| |
| .infobox.bordered th {
| |
| border: 1px solid #aaa;
| |
| }
| |
| .infobox.bordered .borderless td,
| |
| .infobox.bordered .borderless th {
| |
| border: 0;
| |
| } | |
|
| |
|
| .infobox.sisterproject { | | div.navbox td.navbox-even { |
| width: 20em;
| | background-color: #f7f7f7; |
| font-size: 90%;
| | } |
| } | |
|
| |
|
| .infobox.standard-talk { | | div.navbox td.navbox-odd { |
| border: 1px solid #c0c090;
| | background-color: transparent; |
| background-color: #f8eaba;
| | } |
| }
| |
| .infobox.standard-talk.bordered td,
| |
| .infobox.standard-talk.bordered th {
| |
| border: 1px solid #c0c090;
| |
| } | |
|
| |
|
| /* styles for bordered infobox with merged rows */
| | table.navboxes { |
| .infobox.bordered .mergedtoprow td,
| | border: 1px solid #aaa; |
| .infobox.bordered .mergedtoprow th {
| | clear: both; |
| border: 0;
| | font-size: 88%; |
| border-top: 1px solid #aaa;
| | text-align: center; |
| /* @noflip */
| | width: 100%; |
| border-right: 1px solid #aaa;
| | } |
| } | |
|
| |
|
| .infobox.bordered .mergedrow td, | | table.navboxes th { |
| .infobox.bordered .mergedrow th {
| | background-color: #e0e0e0; |
| border: 0;
| | padding-left: 1em; |
| /* @noflip */
| | padding-right: 1em; |
| border-right: 1px solid #aaa;
| | } |
| } | |
|
| |
|
| /* Styles for geography infoboxes, eg countries,
| | table.navboxes .collapseButton { |
| country subdivisions, cities, etc. */
| | width: 6em; |
| .infobox.geography { | | } |
| border-collapse: collapse;
| |
| line-height: 1.2em;
| |
| font-size: 90%;
| |
| } | |
|
| |
|
| .infobox.geography td,
| | table.navboxes div.navbox { |
| .infobox.geography th { | | font-size: 88%; |
| border-top: 1px solid #aaa;
| | } |
| padding: 0.4em 0.6em 0.4em 0.6em;
| |
| }
| |
| .infobox.geography .mergedtoprow td,
| |
| .infobox.geography .mergedtoprow th {
| |
| border-top: 1px solid #aaa;
| |
| padding: 0.4em 0.6em 0.2em 0.6em;
| |
| } | |
|
| |
|
| .infobox.geography .mergedrow td, | | table.navboxes + table.navboxes, |
| .infobox.geography .mergedrow th { | | table.navboxes + div.navbox, |
| border: 0;
| | div.navbox + table.navboxes, |
| padding: 0 0.6em 0.2em 0.6em;
| | div.navbox + div.navbox { |
| } | | margin-top: -1px; |
| | } |
|
| |
|
| .infobox.geography .mergedbottomrow td, | | .collapseButton { |
| .infobox.geography .mergedbottomrow th {
| | float: right; |
| border-top: 0;
| | font-weight: normal; |
| border-bottom: 1px solid #aaa;
| | text-align: right; |
| padding: 0 0.6em 0.4em 0.6em;
| | width: auto; |
| } | | } |
|
| |
|
| .infobox.geography .maptable td,
| | /* |
| .infobox.geography .maptable th {
| | === locmap === |
| border: 0;
| | */ |
| padding: 0;
| |
| }
| |
|
| |
|
| /* Normal font styling for table row headers with scope="row" tag */
| | .location-map img { |
| .wikitable.plainrowheaders th[scope=row] { | | display: block; |
| font-weight: normal; | | } |
| /* @noflip */
| |
| text-align: left;
| |
| } | |
|
| |
|
| /* Lists in data cells are always left-aligned */ | | /* |
| .wikitable td ul, | | === dokumentace k šablonám === |
| .wikitable td ol,
| | */ |
| .wikitable td dl {
| | .template-documentation |
| /* @noflip */
| | { |
| text-align: left;
| | background-color: #ffe; |
| }
| | border: 1px solid #aaa; |
| /* ...unless they also use the hlist class */
| | clear: both; |
| .toc.hlist ul,
| | margin-top: 1em; |
| #toc.hlist ul, | | padding: .2em .4em; |
| .wikitable.hlist td ul,
| | } |
| .wikitable.hlist td ol,
| |
| .wikitable.hlist td dl { | |
| text-align: inherit;
| |
| } | |
|
| |
|
| /* Icons for medialist templates [[Template:Listen]], | | /* |
| [[Template:Multi-listen_start]], [[Template:Video]], | | === sesterské projekty === |
| [[Template:Multi-video_start]] */ | | .sisterproject |
| div.listenlist {
| | { |
| background: url("//upload.wikimedia.org/wikipedia/commons/4/47/Sound-icon.svg") no-repeat scroll 0 0 transparent;
| | background-color: #f9f9f9; |
| background-size: 30px;
| | border: 1px solid #aaa; |
| padding-left: 40px;
| | clear: right; |
| } | | float: right; |
| | font-size: smaller; |
| | margin: 0 0 1em 1em; |
| | padding: 4px; |
| | width: 250px; |
| | } |
|
| |
|
| /* Fix for hieroglyphs specificality issue in infoboxes ([[Phabricator:43869]]) */
| | .sisterproject b |
| table.mw-hiero-table td {
| | { |
| vertical-align: middle;
| | font-size: small; |
| } | | } |
| | .sisterproject_text_target |
| | { |
| | font-weight: bold; |
| | } |
| | .sisterproject-wikinews .sisterproject_text_target { |
| | font-style: italic; |
| | }*/ |
| | /* |
| | === odkazy na média === |
| | z enwiki |
| | */ |
|
| |
|
| | /* Class for links with loudspeaker icon next to them */ |
| | |
| | .audiolink a |
| | { |
| | background: url("//upload.wikimedia.org/wikipedia/commons/thumb/8/8a/Loudspeaker.svg/11px-Loudspeaker.svg.png") center left no-repeat !important; |
| | padding-left: 16px !important; |
| | padding-right: 0 !important; |
| | } |
| | |
| | /* Icons for medialist templates */ |
| | |
| | div.listenlist |
| | { |
| | background: url("//upload.wikimedia.org/wikipedia/commons/thumb/9/94/Gnome-speakernotes.svg/30px-Gnome-speakernotes.svg.png"); |
| | padding-left: 40px; |
| | } |
| | |
| | div.videolist, div.multivideolist |
| | { |
| | background: url("//upload.wikimedia.org/wikipedia/commons/thumb/e/e7/Video-x-generic.svg/40px-Video-x-generic.svg.png"); |
| | padding-left: 50px; |
| | } |
| | |
| /* Style rules for media list templates */ | | /* Style rules for media list templates */ |
| div.medialist { | | |
| | div.medialist |
| | { |
| min-height: 50px; | | min-height: 50px; |
| margin: 1em; | | margin: 1em; |
| /* @noflip */
| |
| background-position: top left; | | background-position: top left; |
| background-repeat: no-repeat; | | background-repeat: no-repeat; |
| } | | } |
| div.medialist ul { | | |
| list-style-type: none; | | div.medialist ul |
| | { |
| | list-style-type: none; |
| list-style-image: none; | | list-style-image: none; |
| margin: 0; | | margin: 0; |
| } | | } |
| div.medialist ul li { | | |
| | div.medialist ul li |
| | { |
| padding-bottom: 0.5em; | | padding-bottom: 0.5em; |
| } | | } |
| div.medialist ul li li { | | |
| | div.medialist ul li li |
| | { |
| font-size: 91%; | | font-size: 91%; |
| padding-bottom: 0; | | padding-bottom: 0; |
| } | | } |
| | |
| | /* |
| | |
| | === různá hlášení === |
| | '''ZASTARALÉ''' |
| | */ |
| | .messagebox |
| | { |
| | background-color: #f9f9f9; |
| | border: 1px solid #aaa; |
| | margin: 0 auto 1em auto; |
| | padding: .2em; |
| | text-align: justify; |
| | width: 85%; |
| | } |
| | |
| | .messagebox.merge |
| | { |
| | background-color: #f5edf5; |
| | border: 1px solid #c9f; |
| | text-align: center; |
| | } |
|
| |
|
| /* Change the external link icon to an Adobe icon for all PDF files
| | .messagebox.cleanup |
| in browsers that support these CSS selectors, like Mozilla and Opera */
| | { |
| div#content a[href$=".pdf"].external,
| | background-color: #eef; |
| div#content a[href*=".pdf?"].external,
| | border: 1px solid #99f; |
| div#content a[href*=".pdf#"].external,
| | text-align: center; |
| div#content a[href$=".PDF"].external,
| | } |
| div#content a[href*=".PDF?"].external,
| |
| div#content a[href*=".PDF#"].external,
| |
| div#mw_content a[href$=".pdf"].external,
| |
| div#mw_content a[href*=".pdf?"].external,
| |
| div#mw_content a[href*=".pdf#"].external,
| |
| div#mw_content a[href$=".PDF"].external,
| |
| div#mw_content a[href*=".PDF?"].external,
| |
| div#mw_content a[href*=".PDF#"].external {
| |
| background: url("//upload.wikimedia.org/wikipedia/commons/2/23/Icons-mini-file_acrobat.gif") no-repeat right;
| |
| /* @noflip */
| |
| padding-right: 18px;
| |
| } | |
|
| |
|
| /* Change the external link icon to an Adobe icon anywhere the PDFlink class | | .messagebox.standard-talk |
| is used (notably Template:PDFlink). This works in IE, unlike the above. */
| | { |
| div#content span.PDFlink a,
| | background-color: #f8eaba; |
| div#mw_content span.PDFlink a {
| | border: 1px solid #cc9; |
| background: url("//upload.wikimedia.org/wikipedia/commons/2/23/Icons-mini-file_acrobat.gif") no-repeat right;
| | } |
| /* @noflip */
| | /* |
| padding-right: 18px;
| | === upozornění === |
| } | | '''ZASTARALÉ''' |
| | */ |
| | .Talk-Notice |
| | { |
| | background-color: #f8eaba; |
| | border: 1px solid #cc9; |
| | border-spacing: 3px; |
| | margin: 0 auto 3px auto; |
| | width: 85%; |
| | } |
|
| |
|
| /* Content in columns with CSS instead of tables ([[Template:Columns]]) */
| | .Talk-Notice td /* Správné pozadí pro všechny prohlížeče */ |
| div.columns-2 div.column {
| | { |
| /* @noflip */
| | background: inherit; |
| float: left;
| | } |
| width: 50%;
| | /* |
| min-width: 300px;
| | === SHORTTOC === |
| } | | */ |
| div.columns-3 div.column {
| | #shorttoc, |
| /* @noflip */
| | #shorttoc #toc, |
| float: left;
| | div#content #shorttoc, |
| width: 33.3%;
| | div#content #shorttoc #toc |
| min-width: 200px;
| | { |
| }
| | width: 100%; |
| div.columns-4 div.column {
| | } |
| /* @noflip */
| |
| float: left;
| |
| width: 25%;
| |
| min-width: 150px;
| |
| }
| |
| div.columns-5 div.column {
| |
| /* @noflip */
| |
| float: left;
| |
| width: 20%;
| |
| min-width: 120px;
| |
| } | |
|
| |
|
| /* Messagebox templates */
| | #shorttoc #toc #toctitle, |
| .messagebox {
| | #shorttoc h2, |
| border: 1px solid #aaa;
| | #shorttoc ul, |
| background-color: #f9f9f9;
| | #shorttoc li, |
| width: 80%;
| | div#content #shorttoc #toc #toctitle, |
| margin: 0 auto 1em auto;
| | div#content #shorttoc h2, |
| padding: .2em;
| | div#content #shorttoc ul, |
| }
| | div#content #shorttoc li |
| .messagebox.merge {
| | { |
| border: 1px solid #c0b8cc;
| | float: left; |
| background-color: #f0e5ff;
| | } |
| text-align: center;
| |
| }
| |
| .messagebox.cleanup {
| |
| border: 1px solid #9f9fff;
| |
| background-color: #efefff;
| |
| text-align: center;
| |
| }
| |
| .messagebox.standard-talk {
| |
| border: 1px solid #c0c090;
| |
| background-color: #f8eaba;
| |
| margin: 4px auto;
| |
| }
| |
| /* For old WikiProject banners inside banner shells. */
| |
| .mbox-inside .standard-talk,
| |
| .messagebox.nested-talk {
| |
| border: 1px solid #c0c090;
| |
| background-color: #f8eaba;
| |
| width: 100%;
| |
| margin: 2px 0;
| |
| padding: 2px;
| |
| }
| |
| .messagebox.small {
| |
| width: 238px;
| |
| font-size: 85%;
| |
| /* @noflip */
| |
| float: right;
| |
| clear: both;
| |
| /* @noflip */
| |
| margin: 0 0 1em 1em;
| |
| line-height: 1.25em;
| |
| }
| |
| .messagebox.small-talk {
| |
| width: 238px;
| |
| font-size: 85%;
| |
| /* @noflip */
| |
| float: right;
| |
| clear: both;
| |
| /* @noflip */
| |
| margin: 0 0 1em 1em;
| |
| line-height: 1.25em;
| |
| background: #F8EABA;
| |
| } | |
|
| |
|
| /* Cell sizes for ambox/tmbox/imbox/cmbox/ombox/fmbox/dmbox message boxes */
| | #shorttoc #toc span.tocnumber, |
| th.mbox-text, td.mbox-text { /* The message body cell(s) */
| | #shorttoc #toc .toctoggle, |
| border: none;
| | div#content #shorttoc #toc span.tocnumber, |
| /* @noflip */
| | div#content #shorttoc #toc .toctoggle |
| padding: 0.25em 0.9em; /* 0.9em left/right */
| | { |
| width: 100%; /* Make all mboxes the same width regardless of text length */
| | display: none; |
| }
| | } |
| td.mbox-image { /* The left image cell */
| |
| border: none;
| |
| /* @noflip */
| |
| padding: 2px 0 2px 0.9em; /* 0.9em left, 0px right */
| |
| text-align: center;
| |
| }
| |
| td.mbox-imageright { /* The right image cell */
| |
| border: none;
| |
| /* @noflip */
| |
| padding: 2px 0.9em 2px 0; /* 0px left, 0.9em right */
| |
| text-align: center;
| |
| }
| |
| td.mbox-empty-cell { /* An empty narrow cell */
| |
| border: none;
| |
| padding: 0;
| |
| width: 1px;
| |
| } | |
|
| |
|
| /* Article message box styles */
| | #shorttoc h2, |
| table.ambox {
| | #shorttoc ul, |
| margin: 0 10%; /* 10% = Will not overlap with other elements */
| | div#content #shorttoc h2, |
| border: 1px solid #aaa;
| | div#content #shorttoc ul |
| /* @noflip */
| | { |
| border-left: 10px solid #1e90ff; /* Default "notice" blue */
| | margin: 0 .5em 0 0; |
| background: #fbfbfb;
| | } |
| }
| |
| table.ambox + table.ambox { /* Single border between stacked boxes. */
| |
| margin-top: -1px;
| |
| }
| |
| .ambox th.mbox-text,
| |
| .ambox td.mbox-text { /* The message body cell(s) */
| |
| padding: 0.25em 0.5em; /* 0.5em left/right */
| |
| }
| |
| .ambox td.mbox-image { /* The left image cell */
| |
| /* @noflip */
| |
| padding: 2px 0 2px 0.5em; /* 0.5em left, 0px right */
| |
| }
| |
| .ambox td.mbox-imageright { /* The right image cell */
| |
| /* @noflip */
| |
| padding: 2px 0.5em 2px 0; /* 0px left, 0.5em right */
| |
| } | |
|
| |
|
| table.ambox-notice {
| | #shorttoc ul, |
| /* @noflip */
| | div#content #shorttoc ul |
| border-left: 10px solid #1e90ff; /* Blue */
| | { |
| }
| | list-style-type: none; |
| table.ambox-speedy {
| | list-style-image: none; |
| /* @noflip */
| | } |
| border-left: 10px solid #b22222; /* Red */
| |
| background: #fee; /* Pink */
| |
| }
| |
| table.ambox-delete {
| |
| /* @noflip */
| |
| border-left: 10px solid #b22222; /* Red */
| |
| }
| |
| table.ambox-content {
| |
| /* @noflip */
| |
| border-left: 10px solid #f28500; /* Orange */
| |
| }
| |
| table.ambox-style {
| |
| /* @noflip */
| |
| border-left: 10px solid #f4c430; /* Yellow */
| |
| }
| |
| table.ambox-move {
| |
| /* @noflip */
| |
| border-left: 10px solid #9932cc; /* Purple */
| |
| }
| |
| table.ambox-protection {
| |
| /* @noflip */
| |
| border-left: 10px solid #bba; /* Gray-gold */
| |
| } | |
|
| |
|
| /* Image message box styles */
| | #shorttoc li, |
| table.imbox {
| | div#content #shorttoc li |
| margin: 4px 10%;
| | { |
| border-collapse: collapse;
| | margin-left: .5em; |
| border: 3px solid #1e90ff; /* Default "notice" blue */
| | } |
| background: #fbfbfb;
| |
| }
| |
| .imbox .mbox-text .imbox { /* For imboxes inside imbox-text cells. */
| |
| margin: 0 -0.5em; /* 0.9 - 0.5 = 0.4em left/right. */
| |
| display: block; /* Fix for webkit to force 100% width. */
| |
| }
| |
| .mbox-inside .imbox { /* For imboxes inside other templates. */
| |
| margin: 4px;
| |
| } | |
|
| |
|
| table.imbox-notice {
| | * html #shorttoc td, |
| border: 3px solid #1e90ff; /* Blue */
| | * html div#content #shorttoc td |
| | { |
| | padding: .5em 0 .5em .5em; |
| | } |
| | /* |
| | === šablony úvodních upozornění === |
| | (Název, Různé významy - sdílená část) |
| | */ |
| | .uvodni-upozorneni |
| | { |
| | font-style: italic; |
| | margin: 0 0 1em 2em; |
| | } |
| | /* |
| | === 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; |
| } | | } |
| table.imbox-speedy {
| | span.texhtml { |
| border: 3px solid #b22222; /* Red */ | | white-space: nowrap; |
| background: #fee; /* Pink */
| |
| } | | } |
| table.imbox-delete {
| | span.texhtml span.texhtml { |
| border: 3px solid #b22222; /* Red */ | | font-size: 100%; |
| } | | } |
| table.imbox-content {
| | span.mwe-math-mathml-inline { |
| border: 3px solid #f28500; /* Orange */
| | font-size: 118%; |
| }
| |
| table.imbox-style {
| |
| border: 3px solid #f4c430; /* Yellow */
| |
| }
| |
| table.imbox-move {
| |
| border: 3px solid #9932cc; /* Purple */
| |
| }
| |
| table.imbox-protection {
| |
| border: 3px solid #bba; /* Gray-gold */
| |
| }
| |
| table.imbox-license {
| |
| border: 3px solid #88a; /* Dark gray */ | |
| background: #f7f8ff; /* Light gray */
| |
| }
| |
| table.imbox-featured {
| |
| border: 3px solid #cba135; /* Brown-gold */
| |
| } | | } |
|
| |
|
| /* Category message box styles */ | | /* |
| table.cmbox {
| | === Odmocnina === |
| margin: 3px 10%;
| | */ |
| border-collapse: collapse;
| | span.odmocnina |
| border: 1px solid #aaa;
| | { |
| background: #DFE8FF; /* Default "notice" blue */
| | text-decoration: overline; |
| } | | } |
| | /* |
| | === Klávesa === |
| | */ |
| | kbd.Sablona__Klavesa |
| | { |
| | background-color: #F7F7F7; |
| | background-image: -webkit-linear-gradient(rgba(255,255,255,.4),rgba(0,0,0,.1)); |
| | background-image: -moz-linear-gradient(rgba(255,255,255,.4),rgba(0,0,0,.1)); |
| | background-image: -o-linear-gradient(rgba(255,255,255,.4),rgba(0,0,0,.1)); |
| | background-image: linear-gradient(rgba(255,255,255,.4),rgba(0,0,0,.1)); |
| | border: 1px solid; |
| | border-color: #DDD #AAA #888 #CCC; |
| | border-radius: 2px; |
| | padding: 0 .4em; |
| | text-shadow: 0 1px rgba(255,255,255,.5); |
| | white-space: nowrap; |
| | } |
| | /* |
| | === IPA === |
| | s použitím původního stylu |
| | |
| | deklaraci s inherit je třeba ponechat včetně prázdného komentáře - css hack kvůli IE6 |
| | */ |
| | .IPA |
| | { |
| | cursor: help; |
| | font-family: "Chrysanthi Unicode", "Doulos SIL", Gentium, GentiumAlt, Code2000, "TITUS Cyberbit Basic", "DejaVu Sans", "Bitstream Vera Sans", "Bitstream Cyberbit", "Arial Unicode MS", "Lucida Sans Unicode", "Hiragino Kaku Gothic Pro", "Matrix Unicode"; |
| | font-family /**/:inherit; |
| | } |
|
| |
|
| table.cmbox-notice {
| | a span.IPA |
| background: #D8E8FF; /* Blue */
| | { |
| }
| | cursor: pointer; |
| table.cmbox-speedy {
| | _cursor: hand; |
| margin-top: 4px;
| | } |
| margin-bottom: 4px;
| | /* |
| border: 4px solid #b22222; /* Red */
| | === Pravidla a Pravidlo - @@@ === |
| background: #FFDBDB; /* Pink */
| | */ |
| }
| | #Sablona--Pravidla |
| table.cmbox-delete {
| | { |
| background: #FFDBDB; /* Red */
| | border: thin solid #aaa; |
| }
| | float: right; |
| table.cmbox-content {
| | font-size: smaller; |
| background: #FFE7CE; /* Orange */
| | line-height: 1.2; |
| }
| | margin: 0 0 0 1em; |
| table.cmbox-style {
| | padding: .2em; |
| background: #FFF9DB; /* Yellow */
| | } |
| }
| |
| table.cmbox-move {
| |
| background: #E4D8FF; /* Purple */
| |
| }
| |
| table.cmbox-protection {
| |
| background: #EFEFE1; /* Gray-gold */
| |
| } | |
|
| |
|
| /* Other pages message box styles */
| | #Sablona--Pravidla span |
| table.ombox {
| | { |
| margin: 4px 10%;
| | font-weight: bold; |
| border-collapse: collapse;
| | } |
| border: 1px solid #aaa; /* Default "notice" gray */
| |
| background: #f9f9f9;
| |
| } | |
|
| |
|
| table.ombox-notice {
| | #Sablona--Pravidla ul |
| border: 1px solid #aaa; /* Gray */
| | { |
| }
| | display: block; |
| table.ombox-speedy {
| | line-height: 1.0; |
| border: 2px solid #b22222; /* Red */
| | } |
| background: #fee; /* Pink */
| |
| }
| |
| table.ombox-delete {
| |
| border: 2px solid #b22222; /* Red */
| |
| }
| |
| table.ombox-content {
| |
| border: 1px solid #f28500; /* Orange */
| |
| }
| |
| table.ombox-style {
| |
| border: 1px solid #f4c430; /* Yellow */
| |
| }
| |
| table.ombox-move {
| |
| border: 1px solid #9932cc; /* Purple */
| |
| }
| |
| table.ombox-protection {
| |
| border: 2px solid #bba; /* Gray-gold */
| |
| } | |
|
| |
|
| /* Talk page message box styles */
| | #Sablona--Pravidla ul li |
| table.tmbox {
| | { |
| margin: 4px 10%;
| | border-left-style: solid; |
| border-collapse: collapse;
| | border-left-width: 1em; |
| border: 1px solid #c0c090; /* Default "notice" gray-brown */
| | display: block; |
| background: #f8eaba;
| | } |
| }
| |
| .mediawiki .mbox-inside .tmbox { /* For tmboxes inside other templates. The "mediawiki" class ensures that */
| |
| margin: 2px 0; /* this declaration overrides other styles (including mbox-small above) */
| |
| width: 100%; /* For Safari and Opera */
| |
| }
| |
| .mbox-inside .tmbox.mbox-small { /* "small" tmboxes should not be small when */
| |
| line-height: 1.5em; /* also "nested", so reset styles that are */
| |
| font-size: 100%; /* set in "mbox-small" above. */
| |
| } | |
|
| |
|
| table.tmbox-speedy {
| | div.wikipravidlo |
| border: 2px solid #b22222; /* Red */
| | { |
| background: #fee; /* Pink */
| | border-width: thick; |
| }
| | border-style: solid; |
| table.tmbox-delete {
| | margin-bottom: 1em; |
| border: 2px solid #b22222; /* Red */
| | padding: .5em; |
| }
| | text-align: justify; |
| table.tmbox-content {
| | } |
| border: 2px solid #f28500; /* Orange */
| |
| }
| |
| table.tmbox-style {
| |
| border: 2px solid #f4c430; /* Yellow */
| |
| }
| |
| table.tmbox-move {
| |
| border: 2px solid #9932cc; /* Purple */
| |
| }
| |
| table.tmbox-protection,
| |
| table.tmbox-notice {
| |
| border: 1px solid #c0c090; /* Gray-brown */
| |
| } | |
|
| |
|
| /* Disambig and set index box styles */
| | div.wikipravidlo-obrazek |
| table.dmbox {
| | { |
| clear: both;
| | float: left; |
| margin: 0.9em 1em;
| | margin: 0; |
| border-top: 1px solid #ccc;
| | } |
| border-bottom: 1px solid #ccc;
| |
| background: transparent;
| |
| } | |
|
| |
|
| /* Footer and header message box styles */
| | div.wikipravidlo-obsah |
| table.fmbox {
| | { |
| clear: both;
| | margin-left: 70px; |
| margin: 0.2em 0;
| | } |
| width: 100%;
| |
| border: 1px solid #aaa;
| |
| background: #f9f9f9; /* Default "system" gray */
| |
| }
| |
| table.fmbox-system {
| |
| background: #f9f9f9;
| |
| }
| |
| table.fmbox-warning {
| |
| border: 1px solid #bb7070; /* Dark pink */
| |
| background: #ffdbdb; /* Pink */
| |
| }
| |
| table.fmbox-editnotice {
| |
| background: transparent;
| |
| }
| |
| /* Div based "warning" style fmbox messages. */
| |
| div.mw-warning-with-logexcerpt, | |
| div.mw-lag-warn-high,
| |
| div.mw-cascadeprotectedwarning,
| |
| div#mw-protect-cascadeon,
| |
| div.titleblacklist-warning,
| |
| div.locked-warning {
| |
| clear: both;
| |
| margin: 0.2em 0;
| |
| border: 1px solid #bb7070;
| |
| background: #ffdbdb;
| |
| padding: 0.25em 0.9em;
| |
| }
| |
| /* Div based "system" style fmbox messages.
| |
| Used in [[MediaWiki:Readonly lag]]. */ | |
| div.mw-lag-warn-normal,
| |
| div.fmbox-system {
| |
| clear: both;
| |
| margin: 0.2em 0;
| |
| border: 1px solid #aaa;
| |
| background: #f9f9f9;
| |
| padding: 0.25em 0.9em;
| |
| } | |
|
| |
|
| /* These mbox-small classes must be placed after all other
| | div.wikipravidlo-nadpis |
| ambox/tmbox/ombox etc classes. "body.mediawiki" is so | | { |
| they override "table.ambox + table.ambox" above. */ | | font-size: large; |
| body.mediawiki table.mbox-small { /* For the "small=yes" option. */
| | font-weight: bold; |
| /* @noflip */
| | } |
| clear: right;
| |
| /* @noflip */
| |
| float: right;
| |
| /* @noflip */
| |
| margin: 4px 0 4px 1em;
| |
| width: 238px;
| |
| font-size: 88%;
| |
| line-height: 1.25em;
| |
| }
| |
| body.mediawiki table.mbox-small-left { /* For the "small=left" option. */
| |
| /* @noflip */
| |
| margin: 4px 1em 4px 0;
| |
| width: 238px;
| |
| border-collapse: collapse;
| |
| font-size: 88%;
| |
| line-height: 1.25em;
| |
| } | |
|
| |
|
| /* Style for compact ambox */
| | #Sablona--Pravidlo-zavazne, |
| /* Hide the images */
| | #Sablona--Pravidla__Zavazne |
| .compact-ambox table .mbox-image,
| | { |
| .compact-ambox table .mbox-imageright,
| | border-color: #9f9; |
| .compact-ambox table .mbox-empty-cell {
| | } |
| display: none;
| |
| }
| |
| /* Remove borders, backgrounds, padding, etc. */
| |
| .compact-ambox table.ambox {
| |
| border: none;
| |
| border-collapse: collapse;
| |
| background: transparent;
| |
| margin: 0 0 0 1.6em !important;
| |
| padding: 0 !important;
| |
| width: auto;
| |
| display: block;
| |
| }
| |
| body.mediawiki .compact-ambox table.mbox-small-left {
| |
| font-size: 100%;
| |
| width: auto;
| |
| margin: 0;
| |
| }
| |
| /* Style the text cell as a list item and remove its padding */
| |
| .compact-ambox table .mbox-text {
| |
| padding: 0 !important;
| |
| margin: 0 !important;
| |
| }
| |
| .compact-ambox table .mbox-text-span {
| |
| display: list-item;
| |
| line-height: 1.5em;
| |
| list-style-type: square;
| |
| list-style-image: url(/w/skins/MonoBook/bullet.gif);
| |
| }
| |
| .skin-vector .compact-ambox table .mbox-text-span {
| |
| list-style-type: disc;
| |
| list-style-image: url(/w/skins/Vector/images/bullet-icon.svg);
| |
| list-style-image: url(/w/skins/Vector/images/bullet-icon.png)\9;
| |
| }
| |
| /* Allow for hiding text in compact form */
| |
| .compact-ambox .hide-when-compact {
| |
| display: none;
| |
| } | |
|
| |
|
| /* Remove default styles for [[MediaWiki:Noarticletext]]. */
| | #Sablona--Pravidlo-doporuceni, |
| div.noarticletext {
| | #Sablona--Pravidla__Doporuceni |
| border: none;
| | { |
| background: transparent;
| | border-color: #cf9; |
| padding: 0;
| | } |
| } | |
|
| |
|
| /* Hide (formatting) elements from screen, but not from screenreaders */
| | #Sablona--Pravidlo-hlasovani, |
| .visualhide {
| | #Sablona--Pravidla__Hlasovani |
| position: absolute;
| | { |
| left: -10000px;
| | border-color: #ff9; |
| top: auto;
| | } |
| width: 1px;
| |
| height: 1px;
| |
| overflow: hidden;
| |
| } | |
|
| |
|
| /* Bold save button */
| | #Sablona--Pravidlo-navrh, |
| #wpSave { | | #Sablona--Pravidla__Navrh |
| font-weight: bold;
| | { |
| } | | border-color: #fc9; |
| | } |
|
| |
|
| /* class hiddenStructure is defunct. See [[Wikipedia:hiddenStructure]] */
| | #Sablona--Pravidlo-neschvalene, |
| .hiddenStructure {
| | #Sablona--Pravidla__Neschvalene |
| display: inline !important;
| | { |
| color: #f00;
| | border-color: #f99; |
| background-color: #0f0;
| | } |
| } | |
|
| |
|
| /* suppress missing interwiki image links where #ifexist cannot
| | #Sablona--Uvaha, |
| be used due to high number of requests see .hidden-redlink on | | #Sablona--Pravidla__Uvaha |
| [[m:MediaWiki:Common.css]] */ | | { |
| .check-icon a.new {
| | border-color: #ccc; |
| display: none;
| | } |
| speak: none;
| | /* |
| } | | === Popis souboru === |
| | */ |
| | #Sablona--Popis-souboru |
| | { |
| | width: 100%; |
| | } |
|
| |
|
| /* Removes underlines from certain links */
| | #Sablona--Popis-souboru td |
| .nounderlines a,
| | { |
| .IPA a:link, .IPA a:visited {
| | vertical-align: top; |
| text-decoration: none !important;
| | } |
| } | |
|
| |
|
| /* Standard Navigationsleisten, aka box hiding thingy
| | #Sablona--Popis-souboru th |
| from .de. Documentation at [[Wikipedia:NavFrame]]. */
| | { |
| div.NavFrame {
| | text-align: right; |
| margin: 0;
| | vertical-align: top; |
| padding: 4px;
| | white-space: nowrap; |
| border: 1px solid #aaa;
| | width: 6em; |
| text-align: center;
| | } |
| border-collapse: collapse;
| |
| font-size: 95%;
| |
| }
| |
| div.NavFrame + div.NavFrame {
| |
| border-top-style: none;
| |
| border-top-style: hidden;
| |
| }
| |
| div.NavPic {
| |
| background-color: #fff;
| |
| margin: 0;
| |
| padding: 2px;
| |
| /* @noflip */
| |
| float: left;
| |
| }
| |
| div.NavFrame div.NavHead {
| |
| line-height: 1.6em;
| |
| font-weight: bold;
| |
| background-color: #ccf;
| |
| position: relative;
| |
| }
| |
| div.NavFrame p,
| |
| div.NavFrame div.NavContent,
| |
| div.NavFrame div.NavContent p {
| |
| font-size: 100%;
| |
| }
| |
| div.NavEnd {
| |
| margin: 0;
| |
| padding: 0;
| |
| line-height: 1px;
| |
| clear: both;
| |
| }
| |
| a.NavToggle {
| |
| position: absolute;
| |
| top: 0;
| |
| /* @noflip */
| |
| right: 3px;
| |
| font-weight: normal;
| |
| font-size: 90%;
| |
| } | |
|
| |
|
| /* Hatnotes and disambiguation notices */
| | #shared-image-desc .cs |
| .hatnote {
| | { |
| font-style: italic;
| | font-size: large; |
| }
| | } |
| .hatnote i {
| |
| font-style: normal;
| |
| }
| |
| div.hatnote {
| |
| /* @noflip */
| |
| padding-left: 1.6em;
| |
| margin-bottom: 0.5em;
| |
| }
| |
| div.hatnote + div.hatnote {
| |
| margin-top: -0.5em; | |
| } | |
|
| |
|
| /* Allow transcluded pages to display in lists rather than a table. */ | | /* |
| .listify td { display: list-item; }
| |
| .listify tr { display: block; }
| |
| .listify table { display: block; }
| |
|
| |
|
| /* Geographical coordinates defaults. See [[Template:Coord/link]] | | == Specifické styly pro jednotlivé stránky == |
| for how these are used. The classes "geo", "longitude", and
| | */ |
| "latitude" are used by the [[Geo microformat]]. */
| | /* |
| .geo-default, .geo-dms, .geo-dec { display: inline; }
| | === [[Šablona:OznámeníRC]] === |
| .geo-nondefault, .geo-multi-punct { display: none; }
| | */ |
| .longitude, .latitude { white-space: nowrap; }
| | #Sablona--OznameniRC__IRC |
| | { |
| | font-size: 85%; |
| | margin-top: -3.2em; |
| | text-align: right; |
| | /* hack pro IE */ |
| | _margin-top: -2.2em; |
| | position: relative; |
| | } |
|
| |
|
| /* Temporary(!) fix for horizontal TOC in Blink (Chrone/Opera) */
| | #Sablona--OznameniRC |
| .hlist .tocnumber,
| | { |
| .hlist .toctext {
| | font-size: 85%; |
| display: inline;
| | line-height: 1.15; |
| }
| | } |
| /* When <div class="nonumtoc"> is used on the table of contents,
| |
| the ToC will display without numbers */ | |
| .nonumtoc .tocnumber {
| |
| display: none;
| |
| }
| |
| .nonumtoc #toc ul,
| |
| .nonumtoc .toc ul {
| |
| line-height: 1.5em;
| |
| list-style: none none;
| |
| margin: .3em 0 0;
| |
| padding: 0;
| |
| }
| |
| .hlist.nonumtoc #toc ul ul,
| |
| .hlist.nonumtoc .toc ul ul {
| |
| /* @noflip */
| |
| margin: 0;
| |
| } | |
|
| |
|
| /* Allow limiting of which header levels are shown in a TOC;
| | #Sablona--OznameniRC__Oznameni |
| <div class="toclimit-3">, for instance, will limit to
| | { |
| showing ==headings== and ===headings=== but no further | | border: 1px solid #aaa; |
| (as long as there are no =headings= on the page, which | | border-top: none; |
| there shouldn't be according to the MoS). */ | | margin: 0; |
| .toclimit-2 .toclevel-1 ul,
| | padding: 0; |
| .toclimit-3 .toclevel-2 ul,
| | } |
| .toclimit-4 .toclevel-3 ul,
| |
| .toclimit-5 .toclevel-4 ul,
| |
| .toclimit-6 .toclevel-5 ul,
| |
| .toclimit-7 .toclevel-6 ul {
| |
| display: none;
| |
| } | |
|
| |
|
| /* Styling for Template:Quote */
| | #Sablona--OznameniRC__Oznameni table |
| blockquote.templatequote div.templatequotecite {
| | { |
| line-height: 1.5em;
| | border-collapse: collapse; |
| /* @noflip */
| | margin: .3em .5em; |
| text-align: left;
| | } |
| /* @noflip */
| |
| padding-left: 1.6em;
| |
| margin-top: 0;
| |
| } | |
|
| |
|
| /* User block messages */
| | #Sablona--OznameniRC__Oznameni table tr |
| div.user-block {
| | { |
| padding: 5px;
| | vertical-align: top; |
| margin-bottom: 0.5em;
| | } |
| border: 1px solid #A9A9A9;
| |
| background-color: #FFEFD5;
| |
| } | |
|
| |
|
| /* Prevent line breaks in silly places:
| | #Sablona--OznameniRC__Oznameni table tr th |
| 1) Where desired
| | { |
| 2) Links when we don't want them to
| | text-align: right; |
| 3) Bold "links" to the page itself
| | white-space: pre; |
| 4) Ref tags with group names <ref group="Note"> --> "[Note 1]" */
| | } |
| .nowrap,
| | /* |
| .nowraplinks a,
| | výchozí zobrazení |
| .nowraplinks .selflink,
| | */ |
| sup.reference a {
| | #Sablona--OznameniRC__Oznameni_Chybejici-clanky td div.hiddenOverflow |
| white-space: nowrap;
| | { |
| }
| | height: 1.15em; |
| .nowrap pre {
| | } |
| white-space: pre;
| |
| } | |
| /* But allow wrapping where desired: */ | |
| .wrap, | |
| .wraplinks a {
| |
| white-space: normal;
| |
| } | |
|
| |
|
| /* For template documentation */
| | #Sablona--OznameniRC__Oznameni_Hlasovani-o-smazani, |
| .template-documentation {
| | #Sablona--OznameniRC__Oznameni_Reseni-konfliktu |
| clear: both;
| | { |
| margin: 1em 0 0 0;
| | display: none; |
| border: 1px solid #aaa;
| | } |
| background-color: #ecfcf4;
| | /* |
| padding: 1em;
| |
| } | |
|
| |
|
| /* Inline divs in ImageMaps (code borrowed from de.wiki) */
| | === [[Special:Recentchanges]] === |
| .imagemap-inline div {
| | */ |
| display: inline;
| |
| }
| |
|
| |
|
| /* Increase the height of the image upload box */
| | .mw-special-Recentchanges .mw-specialpage-summary |
| #wpUploadDescription {
| | { |
| height: 13em;
| | display:none |
| } | | } |
|
| |
|
| /* Minimum thumb width */ | | /* |
| .thumbinner {
| |
| min-width: 100px;
| |
| }
| |
|
| |
|
| /* Makes the background of a framed image white instead of gray.
| | === [[Wikipedie:Údržba]] === |
| Only visible with transparent images. */
| | společná část pro všechny skiny |
| div.thumb .thumbimage {
| | */ |
| background-color: #fff;
| | #Wikipedie--Udrzba__Obsah |
| } | | { |
| | margin: 0 1em 1em 1em; |
| | } |
|
| |
|
| /* The backgrounds for galleries. */
| | #Wikipedie--Udrzba__Obsah #toc |
| div#content .gallerybox div.thumb {
| | { |
| /* Light gray padding */
| | font-size: smaller; |
| background-color: #F9F9F9;
| | } |
| }
| |
| /* Put a chequered background behind images, only visible if they have transparency.
| |
| '.filehistory a img' and '#file img:hover' are handled by MediaWiki core (as of 1.19) */ | |
| .gallerybox .thumb img {
| |
| background: #fff url(//upload.wikimedia.org/wikipedia/commons/5/5d/Checker-16x16.png) repeat;
| |
| }
| |
| /* But not on articles, user pages, portals or with opt-out. */
| |
| .ns-0 .gallerybox .thumb img,
| |
| .ns-2 .gallerybox .thumb img,
| |
| .ns-100 .gallerybox .thumb img,
| |
| .nochecker .gallerybox .thumb img {
| |
| background: #fff;
| |
| } | |
|
| |
|
| /* Prevent floating boxes from overlapping any category listings,
| | #Wikipedie--Udrzba__Obsah h2 |
| file histories, edit previews, and edit [Show changes] views. */
| | { |
| #mw-subcategories, #mw-pages, #mw-category-media, | | display: none; |
| #filehistory, #wikiPreview, #wikiDiff {
| | } |
| clear: both;
| |
| } | |
|
| |
|
| body.rtl #mw-articlefeedbackv5, body.rtl #mw-articlefeedback {
| | #Wikipedie--Udrzba__Akce, |
| display: block; /* Override inline block mode */
| | table.udrzbawikipedie |
| margin-bottom: 1em;
| | { |
| /* @noflip */
| | background-color: transparent; |
| clear: right; /* Clear any info boxes that stick out */
| | border: none; |
| /* @noflip */
| | border-collapse: collapse; |
| float: right; /* Prevents margin collapsing */
| | border-color: #aaa; |
| } | | width: 100%; |
| | } |
|
| |
|
| /* Selectively hide headers in WikiProject banners */
| | #Wikipedie--Udrzba__Akce td, |
| .wpb .wpb-header { display: none; } | | table.udrzbawikipedie td |
| .wpbs-inner .wpb .wpb-header { display: block; } /* for IE */
| | { |
| .wpbs-inner .wpb .wpb-header { display: table-row; } /* for real browsers */
| | padding: 1em; |
| .wpbs-inner .wpb-outside { display: none; } /* hide things that should only display outside shells */
| | vertical-align: top; |
| | width: 50%; |
| | } |
|
| |
|
| /* Styling for Abuse Filter tags */
| | #Wikipedie--Udrzba__Akce div.typ |
| .mw-tag-markers {
| | { |
| font-style:italic;
| | border: 1px solid transparent; |
| font-size:90%;
| | margin-top: .5em; |
| } | | } |
| | * html #Wikipedie--Udrzba__Akce div.typ |
| | { |
| | border-color: #f8fcff; |
| | } |
|
| |
|
| /* Hide stuff meant for accounts with special permissions. Made visible again in
| | #Wikipedie--Udrzba__Akce div.popis |
| [[MediaWiki:Group-sysop.css]], [[MediaWiki:Group-accountcreator.css]], | | { |
| [[MediaWiki:Group-templateeditor.css]] and [[Mediawiki:Group-autoconfirmed.css]]. */ | | font-size: smaller; |
| .sysop-show,
| | line-height: 1.1; |
| .accountcreator-show,
| | text-align: justify; |
| .templateeditor-show,
| | } |
| .autoconfirmed-show {
| |
| display: none;
| |
| } | |
|
| |
|
| /**
| | #Wikipedie--Udrzba__Akce div.sekce |
| * Hide the redlink generated by {{Editnotice}},
| | { |
| * this overrides the ".sysop-show { display: none; }" above that applies
| | font-style: italic; |
| * to the same link as well. | | } |
| *
| | /* |
| * See [[Phabricator:45013]].
| | === [[Hlavní strana]] === |
| */ | | */ |
| .ve-ui-mwNoticesPopupTool-item .editnotice-redlink, .mw-ve-editNotice .editnotice-redlink { | | body.page-Hlavní_strana div.magnify |
| display: none !important;
| | { |
| | display: none; |
| | } |
| | |
| | /* odsazování pro básně */ |
| | div.poem.odsad { margin-left: 2.5em; } |
| | |
| | /* tučné odkazy na portály */ |
| | div#portallinks a { font-weight: bold; } |
| | /* |
| | === flagicon === |
| | */ |
| | span.flagicon { |
| | display: inline-block; |
| | text-align: center; |
| | min-width: 24px; |
| | vertical-align: 5%; |
| } | | } |
|
| |
|
| /* Remove bullets when there are multiple edit page warnings */ | | /* |
| ul.permissions-errors > li {
| | == Cedule == |
| list-style: none none;
| | */ |
| | 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 #aaa; |
| | border-left: 10px solid #1e90ff; /* Vychozi: Modra "poznamka" */ |
| } | | } |
| ul.permissions-errors {
| | div.labelced + div.labelced { /* Spojeni dvou navazujicich ceduli s jednoduchym rameckem */ |
| margin: 0;
| | 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 { |
| /* No linewrap on the labels of the login/signup page */
| | border-left: 10px solid #9932cc; /* Fialovy "presun" */ |
| body.page-Special_UserLogin .mw-label label,
| |
| body.page-Special_UserLogin_signup .mw-label label {
| |
| white-space: nowrap;
| |
| } | | } |
| | | div.labelced-page-type-protection { |
| /* Pie chart: transparent borders */
| | border-left: 10px solid #bba; /* Sedozlata "ochrana" */ |
| .transborder { | |
| border: solid transparent;
| |
| } | | } |
| | | div.labelced_message { |
| /* Generic class for Times-based serif, texhtml class for inline math */
| | border: none; |
| .times-serif, | | padding: .25em 0.5em; |
| span.texhtml {
| | width: auto; |
| font-family: "Nimbus Roman No9 L", "Times New Roman", Times, serif;
| | text-align: left; |
| font-size: 118%;
| |
| line-height: 1;
| |
| } | | } |
| span.texhtml {
| | div.labelced hr { /* Skryti horizontalni cary mezi textem a poznamkou */ |
| white-space: nowrap;
| | display: none; |
| } | | } |
| span.texhtml span.texhtml {
| | div.labelced_image { |
| font-size: 100%;
| | float: left; |
| | border: none; |
| | padding: 2px 0; |
| | text-align: center; |
| | width: 48px; |
| } | | } |
| span.mwe-math-mathml-inline {
| | div.labelced_imageright { /* Predpripraveno i pro umisteni obrazku vpravo; sablona zatim nepodporuje */ |
| font-size: 118%;
| | float: right; |
| | border: none; |
| | padding: 2px 0; |
| | text-align: center; |
| | width: 48px; |
| } | | } |
| | | div.labelced_message_headline { |
| /* Force tabular and lining display for digits and texhtml */
| | font-size: 90%; |
| .digits,
| | font-weight: bold; |
| .texhtml { | | margin: 0 0 .25em 52px; |
| -moz-font-feature-settings: "lnum", "tnum", "kern" 0;
| | padding: 0 .25em; |
| -webkit-font-feature-settings: "lnum", "tnum", "kern" 0;
| | text-align: left; |
| font-feature-settings: "lnum", "tnum", "kern" 0;
| | width: auto; |
| font-variant-numeric: lining-nums tabular-nums;
| |
| font-kerning: none;
| |
| } | | } |
| | | div.labelced_message_text { |
| /* Make <math display="block"> be left aligned with one space indent for compatibility with style conventions */
| | font-size: 90%; |
| .mwe-math-fallback-image-display, | | margin: 0 0 0 52px; |
| .mwe-math-mathml-display {
| | padding: 0 .25em; |
| margin-left: 1.6em !important;
| | text-align: left; |
| margin-top: 0.6em;
| | width: auto; |
| margin-bottom: 0.6em;
| |
| } | | } |
| .mwe-math-mathml-display math { | | div.labelced_message_text p, |
| display: inline;
| | div.labelced_note_text p { |
| | margin: 0 |
| } | | } |
| | | div.labelced_message_text p + p, |
| /* Fix styling of transcluded prefindex tables */ | | div.labelced_note_text p + p { /* Odsazeni odstavcu ve viceodstavcovem textu zpravy nebo poznamky */ |
| table#mw-prefixindex-list-table,
| | margin-top: .5em; |
| table#mw-prefixindex-nav-table {
| |
| width: 98%;
| |
| } | | } |
| | | div.labelced_note { |
| /* For portals, added 2011-12-07 -bv
| | padding: .25em 0.5em; |
| On wide screens, show these as two columns
| | background: #eeeeee; |
| On narrow and mobile screens, let them collapse into a single column */
| | width: auto; |
| .portal-column-left { | |
| float: left;
| |
| width: 50%;
| |
| } | | } |
| .portal-column-right { | | div.labelced_note_text { |
| float: right;
| | font-size: smaller; |
| width: 49%;
| | margin: 0 0 0 52px; |
| | padding: 0 .25em; |
| | text-align: left; |
| } | | } |
| .portal-column-left-wide { | | div.labelced_message_headline-noimage, |
| float: left;
| | div.labelced_message_text-noimage, |
| width: 60%;
| | div.labelced_message_note-noimage { /* Zruseni odsazeni zleva v pripade chybejiciho obrazku */ |
| | margin-left: 0; |
| } | | } |
| .portal-column-right-narrow { | | div.labelced_note div.labelced_image { /* Skryti obrazku v poznamce */ |
| float: right;
| | display: none; |
| width: 39%;
| |
| } | | } |
| .portal-column-left-extra-wide { | | /* |
| float: left;
| | == Cedule diskuse == |
| width: 70%;
| | */ |
| | div.labelced-talk { |
| | background: #F0F8FF; /* Vychozi: Modry podklad */ |
| | border-width: 1px 5px; |
| | border-style: solid; |
| | border-color: #CAE1FF; /* Vychozi: Modra "poznamka" */ |
| } | | } |
| .portal-column-right-extra-narrow { | | div.labelced-talk-type-featured { |
| float: right;
| | border-color: #CAE1FF #FFD700; /* Svetle zlutozlate "zvyrazneni" */ |
| width: 29%;
| |
| } | | } |
| @media only screen and (max-width: 800px) {
| | div.labelced-talk-type-protected { |
| /* Decouple the columns on narrow screens */
| | border-color: #CAE1FF #DCDCCB; /* Svetle sedozlata "ochrana" */ |
| .portal-column-left,
| |
| .portal-column-right,
| |
| .portal-column-left-wide,
| |
| .portal-column-right-narrow,
| |
| .portal-column-left-extra-wide,
| |
| .portal-column-right-extra-narrow {
| |
| float: inherit;
| |
| width: inherit;
| |
| }
| |
| } | | } |
|
| |
|
| /* Formerly for announcements, now used intermittently */
| |
| #bodyContent .letterhead {
| |
| background-image:url('//upload.wikimedia.org/wikipedia/commons/e/e0/Tan-page-corner.png');
| |
| background-repeat:no-repeat;
| |
| padding: 2em;
| |
| background-color: #faf9f2;
| |
| }
| |
|
| |
|
| /* Tree style lists */ | | /* Tree style lists */ |
Řádek 1 396: |
Řádek 1 120: |
| list-style-type: none; | | list-style-type: none; |
| list-style-image: none; | | list-style-image: none; |
| | zoom: 1; /* BE KIND TO IE6 */; |
| } | | } |
| .treeview li li { | | .treeview li li { |
Řádek 1 414: |
Řádek 1 139: |
| } | | } |
|
| |
|
| /* hidden sortkey for tablesorter */ | | /* Styl pro řádkové seznamy s oddělovačem mezi položkami. |
| td .sortkey,
| | Upozornění: formátování pomocí hlist nebude fungovat, jestliže výsledný HTML kód |
| th .sortkey {
| | nebude obsahovat zalomitelný znak mezi položkami seznamu. K tomu může dojít za |
| display: none; | | těchto podmínek: |
| speak: none; | | 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é [[:en:Bugzilla:39617]]. |
| | Specifické třídy pro IE8 jsou doplněny pomocí [[MediaWiki:Common.js/IEFixes.js]]. |
| | Poslední aktualizace: 24. leden, 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; |
| | white-space: nowrap; |
| | } |
| | /* 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; |
| | } |
| | /* For IE8 */ |
| | .hlist dd.hlist-last-child:after, |
| | .hlist dt.hlist-last-child:after, |
| | .hlist li.hlist-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; |
| | } |
| | /* For IE8 */ |
| | .hlist dd dd.hlist-last-child:after, .hlist dd dt.hlist-last-child:after, .hlist dd li.hlist-last-child:after, |
| | .hlist dt dd.hlist-last-child:after, .hlist dt dt.hlist-last-child:after, .hlist dt li.hlist-last-child:after, |
| | .hlist li dd.hlist-last-child:after, .hlist li dt.hlist-last-child:after, .hlist li li.hlist-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) " "; |
| } | | } |
|
| |
|
| /* Make it possible to hide checkboxes in <inputbox> */ | | /** |
| .inputbox-hidecheckboxes form .inputbox-element { | | * @brief Odkazy na sesterské projekty |
| display: none !important;
| | * |
| | * @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; |
| } | | } |
|
| |
|
| /* Work-around for [[Phabricator:25965]] (Kaltura advertisement) */
| | span.sisterproject span.sisterproject_image { |
| .k-player .k-attribution { | | display: inline-block; |
| visibility: hidden;
| | height: 16px; |
| | width: 16px; |
| } | | } |
|
| |
|
| /* Move 'play' button of video player to bottom left corner */
| | .sisterproject_text_target |
| .PopUpMediaTransform a .play-btn-large {
| | { |
| margin: 0;
| | font-weight: bold; |
| top: auto;
| | } |
| right: auto;
| | .sisterproject-wikinews .sisterproject_text_target { |
| bottom: 0;
| | font-style: italic; |
| left: 0;
| | } |
| } | |
|
| |
|
| /* Workaround to keep editnotices readable in VE view. | | /* |
| Long term, editnotices should become a core feature so that they can be designed responsive. */
| | ===TOCLIMIT === |
| .mw-ve-editNotice .mbox-image { | | Umožňuje omezit počet úrovní zobrazených v Obsahu (TOC) pomocí šablony TOCLIMIT. */ |
| | .toclimit-2 .toclevel-1 ul, |
| | .toclimit-3 .toclevel-2 ul, |
| | .toclimit-4 .toclevel-3 ul, |
| | .toclimit-5 .toclevel-4 ul, |
| | .toclimit-6 .toclevel-5 ul, |
| | .toclimit-7 .toclevel-6 ul { |
| display: none; | | display: none; |
| } | | } |