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