@import "variables.less";

footer {
	margin-bottom: 30px;

	small.author {
		&:before {
			content: '\2014 \00A0';
		}
	}
}


.btn {
	&.tiny {
		padding: 3px 5px 3px;
		font-size: @basefont - 2px;
	}
}


div.numberation {
	counter-reset: heading1;

	h1 {
		counter-reset: heading2;

		&:before {
			content: ~"counter(heading1) '. '";
			counter-increment: heading1;
		}
	}

	h2 {
		counter-reset: heading3;

		&:before {
			content: ~"counter(heading1) '.' counter(heading2) ' '";
			counter-increment: heading2;
		}
	}

	h3 {
		&:before {
			content: ~"counter(heading1) '.' counter(heading2) '.' counter(heading3) ' '";
			counter-increment: heading3;
		}
	}
}


ol.numberation {
	list-style-type: none;
	counter-reset: heading1;

	li:before {
		content: ~"counter(heading1) '. '";
		counter-increment: heading1;
	}
}


ol.numberation ol {
	list-style-type: none;
	counter-reset: heading2;

	li:before {
		content: ~"counter(heading1) '.' counter(heading2) ' '";
		counter-increment: heading2;
	}
}


ol.numberation ol ol {
	list-style-type: none;
	counter-reset: heading3;

	li:before {
		content: ~"counter(heading1) '.' counter(heading2) '.' counter(heading3) ' '";
		counter-increment: heading3;
	}
}


.code-id {
	font-style: italic;
}
