MediaWiki:Common.css
Poznámka: Po zveřejnění musíte vyprázdnit cache vašeho prohlížeče, jinak změny neuvidíte.
- Firefox / Safari: Při kliknutí na Aktualizovat držte Shift nebo stiskněte Ctrl-F5 nebo Ctrl-R (na Macu ⌘-R)
- Google Chrome: Stiskněte Ctrl-Shift-R (na Macu ⌘-Shift-R)
- Internet Explorer / Edge: Při kliknutí na Aktualizovat držte Ctrl nebo stiskněte Ctrl-F5
- Opera: Stiskněte Ctrl-F5.
/*--------------------------------POZOR----------------------------------------*/
/* editací tohoto souboru upravíte všechny styly pro celé {{grammar:4sg|{{SITENAME}}}} */
/* */
/* Změny pouze pro skin monobook lze provést na [[MediaWiki:Monobook.css|Monobook.css]] */
/*-----------------------------------------------------------------------------*/
/*</pre>
== Reference menším fontem ==
<pre>*/
.references {
font-size: 90%;
}
.toccolours .references {
font-size: 100%;
}
/*</pre>
== Modré podložení aktivní ref/poznámky ==
<pre>*/
ol.references > li:target {
background-color: #DEF;
}
sup.reference:target {
background-color: #DEF;
}
/*</pre>
== SHORTTOC ==
<pre>*/
#shorttoc #toc {
display: inline-block;
}
#shorttoc .toctitle,
#shorttoc .toctitle h2 {
display: inline;
}
#shorttoc .toctitle h2:after {
content: ":";
}
#shorttoc #toc .tocnumber,
#shorttoc #toc .toctoggle {
display: none;
}
#shorttoc #toc ul {
display: inline-block;
}
#shorttoc #toc ul li {
display: inline;
}
/*</pre>
== Kurzíva v rozsáhlejších úsecích ==
<pre>*/
.kurzivou { font-style: italic; }
/*</pre>
== Vícesloupcový formát speciálních textů pomocí tabulek ==
<pre>*/
.vicesloupcu td { vertical-align: top; }
/*</pre>
== Formátování prózy ==
Formátování úseků prózy ohraničených divem class="proza" (typicky povídky, romány) tak, jak je v knihách obvyklé. Reference ať nerozhazují řádkování. Související styly pro úseky poem vkládané do prózy.
<pre>*/
.proza > p, .proza > .prp-pages-output > p { text-indent: 2.5em; text-align: justify; margin-top: 0; margin-bottom: 0 }
.proza sup { vertical-align: top; font-size: 80% }
.proza h2 { margin-top: .5em }
.poem p { text-indent: 0em; }
.proza .poem p { margin: 1em 0 1em 5em; }
.proza .reference { text-indent: 0; }
.proza p.podpis { text-align: right; }
/*</pre>
== Motto ==
<pre>*/
div.motto { text-align: right; margin-bottom: 1em; }
.motto .poem p { margin-left: 0; }
/*</pre>
== Poem ==
<pre>*/
.poem { text-indent: 0em; }
.proza sup { vertical-align: top; font-size: 80% }
/*</pre>
== Citace ==
<pre>*/
.citacevproze { margin: .5em 5em; text-indent: 0 }
div.citacevproze div.poem p { margin-left: 0; }
p.citacevproze-autor { text-align: right }
/*</pre>
== Římsky číslovaný seznam ==
<pre>*/
.rimskecislovani ol { list-style-type: upper-roman }
/*</pre>
== Číslování slok a veršů ==
<pre>*/
.cislovaneverse p {
margin-left: 3.5em;
}
span.cisloverse {
color: #696969;
left: 0;
position: absolute;
}
.cislovanesloky p {
margin-left: 4em;
}
span.cislosloky {
left: 0;
position: absolute;
}
/*</pre>
== Kroniky atd. realizované jako seznam definic ==
<pre>*/
.kronika dt { margin-top: .35em }
.kronika dd { margin-bottom: .15em; text-align: justify }
.kronika p { text-align: justify }
.kronika .poem p { margin: 1em 0 1em 5em; }
/*</pre>
== Větší odstup referencí ==
<pre>*/
ol.references { margin-top: 1.5em }
/*</pre>
== Různé formátovací styly ==
<pre> */
span.necitelnyText {
background-color: #ffa;
border-bottom: 1px dashed #999;
margin: 0 .5em;
}
.prostrkane {
letter-spacing: .25em;
margin: 0 -.25em 0 .25em;
}
.prostrkane:first-child {
margin-left: 0;
}
.verzalky {
text-transform: uppercase;
}
/*</pre> */
/*
=== stromy kategorií ===
*/
#mw-subcategories ul {
list-style: none;
margin-left: .2em;
}
span.CategoryTreeLoaded,
span.CategoryTreeToggle {
color: #0645ad;
}
span.CategoryTreeEmptyBullet {
color: #ccc;
}
/*
=== Šablona:Volné od ===
*/
span.volneOd {
background-color: #fff;
color: #900;
font-size: smaller;
}
/*
=== Šablona:Poznámky pod čarou ===
*/
div.poznamkyPodCarou {
clear: both;
}
div.poznamkyPodCarou hr {
margin: 2em 0 2em 1em;
width: 33%;
}
/*
=== Šablona:Redakční poznámky ===
*/
div.redakcniPoznamky {
clear: both;
font-size: 100%;
margin-top: 1em;
}
/*
=== Šablona:Oddělovač ===
*/
div.oddelovac {
margin: .5em auto;
text-align: center;
}
/*
=== Tlačítkový odkaz ===
*/
div#content span.buttonlink {
background-color: #ddd;
border: 2px outset #ddd;
color: #000;
padding: .1em .2em;
}
div#content span.buttonlink a {
background: #ddd;
color: #000;
padding: 0;
}
div#content span.buttonlink a:hover {
text-decoration: none;
}
/*
=== Cedule ===
*/
div.label {
border: medium solid #000;
-moz-border-radius: .5em;
-o-border-radius: .5em;
-webkit-border-radius: .5em;
border-radius: .5em;
-moz-box-shadow: .5em .5em .5em #000;
-o-box-shadow: .5em .5em .5em #000;
-webkit-box-shadow: .5em .5em .5em #000;
box-shadow: .5em .5em .5em #000;
-moz-box-shadow: .5em .5em .5em rgba(0, 0, 0, 0.7);
-o-box-shadow: .5em .5em .5em rgba(0, 0, 0, 0.7);
-webkit-box-shadow: .5em .5em .5em rgba(0, 0, 0, 0.7);
box-shadow: .5em .5em .5em rgba(0, 0, 0, 0.7);
overflow: hidden;
padding: 1em;
width: auto;
}
div.label-pageinfo {
margin: 0 auto 2em auto;
text-align: center;
width: 40em;
}
div.label-pageinfo-type-delete {
border-color: #c00;
}
div.label-pageinfo-type-info {
border-color: #aaa;
}
div.label-pageinfo-type-maintenance {
border-color: #fabd23;
}
div.label-pageinfo-type-move {
border-color: #909;
}
div.label-pageinfo-type-status {
border-color: #002bb8;
}
div.label hr {
border-color: inherit;
border-style: solid;
border-width: thin;
clear: both;
height: 0;
margin: 1em 0;
}
div.label_image {
float: left;
}
div.label_message {
overflow: hidden;
width: auto;
}
div.label_message_headline {
font-size: 132%;
font-weight: bold;
margin: 0 0 .5em 48px;
padding-left: 1em;
text-align: center;
}
div.label_message_headline-noimage {
margin: 0 0 .5em 0;
padding-left: 0;
}
div.label_message_text {
font-style: italic;
margin-left: 48px;
padding-left: 1em;
text-align: justify;
}
div.label_message_text-noimage {
margin-left: 0;
padding-left: 0;
}
div.label_message_text p {
margin: 0;
}
div.label_message_text p + p {
margin-top: .5em;
}
div.label_note {
overflow: hidden;
width: auto;
}
div.label_note_text {
font-size: smaller;
margin: 0 0 0 16px;
padding-left: 1em;
text-align: justify;
}
div.label_note_text p {
margin: 0;
}
div.label_note_text p + p {
margin-top: .5em;
}
/*
=== Nálepka ===
*/
table.userbox {
border: 1px solid #aaa;
border-collapse: collapse;
height: 45px;
width: 240px;
}
table.userbox td.userbox_id {
background-color: #f2f2f2;
color: #000;
font-size: larger;
height: 45px;
text-align: center;
width: 45px;
}
table.userbox td.userbox_info {
background-color: #f9f9f9;
color: #000;
font-size: smaller;
line-height: 1.25em;
padding: .2em .4em;
}
/*
=== legenda v posledních změnách ===
*/
div.mw-rclegend {
border-left: 1px solid #aaa;
float: right;
font-size: smaller;
margin-left: 1em;
padding-left: 1em;
}
/*
=== boxy napravo ===
*/
.rightbox,
table.rightbox
{
float: right;
margin: 0 0 1em 1em;
}
/*
=== znaky pod editačním oknem ===
*/
#specialchars a {
font-family: 'Courier New', monospace;
}
/*
=== sloupcová pseudosazba ===
*/
table.wikitable-columns,
table.wikitable-columns > tr > th,
table.wikitable-columns > tr > td,
table.wikitable-columns > * > tr > th,
table.wikitable-columns > * > tr > td {
background-color: transparent;
border-bottom: none;
border-right: none;
border-top: none;
padding: 0 .5em;
vertical-align: top;
}
table.wikitable-columns,
table.wikitable-columns > tr > th:first-child,
table.wikitable-columns > tr > td:first-child,
table.wikitable-columns > * > tr > th:first-child,
table.wikitable-columns > * > tr > td:first-child {
border-left: none;
}
table.wikitable-columns {
margin: 0 -0.5em;
}
/*
=== infoboxové šablony ===
(dočasné řešení před přechodem na nový systém)
*/
table.autorinfo,
table.sbornik,
table.textinfo,
table.textinfojura {
font-size: 85%;
width: 20em;
}
table.autorinfo td,
table.sbornik td,
table.textinfo td,
table.textinfojura td {
vertical-align: top;
}
/**
* @brief Sesterské projekty na hlavní straně
*
* @author [[meta:User:Danny B.]]
*/
table.mainpage_sisterprojects_list {
text-align: center;
width: 100%;
}
table.mainpage_sisterprojects_list tr.mainpage_sisterprojects_list_projectname {
font-weight: bold;
}
table.mainpage_sisterprojects_list tr.mainpage_sisterprojects_list_projectdesc {
font-size: smaller;
font-style: italic;
line-height: 1.2;
vertical-align: top;
}
table.mainpage_sisterprojects_list td {
width: 10%;
}
/**
* @brief [[Šablona:Popis udělátka]]
*
* @author [[meta:User:Danny B.]]
*/
.gadget-description {
display: block;
}
.gadget-description dfn {
display: block;
padding: 0 .4em;
}
.gadget-description dfn:before {
cursor: pointer;
font-family: 'Courier New', monospace;
font-style: normal;
}
.gadget-description .mw-collapsible dfn:before {
content: "▼ ";
}
.gadget-description .mw-collapsed dfn:before {
content: "► ";
}
.gadget-details {
display: block;
padding: .2em .4em .2em 1.8em;
}
#mw-htmlform-gadgets .mw-htmlform-flatlist-item {
overflow: auto;
width: auto;
}
#mw-htmlform-gadgets .mw-htmlform-flatlist-item input,
#mw-htmlform-gadgets .mw-htmlform-flatlist-item label {
float: left;
}
/**
* @brief [[Wikizdroje:Ottův slovník naučný/Zkratky autorů]]
*
* @author [[meta:User:Danny B.]]
*/
.osn-autor-volny {
background-color: #cfc;
color: #000;
}
.osn-autor-chraneny {
background-color: #fcc;
color: #000;
}
.osn-autor-vice-osob {
background-color: #ffc;
color: #000;
}
/**
* @brief Odlišení kategorií
*
* @author [[meta:User:Danny B.]]
*/
#catlinks a[title^="Kategorie:Monitoring:"],
body.ns--1 .special a[title^="Kategorie:Monitoring:"],
#catlinks a[title^="Kategorie:Wikidata:"][title$="/souhlasí"],
body.ns--1 .special a[title^="Kategorie:Wikidata:"][title$="/souhlasí"],
#catlinks a[title^="Kategorie:Wikidata:"][title$="/souhlasí (stránka neexistuje)"],
body.ns--1 .special a[title^="Kategorie:Wikidata:"][title$="/souhlasí (stránka neexistuje)"],
#catlinks a[title^="Kategorie:Wikidata:"][title$="/není"],
body.ns--1 .special a[title^="Kategorie:Wikidata:"][title$="/není"],
#catlinks a[title^="Kategorie:Wikidata:"][title$="/není (stránka neexistuje)"],
body.ns--1 .special a[title^="Kategorie:Wikidata:"][title$="/není (stránka neexistuje)"] {
color: #999;
}
body.ns-0 #catlinks a[title^="Kategorie:Údržba:"],
body.ns--1 .special a[title^="Kategorie:Údržba:"],
#catlinks a[title^="Kategorie:Wikidata:"][title$="/jiné"],
body.ns--1 .special a[title^="Kategorie:Wikidata:"][title$="/jiné"],
#catlinks a[title^="Kategorie:Wikidata:"][title$="/jiné (stránka neexistuje)"],
body.ns--1 .special a[title^="Kategorie:Wikidata:"][title$="/jiné (stránka neexistuje)"] {
color: #f80;
}
/**
* @brief Odkazy na sesterské projekty
*
* @author [[meta:User:Danny B.]]
*/
span.sisterproject span.sisterproject_image {
display: inline-block;
height: 16px;
width: 16px;
}
/*
== věnování a podpis ==
*/
div.venovani { font-style: italic; }
p.podpis { text-align: right; }
/*
== poznámky po straně ==
autor: Danny B. (2009)
*/
div.poznamkypostrane {
margin-left: 10em;
position: relative;
}
span.poznamkapostrane {
position: absolute;
left: -10em;
text-align: left;
margin-left: 0;
text-indent: 0em;
line-height: 125%;
width: 9em;
font-size: smaller;
}
/**
* @brief {{NavigacePaP}}
*
* @author [[meta:User:Danny B.]]
*/
table.navigacePaP {
text-align: center;
width: 100%;
}
table.navigacePaP:first-child {
margin-bottom: 1em;
}
table.navigacePaP:last-child {
margin-top: 1em;
}
table.navigacePaP td.pre {
text-align: left;
width: 30%;
}
table.navigacePaP td.act {
width: 40%;
}
table.navigacePaP td.post {
text-align: right;
width: 30%;
}
table.navigacePaP td.pre a::before {
content: "◄";
}
table.navigacePaP td.post a::after {
content: "►";
}
/**
* @brief <poem>
*
* @author [[meta:User:Danny B.]]
*/
div.poem {
width: -moz-max-content;
width: -webkit-max-content;
width: max-content;
}
@media screen and (min-width:0\0) {
div.poem {
display: table;
}
}
div.poem div.oddelovac + br,
div.poem hr.separator + br {
display: none;
}
/**
* @brief {{Řešení}}
*
* @author [[meta:User:Danny B.]]
*/
span.reseni {
display: inline-block;
-webkit-transform: rotate(180deg);
-moz-transform: rotate(180deg);
-o-transform: rotate(180deg);
-ms-transform: rotate(180deg);
transform: rotate(180deg);
}
/**
* @brief
* Text s vysvětlivkou či poznámkou v tooltipu
*
* @description
* Není určeno pro používání v sémantických formátovacích šablonách.
*
* @author
* [[meta:User:Danny B.]]
*/
span.help {
border-bottom: 1px dotted #ccc;
cursor: help;
}
/**
* @brief {{Oddělovač}}
*
* @author [[meta:User:Danny B.]]
*/
hr.separator {
background-color: transparent;
border-width: 0;
color: transparent;
cursor: default;
display: block;
height: 0;
line-height: 0;
margin: 1em auto;
padding: 0;
text-align: center;
}
hr.separator-fullLine,
hr.separator-shortLine {
background-color: #252525;
color: #252525;
height: 1px;
}
hr.separator-fullLine {
width: 100%;
}
hr.separator-shortLine {
width: 25%;
}
hr.separator::after {
color: #252525;
display: block;
height: 0;
letter-spacing: 1em;
line-height: 0;
}
hr.separator-asterisk::after {
content: "∗";
}
hr.separator-asterisk3::after {
content: "∗∗∗";
}
hr.separator-dash::after {
content: "—";
}
hr.separator-dash3::after {
content: "———";
}
/**
* Značky v přehledech změn
*
* @author [[meta:User:Danny B.]]
*/
.mw-tag-marker::before {
background-color: #ccc;
border: .1em solid #aaa;
border-radius: .4em;
color: #fff;
content: "*";
font-family: monospace;
font-size: large;
font-weight: bold;
line-height: 100%;
margin-right: .2em;
padding: 0 .2em;
text-align: center;
text-shadow: 0 0 .1em #aaa;
vertical-align: middle;
}
.mw-tag-marker-references::before {
background-color: #ff5d00;
border-color: #ff3f00;
content: "!";
text-shadow: 0 0 .1em #ff3f00;
}
/**
* Dvoupísmenné nadpisy sekcí v kategoriích "Autoři:Abecedně/*"
*
* @author [[meta:User:Danny B.]]
*/
body[class*="page-Kategorie_Autoři_Abecedně_"] #mw-pages h3 {
text-transform: lowercase;
}
body[class*="page-Kategorie_Autoři_Abecedně_"] #mw-pages h3:before {
text-transform: none;
}
body.page-Kategorie_Autoři_Abecedně_A #mw-pages h3:before { content: "A"; }
body.page-Kategorie_Autoři_Abecedně_B #mw-pages h3:before { content: "B"; }
body.page-Kategorie_Autoři_Abecedně_C #mw-pages h3:before { content: "C"; }
body.page-Kategorie_Autoři_Abecedně_Ch #mw-pages h3:before { content: "Ch"; }
body.page-Kategorie_Autoři_Abecedně_D #mw-pages h3:before { content: "D"; }
body.page-Kategorie_Autoři_Abecedně_E #mw-pages h3:before { content: "E"; }
body.page-Kategorie_Autoři_Abecedně_F #mw-pages h3:before { content: "F"; }
body.page-Kategorie_Autoři_Abecedně_G #mw-pages h3:before { content: "G"; }
body.page-Kategorie_Autoři_Abecedně_H #mw-pages h3:before { content: "H"; }
body.page-Kategorie_Autoři_Abecedně_I #mw-pages h3:before { content: "I"; }
body.page-Kategorie_Autoři_Abecedně_J #mw-pages h3:before { content: "J"; }
body.page-Kategorie_Autoři_Abecedně_K #mw-pages h3:before { content: "K"; }
body.page-Kategorie_Autoři_Abecedně_L #mw-pages h3:before { content: "L"; }
body.page-Kategorie_Autoři_Abecedně_M #mw-pages h3:before { content: "M"; }
body.page-Kategorie_Autoři_Abecedně_N #mw-pages h3:before { content: "N"; }
body.page-Kategorie_Autoři_Abecedně_O #mw-pages h3:before { content: "O"; }
body.page-Kategorie_Autoři_Abecedně_P #mw-pages h3:before { content: "P"; }
body.page-Kategorie_Autoři_Abecedně_Q #mw-pages h3:before { content: "Q"; }
body.page-Kategorie_Autoři_Abecedně_R #mw-pages h3:before { content: "R"; }
body.page-Kategorie_Autoři_Abecedně_S #mw-pages h3:before { content: "S"; }
body.page-Kategorie_Autoři_Abecedně_T #mw-pages h3:before { content: "T"; }
body.page-Kategorie_Autoři_Abecedně_U #mw-pages h3:before { content: "U"; }
body.page-Kategorie_Autoři_Abecedně_V #mw-pages h3:before { content: "V"; }
body.page-Kategorie_Autoři_Abecedně_W #mw-pages h3:before { content: "W"; }
body.page-Kategorie_Autoři_Abecedně_X #mw-pages h3:before { content: "X"; }
body.page-Kategorie_Autoři_Abecedně_Y #mw-pages h3:before { content: "Y"; }
body.page-Kategorie_Autoři_Abecedně_Z #mw-pages h3:before { content: "Z"; }
body.page-Kategorie_Autoři_Abecedně_Ú #mw-pages h3:before { content: "Ú"; }
body.page-Kategorie_Autoři_Abecedně_Č #mw-pages h3:before { content: "Č"; }
body.page-Kategorie_Autoři_Abecedně_Ř #mw-pages h3:before { content: "Ř"; }
body.page-Kategorie_Autoři_Abecedně_Š #mw-pages h3:before { content: "Š"; }
body.page-Kategorie_Autoři_Abecedně_Ž #mw-pages h3:before { content: "Ž"; }
/**
* Navigace mezi abecedními kategoriemi autorů
*
* @author [[meta:User:Danny B.]]
*/
div.authorsLetterCategoryNav {
border: 1px solid #aaa;
font-family: "Courier New", monospace;
padding: .2em .4em;
width: -moz-max-content;
width: -webkit-max-content;
width: max-content;
}
@media screen and (min-width:0\0) {
div.authorsLetterCategoryNav {
display: table;
}
}
div.authorsLetterCategoryNav ul {
display: block;
list-style-image: none;
list-style-type: none;
margin: 0;
padding: 0;
}
div.authorsLetterCategoryNav ul li {
display: inline;
list-style-image: none;
list-style-type: none;
margin: 0;
padding: 0;
}
div.authorsLetterCategoryNav ul li a {
padding: .1em;
}
div.authorsLetterCategoryNav ul li a.mw-selflink {
background-color: #eee;
outline: 1px solid #aaa;
padding: .1em .2em;
}
div.authorsLetterCategoryNav ul li a.mw-selflink::before {
content: "◄";
margin: auto .2em auto .1em;
}
div.authorsLetterCategoryNav ul li:first-child a.mw-selflink::before {
content: "";
}
div.authorsLetterCategoryNav ul li a.mw-selflink::after {
content: "►";
margin: auto .1em auto .2em;
}
div.authorsLetterCategoryNav ul li:last-child a.mw-selflink::after {
content: "";
}
/* 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 );
}