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.
/*
'''Toto je CSS stylopis společný pro všechny vzhledy'''
Pokud chcete změnit pouze vzhled Monobook, editujte [[MediaWiki:Monobook.css]].
Veškeré změny byste měli otestovat pomocí [http://jigsaw.w3.org/css-validator/validator?uri=http%3A%2F%2Fcs.wikiquote.org%2Fwiki%2FMediaWiki%3ACommon.css%3Faction%3Draw%26ctype%3Dtext%2Fcss%26usermedium%3Dall&usermedium=all Validátoru W3C].
*/
/*
== Globální styly pro [[w:MediaWiki|MediaWiki]] ==
*/
/*
=== styl pro generovaný obsah ===
*/
#toc
{
clear:left;
}
/*
=== stromy kategorií ===
*/
#mw-subcategories ul {
list-style: none;
margin-left: .2em;
}
span.CategoryTreeLoaded,
span.CategoryTreeToggle {
color: #0645ad;
}
span.CategoryTreeEmptyBullet {
color: #ccc;
}
/*
=== 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;
}
/*
=== info v nadpise v posledních změnách ===
*/
div.mw-recentchangestext {
font-size: 90%;
margin-top: -3.2em;
text-align: right;
}
/*
=== 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 ===
*/
sup.reference
{
vertical-align: top;
}
/*
== Obecné styly ==
*/
/*
=== 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 ===
*/
.odrazenedefinice dd
{
display: list-item;
list-style-type: square;
padding: 0;
}
/*
=== netučné termíny v seznamu definic ===
*/
.netucneterminy dt
{
font-weight: normal;
}
/*
=== boxy napravo ===
*/
div.rightbox
{
float: right;
margin: 0 0 1em 1em;
}
/*
== Specifické styly pro šablony ==
*/
/*
=== SHORTTOC ===
*/
#shorttoc,
#shorttoc #toc
{
width: 100%;
}
#shorttoc #toc #toctitle,
#shorttoc h2,
#shorttoc ul,
#shorttoc li
{
float: left;
}
#shorttoc #toc span.tocnumber,
#shorttoc #toc .toctoggle
{
display: none;
}
#shorttoc h2,
#shorttoc ul
{
margin: 0 .5em 0 0;
}
#shorttoc li
{
margin-left: .5em;
}
/*
=== Cizojazyčně ===
*/
span.cizojazycne
{
border-bottom: 1px dotted #aaa;
cursor: help;
}
/*
=== šablony úvodních upozornění ===
*/
.uvodni-upozorneni
{
font-style: italic;
margin: 0 0 1em 2em;
}
/*
=== Odmocnina ===
*/
span.odmocnina
{
text-decoration: overline;
}
/*
=== Klávesa ===
*/
span.Sablona__Klavesa
{
background-color: #ddd;
border: medium outset #ddd;
font-family: monospace;
font-weight: bold;
padding: 0 .2em;
}
/*
=== 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
{
border-bottom: 1px dotted #aaa;
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;
}
a span.IPA
{
cursor: pointer;
_cursor: hand;
}
/*
=== Pravidla a Pravidlo - @@@ ===
*/
#Sablona--Pravidla
{
border: thin solid #aaa;
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;
}
/*
=== Citace ===
*/
cite.citace {
font-style: normal;
}
/*
=== Citát týdne ===
*/
.citatTydne {
border-collapse: collapse;
font-style: italic;
margin: 0 0 0 auto;
}
.citatTydne-text {
padding: .5em 1em;
text-align: center;
}
.citatTydne-obrazek {
border: 1px solid #333;
margin-left: 1em;
padding: 2px;
}
.citatTydne-autor {
margin-top: .5em;
text-align: right;
}
.citatTydne-leveUvozovky {
vertical-align: bottom;
}
.citatTydne-praveUvozovky {
vertical-align: top;
}
/*
=== CATEGORYTOC ===
*/
#CategoryToc {
font-family: monospace;
}
#CategoryToc span {
font-family: sans-serif;
font-weight: bold;
}
/*
=== Vítejte ===
*/
div.vitejte {
background-color: #f9f9f9;
color: #000;
border: 1px solid #39f;
padding: 0 .5em;
}
/*
=== 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;
}
/*
=== Demo šablony ===
*/
div.demo-sablony div.demo-sablony-zacatek,
div.demo-sablony div.demo-sablony-konec {
color: #ccc;
font-size: x-small;
}
div.demo-sablony div.demo-sablony-zacatek {
border-bottom: 1px solid #ccc;
padding: 0 0 .25em 1em;
}
div.demo-sablony div.demo-sablony-konec {
border-top: 1px solid #ccc;
padding: .25em 0 0 1em;
}
div.demo-sablony:hover {
outline: 1px dotted #ccc;
}
div.demo-sablony:hover div.demo-sablony-zacatek,
div.demo-sablony:hover div.demo-sablony-konec {
border-color: #000;
color: #000;
}
/*
== Specifické styly pro jednotlivé stránky ==
*/
/*
=== Wikicitáty:Hlavní strana ===
*/
body.page-Wikicitáty_Hlavní_strana div#nadpis {
background: url("//upload.wikimedia.org/wikipedia/commons/0/0b/Feder_Fueller.png") left top no-repeat;
margin: 0 auto;
width: 650px;
}
body.page-Wikicitáty_Hlavní_strana div#nadpis img {
margin-left: 350px;
}
body.page-Wikicitáty_Hlavní_strana table.sisterprojects {
text-align: center;
width: 100%;
}
body.page-Wikicitáty_Hlavní_strana table.sisterprojects tr.sisterprojects_projectname {
font-weight: bold;
}
body.page-Wikicitáty_Hlavní_strana table.sisterprojects tr.sisterprojects_projectdesc {
font-size: smaller;
font-style: italic;
line-height: 1.2;
vertical-align: top;
}
body.page-Wikicitáty_Hlavní_strana table.sisterprojects td {
width: 11%;
}
/*
=== Wikicitáty:Vyloučení odpovědnosti ===
*/
body.page-Wikicitáty_Vyloučení_odpovědnosti div#mw-content-text strong {
font-size: larger;
}
/*
=== Dvoupísmenné nadpisy sekcí v kategoriích "Osoby od ..." ===
*/
body[class*="page-Kategorie_Osoby_od_"] #mw-pages h3 { text-transform: lowercase; }
body[class*="page-Kategorie_Osoby_od_"] #mw-pages h3:before { text-transform: none; }
body.page-Kategorie_Osoby_od_5 #mw-pages h3:before { content: "5"; }
body.page-Kategorie_Osoby_od_A #mw-pages h3:before { content: "A"; }
body.page-Kategorie_Osoby_od_B #mw-pages h3:before { content: "B"; }
body.page-Kategorie_Osoby_od_C #mw-pages h3:before { content: "C"; }
body.page-Kategorie_Osoby_od_Ch #mw-pages h3:before { content: "Ch"; }
body.page-Kategorie_Osoby_od_D #mw-pages h3:before { content: "D"; }
body.page-Kategorie_Osoby_od_E #mw-pages h3:before { content: "E"; }
body.page-Kategorie_Osoby_od_F #mw-pages h3:before { content: "F"; }
body.page-Kategorie_Osoby_od_G #mw-pages h3:before { content: "G"; }
body.page-Kategorie_Osoby_od_H #mw-pages h3:before { content: "H"; }
body.page-Kategorie_Osoby_od_I #mw-pages h3:before { content: "I"; }
body.page-Kategorie_Osoby_od_J #mw-pages h3:before { content: "J"; }
body.page-Kategorie_Osoby_od_K #mw-pages h3:before { content: "K"; }
body.page-Kategorie_Osoby_od_L #mw-pages h3:before { content: "L"; }
body.page-Kategorie_Osoby_od_M #mw-pages h3:before { content: "M"; }
body.page-Kategorie_Osoby_od_N #mw-pages h3:before { content: "N"; }
body.page-Kategorie_Osoby_od_O #mw-pages h3:before { content: "O"; }
body.page-Kategorie_Osoby_od_P #mw-pages h3:before { content: "P"; }
body.page-Kategorie_Osoby_od_Q #mw-pages h3:before { content: "Q"; }
body.page-Kategorie_Osoby_od_R #mw-pages h3:before { content: "R"; }
body.page-Kategorie_Osoby_od_S #mw-pages h3:before { content: "S"; }
body.page-Kategorie_Osoby_od_T #mw-pages h3:before { content: "T"; }
body.page-Kategorie_Osoby_od_U #mw-pages h3:before { content: "U"; }
body.page-Kategorie_Osoby_od_V #mw-pages h3:before { content: "V"; }
body.page-Kategorie_Osoby_od_W #mw-pages h3:before { content: "W"; }
body.page-Kategorie_Osoby_od_X #mw-pages h3:before { content: "X"; }
body.page-Kategorie_Osoby_od_Y #mw-pages h3:before { content: "Y"; }
body.page-Kategorie_Osoby_od_Z #mw-pages h3:before { content: "Z"; }
body.page-Kategorie_Osoby_od_Á #mw-pages h3:before { content: "Á"; }
body.page-Kategorie_Osoby_od_Å #mw-pages h3:before { content: "Å"; }
body.page-Kategorie_Osoby_od_Ç #mw-pages h3:before { content: "Ç"; }
body.page-Kategorie_Osoby_od_É #mw-pages h3:before { content: "É"; }
body.page-Kategorie_Osoby_od_Í #mw-pages h3:before { content: "Í"; }
body.page-Kategorie_Osoby_od_Ó #mw-pages h3:before { content: "Ó"; }
body.page-Kategorie_Osoby_od_Ö #mw-pages h3:before { content: "Ö"; }
body.page-Kategorie_Osoby_od_Ø #mw-pages h3:before { content: "Ø"; }
body.page-Kategorie_Osoby_od_Ú #mw-pages h3:before { content: "Ú"; }
body.page-Kategorie_Osoby_od_Ć #mw-pages h3:before { content: "Ć"; }
body.page-Kategorie_Osoby_od_Č #mw-pages h3:before { content: "Č"; }
body.page-Kategorie_Osoby_od_Ď #mw-pages h3:before { content: "Ď"; }
body.page-Kategorie_Osoby_od_Ł #mw-pages h3:before { content: "Ł"; }
body.page-Kategorie_Osoby_od_Ř #mw-pages h3:before { content: "Ř"; }
body.page-Kategorie_Osoby_od_Ś #mw-pages h3:before { content: "Ś"; }
body.page-Kategorie_Osoby_od_Ş #mw-pages h3:before { content: "Ş"; }
body.page-Kategorie_Osoby_od_Š #mw-pages h3:before { content: "Š"; }
body.page-Kategorie_Osoby_od_Ť #mw-pages h3:before { content: "Ť"; }
body.page-Kategorie_Osoby_od_Ż #mw-pages h3:before { content: "Ż"; }
body.page-Kategorie_Osoby_od_Ž #mw-pages h3:before { content: "Ž"; }
body.page-Kategorie_Osoby_od_Ț #mw-pages h3:before { content: "Ț"; }
/**
* @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;
}
/**
* Styly pro [[MediaWiki:Edittools]]
*
* @author [[meta:User:Danny B.]]
*/
div.mw-editTools {
margin-top: 1em;
}
div.mwc-editTools-part {
border: 1px solid #ccc;
cursor: default;
font-family: 'Courier New', monospace;
max-height: 10em;
overflow: auto;
padding: .2em .4em;
}
div.mwc-editTools-part dfn {
display: block;
font-family: sans-serif;
font-style: normal;
font-weight: bold;
}
div.mwc-editTools-part span.mw-collapsible-toggle {
display: block;
float: none;
font-family: sans-serif;
}
div.mwc-editTools-part p a {
background-color: #f7f7f7;
border: 1px solid #ccc;
border-radius: 3px;
box-shadow: 0 1px 0 rgba(0, 0, 0, 0.2), 0 0 0 2px #fff inset;
color: #333;
display: inline-block;
font-weight: bold;
margin: .2em 0;
padding: 0em .5em;
text-shadow: 0 1px 0 #fff;
vertical-align: middle;
white-space: nowrap;
-moz-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.2), 0 0 0 2px #fff inset;
-webkit-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.2), 0 0 0 2px #fff inset;
}
div.mwc-editTools-part p span.space {
border: 1px solid transparent;
display: inline-block;
font-weight: bold;
margin: .2em 0;
padding: 0em .5em;
vertical-align: middle;
white-space: nowrap;
}
div.mwc-editTools-part p a:hover {
box-shadow: 0 1px 0 rgba(0, 0, 0, .2), 0 0 0 2px #fff inset, 0 0 3px 3px rgba(153, 204, 255, .9);
text-decoration: none;
-moz-box-shadow: 0 1px 0 rgba(0, 0, 0, .2), 0 0 0 2px #fff inset, 0 0 3px 3px rgba(153, 204, 255, .9);
-webkit-box-shadow: 0 1px 0 rgba(0, 0, 0, .2), 0 0 0 2px #fff inset, 0 0 3px 3px rgba(153, 204, 255, .9);
}
/**
* @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;
}