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/csb.komma.pro/resources/sass/6-Organisms/_organisms.ti.scss
// Organism: Text-Image

$o-ti-bp1: m;

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

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


@include mq($max: $o-ti-bp1) {
  .o-ti__image {
    display: flex;
    justify-content: center;
    margin-top: space(4);
  }
}


@include mq($o-ti-bp1) {
  .o-ti__text,
  .o-ti__image {
    flex: 1 1 column(6, 12);
    padding-right: column(0.5,12);
  }

  .o-ti__image {
    padding-right: 0;
    padding-left: column(0.5, 12);
  }


  // Modifier for flipping the 2 blocks when they're beside each other
  .o-ti--is-reversed {
    .o-ti__text {
      order: 2;
      padding-left: column(0.5,12);
      padding-right: 0;
    }
    .o-ti__image {
      padding-left: 0;
      padding-right: column(0.5, 12);
    }
  }

}