Sha256: a33e3ddb98a1f125209d46c0acaa5945e74a2a44169eb80eb23979c7f242a808

Contents?: true

Size: 1.72 KB

Versions: 13

Compression:

Stored size: 1.72 KB

Contents

// Copyright (c) 2017 Florian Klampfer <https://qwtel.com/>
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program.  If not, see <http://www.gnu.org/licenses/>.

// <<<<< LINK
pre, table:not(.highlight), .katex-display, .break-layout  {
  $pad: $content-padding * 2;

  @media screen {
    position: relative;
    width: calc(100% + #{$pad});
  }

  @media screen and (min-width: $content-width) {
    $x: ($content-width / 2) - $pad;
    width: calc(100% + 50vw - #{$x});
  }

  @media screen and (min-width: $break-point-2) {
    $x: ($content-width-2 / 2) - $pad;
    width: calc(100% + 50vw - #{$x});
  }

  @media screen and (min-width: $break-point-3) {
    $x: $sidebar-width + $content-margin-3;
    width: calc(100vw - #{$x});
  }

  @media screen and (min-width: $break-point-4) {
    $x: $content-width-2 + $sidebar-width + $content-margin-3 - $pad;
    width: calc(100% + 100vw - #{$x});
  }

  @media screen and (min-width: $break-point-5) {
    $x: $content-width-5 + $sidebar-width + $content-margin-5 - $pad;
    width: calc(100% + 100vw - #{$x});
  }

  @media screen and (min-width: $break-point-dynamic) {
    $x: ($content-width-5 / 2) - $pad;
    width: calc(100% + 50vw - #{$x});
  }
}
// >>>>>

Version data entries

13 entries across 13 versions & 2 rubygems

Version Path
jekyll-theme-hydebetty-1.0.2 _sass/hydejack/_break-layout.pre.scss
jekyll-theme-hydebetty-1.0.1 _sass/hydejack/_break-layout.pre.scss
jekyll-theme-hydejack-8.5.2 _sass/hydejack/_break-layout.pre.scss
jekyll-theme-hydejack-8.5.1 _sass/hydejack/_break-layout.pre.scss
jekyll-theme-hydejack-8.5.0 _sass/hydejack/_break-layout.pre.scss
jekyll-theme-hydejack-8.4.0 _sass/hydejack/_break-layout.pre.scss
jekyll-theme-hydejack-8.3.2 _sass/hydejack/_break-layout.pre.scss
jekyll-theme-hydejack-8.3.1 _sass/hydejack/_break-layout.pre.scss
jekyll-theme-hydejack-8.3.0 _sass/hydejack/_break-layout.pre.scss
jekyll-theme-hydejack-8.2.0 _sass/hydejack/_break-layout.pre.scss
jekyll-theme-hydejack-8.1.1 _sass/hydejack/_break-layout.pre.scss
jekyll-theme-hydejack-8.1.0 _sass/hydejack/_break-layout.pre.scss
jekyll-theme-hydejack-8.0.0 _sass/hydejack/_break-layout.pre.scss