MediaWiki:Common.css

Zo stránky Wikizdroje

Poznámka: Aby sa zmeny prejavili, po uložení musíte vymazať vyrovnávaciu pamäť vášho prehliadača.

  • Mozilla Firefox / Safari: Držte stlačený Shift a kliknite na Reload alebo stlačte buď Ctrl-F5 alebo Ctrl-R (⌘-R na Mac)
  • Google Chrome: Stlačte Ctrl-Shift-R (⌘-Shift-R na Mac)
  • Internet Explorer: Držte Ctrl a kliknite na Refresh alebo stlačte Ctrl-F5
  • Opera: Stlačte Ctrl-F5.
/* Highlight clicked reference in blue to help navigation */
ol.references > li:target {
    background-color: #DEF;
}

sup.reference:target { 
    background-color: #DEF;
}

/* Styling for citations */
cite {
    font-style: normal;
    word-wrap: break-word;
}

/* If there is an inline link to a full citation, the full citation will turn blue when the inline link is clicked */
cite:target { 
    background-color: #DEF;
}

/* Do not expand URLs within citations for printing. The URLs should be included explicitly, to avoid confusion */

@media print {
    #content cite a.external.text:after {
        display: none;
    }
}

/* For linked citation numbers and document IDs, where the number need not be shown on a screen or a handheld, but should be included in the printed version */

@media screen, handheld, projection {
    cite *.printonly {
        display: none;
    }
}

/* Makes redirects appear in italics in categories and on [[Special:Allpages]] */
.redirect-in-category, .allpagesredirect {
    font-style: italic;
}

/* Content in columns with CSS instead of tables [[Template:Columns]] */
div.columns-2 div.column {
    float: left;
    width: 50%;
    min-width: 300px;
}

div.columns-3 div.column {
    float: left;
    width: 33.3%;
    min-width: 200px;
}

div.columns-4 div.column {
    float: left;
    width: 25%;
    min-width: 150px;
}

div.columns-5 div.column {
    float: left;
    width: 20%;
    min-width: 120px;
}

/*Add formatting to make sure that "external references" from [[Template:Ref]] do
  not get URL expansion, not even when printed. The mechanism up to MediaWiki 1.4 was
  that the HTML code contained a SPAN following the anchor A; this SPAN had the class
  "urlexpansion", which was not displayed on screen, but was shown when the medium was
  "print". The rules below ensure (a) that there is no extra padding to the right of
  the anchor (displayed as "[<number>]"), (b) that there is no "external link arrow" for
  the link, and (c) that this SPAN of class "urlexpansion" is never shown.
  — [[User:Danny B.|Danny B.]] 11:17, 9. október 2012 (UTC)
*/

.plainlinksneverexpand {
    background: none ! important;
    padding: 0 ! important;
}

.plainlinksneverexpand .urlexpansion {
    display: none ! important;
}

/* Make sure that ext links displayed within "plainlinksneverexpand" don't get
   the arrow...
*/
.plainlinksneverexpand a {
    background: none !important;
    padding: 0 !important;
}

/* With MediaWiki 1.5, the mechanism has changed: instead of a SPAN of class "urlexpansion"
   following the anchor A, the anchor itself now has class "external autonumber" and the
   expansion is inserted when printing (see the common printing style sheet at
   //en.wikipedia.org/w/skins/common/commonPrint.css) using the ":after" pseudo-
   element of CSS. We have to switch this off for links due to Template:Ref!
*/
.plainlinksneverexpand a.external.text:after {
    display: none !important;
}
.plainlinksneverexpand a.external.autonumber:after {
    display: none !important;
}

/* Support for Template:IPA, Template:Unicode and Template:Polytonic. The inherit declaration resets the font for all browsers except MSIE6.  The empty comment must remain. Please copy any changes to [[Template:IPA fonts]] and [[Template:Unicode fonts]]. */
.IPA {
    font-family: "Charis SIL", "Doulos SIL", Gentium, GentiumAlt, "DejaVu Sans", Code2000, "TITUS Cyberbit Basic", "Arial Unicode MS", "Lucida Sans Unicode", "Chrysanthi Unicode";
    font-family /**/:inherit;
}
.Unicode {
    font-family: Code2000, Code2001, "Free Serif", "TITUS Cyberbit Basic", "Doulos SIL", "Chrysanthi Unicode", "Bitstream Cyberbit", "Bitstream CyberBase", Thryomanes, Gentium, GentiumAlt, "Lucida Grande", "Free Sans", "Arial Unicode MS", "Microsoft Sans Serif", "Lucida Sans Unicode";
    font-family /**/:inherit;
}
.latinx {
    font-family: Code2000, Code2001, "TITUS Cyberbit Basic", "Microsoft Sans Serif";
    font-family /**/:inherit;
}
.polytonic {
    font-family: "Athena Unicode", Gentium, "Palatino Linotype", "Arial Unicode MS", "Lucida Sans Unicode", "Lucida Grande", Code2000; 
    font-family /**/:inherit;
}
.mufi {
    font-family: Alphabetum, Cardo, LeedsUni, Junicode, "TITUS Cyberbit Basic", ALPHA-Demo;
}

