MediaWiki:Common.css

Z Wikibooks, biblioteki wolnych podręczników.
Wersja z dnia 23:21, 28 cze 2020 autorstwa Wargo (dyskusja | edycje) (Nie dawało wielkich zmian, nazwa ID przestarzała)
(różn.) ← poprzednia wersja | przejdź do aktualnej wersji (różn.) | następna wersja → (różn.)

Uwaga: aby zobaczyć zmiany po opublikowaniu, może zajść potrzeba wyczyszczenia pamięci podręcznej przeglądarki.

  • Firefox / Safari: Przytrzymaj Shift podczas klikania Odśwież bieżącą stronę, lub naciśnij klawisze Ctrl+F5, lub Ctrl+R (⌘-R na komputerze Mac)
  • Google Chrome: Naciśnij Ctrl-Shift-R (⌘-Shift-R na komputerze Mac)
  • Internet Explorer / Edge: Przytrzymaj Ctrl, jednocześnie klikając Odśwież, lub naciśnij klawisze Ctrl+F5
  • Opera: Naciśnij klawisze Ctrl+F5.
/* Styl CSS importowany do wszystkich skórek. Zawiera wspólne klasy CSS.
   <nowiki>

Zobacz też: [[MediaWiki:Monobook.css]], [[MediaWiki:Modern.css]]
	    [[MediaWiki:Cologneblue.css]], [[MediaWiki:Vector.css]]  */

.action-view.page-Wikibooks_Strona_główna #siteSub,
.action-view.page-Wikibooks_Strona_główna #contentSub,
.action-view.page-Wikibooks_Strona_główna .firstHeading {
    display: none !important;
}

/* Style dla infoboksów */

.infobox {
	border: 1px solid #aaa;
	background-color: #f8f8f8;
	border-collapse: collapse;
	color: black;
	font-size: 90%;
	text-align:left;
	margin-bottom: 0.5em;
	margin-left: 1em;
	border-spacing: 0;
	float: right;
	clear: right;
	width: 250px;
}
.infobox td,
.infobox th {
	vertical-align: top;
}
.infobox caption {
	font-size: larger;
	margin-left: inherit;
}
.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 {
	width: 20em;
	font-size: 90%;
}

/* styles for bordered infobox with merged rows */
.infobox.bordered .mergedtoprow td,
.infobox.bordered .mergedtoprow th {
	border: 0;
	border-top: 1px solid #aaa;
	border-right: 1px solid #aaa;
}

.infobox.bordered .mergedrow td,
.infobox.bordered .mergedrow th {
	border: 0;
	border-right: 1px solid #aaa;
}
.infobox ul,ol { margin-top: 0px; }

/* Style boksów z Merge i Split */

.messagebox {
	border: 1px solid #aaa;
	background-color: #f9f9f9;
	margin: 0 auto 1em auto;
	padding: .2em;
	text-align: justify;
}
.messagebox.merge {
	border: 1px solid #cf9fff;
	background-color: #f5edf5;
	text-align: center;
}

.messagebox.talk {
	border: 1px solid #c0c090;
	background-color: #f8eaba;
}

.messagebox.nested-talk {
	border: 1px solid #c0c090;
	background-color: #f8eaba;
	width: 100%;
	margin: 2px 4px 2px 4px;
}

.messagebox.small, .messagebox.small-talk {
	width: 238px;
	font-size: 85%;
	float: right;
	clear: both;
	margin: 0 0 1em 1em;
	line-height: 1.25em;
}

.messagebox.small-talk {
	background: #F8EABA;
}

/* Standardowe szablony nawigacyjne. Dokumentacja pod [[en:Wikipedia:NavFrame]]. */
div.Boxmerge,
div.NavFrame {
	margin: 0;
	padding: 4px;
	border: 1px solid #aaa;
	text-align: center;
	border-collapse: collapse;
	font-size: 95%;
}
div.NavFrame,
div.Boxmerge div.NavFrame {
	border-style: none;
	border-style: hidden;
}
div.NavFrame + div.NavFrame {
	border-top-style: none;
	border-top-style: hidden;
}
div.NavPic {
	background-color: #fff;
	margin: 0;
	padding: 2px;
	float: left;
}
div.NavFrame div.NavHead {
	height: 1.6em;
	font-weight: bold;
	background-color: #ccf;
	position:relative;
}
div.NavFrame p {
	font-size: 100%;
}
div.NavFrame div.NavContent {
	font-size: 100%;
}
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;
	right: 3px;
	font-weight: normal;
	font-size: 90%;
	color:inherit;
}

/* Klasa dokumentacji */
.template-documentation {
	background-color:#ECFCF4;
	border:1px solid #AAAAAA;
	clear:both;
	margin:1em 0pt 0pt;
	padding:5px;
}

/* -------------------------------------------------------------------------- */

@media print {
	/* Nie drukuj linków do edycji, komunikatów (ek, stub), szablonów nawigacyjnych */
	.editlink, .noprint, .metadata, .dablink, .navbox, .NavFrame { display: none }
	.PageNumber { display: none }
	#content { background: #FFFFFF; } /* białe tło na wydruku */
	#catlinks { display: none; }
}

/* let's make a class that deals with tables better
   Any complaints, please message Ta bu shi da yu */

table.prettytable {
  border-collapse: collapse;
  background: #f9f9f9;
  margin-left: 10px;
  margin-right: 10px;
  margin-top: 5px;
  margin-bottom: 5px;
  padding: 5px;
  vertical-align: top;
}

