MediaWiki:Common.css

Z Wikinews, wolnego źródła informacji.

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.
/* Wspólny CSS dla wszystkich skórek */

/* <pre><nowiki> */

/* wikitable/prettytable class for skinning normal tables */

table.wikitable,
table.prettytable {
  margin: 1em 1em 1em 0;
  background: #f9f9f9;
  border: 1px #aaaaaa solid;
  border-collapse: collapse;
}

table.wikitable th, table.wikitable td,
table.prettytable th, table.prettytable td {
  border: 1px #aaaaaa solid;
  padding: 0.2em;
}

table.wikitable td,
table.prettytable td {
  background: #f9f9f9;
}

table.wikitable th,
table.prettytable th {
  background: #f2f2f2;
  text-align: center;
}

table.wikitable caption,
table.prettytable caption {
  margin-left: inherit;
  margin-right: inherit;
}

/* upraszcza stronę na urządzeniach o małej szerokości ekranu (np. mobilnych) */
.float-left { float: left; }
.float-right { float: right; }
.main-sidebar { margin-left: 65% }

@media all and (max-width: 750px) {
.float-left, .float-right { float: none; width: auto !important; }
.main-sidebar { margin-left: 0 }
}

/* wygląd daty na początku każdego newsa */
.news-date {
  color: gray;
  font-size: 12px;
  margin: 0.3em 0 0.5em 2em;
}

/* styl dla "ikonki" RSS */

.rss {
  color: #FFFFFF;
  background-color: #FF5500;
  background-image: none !important;
  border-color: #FF5500;
  border-style: outset;
  text-decoration: none !important;
  padding-left: 0.2em;
  padding-right: 0.2em;
  border-width: 0.15em;
  font-size: 95%;
  line-height: 95%;
}

.rss a {
  text-decoration: none !important;
  color: #FFFFFF !important;
  font-weight: bold;
  padding: 0 !important; /* obciecie ikonki linku */
}

.rss:hover { border-style:inset; }

/* Standard Navigationsleisten, aka box hiding thingy
   from .de.  Documentation at [[Wikipedia:NavFrame]]. */
div.NavFrame {
    margin: 0;
    padding: 4px;
    border: 1px solid #aaa;
    text-align: center;
    border-collapse: collapse;
    font-size: 95%;
}
div.NavFrame + div.NavFrame {
    border-top-style: none;
    border-top-style: hidden;
}
div.NavPic {
    background-color: #fff;
    margin: 0;
    padding: 2px;
    /* @noflip */
    float: left;
}
div.NavFrame div.NavHead {
    height: 1.6em;
    font-weight: bold;
    background-color: #ccf;
    position: relative;
}
div.NavFrame p,
div.NavFrame div.NavContent,
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;
    /* @noflip */
    right: 3px;
    font-weight: normal;
    font-size: 90%;
}
 
/* Navigationsleisten nicht mit ausdrucken */
 
@media print{
	.NavFrame {
		display: none;
	}
	.BoxenVerschmelzen {
		display: none;
	}
}
.messagebox {
	border: 1px solid #aaa;
	background-color: #f9f9f9;
	width: 80%;
	margin: 0 auto 1em auto;
	padding: .2em;
	text-align: justify;
}
.notice-collapsed-wrapper { display: none; }

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

/* Cell sizes for ambox/tmbox/imbox/cmbox/ombox/fmbox/dmbox message boxes */
th.mbox-text, td.mbox-text {     /* The message body cell(s) */
	border: none;
	padding: 0.25em 0.9em;       /* 0.9em left/right */
	width: 100%;    /* Make all mboxes the same width regardless of text length */
}
 
td.mbox-image {                  /* The left image cell */
	border: none;
	padding: 2px 0 2px 0.9em;    /* 0.9em left, 0 right */
	text-align: center;
}
 
td.mbox-imageright {             /* The right image cell */
	border: none;
	padding: 2px 0.9em 2px 0;    /* 0 left, 0.9em right */
	text-align: center;
}
 
td.mbox-empty-cell {         /* An empty narrow cell */
	border: none;
	padding: 0;
	width: 1px;
}
 
/* Article message box template styles */
table.ambox {
	margin: 0 10%;                         /* Will not overlap with other elements */
	border-collapse: collapse;
	background-color: #fbfbfb !important;
	border: 1px solid #aaa;
	border-left: 10px solid #1e90ff;       /* Default "notice" blue */
}
 
table.ambox th.ambox-text, table.ambox td.ambox-text {      /* The message body cell(s) */
	padding: 0.25em 0.5em;              /* 0.5em left/right */
	width: 100%;                        /* Make all templates the same width regardless of text size */
}
 
table.ambox td.ambox-image {          /* The left image cell */
	padding: 2px 0 2px 0.5em;         /* 0.5em left, 0 right */
	text-align: center;
}
 
table.ambox td.ambox-imageright {     /* The right image cell */
	padding: 2px 4px 2px 0;           /* 0 left, 4px right */
	text-align: center;
}
 
table.ambox-notice {
	border-left: 10px solid #1e90ff;       /* Blue */
}
 
table.ambox-delete,
table.ambox-serious {
	border-left: 10px solid #b22222;       /* Red */
}
 
table.ambox-content {
	border-left: 10px solid #f28500;       /* Orange */
}
 
table.ambox-style {
	border-left: 10px solid #f4c430;       /* Yellow */
}
 
table.ambox-merge {
	border-left: 10px solid #9932cc;       /* Purple */
}
 
table.ambox-protection {
	border-left: 10px solid #bba;          /* Gray */
}
 
table.ambox.ambox-mini {                 /* small floating box variant */
	float: right;
	clear: right;
	margin: 0 0 0 1em;
	width: 25%;
}
 
/* Footer and header message box styles */
table.fmbox {
	clear: both;
	margin: 0.2em 0;
	width: 100%;
	border: 1px solid #aaa;
	background: #f9f9f9;     /* Default "system" gray */
}
table.fmbox-system {
	background: #f9f9f9;
}
table.fmbox-warning {
	border: 1px solid #bb7070;  /* Dark pink */
	background: #ffdbdb;        /* Pink */
}
table.fmbox-editnotice {
	background: transparent;
}

/* Ukrycie głównego nagłówka na górze strony */
.page-Strona_główna_Nowa h1,
.page-Strona_główna_Nowa #catlinks,
.page-Strona_główna h1,
.page-Strona_główna #catlinks
{
	display:none
}

/* Wyróżnienie znacznika informującego o wycofaniu edycji */
.mw-tag-marker-mw-reverted {
  background-color: pink;
  font-weight: bold;
}

/* Układ paska bocznego (dwukolumnowy układ strony) - jeśli nie włączono odpowiedniego gadżetu oraz podczas edycji w VE */
.wn-article-sidebar.no-gadget {
	display:grid; grid-template-columns:1fr 1fr; gap:8px; grid-auto-flow:row; align-items:start;
	max-width:700px; margin:0 auto;
}

@media screen and (max-width:600px){
    .wn-article-sidebar.no-gadget {grid-template-columns:1fr; max-width:350px;}
}

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