/* Pseudo-classes in support of [[Template:lang]]. */

:lang(he) {
    font-family: "SBL Hebrew", "Ezra SIL SR", "Ezra SIL", Cardo, "Chrysanthi Unicode", "TITUS Cyberbit Basic", "Arial Unicode MS", Narkisim, "Times New Roman";
    font-family /**/:inherit;
}
:lang(fa) {
    font-family: "Nafees Nastaleeq", "Pak Nastaleeq", PDMS_Jauhar;
    font-family /**/:inherit;
}
:lang(ps) {
    font-family: "Nafees Nastaleeq", "Pak Nastaleeq", PDMS_Jauhar;
    font-family /**/:inherit;
}
:lang(ur) {
    font-family: "Nafees Nastaleeq", "Pak Nastaleeq", PDMS_Jauhar;
    font-family /**/:inherit;
}
:lang(sux-Xsux) {
    font-family: Akkadian;
    font-family /**/:inherit;
}
:lang(ja) {
       font-family: Code2000, "Arial Unicode MS", "Bitstream Cyberbit", "Bitstream CyberCJK", IPAGothic, IPAPGothic, IPAUIGothic, "Kochi Gothic", IPAMincho, IPAPMincho;
    font-family /**/:inherit;
}
:lang(ko) {
    font-family: "Adobe Myungjo Std M", AppleMyungjo, "Baekmuk Batang", "Baekmuk Gulim", Batang, Dotum, DotumChe, Gulim, GulimChe, HYGothic-Extra, HYMyeongJo-Extra, "New Gulim", UnBatang, UnDotum, UnYetgul, UWKMJF;
    font-family /**/:inherit;
}
:lang(zh-Hans) {
    font-family: "Adobe Song Std L", "AR PL ShanHeiSun Uni", "AR PL ShanHeiSun Uni MBE", "MS Hei", "MS Song", SimHei;
    font-family /**/:inherit;
}
:lang(zh-Hant) {
    font-family: "Adobe Ming Std L", "AR PL New Sung", "AR PL ZenKai Uni", "AR PL ZenKai Uni MBE", MingLiU, PMingLiU;
    font-family /**/:inherit;
}
:lang(grc) {
    font-family: "Athena Unicode", Gentium, "Palatino Linotype", "Arial Unicode MS", "Lucida Sans Unicode", "Lucida Grande", Code2000;
    font-family /**/:inherit;
}

#wpSave {
    font-weight: bold;
}

/* Remove underline from IPA links */
.IPA a:link, .IPA a:visited {
    text-decoration: none;
}

/* Style for horizontal UL lists */
.horizontal ul {
    padding: 0;
    margin: 0;
}

.horizontal li { 
    padding: 0 0.6em 0 0.4em;
    display: inline;
    border-right: 1px solid;
}

.horizontal li:last-child {
    border-right: none;
    padding-right: 0;
}

/* 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;
    margin: .3em 0 0;
    padding: 0;
}
.nonumtoc #toc ul ul, 
.nonumtoc .toc ul ul { 
    margin: 0 0 0 2em; 
}

/* Allow limiting of which header levels are shown in a TOC; <div class="toclimit-3">, for
   instance, will limit to showing ==headings== and ===headings=== but no further (as long as
   there are no =headings= on the page, which there shouldn't be according to the MoS). */
.toclimit-2 .toclevel-2 {display:none;}
.toclimit-3 .toclevel-3 {display:none;}
.toclimit-4 .toclevel-4 {display:none;}
.toclimit-5 .toclevel-5 {display:none;}
.toclimit-6 .toclevel-6 {display:none;}
.toclimit-7 .toclevel-7 {display:none;}

/* Allow transcluded pages to display in lists rather than a table. Compatible in Firefox; incompatible in IE6. */
.listify td {display:list-item;}
.listify tr {display:block;}
.listify table {display:block;}

/* Prevents line breaks in links; see docs at Template:Nowraplinks */

.nowraplinks a {
    white-space: nowrap;
}

/* Reduce line-height for <sup> and <sub> */
sup, sub {
    line-height: 1em;
}

//////////////////////////////////////////////////////////////////////////////////
//////////// Styly neinportovane z anglickej wikipedie ///////////////////////////
//////////////////////////////////////////////////////////////////////////////////

input.warning {border: 2px solid red;}
.warning label {color:red; font-weight:bold;}

/* przyciski dodawania opisów */ 
#userSummaryButtons a {
 background: #f9f9f9;
 border: 1px dotted #708090;
 padding: 0px 2px;
 margin: 2px;
 cursor: pointer;
 font-size: 80%;
 line-height: 17px;
 color: black;
}

#userSummaryButtons a:hover {
 background: #C0C0C0;
 border: 1px solid #708090;
 text-decoration:none;
}


