MediaWiki:Common.css: Różnice pomiędzy wersjami

Z Encyklopedia Dinozaury.com
Skocz do: nawigacja, szukaj
m
m
Linia 105: Linia 105:
 
margin: 0.1em 0 0 1.1em;
 
margin: 0.1em 0 0 1.1em;
 
background-color: #f6f3cf;
 
background-color: #f6f3cf;
 +
 +
/**
 +
* Tree style lists
 +
* @source mediawiki.org/wiki/Snippets/Treeview
 +
* @revision 1.0 (2013-01-31)
 +
* @author (unknown)
 +
*/
 +
.treeview ul {
 +
    padding: 0;
 +
    margin: 0;
 +
}
 +
.treeview li {
 +
    padding: 0;
 +
    margin: 0;
 +
    list-style-type: none;
 +
    list-style-image: none;
 +
    zoom: 1; /* BE KIND TO IE6 */;
 +
}
 +
.treeview li li {
 +
    background: url("//upload.wikimedia.org/wikipedia/commons/f/f2/Treeview-grey-line.png") no-repeat 0 -2981px;
 +
    /* @noflip */
 +
    padding-left: 20px;
 +
    text-indent: 0.3em;
 +
}
 +
.treeview li li.lastline {
 +
    background-position: 0 -5971px
 +
}
 +
.treeview li.emptyline > ul {
 +
    /* @noflip */
 +
    margin-left: -1px;
 +
}
 +
.treeview li.emptyline > ul > li:first-child {
 +
    background-position: 0 9px
 +
}
  
 
/* Border colors */
 
/* Border colors */

Wersja z 16:51, 12 lis 2018

