Sha256: 1dc018c4432113e19afdbd0de3e17cce24f29db71f1858006d3f9f031a1e6bc5

Contents?: true

Size: 1.21 KB

Versions: 53

Compression:

Stored size: 1.21 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 {
    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, body.resource-index {
  @extend .pad-all-main-contents;
}

body.resource {
  > main > * {
    padding-left: $stripeWidth * 2;
    padding-right: 0;
  }
}

Version data entries

53 entries across 53 versions & 2 rubygems

Version Path
jekyll-geolexica-1.8.2 _sass/offsets.scss
jekyll-geolexica-1.8.1 _sass/offsets.scss
jekyll-geolexica-1.8.0 _sass/offsets.scss
jekyll-geolexica-1.7.0 _sass/offsets.scss
jekyll-geolexica-1.6.0 _sass/offsets.scss
jekyll-geolexica-1.5.4 _sass/offsets.scss
jekyll-geolexica-1.5.3 _sass/offsets.scss
jekyll-geolexica-1.5.2 _sass/offsets.scss
jekyll-geolexica-1.5.1 _sass/offsets.scss
jekyll-geolexica-1.5.0 _sass/offsets.scss
jekyll-geolexica-1.4.1 _sass/offsets.scss
jekyll-geolexica-1.4.0 _sass/offsets.scss
jekyll-geolexica-1.3.3 _sass/offsets.scss
jekyll-geolexica-1.3.2 _sass/offsets.scss
jekyll-geolexica-1.3.1 _sass/offsets.scss
jekyll-geolexica-1.3.0 _sass/offsets.scss
jekyll-geolexica-1.2.2 _sass/offsets.scss
jekyll-geolexica-1.2.1 _sass/offsets.scss
jekyll-geolexica-1.2.0 _sass/offsets.scss
jekyll-geolexica-1.1.0 _sass/offsets.scss