/* Šablóna:Cudzojazyčne */
span.cudzojazycne
{
  border-bottom: 1px dotted #aaa;
  cursor: help;
}





/**
 * [[Šablóna:Ceduľa]]
 * 
 * @author [[User:Danny B.]]
 */
 
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;
}

/**
 * @brief Odkazy na sesterské projekty
 * 
 * @author [[meta:User:Danny B.]]
 */

/* původní kód */

div.sisterproject {
	background-color: #f9f9f9;
	border: 1px solid #aaa;
	clear: right;
	float: right;
	font-size: smaller;
	margin: 0 0 1em 1em;
	padding: 4px;
	width: 250px;
}

div.sisterproject b {
	font-size: small;
}

/* nový kód, bloková vizáž */

span.sisterproject {
	background-color:#f9f9f9;
	border: 1px solid #aaa;
	clear: right;
	display: block;
	float: right;
	margin: 0 0 .5em 1em;
	overflow: hidden;
	padding: .2em .4em;
	vertical-align: middle;
	width: 20em;
}

span.sisterproject_image {
	background: center center no-repeat;
	float: left;
	height: 50px;
	margin: .2em 0;
	padding: 0;
	text-align: center;
	vertical-align: middle;
	width: 50px;
}

span.sisterproject_image img {
	display: none;
	vertical-align: middle;
}

span.sisterproject_text {
	display: block;
	font-size: smaller;
	line-height: 1.4;
	margin-left: 50px;
	text-align: center;
}

span.sisterproject_text span {
	display: block;
}

span.sisterproject_text_target {
	font-size: larger;
	font-weight: bold;
}

span.sisterproject-commons span.sisterproject_image {
	background-image: url("//upload.wikimedia.org/wikipedia/commons/thumb/4/4a/Commons-logo.svg/37px-Commons-logo.svg.png");
}

span.sisterproject-wikibooks span.sisterproject_image {
	background-image: url("//upload.wikimedia.org/wikipedia/commons/thumb/f/fa/Wikibooks-logo.svg/50px-Wikibooks-logo.svg.png");
}

span.sisterproject-wikinews span.sisterproject_image {
	background-image: url("//upload.wikimedia.org/wikipedia/commons/thumb/8/8a/Wikinews-logo.png/50px-Wikinews-logo.png");
}

span.sisterproject-wikipedia span.sisterproject_image {
	background-image: url("//upload.wikimedia.org/wikipedia/commons/thumb/8/80/Wikipedia-logo-v2.svg/50px-Wikipedia-logo-v2.svg.png");
}

span.sisterproject-wikiquote span.sisterproject_image {
	background-image: url("//upload.wikimedia.org/wikipedia/commons/thumb/f/fa/Wikiquote-logo.svg/42px-Wikiquote-logo.svg.png");
}

span.sisterproject-wikisource span.sisterproject_image {
	background-image: url("//upload.wikimedia.org/wikipedia/commons/thumb/f/fb/Wikisource-logo.png/47px-Wikisource-logo.png");
}

span.sisterproject-wikispecies span.sisterproject_image {
	background-image: url("//upload.wikimedia.org/wikipedia/commons/thumb/d/df/Wikispecies-logo.svg/43px-Wikispecies-logo.svg.png");
}

span.sisterproject-wikiversity span.sisterproject_image {
	background-image: url("//upload.wikimedia.org/wikipedia/commons/thumb/9/91/Wikiversity-logo.svg/50px-Wikiversity-logo.svg.png");
}

/* nový kód, řádková vizáž */

li span.sisterproject {
	background-color: inherit;
	border: inherit;
	clear: inherit;
	display: inherit;
	float: inherit;
	margin: inherit;
	overflow: inherit;
	padding: inherit;
	vertical-align: inherit;
	width: inherit;
}

li span.sisterproject_image {
	float: inherit;
	height: inherit;
	margin: inherit;
	padding: inherit;
	text-align: inherit;
	vertical-align: inherit;
	width: inherit;
}

li span.sisterproject span.sisterproject_image {
	background-image: none;
}

li span.sisterproject_image img {
	display: inherit;
	height: 16px;
	width: 16px;
}

li span.sisterproject_text {
	display: inline;
	font-size: inherit;
	line-height: inherit;
	margin-left: inherit;
	text-align: inherit;
}

li span.sisterproject_text span {
	display: inherit;
}

li span.sisterproject_text_target {
	font-size: inherit;
	font-weight: inherit;
}


/**
 * @brief Plovoucí boxy napravo
 * 
 * @author [[meta:User:Danny B.]]
 */

.rightbox,
table.rightbox {
	float: right;
	margin: 0 0 1em 1em;
}


/**
 * @brief Pozadí pod průhlednými obrázky na stránce souboru
 *
 * @author [[meta:User:Danny B.]]
 */

#file img {
	background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAAAAAA6mKC9AAAAGElEQVQYV2N4DwX/oYBhgARgDJjEAAkAAEC99wFuu0VFAAAAAElFTkSuQmCC") repeat;
}


/**
 * 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);
}