The Demopædia Encyclopedia on Population is under heavy modernization and maintenance. Outputs could look bizarre, sorry for the temporary inconvenience

Multilingual Demographic Dictionary, second unified edition, English volume

Difference between revisions of "MediaWiki:Common.css"

Multilingual Demographic Dictionary, second unified edition, English vol.
Jump to: navigation, search
Line 156: Line 156:
 
direction: ltr;
 
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;
 +
background-color: white; /* added Demopaedia */
 +
padding-top: 0.5em;
 +
padding-left: 0.5em; /* Added by Demopaedia */
 +
margin-left: 1.0em; /* was 1.25em; modified by Demopaedia */
 +
margin-right: 1.0em; /*added by Demopaedia */
 +
/* @embed */
 +
background-image: url(images/portal-break.png);
 +
background-repeat: no-repeat;
 +
background-position: center center; /* was 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: #077f00;/* #8e8f00 for I; was #0645ad; for vector*/
 +
}
 +
div#mw-panel div.portal div.body ul li a:visited {
 +
color: #0b0080;
 +
}
 +
/* Footer */
 +
div#footer {
 +
margin-left: 10em;
 +
margin-top: 0;
 +
padding: 0.75em;
 +
/* @embed */
 +
background-image: url(images/border.png);
 +
background-position: top left;
 +
background-repeat: repeat-x;
 +
direction: ltr;
 +
}
 +
div#footer ul {
 +
list-style: none;
 +
list-style-image: none;
 +
list-style-type: none;
 +
margin: 0;
 +
padding: 0;
 +
}
 +
div#footer ul li {
 +
margin: 0;
 +
padding: 0;
 +
padding-top: 0.5em;
 +
padding-bottom: 0.5em;
 +
color: #333333;
 +
font-size: 0.7em;
 +
}
 +
div#footer #footer-icons {
 +
float: right;
 +
}
 +
/* @noflip */
 +
body.ltr div#footer #footer-places {
 +
float: left;
 +
}
 +
div#footer #footer-info li {
 +
line-height: 1.4em;
 +
}
 +
div#footer #footer-icons li {
 +
float: left;
 +
margin-left: 0.5em;
 +
line-height: 2em;
 +
}
 +
div#footer #footer-places li {
 +
float: left;
 +
margin-right: 1em;
 +
line-height: 2em;
 +
}
 +
/* Logo */
 +
#p-logo {
 +
position: relative; /*was absolute;*/
 +
top: 0px; /* Don't touch linked -170 with mw-panel top 260px, was -160px */
 +
margin-top: 0em;
 +
left: 0;
 +
width: 10em;
 +
/*height: 190px;*/ /*- auto;  /* was 160 px */
 +
}
 +
#p-logo a {
 +
display: block; /*can't be changed;*/
 +
width: 10em;
 +
min-height: 100px; /* Added by Demopaedia; was height (not min-height): 160 px */
 +
background-repeat: no-repeat;
 +
background-position: top center; /* was center center */
 +
background-color: #beefd4; /*#00df7c;/*#00bf6a; /*#ecfeeb; /* line added NB green II #f8f7bb; yellow I */
 +
text-decoration: none;
 +
}
 +
#p-logoimg { /* Used with img instead of background-image for different height of logos */
 +
position: relative; /*absolute;*/
 +
top: 0px; /* Don't touch linked -170 with mw-panel top 260px */
 +
margin-top: 0em;
 +
margin-left: 0.8em;
 +
/*left: 0;*/
 +
width: 9em;
 +
/*height: 190px;*/ /*- auto;  /* was 190 px */
 +
}
 +
#p-logoimg a img{
 +
display: block; /*can't be changed;*/
 +
text-decoration: none;
 +
}

Revision as of 17:21, 16 June 2017

<!--'''MediaWiki:Common.css'''-->
/* BOÎTES DÉROULANTES */

/* Styles des boîtes déroulantes, voir [[Modèle:Boîte déroulante/Documentation]]. */
div.BoxenVerschmelzen, div.NavFrame {
 margin:0;
 padding:2px;
 border:1px #AAA;
 text-align:center;
 border-collapse:collapse;
 font-size:95%;
}

div.BoxenVerschmelzen div.NavFrame {
 border-style:hidden;
}

div.NavFrame + div.NavFrame {
 border-top-style:hidden;
}

div.NavPic {
 background:#FFF;
 margin:0;
 padding:2px;
 float:left;
}

div.NavFrame div.NavHead {
 height:1.6em;
 font-weight:bold;
 font-size:100%;
 background:#EFEFEF;
}

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;
}

.NavToggle {
 font-size:x-small;
 float:right;
}

/* temporaire pour l'instant - voir [[Modèle:Navigation générique]] */
table.navbox {
 background:#F9F9F9;
 border:1px solid #AAA;
 clear:both;
 font-size:90%;
 margin:1em 0 0;
 padding:2px;
 text-align:center;
 width:100%;
}
 