table.prettytable td,
table.prettytable th
{
  border: 1px solid #ccc;
  text-align: left;
}

table.prettytable th
{
  background: #efefef;
  font-weight: bold;
  text-align: center;
}

/* Alternate version of pretty table styling class.  We'll remove the extra when we're done deciding all this. */

table.wikitable {
  margin: 1em 1em 1em 0;
  background: #f9f9f9;
  border: 1px #aaaaaa solid;
  border-collapse: collapse;
}
table.wikitable th, table.wikitable td {
  border: 1px #aaaaaa solid;
  padding: 0.2em;
}
table.wikitable th {
  background: #f2f2f2;
  text-align: center;
}
table.wikitable td,
table.prettytable td {
  background: #f9f9f9;
}
table.wikitable caption {
  margin-left: inherit;
  margin-right: inherit;
}

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

#disambig {
    border-top: 3px double #cccccc;
    border-bottom: 3px double #cccccc;
}

#spoiler {
    border-top: 2px solid #ddd;
    border-bottom:2px solid #ddd;
}

/* Standard talk template style */

.Talk-Notice  {
    border: 1px solid #C0C090;
    background-color: #F8EABA;
    margin-bottom: 3px;
    width: 85%;
    border-spacing: 3px;
    margin-left: auto;
    margin-right: auto;
}

/* Make template background appear correctly on all browsers */
.Talk-Notice td {
    background: inherit;
}

/* Choose whether to have AD/BC dates or CE/BCE dates*/

/* First, the default : display both : See templates ADCE and BCEBC for how these are used*/
.Use_Default_Date_Convention { display: inline; }
.Use_AD_and_BC { display: none; }
.Use_BCE_and_CE { display: none; }

/* If you want to display AD and BC add the following to User:You/monobook.css page */
/*
.Use_Default_Date_Convention { display: none; }
.Use_AD_and_BC { display:inline; }
.Use_BCE_and_CE { display:none; }
*/

/*If you want to display CE and BCE add the following to User:You/monobook.css page */
/*
.Use_Default_Date_Convention { display: none; }
.Use_AD_and_BC { display:none; }
.Use_BCE_and_CE {display:inline; }
*/

/*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.
  ~~~~
*/

.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
   http://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;
}

.htmlmath {
   font-family: serif;
   font-size:larger;
}

/* 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. */
.IPA {
	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;
}
.Unicode {
	font-family: TITUS Cyberbit Basic, Code2000, Doulos SIL, Chrysanthi Unicode, Bitstream Cyberbit, Bitstream CyberBase, Bitstream Vera, Thryomanes, Gentium, GentiumAlt, Visual Geez Unicode, Lucida Grande, Arial Unicode MS, Microsoft Sans Serif, Lucida Sans Unicode;
	font-family /**/:inherit;
}
.polytonic {
	font-family: Athena, Gentium, Palatino Linotype, Arial Unicode MS, Lucida Sans Unicode, Lucida Grande, Code2000;
	font-family /**/:inherit;
}

#wpSave {
  font-weight: bold;
}

/* [[Szablon:DivRamka]] i [[Szablon:Ramka]] */
.szablonRamka h2 {
font: 13pt Verdana,sans-serif; font-weight:bold;
padding: 5px; margin: 0;
border-bottom:1px solid #aaaaaa;
}

pre {
	border: 1px solid #2f6fab;
	font-size: 110%;
}

tt {
	font-size: 110%;
}

code {
     background: transparent;
}

/* Przypisy */
ol.references {font-size:85%}

/* Kolorowy nagłówek tytułowy z logiem Wikibooks w tle */
.naglowek {
	background: url("//upload.wikimedia.org/wikipedia/commons/d/d7/Bookbar2.png") right;
	background-repeat: no-repeat;
	margin:0;
	background-color:#F0F0F0;
	font-size:120%;
	font-weight:bold;
	border:1px solid #a3b0bf;
	text-align:left;
	color:#000;
	padding:0.2em 0.4em;
}

.naglowek .editsection {display: none;}

/* Tabele kont dla podręczników */

table.konta td {
	vertical-align: top;
}

table.konto {
	margin: 1em 1em 1em 0;
	color: black; background: #f9f9f9;
	border: 1px #aaaaaa solid; border-collapse: collapse; width: 240px;
}

table.konto .tytul {
	width: 15%;
}
table.konto .kwota {
	width: 35%;
}
table.konto .winien {
	background-color: #dfd;
}
table.konto .ma {
	background-color: white;
}

table.konto th {
	text-align: center;
}
table.konto th.ma, th.winien {
	border-bottom: 3px black solid;
}


table.konto td {
	border-top: 1px #aaaaaa solid;
	border-bottom: 1px #aaaaaa solid;
	padding: 0.5em 0.5em 0.5ex 0.5ex;
	text-align: right;
}

table.konto td.winien.kwota  {
	border-right:  3px black solid;
}

table.konto td.ma.kwota {
	border-left:   3px black solid;
}

table.konto td.ma.tytul {
	text-align: left;
}

table.konto td.winien.tytul {
	text-align: right;
}

table.konto tr.stopka {
	border-top: 2px black solid;
}

/* Fix dla tagu <source> */
.mw-code{white-space:inherit}

/*</nowiki></pre>*/