// core/code
// @version  1.0.7

@import '../_tools/_index';
@import '../_setup/_index';

.wp-block-code {
	position: relative;
	font-size: var(--wp--preset--font-size--s);
	white-space: pre;

	&:not(.has-background) {
		@extend %shaded_background;
	}

	&,
	&.has-background.has-background.has-background {
		padding: $ratio + em;
	}

	code {
		white-space: inherit;
	}
}

@import '../_extend/_index';
