// core/code
//
// @version  2.0.5

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

.wp-block-code {
	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';
