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

Z Encyklopedia Dinozaury.com
Skocz do: nawigacja, szukaj
m
Linia 114: Linia 114:
 
background: #f6f3cf;
 
background: #f6f3cf;
 
color: black;
 
color: black;
 +
 +
/* These are the same colours as the enwiki
 +
  'cmbox' styles; just with different names. */
 +
table.mbox-critical {
 +
border: 4px solid #b22222;    /* Red */
 +
background: #FFDBDB;          /* Pink */
 +
}
 +
table.mbox-important {
 +
background: #FFDBDB;    /* Red */
 +
}
 +
table.mbox-warning {
 +
background: #FFE7CE;    /* Orange */
 +
}
 +
table.mbox-caution {
 +
background: #FFF9DB;    /* Yellow */
 +
}
 +
table.mbox-notice {
 +
background: #D8E8FF;    /* Blue */
 +
}
 +
table.mbox-move {
 +
background: #E4D8FF;    /* Purple */
 +
}
 +
table.mbox-protection {
 +
    background: #f6f3cf;    /* Gray-gold */
 +
}
 +
table.mbox-license {
 +
    border: 3px solid #88a;      /* Dark gray */
 +
    background: #f6f3cf;          /* Light gray */

Wersja z 21:47, 26 gru 2011

/* Umieszczony tutaj kod CSS zostanie zastosowany we wszystkich skórkach */

/* make the list of references look smaller and highlight clicked reference in blue */
ol.references > li:target { background-color: #e0d79d; }
sup.reference:target { background-color: #e0d79d; }

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

/**
 * Make entire table valign=top,
 * To replace the |valign=top| on every cell.
 */
.vatop tr, tr.vatop, .vatop td, .vatop th {
	vertical-align: top;
}

/* General purpose "pretty (data) tables" */
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;
}

/* SideBox styling */
div.sideBox {
	position: relative;
	float: right;
	background: white;
	margin-left: 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;
}

/***** 2. COLOR CLASSES FOR CONTENT  *****/
 
/* 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; }


/** reduced subset of the mbox styles from enwiki, mainly for the nice boxflow **/
table.mbox {
	margin: 4px 10%;
	border-collapse: collapse;
	border: 1px solid #aaa; /* Default "notice" gray */
	background: #f6f3cf;

/**
 * Infoboxes
 */
.infobox {
	float: right;
	clear: right;
	margin-bottom: 0.5em;
	margin-left: 1em;
	padding: 0.2em;
	border: 1px solid #AAA;
	background: #f6f3cf;
	color: black;

/* These are the same colours as the enwiki
   'cmbox' styles; just with different names. */
table.mbox-critical {
	border: 4px solid #b22222;    /* Red */
	background: #FFDBDB;          /* Pink */
}
table.mbox-important {
	background: #FFDBDB;    /* Red */
}
table.mbox-warning {
	background: #FFE7CE;    /* Orange */
}
table.mbox-caution {
	background: #FFF9DB;    /* Yellow */
}
table.mbox-notice {
	background: #D8E8FF;    /* Blue */
}
table.mbox-move {
	background: #E4D8FF;    /* Purple */
}
table.mbox-protection {
    background: #f6f3cf;    /* Gray-gold */
}
table.mbox-license {
    border: 3px solid #88a;       /* Dark gray */
    background: #f6f3cf;          /* Light gray */