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/jacques-hein.komma.pro/wwwroot/css/pages/_posts.sass
/** OVERVIEW LATEST POSTS **/

.latest-posts
  margin-bottom: 100px
  +flex()
  +flex-rows

  +respond-to(small)
    flex-direction: column

  +respond-to-width(900)
    margin-bottom: 50px

  .post-block
    width: $contentGrid*5.5
    +respond-to(small)
      width: 100%

    margin-bottom: 25px
    +flex(flex-start, flex-start)

    +respond-to(small-mobile)
      flex-direction: column

    background:
      color: $newsPostBgColor
    color: $newsPostTextColor

    transition: background 0.4s, box-shadow 0.4s

    a
      color: $white

    &:hover
      cursor: pointer
      background: $newsPostBgHoverColor
      box-shadow: 0 14px 28px rgba(0,0,0,0.15), 0 10px 10px rgba(0,0,0,0.15)

    .post-image
      background:
        position: center center
        size: cover
      min-width: 250px
      height: 250px

      +respond-to(small)
        min-width: 50%
        width: 50%
      +respond-to(small-mobile)
        min-width: 100%
        width: 100%


    .post-intro
      height: 100%
      +flex(center, flex-start)
      flex-direction: column
      padding: $paddingSmallTextBlock

      +respond-to(small-mobile)
        width: 100%

      h2
        color: $newsPostTitleColor
        margin-bottom: 5px
      h4
        color: $newsPostSubTitleColor

  .timestamp
    +font-default(14px, 20px)
    color: $newsPostDateColor
    margin-bottom: 10px


/** SINGLE POSTS **/

.single-post
  +flex()

  .post-block
    width: 100%
    //margin-bottom: 25px
    +flex(flex-start, flex-start)
    background:
      color: $singleNewsPostBgColor
    color: $singleNewsPostTextColor
    transition: background 0.4s

    +respond-to(mobile)
      flex-direction: column

    a
      color: $white

    .title
      color: $singleNewsPostTitleColor
      margin-bottom: 5px
    .subtitle
      color: $singleNewsPostSubTitleColor
      margin-bottom: 25px

    .post-image
      background:
        position: center center
        size: cover
      width: 50%
      height: 100%
      max-height: 1080px

      +respond-to(mobile)
        min-height: 250px
        width: 100%

    .post-content
      width: 100%
      //max-width: $textMaxWidth
      padding: 35px 50px

      a
        transition: color 0.3s ease
        color: $singleNewsPostLinkColor
        &:hover
          color: rgba($singleNewsPostLinkColor, 0.6)

/** DYNAMIC PAGES **/

.dynamic
  p
    max-width: $textMaxWidth
  .content-container, .grid-row
    width: 100%

/** POST BACK BUTTON **/

.post-back-button
  +flex(center, center)
  width: 225px
  height: 50px
  background:
    color: $blue
  color: white
  transition: background 0.4s, color 0.4s
  cursor: pointer
  margin: 60px auto
  //+respond-to-width(900)
  //  margin: 0 auto 50px auto

  &:hover
    background:
      color: rgba($blue, 0.7)