code,
kbd,
pre,
samp {
	font-family: $font-fam-mono;
}

code {
	background-color: $white-bg;
	border: 1px solid $black-bg;
	border-radius: 4px;
	color: $palette-red-dark;
	font-size: 75%;
	line-height: 1;
	padding: 2px 4px;
}

kbd {
	background-color: $black-text;
	border-radius: 4px;
	color: $white;
	font-size: 75%;
	padding: 2px 4px;
	kbd {
		font-size: 100%;
		font-weight: 700;
		padding: 0;
	}
}

pre {
	background-color: $white-bg;
	border: 1px solid $black-bg;
	border-radius: 2px;
	color: $black-text;
	display: block;
	font-size: $font-size-h6;
	line-height: $line-height-h6;
	margin: $line-height 0 ;
	padding: ($line-height / 2) ($grid-gutter / 2);
	word-break: break-all;
	word-wrap: break-word;
	code {
		background-color: transparent;
		border-radius: 0;
		color: inherit;
		font-size: inherit;
		padding: 0;
		white-space: pre-wrap;
	}
}