@import '../settings';


%basic-box {
	background-color: rgba($white, 0.85);
	margin: 0;
	padding: 1em;
	width: 100%;
}

%space-box {
	@extend %basic-box;
	margin: 1em;
	width: calc(100% - 4em);
}

%space-box-half {
	display: inline-block;
	margin-bottom: 0;
	margin-top: 0;
	width: calc(50% - 3.5em);

	&:nth-of-type(even) {
		margin-right: 0.5em;
	}

	&:nth-of-type(odd) {
		margin-left: 0.5em;
	}
}


.branding,
article.page,
article.post,
.pagination,
.credits {
	@extend %space-box;
}

.global-navigation {
	@extend %basic-box;
}

article.post {
	&.excerpt:not(:first-of-type) {
		@extend %space-box-half;
	}
}

@import '../settings';


%basic-box {
	background-color: rgba($white, 0.85);
	margin: 0;
	padding: 1em;
	width: 100%;
}

%space-box {
	@extend %basic-box;
	margin: 1em;
	width: calc(100% - 4em);
}

%space-box-half {
	display: inline-block;
	margin-bottom: 0;
	margin-top: 0;
	width: calc(50% - 3.5em);

	&:nth-of-type(even) {
		margin-right: 0.5em;
	}

	&:nth-of-type(odd) {
		margin-left: 0.5em;
	}
}


.branding,
article.error,
article.page,
article.post,
.pagination,
.credits {
	@extend %space-box;
}

.global-navigation {
	@extend %basic-box;
}

article.post {
	&.excerpt:not(:first-of-type) {
		@extend %space-box-half;
	}
}

Include .error in box layout
Include .error in box layout