Sha256: ee08388b2939073d0b78bcb5af46dd972f0a2e8e37bb90123c82b7902dd606e6

Contents?: true

Size: 964 Bytes

Versions: 1

Compression:

Stored size: 964 Bytes

Contents

// Offsets
// =======

$sideOffsetBase: 15vw;

body > header {
  padding: 0 $sideOffsetBase 0 $sideOffsetBase;

  // Hanging logo on the left
  @media screen and (min-width: $bigscreenBreakpoint) {
    padding: 0 $sideOffsetBase 0 calc(#{$sideOffsetBase} - #{$logoOffset});
  }
}
body > footer {
  padding: 0 $sideOffsetBase 0 $sideOffsetBase;

  // Hanging logo on the right
  @media screen and (min-width: $bigscreenBreakpoint) {
    padding: 0 calc(#{$sideOffsetBase} - #{$logoOffset}) 0 $sideOffsetBase;
  }
}

body.home > main  {
  > section .section-title,
  > .section > h2,
  > .section > .sectionbody {
    margin-left: $sideOffsetBase;
    margin-right: $sideOffsetBase;
  }
}

body.home > main > .news {
  .items {
    .news-item-card:first-child {
      margin-left: calc(#{$sideOffsetBase} - #{$homeSectionItemSidePadding});
    }
  }
}

body.post, body.page {
  > main > * {
    margin-left: $sideOffsetBase;
    margin-right: $sideOffsetBase;
  }
}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
jekyll-theme-isotc211-0.3 _sass/offsets.scss