HEX
Server: Microsoft-IIS/8.5
System: Windows NT YDAWBH120 6.3 build 9600 (Windows Server 2012 R2 Standard Edition) AMD64
User: tentjecom_web (0)
PHP: 7.4.14
Disabled: NONE
Upload Files
File: D:/HostingSpaces/SBogers10/wingssprayer.komma.pro/resources/sass/6-Organisms/_organisms.ti.scss
// Organism: Text-Image

$o-ti-bp1: 680;

.o-ti {
	@include vspacing(
		'margin-top' 1,
		'margin-bottom' 1
	);

	@include mq($o-ti-bp1) {
		display: flex;
		align-items: flex-start;
	}
}


//@include mq($max: $o-ti-bp1) {
	.o-ti__image {
		max-width: 480px;
		margin: space(4) auto 0;
		clip-path: polygon(28.125% 0%, 0% 100%, 71.875% 100%, 100% 0%);
	}
//}


@include mq($o-ti-bp1) {
	.o-ti__text {
		flex: 0 0 calc(#{column(6.5)});
		margin-right: column(0.5);
	}

	.o-ti__image {
		flex: 0 0 column(5, 12);
		margin-top: 0;
	}


	// Modifier for flipping the 2 blocks when they're beside each other
	.o-ti--reversed {
		flex-direction: row-reverse;

		.o-ti__text {
			margin-left: column(0.5);
			margin-right: 0;
		}
	}

}