table.navbox th {
 background:#CCF;
 padding-left:1em;
 padding-right:1em;
}
/* Head */
#p-logobannerleft {
	position: absolute;
	top: 0;
	width: 108px;
	background: left;
}
#p-logobannertextleft {
	position: absolute;
	top: 0;
	height: 86px;
	width: 100%;
	background-color: #b5d5e4; /*#b5e5e4; marine blue */
	/*font-family:"Times New Roman", Times, serif;*/
	font-family:"Arial", Sans-serif;
	font-size: 0.875em;
	border-bottom-color: #6799cc;
	border-bottom-width: 3px;
	border-bottom-style: solid;
}
#p-logobannertextleft p {
	position: absolute;
	left: 100px;
	line-height: 100%;
}
#p-logobannertextright {
	position: absolute;
	top: 0;
	right: 75px; /*-350px;*/
	width: 150px;
	height: 85px;
	/*background-color: #b5e5e4; *//*fdfeab; /* line added NB green II #f8f7bb; yellow I */
	/*font-family:"Times New Roman", Times, serif;*/
	font-family:"Arial", Sans-serif;
	font-size: 0.875em;
}
#p-logobannertextright p {
	position: absolute;
	text-align: right;
	line-height: 100%;
}

#p-logobannerright {
	position: absolute;
	top: 0;
	right: 0;
	/*width: 100px;*/ /* For background only */
	background: right;
	/*background-color: #b5e5e4 ;*//*fdfeab; /* line added NB green II #f8f7bb; yellow I */
}
#mw-page-base {
	height: 5em ; /*5em;*/
	background-color: white;
	/* @embed */
	background-image: url(images/page-fade.png);
	background-position: bottom left;
	background-repeat: repeat-x;
}
#mw-head-base {
	margin-top: 0em; /*0em; /*NB was -5em ; */
	margin-left: 10em;
	height: 6em; /*5em;*/
	/* @embed */
	background-image: url(images/border.png);
	background-position: bottom left;
	background-repeat: repeat-x;
}
div#mw-head {
	position: absolute;/* can't be relative or no top banner*/
	margin-top: 0em; /*0em; /*NB was -5em ; */
	top: 0; /*0;*/
	right: 0;
	width: 100%;
	background-color: none;/*#ecfeeb; /* line added NB green II #f8f7bb; yellow I */
}
/* Panel */
div#mw-panel {
	position: absolute;
	top: 89px; /* or 89px and p-log top 0; /* Don't touch linked 260px  with p-logo -170px top, was 160px  */
	padding-top: 0em; /* 0em if 90px; was 1em, linked with 260px*/
	width: 10em;
	left: 0;
	background-color: #beefd4;/*#00bf6a;/*#ecfeeb; /* line added NB green II #f8f7bb; yellow I */
}
	div#mw-panel div.portal {
	   position: relative;  /* Added by Demopaedia */
		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;
		background-color: white; /* added Demopaedia */
		padding-top: 0.5em;
		padding-left: 0.5em; /* Added by Demopaedia */
		margin-left: 1.0em; /* was 1.25em; modified by Demopaedia */
		margin-right: 1.0em; /*added by Demopaedia */
		/* @embed */
		background-image: url(images/portal-break.png);
		background-repeat: no-repeat;
		background-position: center center; /* was 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: #077f00;/* #8e8f00 for I; was #0645ad; for vector*/
	}
	div#mw-panel div.portal div.body ul li a:visited {
		color: #0b0080;
	}
/* Footer */
div#footer {
	margin-left: 10em;
	margin-top: 0;
	padding: 0.75em;
	/* @embed */
	background-image: url(images/border.png);
	background-position: top left;
	background-repeat: repeat-x;
	direction: ltr;
}
div#footer ul {
	list-style: none;
	list-style-image: none;
	list-style-type: none;
	margin: 0;
	padding: 0;
}
div#footer ul li {
	margin: 0;
	padding: 0;
	padding-top: 0.5em;
	padding-bottom: 0.5em;
	color: #333333;
	font-size: 0.7em;
}
div#footer #footer-icons {
	float: right;
}
/* @noflip */
body.ltr div#footer #footer-places {
	float: left;
}
div#footer #footer-info li {
	line-height: 1.4em;
}
div#footer #footer-icons li {
	float: left;
	margin-left: 0.5em;
	line-height: 2em;
}
div#footer #footer-places li {
	float: left;
	margin-right: 1em;
	line-height: 2em;
}
/* Logo */
#p-logo {
	position: relative; /*was absolute;*/
	top: 0px; /* Don't touch linked -170 with mw-panel top 260px, was -160px */
	margin-top: 0em;
	left: 0;
	width: 10em;
	/*height: 190px;*/ /*- auto;  /* was 160 px */
}
#p-logo a {
	display: block; /*can't be changed;*/
	width: 10em;
	min-height: 100px; /* Added by Demopaedia; was height (not min-height): 160 px */
	background-repeat: no-repeat;
	background-position: top center; /* was center center */
	background-color: #beefd4; /*#00df7c;/*#00bf6a; /*#ecfeeb; /* line added NB green II #f8f7bb; yellow I */
	text-decoration: none;
}
#p-logoimg { /* Used with img instead of background-image for different height of logos */
	position: relative; /*absolute;*/
	top: 0px; /* Don't touch linked -170 with mw-panel top 260px */
	margin-top: 0em;
	margin-left: 0.8em;
	/*left: 0;*/
	width: 9em;
	/*height: 190px;*/ /*- auto;  /* was 190 px */
}
#p-logoimg a img{
	display: block; /*can't be changed;*/
	text-decoration: none;
}