Sha256: 73aa3e431d08eb63cae3d5ce67b5406bbd7fb77eed17aa107d02d0f0f15ee49a

Contents?: true

Size: 842 Bytes

Versions: 2

Compression:

Stored size: 842 Bytes

Contents

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

$sideOffsetBase: 15vw;

body > header {
  // Hanging logo on the left
  margin: 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 calc(#{$sideOffsetBase} - 1em);
  }
}

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} - .75em);
    }
  }
}

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
jekyll-theme-isotc211-0.1.4 _sass/offsets.scss
jekyll-theme-isotc211-0.1.3 _sass/offsets.scss