body {background-color: #e0d79d; }
#content {font-size: 90%; background-color: #f6f3cf;}
#firstHeading {font-family: Arial}
#content h1 {font-family: Arial}
#content h2 {font-family: Arial}

#ca-viewsource { display:none!important; }	

table.wikitable > tr > th, table.wikitable > * > tr > th {
	background-color: #e8dfa2;
}
table.wikitable, table.wikitable {
	background-color: #f6f3cf;
}
table.wikitable, table.wikitable {
	margin-right: 10px;
}

.vatop tr, tr.vatop, .vatop td, .vatop th {
	vertical-align: top;
}

table.datatable {
	background-color: transparent;
}
 
table.datatable th, table.datatable td {
	padding: 4px;
}
 
table.datatable th {
	text-align: left;
	background-color: #999999;
}
 
table.datatable tr {
	background-color: #cccccc;
}
 
table.datatable tr:hover {
	background-color: #ffffcc;
}

ol.references > li:target { background-color: #e8dfa2; }
sup.reference:target { background-color: #e8dfa2; }

/* Give wikitables blue headings */
.wikitable th, .wikitable td.hl3, .wikitable th.hl3 {
	background-color: #e8dfa2;
}
.wikitable td.hl1, .wikitable th.hl1 {
	background: #f6f3cf;
}
.wikitable td.hl2, .wikitable th.hl2 {
	background: #f6f3cf;
}

.vatop tr, tr.vatop, .vatop td, .vatop th {
	vertical-align: top;
}

table.datatable {
	background-color: transparent;
}
 
table.datatable th, table.datatable td {
	padding: 4px;
}
 
table.datatable th {
	text-align: left;
	background-color: #999999;
}
 
table.datatable tr {
	background-color: #cccccc;
}
 
table.datatable tr:hover {
	background-color: #ffffcc;
}

div.sideBox {
	position: relative;
	float: right;
	background: white;
	margin-left: 5em;
	margin-right: 1em;
	border: 1px solid gray;
	padding: 0.3em;
	width: 200px;
	overflow: hidden; 
	clear: right;
}
div.sideBox dl {
	padding: 0;
	margin: 0 0 0.3em 0;
	font-size: 96%;
}
div.sideBox dl dt {
	background: none;
	margin: 0.4em 0 0 0;
}
div.sideBox dl dd {
	margin: 0.1em 0 0 1.1em;
	background-color: #f6f3cf;

/**
 * Tree style lists
 * @source mediawiki.org/wiki/Snippets/Treeview
 * @revision 1.0 (2013-01-31)
 * @author (unknown)
 */
.treeview ul {
    padding: 0;
    margin: 0;
}
.treeview li {
    padding: 0;
    margin: 0;
    list-style-type: none;
    list-style-image: none;
    zoom: 1; /* BE KIND TO IE6 */;
}
.treeview li li {
    background: url("//upload.wikimedia.org/wikipedia/commons/f/f2/Treeview-grey-line.png") no-repeat 0 -2981px;
    /* @noflip */
    padding-left: 20px;
    text-indent: 0.3em;
}
.treeview li li.lastline {
    background-position: 0 -5971px
}
.treeview li.emptyline > ul {
    /* @noflip */
    margin-left: -1px;
}
.treeview li.emptyline > ul > li:first-child {
    background-position: 0 9px
}

/* Border colors */
.borderc1 { border-color: #e9e9e9; border-width: thin; }
.borderc2 { border-color: #aaaaaa; border-width: thin; }
.borderc3 { border-color: #777777; border-width: thin; }
.borderc4 { border-color: #000000; border-width: thin; }
.borderc5 { border-color: #c00000; border-width: thin; }
.borderc6 { border-color: #025e9d; border-width: thin; }
.borderc7 { border-color: #008040; border-width: thin; }
.borderc8 { border-color: #ffcc00; border-width: thin; } /* Used by: [[Template:Welcome]]. */
 
/* Background colors */
.backgroundc1 { background-color: #ffffff; } /* Used by: [[Template:Welcome]]. */
.backgroundc2 { background-color: #f6f3cf; }
.backgroundc3 { background-color: #eeeeee; }
.backgroundc4 { background-color: #e0e0e0; }
.backgroundc5 { background-color: #d2d2d2; }
.backgroundc6 { background-color: #b7b7b7; }
.backgroundc7 { background-color: #a3a3a3; }
.backgroundc8 { background-color: #444455; }

table.mbox {
	margin: 15px 10%;
	border-collapse: collapse;
	border: 1px solid #aaa; /* Default "notice" gray */
	background: #f6f3cf;



* Uwaga! Klasy CSS wspólne dla wszystkich skórek znajdują się w [[MediaWiki:Common.css]] */
/* ładny sitenotice (kopia z enwiki) */
#siteNotice {
	margin-top: 5px;
        margin-bottom: -.5em;
}
/* początek skopiowanego z Wikisłownika */
a {
	color:#2939B5;
}
a:visited {
	color:#00008B;
}
a.external {
	color:teal;
}
a.stub {
	color:#2B6653;
}
#content {
	color:black;
}
#content {
	background:white;
}
#p-cactions li {
	background:white;
}
#p-cactions li a {
	background: white;
}
/* kolory wg przestrzeni nazw */
.ns-0 * #content {
	color:black;
	background:white;
}
.ns-0 * table,.ns-0 * #p-cactions li,.ns-0 * #p-cactions li a {
	background:white;
}
.ns-1 * #content {
	color:black;
	background:#FFFFEE;
}
.ns-1 * table,.ns-1 * #p-cactions li,.ns-1 * #p-cactions li a {
	background:#FFFFEE;
}
.ns-2 * #content {
	color:black;
	background:#EFFFFF;
}
.ns-2 * table,.ns-2 * #p-cactions li,.ns-2 * #p-cactions li a {
	background:#EFFFFF;
}
.ns-3 * #content {
	color:black;
	background:#FFFFEE;
}
.ns-3 * table,.ns-3 * #p-cactions li,.ns-3 * #p-cactions li a {
	background:#FFFFEE;
}
.ns-4 * #content {
	color:black;
	background:#EFFFFF;
}
.ns-4 * table,.ns-4 * #p-cactions li,.ns-4 * #p-cactions li a {
	background-color:#EFFFFF;
}
.ns-5 * #content {
	color:black;
	background:#FFFFEE;
}
.ns-5 * table,.ns-5 * #p-cactions li,.ns-5 * #p-cactions li a {
	background-color:#FFFFEE;
}
.ns-6 * #content {
	color:black;
	background:#F0F0F0;
}
.ns-6 * table,.ns-6 * #p-cactions li,.ns-6 * #p-cactions li a {
	background-color:#F0F0F0;
}
.ns-7 * #content {
	color:black;
	background:#FFFFEE;
}
.ns-7 * table,.ns-7 * #p-cactions li,.ns-7 * #p-cactions li a {
	background-color:#FFFFEE;
}
.ns-8 * #content {
	color:black;
	background:#F0F0F0;
}
.ns-8 * table,.ns-8 * #p-cactions li,.ns-8 * #p-cactions li a {
	background-color:#F0F0F0;
}
.ns-9 * #content {
	color:black;
	background:#FFFFEE;
}
.ns-9 * table,.ns-9 * #p-cactions li,.ns-9 * #p-cactions li a {
	background-color:#FFFFEE;
}
.ns-10 * #content {
	color:black;
	background:#F0F0F0;
}
.ns-10 * table,.ns-10 * #p-cactions li,.ns-10 * #p-cactions li a {
	background-color:#F0F0F0;
}
.ns-11 * #content {
	color:black;
	background:#FFFFEE;
}
.ns-11 * table,.ns-11 * #p-cactions li,.ns-11 * #p-cactions li a {
	background-color:#FFFFEE;
}
.ns-12 * #content {
	color:black;
	background:#EFFFFF;
}
.ns-12 * table,.ns-12 * #p-cactions li,.ns-12 * #p-cactions li a {
	background-color:#EFFFFF;
}
.ns-13 * #content {
	color:black;
	background:#FFFFEE;
}
.ns-13 * table,.ns-13 * #p-cactions li,.ns-13 * #p-cactions li a {
	background-color:#FFFFEE;
}
.ns-15 * #content {
	color:black;
	background:#FFFFEE;
}
.ns-15 * table,.ns-15 * #p-cactions li,.ns-15 * #p-cactions li a {
	background-color:#FFFFEE;
}
.ns-101 * #content {
	color:black;
	background:#FFFFEE;
}
.ns-101 * table,.ns-101 * #p-cactions li,.ns-101 * #p-cactions li a {
	background-color:#FFFFEE;
}
.ns-103 * #content {
	color:black;
	background:#FFFFEE;
}
.ns-103 * table,.ns-103 * #p-cactions li,.ns-103 * #p-cactions li a {
	background-color:#FFFFEE;
}
#ca-edit a {
	font-weight:bold !important;
}
td.diff-otitle {
	background-color:inherit;
}
td.diff-ntitle {
	background-color:inherit;
}
.diffchange {
	font-weight:bold;
	background-color:inherit;
	border:1px dotted rgb(170,170,170);
}
td.diff-addedline,td.diff-deletedline,td.diff-context {
	font-size:85%;
	color: inherit;
}
/* Formatowanie dla szablonów dla współrzędnych geograficznych */
#coordinates, #shortcut_upper {
	position: absolute;
	z-index: 1;
	right: 35px;
	top: 0.2em;
	font-size: 85%;
}
#n-bad-image,.ns-6 #n-bug_in_article,#n-changes-in-category {
	display:none
}
.ns-6 #n-bad-image,.ns-14 #n-changes-in-category {
	display: list-item
}
/* zmiany w sidebarze (nie dotyczy problemu sidebara) */
#p-navigation h5,#p-zmiany h5 {
	display: none;
}
/* Link do kanału irca na [[WP:OZ]] wyświetlony tylko w monobooku */
#rc-irc {
	display: block !important;
}
/* naprawa nagłówków - domyślnie h6 jest mniejszy (!) od zwykłego tekstu */
h5 {
	font-size:105%;
}
h5 .editsection {
	font-size:95%;
	font-weight:normal;
}
h6 {
	font-size:100%;
}
h6 .editsection {
	font-size:100%;
	font-weight: normal;
}