/**
 * @package   Wanewsletter
 * @author    Bobe <wascripts@phpcodeur.net>
 * @link      http://phpcodeur.net/wascripts/wanewsletter/
 * @copyright 2002-2016 Aurélien Maille
 * @license   http://www.gnu.org/copyleft/gpl.html  GNU General Public License
 */

@import url("../templates/wanewsletter.css");

div#smallheader, div#global, address#footer {
	width: 80%;
	max-width: 940px;
	min-width: 700px;
	margin-left: auto;
	margin-right: auto;
}

div#global { counter-reset: item; }
div#global div.block[id] h2::before {/* div.bloc[id] pour ne pas cibler le h2 "sommaire" */
	content: counter(item, decimal) ".\00A0";
	counter-increment: item;
}

ul, ol {
	margin: 20px 40px;
	padding: 0;
	line-height: 1.4;
}
li { margin: 2px 0; }

.block > ol#toc,
.block > div.content {
	background-color: #E3E0DD;
	margin: 1px;
	padding: 1em 2em;
}

.block > ol#toc {
	padding-left: 4em;
	list-style-type: decimal;
}

.block h3 {
	background-color: transparent;
	margin: 1.2em 0 .6em;
	font-size: 1em;
	font-weight:bold;
	color: black;
}

.block p {
	margin: 1em 0;
	padding: 0;
	line-height: 1.5;
}
code { color: green; }

pre {
	background-color: #FAFAFA;
	border: 1px dashed #A4A6A8;
	margin: .5em 2em;
	padding: .5em;
	color: black;
	white-space: pre-wrap;
}

/*
	Couleurs du code php colorisé
*/
span.hl-bg      { background-color: inherit; color: white; }
span.hl-comment { background-color: inherit; color: #F90; }
span.hl-default { background-color: inherit; color: #00C; }
span.hl-html    { background-color: inherit; color: black; }
span.hl-keyword { background-color: inherit; color: green; }
span.hl-string  { background-color: inherit; color: #D00; }

/* Section Contribuer... */
address#address { margin: 15px 0 15px 5%; }

