Sha256: 423e23979db6832d7912e331f3eac237785c7c2b3b9d2313836f1ea26d1666d7

Contents?: true

Size: 1.14 KB

Versions: 8

Compression:

Stored size: 1.14 KB

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});
    }
  }
}

// Basic body
.pad-all-main-contents {
  > main > * {
    padding-left: $sideOffsetBase;
    padding-right: $sideOffsetBase / 2;

    @media screen and (min-width: $bigscreenBreakpoint) {
      padding-right: $sideOffsetBase;
    }
  }
}

body.post, body.page, body.post-index {
  @extend .pad-all-main-contents;
}

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
jekyll-theme-isotc211-0.4.8 _sass/offsets.scss
jekyll-theme-isotc211-0.4.7 _sass/offsets.scss
jekyll-theme-isotc211-0.4.6 _sass/offsets.scss
jekyll-theme-isotc211-0.4.4 _sass/offsets.scss
jekyll-theme-isotc211-0.4.3 _sass/offsets.scss
jekyll-theme-isotc211-0.4.2 _sass/offsets.scss
jekyll-theme-isotc211-0.4.1 _sass/offsets.scss
jekyll-theme-isotc211-0.4 _sass/offsets.scss