MediaWiki:Common.css : Différence entre versions

De Solarpedia
Aller à : navigation, rechercher
Ligne 95 : Ligne 95 :
 
background-position: center center;
 
background-position: center center;
 
text-decoration: none;
 
text-decoration: none;
 +
}
 +
 +
.mw-wiki-logo {
 +
    background-image: url("resources/assets/logo_main.png");
 
}
 
}

Version du 31 octobre 2015 à 17:13

/* Le CSS placé ici sera appliqué à tous les habillages. */

body {
	background: #ffffff url(fond.jpg) 0 0 repeat-x;
	color: black;
	margin: 0;
	padding: 0;
}

body.page-Main_Page h1.firstHeading {
display:none;
}


/* Head */
#mw-page-base {
	height: 5em;
	/* @embed */
	background: #ffffff url(fond.jpg) 0 0 repeat-x;
}
#mw-head-base {
	margin-top: -5em;
	margin-left: 10em;
	height: 5em;
	/* @embed */
background: #ffffff url(fond.jpg) 0 0 repeat-x;
}

/* Panel */
div#mw-panel {
	position: absolute;
	top: 160px;
	padding-top: 1em;
	width: 10em;
	left: 0;
}
	div#mw-panel div.portal {
		padding-bottom: 1.5em;
		direction: ltr;
	}
	div#mw-panel div.portal h5 {
		font-weight: normal;
		color: #444444;
		padding: 0.25em;
		padding-top: 0;
		padding-left: 1.75em;
		cursor: default;
		border: none;
		font-size: 0.75em;
	}
	div#mw-panel div.portal div.body {
		margin: 0;
		padding-top: 0.5em;
		margin-left: 1.25em;
		/* @embed */
		background-image: url(images/portal-break.png);
		background-repeat: no-repeat;
		background-position: top left;
	}
	div#mw-panel div.portal div.body ul {
		list-style: none;
		list-style-image: none;
		list-style-type: none;
		padding: 0;
		margin: 0;
	}
	div#mw-panel div.portal div.body ul li {
		line-height: 1.125em;
		padding: 0;
		padding-bottom: 0.5em;
		margin: 0;
		overflow: hidden;
		font-size: 0.75em;
	}
	div#mw-panel div.portal div.body ul li a {
		color: #0645ad;
	}
	div#mw-panel div.portal div.body ul li a:visited {
		color: #0b0080;
	}

/* Logo */
#p-logo {
	position: absolute;
	top: -160px;
	left: 0;
	width: 10em;
	height: 160px;
}
#p-logo a {
	display: block;
	width: 10em;
	height: 160px;
	background-repeat: no-repeat;
	background-position: center center;
	text-decoration: none;
}

.mw-wiki-logo {
    background-image: url("resources/assets/logo_main.png");
}