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

Z Encyklopedia Dinozaury.com
Skocz do: nawigacja, szukaj
m
m
Linia 101: Linia 101:
 
border: 1px solid #aaa; /* Default "notice" gray */
 
border: 1px solid #aaa; /* Default "notice" gray */
 
background: #f6f3cf;
 
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 */
 
 
/* tutaj */
 
 
/** 4. MAIN PAGE STYLING **/
 
 
#mainpage_topbox {
 
background: #f9f9f9;
 
padding: 0px;
 
border: 1px solid #aaaaaa;
 
margin: 0.2em 10px 10px;
 
}
 
.mainpage_boxtitle, .mainpage_hubtitle, #mainpage_pagetitle {
 
font-size: 105%;
 
padding: 0.4em;
 
background-color: #eeeeee;
 
border-bottom: 1px solid #aaaaaa;
 
}
 
.mainpage_boxtitle {
 
line-height: 120%;
 
}
 
#mainpage_pagetitle {
 
color: #cf7606;
 
font-size: 200% !important;
 
}
 
#mainpage_sitelinks {
 
padding: 0.2em;
 
text-align: center;
 
background-color: white;
 
}
 
.mainpage_hubtitle {
 
text-align: center;
 
}
 
.mainpage_boxcontents, .mainpage_boxcontents_small {
 
background: #ffffff;
 
padding: 0.2em 0.4em;
 
}
 
.mainpage_boxcontents_small {
 
font-size: 95%;
 
}
 
.mainpage_hubbox, #mainpage_newscell, #mainpage_downloadcell {
 
padding: 0;
 
border: 1px solid #aaaaaa;
 
}
 
.mainpage_hubbox {
 
margin-bottom: 0;
 
}
 
#mainpage_newscell {
 
margin-bottom: 15px;
 
margin-top: 0 !important;
 
}
 
#mainpage_newscell .mainpage_boxtitle {
 
background-image: url(//upload.wikimedia.org/wikipedia/commons/thumb/8/89/Exquisite-khelpcenter.png/20px-Exquisite-khelpcenter.png);
 
background-repeat: no-repeat;
 
background-position: 99% 0.3em;
 
padding-right: 25px;
 
}
 
#mainpage_downloadcell {
 
width: 17em;
 
margin-bottom: 5px;
 
}
 
#mainpage_downloadcell .mainpage_boxtitle {
 
background-image: url(//upload.wikimedia.org/wikipedia/commons/thumb/5/5d/Crystal_Clear_action_build.png/18px-Crystal_Clear_action_build.png);
 
background-repeat: no-repeat;
 
background-position: 96% 0.33em;
 
padding-right: 25px;
 
}
 
#mainpage_mwtitle { color: #005288; } /* The words 'MediaWiki.org' in the title. */
 
 
/* The "mainpage" class is added to the body with JavaScript for the main page in all */
 
/* languages, so we can style things that apppear on the main page and also elsewhere. */
 
.mainpage #lastmod,
 
.mainpage #siteSub,
 
.mainpage h1.firstHeading {
 
display: none !important;
 
}
 
.mainpage #content {
 
padding-top: 1em;
 
}
 
 
.mainpage_boxcontents ul li:first-child {
 
    list-style: none;
 
    border-bottom: 1px solid #AAA;
 
    margin-bottom: 0.5em;
 
    margin-left: -1.5em;
 
    text-align: center;
 
}
 

Wersja z 21:50, 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;