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/SBogers68/ouddorp-duin.nl/wwwroot/css/dynamic/_contentBlock.sass
/*==========================================================================
  Content block
  ========================================================================== */

/**
  * Content block with image and description
  *
  * 1. Left and right padding are bigger due to description and image size.
  * 2. Give blue background to odd items to show seperation of the blocks.
  *
  */

.content-block
  background: $white
  padding: 25px column(1) 25px column(1) /* 1 */
  +respond-to-width($mdGridBreakpoint)
    padding: 20px

  &.blue-bg /* 2 */
    background: $lightBlue

  .content-image
    margin: 25px 0 25px 0
    img
      width: 100%

  .content-description
    margin: 25px 0 25px 0
    align-self: center
    padding: 0 50px 0 50px

    +respond-to-width($smGridBreakpoint)
      padding: 0

    h2
      font-size: 2.4rem
      +respond-to-width($mdGridBreakpoint)
        font-size: 2rem
      font-family: "olivierregular", serif
      color: #5398be

    p
      padding: 0
      margin: 0
      font-size: 1rem
      +respond-to-width($mdGridBreakpoint)
        font-size: 0.9rem