MediaWiki:Common.css

Zo stránky Wikislovník

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.
/* VALIDATOR NOTICE: the following is correct, but the W3C validator doesn't accept it */
/* -moz-* is a vendor-specific extension (CSS 2.1 4.1.2.1) */
/* column-count is from the CSS3 module "CSS Multi-column Layout" */
/* Please ignore any validator errors caused by these two lines */
.references-2column {
    font-size: 90%;
    -moz-column-count: 2;
    -webkit-column-count: 2;
    column-count: 2;
}

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

/* Style for "notices" */
.notice {
    margin: 1em;
    padding: 0.2em;
}

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

/*

=== preklady ===
 
 */
 
 table.translations
   {
   width: 100%;
   }
 
 table.translations caption
   {
   font-weight: bold;
   text-align: left;
   }
 
 table.translations td
   {
   padding: .2em .4em;
   vertical-align: top;
   width: 50%;
   }
 
 abbr.genus
  {
  font-style: italic;
  }





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



/**
 * [[Šablóna:Nálepka]]
 * 
 * @author [[meta:User:Danny B.]]
 */
 
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;
}

/*
== Šablóna:Preklady ==
kopia z cs.wikt
*/
div.translations ul {
  -moz-column-count: 2;
  -webkit-column-count: 2;
  column-count: 2; 
  -moz-column-gap: 4em;
  -webkit-column-gap: 4em;
  column-gap: 4em; 
}



/**
 * [[MediaWiki:Edittools]]
 *
 * @author [[meta:User:Danny B.]]
 */

div.mw-editTools {
    margin-top: 1em;
}

#mw-editTools-inner {
    border: 1px solid #ccc;
    cursor: default;
    font-family: 'Courier New', monospace;
    max-height: 10em;
    overflow: auto;
    padding: .2em .4em;
}

#mw-editTools-inner dfn {
    display: block;
    font-family: sans-serif;
    font-style: normal;
    font-weight: bold;
}

#mw-editTools-inner span.mw-collapsible-toggle {
    display: block;
    float: none;
    font-family: sans-serif;
}

#mw-editTools-inner p a {
    background-color: #f7f7f7;
    border: 1px solid #ccc;
    border-radius: 3px;
    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;
    -webkit-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.2), 0 0 0 2px #fff inset;
    -moz-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.2), 0 0 0 2px #fff inset;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.2), 0 0 0 2px #fff inset;
}

#mw-editTools-inner 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;
}

#mw-editTools-inner p a:hover {
    text-decoration: none;
    -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);
    -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);
    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);
}

/**
 * Sesterské projekty na hlavnej strane
 *
 * @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 {{Popis nástroja}}
 * 
 * @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 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;
}