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:Vdemopaediaii.css"

Multilingual Demographic Dictionary, second unified edition, English vol.
Jump to: navigation, search
m
m
Line 22: Line 22:
 
font-family: sans-serif;
 
font-family: sans-serif;
 
font-size: 1em;
 
font-size: 1em;
background-color: #beefd4; /*#00bf6a; /*#00844a; /*#ecfeeb; /* line added NB green II #f8f7bb; yellow I */
+
/*background-color: #beefd4;*//*#00bf6a; /*#00844a; /*#ecfeeb; /* line added NB green II #f8f7bb; yellow I */
     /*background-color: #ecfeeb;*//*#00844a/*#ecfeeb; /* line changed NB green II #f8f7bb; yellow I */
+
     background-color: #ecfeeb;/*#00844a/*#ecfeeb; /* line changed NB green II #f8f7bb; yellow I */
 
/*background-color: #f3f3f3; */
 
/*background-color: #f3f3f3; */
 
background-image: url(/Demopaedia_files/page-base-demopaediaii.png); /*background-image: url(images/page-base.png);*/
 
background-image: url(/Demopaedia_files/page-base-demopaediaii.png); /*background-image: url(images/page-base.png);*/
Line 114: Line 114:
 
background-color: none;/*#ecfeeb; /* line added NB green II #f8f7bb; yellow I */
 
background-color: none;/*#ecfeeb; /* line added NB green II #f8f7bb; yellow I */
 
}
 
}
 +
div#mw-head h5 {
 +
margin: 0;
 +
padding: 0;
 +
}
 +
/* Hide empty portlets */
 +
.emptyPortlet {
 +
display: none;
 +
}
 +
/* Personal */
 +
#p-personal {
 +
position: absolute;
 +
top: 5.5em; /* instead of 5em Demopaedia */
 +
margin-left: 10em; /* added to demopaedia */
 +
right: 0.75em;
 +
}
 +
/*#p-personal h5 {
 +
display: none;
 +
}*/
 +
#p-personal ul {
 +
list-style: none;
 +
margin: 0;
 +
padding-left: 10em; /* Keep from overlapping logo */
 +
}
 +
/* @noflip */
 +
#p-personal li {
 +
line-height: 1.125em;
 +
float: left;
 +
}
 +
/* This one flips! */
 +
#p-personal li {
 +
margin-left: 0.75em;
 +
margin-top: 0.5em;
 +
font-size: 0.75em;
 +
white-space: nowrap;
 +
}
 +
/* Navigation Containers */
 +
#left-navigation {
 +
position: absolute;
 +
left: 10em;
 +
top: 7.0em;  /* instead of 2.5em Demopaedia */
 +
}
 +
#right-navigation {
 +
float: right;
 +
margin-top: 7.0em; /* instead of 2.5 Demopaedia */
 +
}
 +
/* Navigation Labels */
 +
/*div.vdemopaediaiiTabs h5,
 +
div.vdemopaediaiiMenu h5 span {
 +
display: none;
 +
}*/
 +
/* Namespaces and Views */
 +
/* @noflip */
 +
div.vdemopaediaiiTabs {
 +
float: left;
 +
height: 2.5em;
 +
}
 +
div.vdemopaediaiiTabs {
 +
/* @embed */
 +
background-image: url(images/tab-break.png);
 +
background-position: bottom left;
 +
background-repeat: no-repeat;
 +
padding-left: 1px;
 +
}
 +
/* @noflip */
 +
div.vdemopaediaiiTabs ul {
 +
float: left;
 +
}
 +
div.vdemopaediaiiTabs ul {
 +
height: 100%;
 +
list-style: none;
 +
margin: 0;
 +
padding: 0;
 +
}
 +
/* @noflip */
 +
div.vdemopaediaiiTabs ul li {
 +
float: left;
 +
}

Revision as of 15:12, 20 June 2017

/* CSS placed here will affect users of the Vdemopaediaii skin */
/*
 * Should be placed in Mediawiki:Vdemopaediaii.css if can't be else.
 * Any rules which should not be flipped automatically in right-to-left situations should be
 * prepended with @noflip in a comment block. Images that should be embedded as base64 data-URLs
 * should be prepended with @embed in a comment block.
 * 
 * This style-sheet employs a few CSS trick to accomplish compatibility with a wide range of web
 * browsers. The most common trick is to use some styles in IE6 only. This is accomplished by using
 * a rule that makes things work in IE6, and then following it with a rule that begins with
 * "html > body" or use a child selector ">", which is ignored by IE6 because it does not support
 * the child selector. You can spot this by looking for the "OVERRIDDEN BY COMPLIANT BROWSERS" and
 * "IGNORED BY IE6" comments.
 */

/* Framework */
html,
body {
	height: 100%;
	margin: 0;
	padding: 0;
	font-family: sans-serif;
	font-size: 1em;
	/*background-color: #beefd4;*//*#00bf6a; /*#00844a; /*#ecfeeb; /* line added NB green II #f8f7bb; yellow I */
    background-color: #ecfeeb;/*#00844a/*#ecfeeb; /* line changed NB green II #f8f7bb; yellow I */
	/*background-color: #f3f3f3; */
	background-image: url(/Demopaedia_files/page-base-demopaediaii.png); /*background-image: url(images/page-base.png);*/
}
/* Content */
#content {
	margin-left: 10em;
	padding: 1em;
	/* @embed */
	background-image: url(images/border.png);
	background-position: top left;
	background-repeat: repeat-y;
	background-color: white;
	color: black;
	direction: ltr;
}
/* 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;
}
#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 */
}
div#mw-head h5 {
	margin: 0;
	padding: 0;
}
	/* Hide empty portlets */
	.emptyPortlet {
		display: none;
	}
	/* Personal */
	#p-personal {
		position: absolute;
		top: 5.5em; /* instead of 5em Demopaedia */
 		margin-left: 10em; /* added to demopaedia */
		right: 0.75em;
	}
	/*#p-personal h5 {
		display: none;
	}*/
	#p-personal ul {
		list-style: none;
		margin: 0;
		padding-left: 10em; /* Keep from overlapping logo */
	}
	/* @noflip */
	#p-personal li {
		line-height: 1.125em;
		float: left;
	}
	/* This one flips! */
	#p-personal li {
		margin-left: 0.75em;
		margin-top: 0.5em;
		font-size: 0.75em;
		white-space: nowrap;
	}
	/* Navigation Containers */
	#left-navigation {
		position: absolute;
		left: 10em;
		top: 7.0em;  /* instead of 2.5em Demopaedia */
	}
	#right-navigation {
		float: right;
		margin-top: 7.0em; /* instead of 2.5 Demopaedia */
	}
	/* Navigation Labels */
	/*div.vdemopaediaiiTabs h5,
	div.vdemopaediaiiMenu h5 span {
		display: none;
	}*/
	/* Namespaces and Views */
	/* @noflip */
	div.vdemopaediaiiTabs {
		float: left;
		height: 2.5em;
	}
	div.vdemopaediaiiTabs {
		/* @embed */
		background-image: url(images/tab-break.png);
		background-position: bottom left;
		background-repeat: no-repeat;
		padding-left: 1px;
	}
	/* @noflip */
	div.vdemopaediaiiTabs ul {
		float: left;
	}
	div.vdemopaediaiiTabs ul {
		height: 100%;
		list-style: none;
		margin: 0;
		padding: 0;
	}
	/* @noflip */
	div.vdemopaediaiiTabs ul li {
		float: left;
	}