Sha256: 914a6663a31d8c6f9bd85bcf16fac7a6b27f67f86cb9f0ec8164397cd97d1a91

Contents?: true

Size: 954 Bytes

Versions: 5

Compression:

Stored size: 954 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 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

5 entries across 5 versions & 1 rubygems

Version Path
jekyll-theme-isotc211-0.2.4 _sass/offsets.scss
jekyll-theme-isotc211-0.2.3 _sass/offsets.scss
jekyll-theme-isotc211-0.2.2 _sass/offsets.scss
jekyll-theme-isotc211-0.2.1 _sass/offsets.scss
jekyll-theme-isotc211-0.2 _sass/offsets.scss